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,19 @@
|
||||
-- Named constructors and one known method token; no instances are created.
|
||||
do
|
||||
if not _G.__gacCwConfigConstructor1 then
|
||||
_G.__gacCwConfigConstructor1=true
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_CONFIG_CTOR] '..tostring(v))end
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local names={'GridFightRoleConfig','GridFightStageRoute','GridFightStageNode','GridFightPlayer'}
|
||||
for _,name in ipairs(names)do
|
||||
local t=typeof(CS.RPG.Client[name])
|
||||
local constructors=t:GetConstructors(flags)
|
||||
for i=0,constructors.Length-1 do log('CTOR '..name..' '..tostring(constructors[i])..' TOKEN '..constructors[i].MetadataToken)end
|
||||
end
|
||||
local ok,value=pcall(function()
|
||||
local token=101276529 -- Previously captured GridFightModule.GetSeason token.
|
||||
return typeof(CS.RPG.Client.GridFightModule).Module:ResolveMethod(token)
|
||||
end)
|
||||
log('RESOLVE_KNOWN '..tostring(ok)..' '..tostring(value))
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user