Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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