Example #1
0
 def activate(self, entityName=None, avatar=None):
     if 'avatar' in self._descriptor.tags:
         avatar_getter.activateAvatarEquipment(self.getEquipmentID(),
                                               avatar)
     else:
         avatar_getter.changeVehicleSetting(
             VEHICLE_SETTING.ACTIVATE_EQUIPMENT,
             self.getActivationCode(entityName, avatar),
             avatar=avatar)
Example #2
0
 def deactivate(self):
     if 'avatar' in self._descriptor.tags:
         avatar_getter.activateAvatarEquipment(self.getEquipmentID())
     else:
         avatar_getter.changeVehicleSetting(VEHICLE_SETTING.ACTIVATE_EQUIPMENT, self.getEquipmentID())
Example #3
0
 def activate(self, entityName = None, avatar = None):
     if 'avatar' in self._descriptor.tags:
         avatar_getter.activateAvatarEquipment(self.getEquipmentID(), avatar)
     else:
         avatar_getter.changeVehicleSetting(VEHICLE_SETTING.ACTIVATE_EQUIPMENT, self.getActivationCode(entityName, avatar), avatar=avatar)
Example #4
0
 def deactivate(self):
     if 'avatar' in self._descriptor.tags:
         avatar_getter.activateAvatarEquipment(self.getEquipmentID())
     else:
         avatar_getter.changeVehicleSetting(
             VEHICLE_SETTING.ACTIVATE_EQUIPMENT, self.getEquipmentID())