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,24 @@
|
||||
-- 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
|
||||
Reference in new issue
Block a user