26 lines
987 B
Lua
26 lines
987 B
Lua
-- Named shared score-reward state used by the CW points timer.
|
|
do
|
|
if not _G.__gacCwCycleReward1 then
|
|
_G.__gacCwCycleReward1=true
|
|
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_CYCLE_REWARD] '..tostring(v))end
|
|
local ok,err=pcall(function()
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
for _,name in ipairs({'GridfightExpLineRewardData'})do
|
|
local t=typeof(CS.RPG.Client[name])
|
|
log('TYPE '..tostring(t))
|
|
local fields=t:GetFields(flags)
|
|
for i=0,fields.Length-1 do log('FIELD '..tostring(fields[i]))end
|
|
local methods=t:GetMethods(flags)
|
|
for i=0,math.min(methods.Length-1,63)do
|
|
local m=methods[i]
|
|
if m.DeclaringType==t then log('METHOD '..tostring(m)..' TOKEN '..m.MetadataToken)end
|
|
end
|
|
end
|
|
local t=typeof(CS.GAAMBBFPCHB)
|
|
local ps=t:GetProperties(flags)
|
|
for i=0,ps.Length-1 do log('WIRE_PROPERTY '..tostring(ps[i]))end
|
|
end)
|
|
if not ok then log('ERROR '..tostring(err))end
|
|
end
|
|
end
|