def decode(self, pack): self.uid = pack.popString() self.taskId = pack.popInt() self.progress = pack.popInt() Boolean = Boolean() Boolean.decode(pack) self.finished = Boolean pass
def decode(self, pack): self.order = pack.popInt() self.itemId = pack.popInt() self.itemCount = pack.popInt() self.heroId = pack.popInt() Boolean = Boolean() Boolean.decode(pack) self.awardHeroExist = Boolean pass