25 lines
1.1 KiB
Lua
25 lines
1.1 KiB
Lua
-- Read only metadata on explicitly identified native row types.
|
|
-- One type per heartbeat, capped at 48 members per category.
|
|
do
|
|
local names={'GridFightRoleConfigRow','GridFightPlayerLevelConfigRow','GridFightSeasonModuleConfigRow','GridFightStageNodeDisplayConfigRow'}
|
|
_G.__gacCwRowAccessors1=_G.__gacCwRowAccessors1 or 1
|
|
local index=_G.__gacCwRowAccessors1
|
|
if index<=#names then
|
|
_G.__gacCwRowAccessors1=index+1
|
|
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_ROW_ACCESSORS] '..tostring(v))end
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
local assembly=typeof(CS.RPG.GameCore.GridFightRoleConfigRow).Assembly
|
|
local t=assembly:GetType('RPG.GameCore.'..names[index])
|
|
log('TYPE '..names[index]..' '..tostring(t))
|
|
if t then
|
|
local fields=t:GetFields(flags)
|
|
for i=0,math.min(fields.Length-1,47)do log('FIELD '..tostring(fields[i]))end
|
|
local methods=t:GetMethods(flags)
|
|
for i=0,math.min(methods.Length-1,47)do
|
|
if methods[i].DeclaringType==t then log('METHOD '..tostring(methods[i]))end
|
|
end
|
|
end
|
|
if index==#names then log('END')end
|
|
end
|
|
end
|