11111
This commit is contained in:
@@ -138,6 +138,7 @@ class MarrySystemC extends Rindro_BaseToolClass {
|
||||
|
||||
GetConfig();
|
||||
CheckMarryState();
|
||||
|
||||
}
|
||||
|
||||
function RegisterWidget() {
|
||||
@@ -232,23 +233,6 @@ class MarrySystemC extends Rindro_BaseToolClass {
|
||||
ApplyEngagementButton.SetCallBackFunc(function(Button) {})
|
||||
SThis.AddChild(ApplyEngagementButton);
|
||||
}.bindenv(this));
|
||||
EachManager.AddEachForNpc(20014, function(SThis) {
|
||||
//关闭按钮
|
||||
local ApplyEngagementButton = LenheartNewUI_Each_BaseButton(0, 0, 100, 21, "interface2/popup_menu/popup_back.img", 3);
|
||||
ApplyEngagementButton.Icon = "interface2/popup_menu/popup_icon_cn.img";
|
||||
ApplyEngagementButton.IconIdx = 14;
|
||||
ApplyEngagementButton.Str = "离开礼堂";
|
||||
ApplyEngagementButton.OnClick = function(Button) {
|
||||
Button.Parent.CloseAllEach();
|
||||
Button.Parent.CloseWindow();
|
||||
local T = {
|
||||
op = OP + 17
|
||||
}
|
||||
SendPackEx(T);
|
||||
}.bindenv(this);
|
||||
ApplyEngagementButton.SetCallBackFunc(function(Button) {})
|
||||
SThis.AddChild(ApplyEngagementButton);
|
||||
}.bindenv(this));
|
||||
}
|
||||
|
||||
//无论如何都添加礼堂列表
|
||||
@@ -269,6 +253,24 @@ class MarrySystemC extends Rindro_BaseToolClass {
|
||||
ApplyEngagementButton.SetCallBackFunc(function(Button) {})
|
||||
SThis.AddChild(ApplyEngagementButton);
|
||||
}.bindenv(this));
|
||||
|
||||
EachManager.AddEachForNpc(20014, function(SThis) {
|
||||
//关闭按钮
|
||||
local ApplyEngagementButton = LenheartNewUI_Each_BaseButton(0, 0, 100, 21, "interface2/popup_menu/popup_back.img", 3);
|
||||
ApplyEngagementButton.Icon = "interface2/popup_menu/popup_icon_cn.img";
|
||||
ApplyEngagementButton.IconIdx = 14;
|
||||
ApplyEngagementButton.Str = "离开礼堂";
|
||||
ApplyEngagementButton.OnClick = function(Button) {
|
||||
Button.Parent.CloseAllEach();
|
||||
Button.Parent.CloseWindow();
|
||||
local T = {
|
||||
op = OP + 17
|
||||
}
|
||||
SendPackEx(T);
|
||||
}.bindenv(this);
|
||||
ApplyEngagementButton.SetCallBackFunc(function(Button) {})
|
||||
SThis.AddChild(ApplyEngagementButton);
|
||||
}.bindenv(this));
|
||||
}
|
||||
|
||||
//重选角色回调
|
||||
|
||||
@@ -117,7 +117,7 @@ class MarrySystem_OpenAuditoriumListC extends LenheartNewUI_Windows {
|
||||
|
||||
//绘制举办时间
|
||||
local Time = Sq_Time();
|
||||
local TimeStr = Time2Str(DrawInfo[9] + ((DrawInfo[2] + 1) * 10 * 60) - Time);
|
||||
local TimeStr = Time2Str(DrawInfo[9] - Time);
|
||||
L_sq_DrawCode(TimeStr, Button.X - 100 - LenheartTextClass.GetStringLength(TimeStr) / 2, Button.Y + 2, sq_RGBA(134, 120, 79, 255), 0, 1);
|
||||
|
||||
//绘制人数
|
||||
|
||||
Reference in New Issue
Block a user