示例#1
0
 def __doCreateChannel(self, prbType):
     if self.__channel:
         return
     settings = None
     if prbType == PREBATTLE_TYPE.SQUAD:
         settings = BATTLE_CHANNEL.SQUAD
     self.__channel = self._addChannel(
         entities.BWUnitChannelEntity(settings, prbType))
示例#2
0
 def __doCreateChannel(self, prbType):
     if self.__channel:
         return
     else:
         settings = None
         if prbType in (PREBATTLE_TYPE.SQUAD, PREBATTLE_TYPE.FALLOUT):
             settings = BATTLE_CHANNEL.SQUAD
         self.__channel = self._addChannel(
             entities.BWUnitChannelEntity(settings, prbType))
         return