Files
GaCy-GO/tools/mission_config_function_pointers.lua
2026-10-28 18:54:43 +07:00

15 lines
585 B
Lua

do
if not _G.__gacMissionPointers2 then
_G.__gacMissionPointers2=true
local ok,e=pcall(function()
local t=typeof(CS.RPG.Client.MissionModule)
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
for _,name in ipairs({'GetSubMissionInfoConfig','GetSubMissionRow','GetMainMissionInfoConfig'})do
local m=t:GetMethod(name,flags)
CS.UnityEngine.Debug.Log('[GAC_MISSION_POINTERS] '..name..' '..tostring(m.MethodHandle.Value))
end
end)
if not ok then CS.UnityEngine.Debug.Log('[GAC_MISSION_POINTERS] ERROR '..tostring(e))end
end
end