Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -14,10 +14,10 @@ import interfaceModule #
blockMode = 0
viewChatMode = 0
MOBILE = FALSE
MOBILE = False
if localeInfo.IsYMIR():
MOBILE = TRUE
MOBILE = True
class OptionDialog(ui.ScriptWindow):
@ -239,28 +239,28 @@ class OptionDialog(ui.ScriptWindow):
self.RefreshViewChat()
def __OnClickAlwaysShowNameOnButton(self):
systemSetting.SetAlwaysShowNameFlag(TRUE)
systemSetting.SetAlwaysShowNameFlag(True)
self.RefreshAlwaysShowName()
def __OnClickAlwaysShowNameOffButton(self):
systemSetting.SetAlwaysShowNameFlag(FALSE)
systemSetting.SetAlwaysShowNameFlag(False)
self.RefreshAlwaysShowName()
def __OnClickShowDamageOnButton(self):
systemSetting.SetShowDamageFlag(TRUE)
systemSetting.SetShowDamageFlag(True)
self.RefreshShowDamage()
def __OnClickShowDamageOffButton(self):
systemSetting.SetShowDamageFlag(FALSE)
systemSetting.SetShowDamageFlag(False)
self.RefreshShowDamage()
def __OnClickSalesTextOnButton(self):
systemSetting.SetShowSalesTextFlag(TRUE)
systemSetting.SetShowSalesTextFlag(True)
self.RefreshShowSalesText()
uiPrivateShopBuilder.UpdateADBoard()
def __OnClickSalesTextOffButton(self):
systemSetting.SetShowSalesTextFlag(FALSE)
systemSetting.SetShowSalesTextFlag(False)
self.RefreshShowSalesText()
def __CheckPvPProtectedLevelPlayer(self):
@ -374,7 +374,7 @@ class OptionDialog(ui.ScriptWindow):
text.replace('-', '')
net.SendChatPacket("/mobile " + text)
self.OnCloseInputDialog()
return TRUE
return True
def OnInputMobileAuthorityCode(self):
global MOBILE
@ -384,7 +384,7 @@ class OptionDialog(ui.ScriptWindow):
text = self.inputDialog.GetText()
net.SendChatPacket("/mobile_auth " + text)
self.OnCloseInputDialog()
return TRUE
return True
def OnDeleteMobile(self):
global MOBILE
@ -393,21 +393,21 @@ class OptionDialog(ui.ScriptWindow):
net.SendChatPacket("/mobile")
self.OnCloseQuestionDialog()
return TRUE
return True
def OnCloseInputDialog(self):
self.inputDialog.Close()
self.inputDialog = None
return TRUE
return True
def OnCloseQuestionDialog(self):
self.questionDialog.Close()
self.questionDialog = None
return TRUE
return True
def OnPressEscapeKey(self):
self.Close()
return TRUE
return True
def RefreshMobile(self):
global MOBILE