How Can I Find Functions for scriptting ?

06/22/2018 23:00 reachablepanda#1
Okey it's my second day I learned how can i inject python code to metin2 But I need some help How Can I Find Functions

example

Code:
charvid = player.GetMainCharacterIndex()
chr.MoveToDestPosition(charvid,int(x),int(y))

like this function "GetMainCharacterIndex"