리뷰 발견 수정: 게임버그 6 + 시뮬 충실도 3 + 설명/데이터 정정 (Lua↔JS 동기화) #96

Merged
gahusb merged 11 commits from fix/review-findings into main 2026-06-29 21:46:45 +09:00
3 changed files with 14 additions and 2 deletions
Showing only changes of commit e6f351420b - Show all commits

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,11 @@ for i = #list, 2, -1 do
\tlocal j = math.random(1, i) \tlocal j = math.random(1, i)
\tlist[i], list[j] = list[j], list[i] \tlist[i], list[j] = list[j], list[i]
end`, [{ Type: 'any', DefaultValue: null, SyncDirection: 0, Attributes: [], Name: 'list' }]), end`, [{ Type: 'any', DefaultValue: null, SyncDirection: 0, Attributes: [], Name: 'list' }]),
method('BindButtons', `local endTurn = _EntityService:GetEntityByPath("/ui/RunUIGroup/DeckHud/EndTurnButton") method('BindButtons', `if self.ButtonsBound == true then
return
end
self.ButtonsBound = true
local endTurn = _EntityService:GetEntityByPath("/ui/RunUIGroup/DeckHud/EndTurnButton")
if endTurn ~= nil and (endTurn.ButtonComponent ~= nil or endTurn:AddComponent("ButtonComponent") ~= nil) then if endTurn ~= nil and (endTurn.ButtonComponent ~= nil or endTurn:AddComponent("ButtonComponent") ~= nil) then
if self.EndTurnHandler ~= nil then if self.EndTurnHandler ~= nil then
endTurn:DisconnectEvent(ButtonClickEvent, self.EndTurnHandler) endTurn:DisconnectEvent(ButtonClickEvent, self.EndTurnHandler)

View File

@@ -61,6 +61,7 @@ function writeCodeblocks() {
prop('any', 'AllDeckCloseHandler'), prop('any', 'AllDeckCloseHandler'),
prop('number', 'SoulPoints', '0'), prop('number', 'SoulPoints', '0'),
prop('boolean', 'LobbyBound', 'false'), prop('boolean', 'LobbyBound', 'false'),
prop('boolean', 'ButtonsBound', 'false'),
prop('number', 'LobbyTpTries', '0'), prop('number', 'LobbyTpTries', '0'),
prop('boolean', 'CodexMode', 'false'), prop('boolean', 'CodexMode', 'false'),
prop('any', 'CodexCards'), prop('any', 'CodexCards'),