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