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,18 @@
|
||||
do
|
||||
if not _G.__gacPeakConstantSchema1 then
|
||||
_G.__gacPeakConstantSchema1=true
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_CONST_SCHEMA] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
for _,name in ipairs({'ConstValueCommonExcelTable','ConstValueClientExcelTable'})do
|
||||
local rows=CS.RPG.GameCore[name].dataDict
|
||||
local it=rows:GetEnumerator();log('TABLE '..name..' '..rows.Count)
|
||||
if it:MoveNext()then
|
||||
local p=it.Current
|
||||
log('KEY '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(p.Key))
|
||||
log('ROW '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(p.Value))
|
||||
end
|
||||
end
|
||||
end)
|
||||
if not ok then log('ERROR '..tostring(err))end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user