Example #1
0
 def __init__(self, settings, permClass = None, limits = None, requestHandlers = None):
     super(PrbDispatcher, self).__init__(interfaces.IPrbListener, requestHandlers, FUNCTIONAL_FLAG.PREBATTLE)
     self._settings = settings
     self._permClass = permClass or DefaultPrbPermissions
     self._limits = limits or DefaultLimits(self)
     self._hasEntity = False
     self._cooldown = prb_cooldown.PrbCooldownManager()
Example #2
0
 def __init__(self):
     self.__callback = None
     self.__ctx = None
     self.__cooldown = prb_cooldown.PrbCooldownManager()