11 lines
968 B
Lua
11 lines
968 B
Lua
do if not _G.__gacScheduleAccess1 then _G.__gacScheduleAccess1=true
|
|||
|
|
local ok,e=pcall(function()
|
||
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||
|
|
local m=CS.RPG.Client.GlobalVars.s_ModuleManager.ChallengeModule
|
||
|
|
local methods=m:GetType():GetMethods(flags)
|
||
|
|
for i=0,methods.Length-1 do local x=methods[i];if string.find(x.Name,'GroupData')then CS.UnityEngine.Debug.Log('[GAC_SCHEDULE_ACCESS] '..tostring(x))end end
|
||
|
|
local tm=CS.RPG.Client.GlobalVars.s_TimeManager
|
||
|
|
if tm then local props=tm:GetType():GetProperties(flags);for i=0,props.Length-1 do local p=props[i];if p:GetIndexParameters().Length==0 and (string.find(p.Name,'Stamp') or string.find(p.Name,'Time')) then local ok,v=pcall(function()return p:GetValue(tm,nil)end);CS.UnityEngine.Debug.Log('[GAC_CLOCK_CLIENT] '..p.Name..' '..tostring(ok)..' '..tostring(v))end end end
|
||
|
|
end)
|
||
|
|
if not ok then CS.UnityEngine.Debug.Log('[GAC_SCHEDULE_ACCESS] ERROR '..tostring(e))end
|
||
|
|
end end
|