Files
SL1900 5e0d58cfad Initial version - 1.2.0.60
EN: 1.2.0.60
CN: 1.2.0.61
JP: 1.2.0.63
KR: 1.2.0.67
2025-12-03 01:00:00 +09:00

35 lines
831 B
Lua

local PhonePanel = class("PhonePanel", BasePanel)
PhonePanel._nSnapshotPrePanel = 4
PhonePanel._tbDefine = {
{
sPrefabPath = "Phone/PhonePanel.prefab",
sCtrlName = "Game.UI.Phone.PhoneCtrl"
}
}
function PhonePanel:GetAvgContactsData(sContactsId)
local tbContacts = PlayerData.Phone:GetAvgContactsData(sContactsId)
if tbContacts == nil then
return sContactsId
else
return tbContacts
end
end
function PhonePanel:Awake()
self.nCurTog = nil
self.nSelectCharId = nil
self.sTxtLan = Settings.sCurrentTxtLanguage
self.sVoLan = Settings.sCurrentVoLanguage
self.bIsPlayerMale = PlayerData.Base:GetPlayerSex() == true
end
function PhonePanel:OnEnable()
end
function PhonePanel:OnAfterEnter()
end
function PhonePanel:OnDisable()
end
function PhonePanel:OnDestroy()
end
function PhonePanel:OnRelease()
end
return PhonePanel