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,18 @@
|
||||
-- Named row metadata attributes only; constructors are not executed.
|
||||
do
|
||||
local names={'GridFightPlayerLevelConfigRow','GridFightTutorialStageConfigRow'}
|
||||
_G.__gacCwRowAttributes1=_G.__gacCwRowAttributes1 or 1
|
||||
local i=_G.__gacCwRowAttributes1
|
||||
if i<=#names then
|
||||
_G.__gacCwRowAttributes1=i+1
|
||||
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_ROW_ATTRIBUTES] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
local t=typeof(CS.RPG.GameCore[names[i]])
|
||||
log('TYPE '..t.FullName..' BASE '..tostring(t.BaseType)..' DECLARING '..tostring(t.DeclaringType))
|
||||
local attrs=t:GetCustomAttributesData()
|
||||
for j=0,math.min(attrs.Count-1,15)do log('ATTRIBUTE '..tostring(attrs[j]))end
|
||||
end)
|
||||
if not ok then log('ERROR '..tostring(err))end
|
||||
if i==#names then log('END')end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user