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,16 @@
|
||||
-- Read only the named native table, 32 rows per heartbeat.
|
||||
do
|
||||
local s=_G.__gacPeakTargetExport1 or {};_G.__gacPeakTargetExport1=s
|
||||
if s.done then return end
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_TABLE] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
if not s.it then s.it=CS.RPG.GameCore.BattleTargetConfigExcelTable.dataDict:GetEnumerator()end
|
||||
local wanted=__TARGET_IDS__
|
||||
for i=1,32 do
|
||||
if not s.it:MoveNext()then s.done=true;log('END');return end
|
||||
local row=s.it.Current.Value
|
||||
if wanted[tonumber(row.ID)]then log('ROW '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(row))end
|
||||
end
|
||||
end)
|
||||
if not ok then s.done=true;log('ERROR '..tostring(err))end
|
||||
end
|
||||
Reference in new issue
Block a user