14 lines
935 B
Lua
14 lines
935 B
Lua
-- 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
|