Update - 1.9.0.107

EN: 1.9.0.107
CN: 1.9.0.108
JP: 1.9.0.112
KR: 1.9.0.112
This commit is contained in:
SL1900
2026-05-14 16:00:00 +09:00
parent 4b880806ef
commit eafd8f4088
1034 changed files with 809589 additions and 23067 deletions
+23 -10
View File
@@ -168,16 +168,20 @@ function PhoneChatCtrl:RefreshContent()
end
end
function PhoneChatCtrl:CheckNextMessage(nCurProcess, index)
local data = self.chatData.avgMsg[nCurProcess + index]
if data == nil then
return
end
local state = self._mapNode.goPhone:GetNextDataState(data)
if state < 0 then
self._mapNode.goPhone:ShowNextInputingPhoneMsg(state)
elseif state == 0 then
index = index + 1
self:CheckNextMessage(nCurProcess, index)
while true do
local data = self.chatData.avgMsg[nCurProcess + index]
if data == nil then
return
end
local state = self._mapNode.goPhone:GetNextDataState(data)
if state < 0 then
self._mapNode.goPhone:ShowNextInputingPhoneMsg(state)
return
elseif state == 0 then
index = index + 1
else
return
end
end
end
function PhoneChatCtrl:RevertHistoryList()
@@ -329,6 +333,9 @@ function PhoneChatCtrl:OnEvent_ReceiveChatReward()
end
end
function PhoneChatCtrl:OnEvent_AvgShowNextPhoneMessage()
if self.chatData == nil then
return
end
if self.chatData.nStatus ~= AllEnum.PhoneChatState.Complete then
self.nChatProcess = self.nChatProcess + 1
self:RefreshContent()
@@ -337,6 +344,9 @@ function PhoneChatCtrl:OnEvent_AvgShowNextPhoneMessage()
end
end
function PhoneChatCtrl:OnEvent_AvgSelectPhoneMsgChoice(groupID, choiceIndex)
if self.nSelectChatId == nil then
return
end
local nEndCmdId = PlayerData.Phone:SetPhoneMsgChoiceJumpTo(self.nSelectChatId, groupID, choiceIndex)
local nStartCmdId = PlayerData.Phone:GetAvgStartCmdId(self.nSelectChatId)
self.nChatProcess = nEndCmdId - nStartCmdId + 1
@@ -346,6 +356,9 @@ function PhoneChatCtrl:OnEvent_AvgSelectPhoneMsgChoice(groupID, choiceIndex)
self:CheckChatComplete()
end
function PhoneChatCtrl:OnEvent_AvgSetToPhoneMsgChoiceEnd(groupID, bAuto)
if self.nSelectChatId == nil then
return
end
local nEndCmdId = PlayerData.Phone:SetPhoneMsgChoiceEnd(self.nSelectChatId, groupID)
local nStartCmdId = PlayerData.Phone:GetAvgStartCmdId(self.nSelectChatId)
self.nChatProcess = nEndCmdId - nStartCmdId