Skip to content

Commit 6486152

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 9f5589c + 1381392 commit 6486152

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

!src-dist/src/global.zhcn_hd.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ EncodeComponentsString = FunctionType
399399
EncodeData = FunctionType
400400
EncryptAES = FunctionType
401401
ENUM_MAP_WND_TYPE = TableType
402+
EnvokeAllTeammates = FunctionType
402403
EQUIPMENT_INVENTORY = TableType
403404
EQUIPMENT_REPRESENT = TableType
404405
EQUIPMENT_SUB = TableType
@@ -772,6 +773,7 @@ IsKeyDown = FunctionType
772773
IsLocalFileExist = FunctionType
773774
IsMiddleMapOpened = FunctionType
774775
IsMobileKungfu = FunctionType
776+
IsMobileSkill = FunctionType
775777
IsMobileStreamingEnable = FunctionType
776778
IsMonitorMsg = FunctionType
777779
IsMsgEditAllowed = FunctionType
@@ -1963,6 +1965,7 @@ Table_IsInForbidMap = FunctionType
19631965
Table_IsInRougeLikeMap = FunctionType
19641966
Table_IsLegalSkill = FunctionType
19651967
Table_IsMobaBattleFieldMap = FunctionType
1968+
Table_IsMobileBuff = FunctionType
19661969
Table_IsNewcomerBattleFieldMap = FunctionType
19671970
Table_IsPleasantGoatBattleFieldMap = FunctionType
19681971
Table_IsProtectSkill = FunctionType

MY_!Base/src/lib/UI.UserSettings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function D.Open(bImport)
3939
w = W - 20, h = H - 60 - 40,
4040
containerType = X.UI.WND_CONTAINER_STYLE.LEFT_TOP,
4141
})
42-
local nW = select(2, uiContainer:Width())
42+
local nW = uiContainer:ContainerWidth()
4343
local aGroup, tItemAll = {}, {}
4444
for _, us in ipairs(X.GetRegisterUserSettingsList()) do
4545
if us.szGroup and us.szLabel and (not bImport or tSettings[us.szKey]) then

MY_!Base/src/lib/UI.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4635,6 +4635,7 @@ end
46354635

46364636
-- (number nW, number nH) Instance:ContainerSize() -- Get container size
46374637
function OO:ContainerSize()
4638+
self:_checksum()
46384639
local raw = self.raws[1]
46394640
if raw then
46404641
raw = GetComponentElement(raw, 'MAIN_CONTAINER')
@@ -4644,6 +4645,16 @@ function OO:ContainerSize()
46444645
end
46454646
end
46464647

4648+
-- (number nW) Instance:ContainerWidth() -- Get container width
4649+
function OO:ContainerWidth()
4650+
return (self:ContainerSize())
4651+
end
4652+
4653+
-- (number nH) Instance:ContainerHeight() -- Get container height
4654+
function OO:ContainerHeight()
4655+
return (select(2, self:ContainerSize()))
4656+
end
4657+
46474658
-- (self) Instance:MinSize() -- Get element min size
46484659
-- (self) Instance:MinSize(number nW, number nH) -- Set element min size
46494660
function OO:MinSize(nW, nH)

0 commit comments

Comments
 (0)