def _wantShardListComplete(self):
     print(self.activeDistrictMap)
     if self._shardsAreReady():
         self.acceptOnce(ToontownDistrictStats.EventName(), self.shardDetailStatsComplete)
         ToontownDistrictStats.refresh()
     else:
         self.loginFSM.request('noShards')
예제 #2
0
 def _wantShardListComplete(self):
     print self.activeDistrictMap
     if self._shardsAreReady():
         self.acceptOnce(ToontownDistrictStats.EventName(),
                         self.shardDetailStatsComplete)
         ToontownDistrictStats.refresh()
     else:
         status = ''
         if self.listFullShards():
             status = 'full'
         self.loginFSM.request('noShards', [status])
 def exitWaitForShardList(self):
     self.ignore(ToontownDistrictStats.EventName())
     OTPClientRepository.OTPClientRepository.exitWaitForShardList(self)