-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CN UPDATE] Client:2.2.81 Data:24-05-28-13-45-33-2fd577
- Loading branch information
MuelsyseBot_v1
committed
Jun 5, 2024
1 parent
88602c1
commit fb7c666
Showing
129 changed files
with
134,301 additions
and
40,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
GlobalConfig = | ||
{ | ||
CUR_FUNC_VER = "V050", | ||
CUR_FUNC_VER = "V051", | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
|
||
local xutil = require('xlua.util') | ||
local CSSender = CS.Torappu.UI.UISender | ||
|
||
|
||
|
||
|
||
local V051Hotfixer = Class("V051Hotfixer", HotfixBase) | ||
|
||
local function _FixSendBattleService(self, isRetry) | ||
local routine = self:_SendBattleService(isRetry) | ||
return xutil.cs_generator(function() | ||
while CSSender.IsBusy() do | ||
coroutine.yield() | ||
end | ||
coroutine.yield(routine) | ||
end) | ||
end | ||
|
||
local function _FixExecuteHideCgItem(self, command) | ||
local param = self:_GenSlotParam(command) | ||
local clearAll = false | ||
if (param.key == nil or param.key == '') then | ||
clearAll = true | ||
end | ||
|
||
if (clearAll) then | ||
for k,v in pairs(self.m_slotsInUseDict) do | ||
v:Dispose() | ||
end | ||
self.m_slotsInUseDict:Clear() | ||
return false | ||
end | ||
self:_ExecuteHideCgItem(command) | ||
end | ||
|
||
function V051Hotfixer:OnInit() | ||
self:Fix_ex(CS.Torappu.Battle.UI.UIBattleFinishServiceState, "_SendBattleService", _FixSendBattleService); | ||
self:Fix_ex(CS.Torappu.AVG.AVGCgItemPanel, "_ExecuteHideCgItem", _FixExecuteHideCgItem); | ||
end | ||
|
||
return V051Hotfixer |
Oops, something went wrong.