TGamesZeus 1
TGamesZeus
Best Studio 1
Best Studio
berkmenoo 1
berkmenoo
InfernoShade 1
InfernoShade
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Agora Metin2 1
Agora Metin2
Bvural41 1
Bvural41
onur akbaş 1
onur akbaş
IronTalonX 1
IronTalonX
D 1
delimuratt
berzahx 1
berzahx
Hikaye Ekle

[C++ / Python] Official Elemental World Haritası (Ölüm Eklentisi)

  • Konuyu başlatan Konuyu başlatan olkan41
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 12
  • Görüntüleme Görüntüleme 2K
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

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!

UiCommon


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
Thank you so much! Can I contact you? I have an issue with this and I'm not sure how to solve it. Thank you!
 
ÜYE YASAKLI VE KONU LİNKİ KIRIK OLDUĞU İÇİN KAPATILDI
 
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)

Geri
Üst