HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Paylaşım için teşekkürler
Thank you so much for this! Can you please update the download link for uiCommon and uiScript?
UiCommonThank you so much for this! Can you please update the download link for uiCommon and uiScript?
Kod:
if app.ENABLE_ELEMENTAL_WORLD:
class QuestionDialogElemental(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.__CreateDialog()
def __del__(self):
ui.ScriptWindow.__del__(self)
def __CreateDialog(self):
pyScrLoader = ui.PythonScriptLoader()
pyScrLoader.LoadScriptFile(self, "uiscript/questiondialog_elemental_map.py")
self.board = self.GetChild("board")
self.textLine = self.GetChild("message")
self.acceptButton = self.GetChild("accept")
def Open(self):
self.SetCenterPosition()
self.SetTop()
self.Show()
def Close(self):
self.Hide()
def SetWidth(self, width):
height = self.GetHeight()
self.SetSize(width, height)
self.board.SetSize(width, height)
self.SetCenterPosition()
self.UpdateRect()
def SAFE_SetAcceptEvent(self, event):
self.acceptButton.SAFE_SetEvent(event)
def SetAcceptEvent(self, event):
self.acceptButton.SetEvent(event)
def SetText(self, text):
self.textLine.SetText(text)
def SetAcceptText(self, text):
self.acceptButton.SetText(text)
if app.ENABLE_EXTEND_INVEN_SYSTEM:
def GetTextSize(self):
if self.textLine:
return self.textLine.GetTextSize()
return (0,0)
def GetLineHeight(self):
if self.textLine:
return self.textLine.GetLineHeight()
return 0
def SetLineHeight(self, Height):
self.textLine.SetLineHeight(Height)
def GetTextLineCount(self):
return self.textLine.GetTextLineCount()
UiScript File
Ekli dosyalar
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 10
- Görüntüleme
- 2K
Altın Konu
[C++] Client-Game Paket Transferi
- Cevaplar
- 12
- Görüntüleme
- 1K
- Cevaplar
- 11
- Görüntüleme
- 1K
- Cevaplar
- 10
- Görüntüleme
- 1K
