13 lines
771 B
Lua
13 lines
771 B
Lua
-- Parameter metadata only for the exact equipment request helpers.
|
|
do local function capture()
|
|
if _G.__gacCwEquipmentParams1 then return end;_G.__gacCwEquipmentParams1=true
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
local t=typeof(CS.RPG.Client.GridFightEquipInfo)
|
|
local ms=t:GetMethods(flags)
|
|
for i=0,math.min(ms.Length-1,127)do local m=ms[i]
|
|
if m.Name=='TryCraftEquip'or m.Name=='TryDressEquipToRole'then
|
|
local ps=m:GetParameters();for j=0,ps.Length-1 do CS.UnityEngine.Debug.Log('[GAC_CW_EQUIPMENT_PARAMS] '..m.Name..' '..j..' '..ps[j].Name..' '..tostring(ps[j].ParameterType))end
|
|
end
|
|
end
|
|
end;local ok,e=pcall(capture);if not ok then CS.UnityEngine.Debug.Log('[GAC_CW_EQUIPMENT_PARAMS] ERROR '..tostring(e))end end
|