Update - 1.12.0.120

EN: 1.12.0.120
CN: 1.12.0.120
JP: 1.12.0.124
KR: 1.12.0.124
This commit is contained in:
SL1900
2026-06-30 14:30:00 +09:00
parent 061d344bf2
commit 80af235e05
826 changed files with 625145 additions and 81163 deletions
+11 -3
View File
@@ -143,14 +143,22 @@ end
function RedDotNode:CheckLeafNode()
return nil == self.tbChildNodeList or #self.tbChildNodeList == 0
end
function RedDotNode:PrintRedDot(bLeaf, tbNode)
function RedDotNode:PrintRedDot(bLeaf, tbNode, nDepth)
if self.sNodeKey == "Root" then
if bLeaf and nil ~= self.tbChildNodeList then
for _, v in ipairs(self.tbChildNodeList) do
v:PrintRedDot(true, tbNode, 0)
end
end
return
end
table.insert(tbNode, self)
table.insert(tbNode, {
node = self,
depth = nDepth or 0
})
if bLeaf and nil ~= self.tbChildNodeList then
for _, v in ipairs(self.tbChildNodeList) do
v:PrintRedDot(true, tbNode)
v:PrintRedDot(true, tbNode, (nDepth or 0) + 1)
end
end
end