Hello lovely Metin2-Community!
We are working on a new project and you will be able to add python-scripts to control it.
From the binary it calls functions if something happen, there are two possibilities how i will make it.
First: via a simple call
Second: via method overriding
Which would you like to use?
We are working on a new project and you will be able to add python-scripts to control it.
From the binary it calls functions if something happen, there are two possibilities how i will make it.
First: via a simple call
Code:
def SomethingHappen():
# do something
return
WhenSomething(SomethingHappen)
Code:
class AClass(Callbacker):
def WhenSomething(self):
# usually call to Callbacker.WhenSomething
# do something
return