def getId(self): self.validify() return library.botGetId(self.ptr)
def __init__(self, ptr): from BaseAI import BaseAI self.ptr = ptr self.iteration = BaseAI.iteration self.id = library.botGetId(ptr)