Exemple #1
0
    def removeObject(self, userid):
        """
        Remove an object from the classes container. This will call the
        deconstructor ont he HealObject instance so there is no need to manually
        clean up the repeat instance.

        @PARAM userid - the id of the user
        """
        if self.__contains__(userid):
            name = self.objects[int(userid)].name
            repeat.stop(name)
            repeat.delete(name)
            del self.objects[int(userid)]
Exemple #2
0
    def removeObject(self, userid):
        """
        Remove an object from the classes container. This will call the
        deconstructor ont he HealObject instance so there is no need to manually
        clean up the repeat instance.

        @PARAM userid - the id of the user
        """
        if self.__contains__(userid):
            name = self.objects[int(userid)].name
            repeat.stop(name)
            repeat.delete(name)
            del self.objects[int(userid)]
Exemple #3
0
def loopStop():
    # Loop running ?
    if repeat.status('gungameHandicapLoop'):
        # Stop loop
        repeat.stop('gungameHandicapLoop')
Exemple #4
0
def unload():
    es.log("[DeToCs] Unload")
    if int(check_repeatR) == 1:
        repeat.stop("CheckCheat")
        repeat.delete("CheckCheat")
Exemple #5
0
def unload():
	es.log("[DeToCs] Unload")
	if int(check_repeatR) == 1:
		repeat.stop("CheckCheat")
		repeat.delete("CheckCheat")