pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,14 @@
|
||||
-- Explicit CW portal table names only, one metadata target per heartbeat.
|
||||
do
|
||||
_G.__gacCwPortalTable1=_G.__gacCwPortalTable1 or 1
|
||||
local names={'GridFightPortalBuffExcelTable','GridFightPortalBuffConfigExcelTable','GridFightPortalBuffRow','GridFightPortalBuffConfigRow'}
|
||||
local i=_G.__gacCwPortalTable1;if i>#names then return end;_G.__gacCwPortalTable1=i+1
|
||||
local log=function(s)CS.UnityEngine.Debug.Log('[GAC_CW_PORTAL_TABLE] '..tostring(s))end
|
||||
local ok,err=pcall(function()
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local a=typeof(CS.RPG.GameCore.GridFightRoleConfigRow).Assembly
|
||||
local t=a:GetType('RPG.GameCore.'..names[i]);log('TYPE '..names[i]..' '..tostring(t));if not t then return end
|
||||
local ms=t:GetMethods(flags);for j=0,math.min(ms.Length-1,31)do if ms[j].DeclaringType==t then log('METHOD '..tostring(ms[j]))end end
|
||||
end)
|
||||
if not ok then log('ERROR '..tostring(err))end
|
||||
end
|
||||
Reference in new issue
Block a user