Beispiel #1
0
 def __init__(self, service=None):
     self.service = service
     AttrsLookup.__init__(
         self,
         attr2accessor={"percentile": UserStatsRankPercentileAccessor(), "rank": UserStatsRankPercentileAccessor()},
         packetClassesName="PlayerStats",
         requiredAttrPacketFields=["serial"],
     )
Beispiel #2
0
 def __init__(self, service = None):
     self.service = service
     AttrsLookup.__init__(self,
        attr2accessor = { 
             'percentile' : UserStatsRankPercentileAccessor(),
             'rank' : UserStatsRankPercentileAccessor() },
        packetClassesName = "PlayerStats",
        requiredAttrPacketFields = [ 'serial' ])
Beispiel #3
0
 def __init__(self, service=None):
     self.service = service
     AttrsLookup.__init__(
         self, attr2accessor={}, packetClassesName="PlayerStats", requiredAttrPacketFields=["serial"]
     )
Beispiel #4
0
 def __init__(self, service = None):
     self.service = service
     AttrsLookup.__init__(self,
        attr2accessor = { },
        packetClassesName = "PlayerStats",
        requiredAttrPacketFields = [ 'serial' ])