Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- Request one known loader closure for passive capture; do not execute it.
|
||||
do local function capture()
|
||||
if _G.__gacGachaMainCapture1 then return end
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local manager=CS.RPG.Client.GlobalVars.s_GamePhaseManager
|
||||
local current=manager and typeof(CS.RPG.Client.GamePhaseManager):GetField('_CurrentPhase',flags):GetValue(manager)
|
||||
if not current or typeof(CS.RPG.Client.BattleGamePhase):IsInstanceOfType(current)then return end
|
||||
_G.__gacGachaMainCapture1=true
|
||||
local ok,v=pcall(package.loaders[3],'Ui.Gacha.GachaMainPage')
|
||||
CS.UnityEngine.Debug.Log('[GAC_GACHA_MAIN_CAPTURE] '..tostring(ok)..' '..type(v))
|
||||
end local ok,e=pcall(capture);if not ok then _G.__gacGachaMainCapture1=true;CS.UnityEngine.Debug.Log('[GAC_GACHA_MAIN_CAPTURE] ERROR '..tostring(e))end end
|
||||
Reference in new issue
Block a user