void RabidRabbitEventHandler::Cleanup(void) { Flush(); bz_removeCustomMapObject("RABIDRABBITZONE"); bz_removeCustomMapObject("RRSOUNDOFF"); bz_removeCustomMapObject("RRCYCLEONDIE"); }
void KOTHHandler::Cleanup(void){ Flush(); bz_removeCustomMapObject("KOTH"); bz_removeCustomSlashCommand("kothstatus"); bz_removeCustomSlashCommand("kothon"); bz_removeCustomSlashCommand("kothoff"); bz_removeCustomSlashCommand("kothsoundon"); bz_removeCustomSlashCommand("kothsoundoff"); bz_removeCustomSlashCommand("kothtimemult"); bz_removeCustomSlashCommand("kothtimemultmin"); bz_removeCustomSlashCommand("kothtime"); bz_removeCustomSlashCommand("kothautotimeon"); bz_removeCustomSlashCommand("kothautotimeoff"); bz_removeCustomSlashCommand("kingsay"); }
void KeepAwayEventHandler::Cleanup(void) { Flush(); bz_removeCustomMapObject("keepaway"); bz_removeCustomSlashCommand("kastatus"); bz_removeCustomSlashCommand("kaon"); bz_removeCustomSlashCommand("kaoff"); bz_removeCustomSlashCommand("katimemult"); bz_removeCustomSlashCommand("katimemultmin"); bz_removeCustomSlashCommand("katime"); bz_removeCustomSlashCommand("kaautotimeon"); bz_removeCustomSlashCommand("kaautotimeoff"); bz_removeCustomSlashCommand("kas"); bz_removeCustomSlashCommand("kaffon"); bz_removeCustomSlashCommand("kaffoff"); bz_removeCustomSlashCommand("kaf"); bz_removeCustomSlashCommand("kaf+"); bz_removeCustomSlashCommand("kasoundon"); bz_removeCustomSlashCommand("kasoundoff"); bz_removeCustomSlashCommand("kaflagreseton"); bz_removeCustomSlashCommand("kaflagresetoff"); }
BZF_PLUGIN_CALL int bz_Unload(void) { bz_removeEvent(bz_ePlayerUpdateEvent, &kotheventhandler); bz_removeEvent(bz_ePlayerPausedEvent, &kothplayerpaused); bz_removeEvent(bz_ePlayerPartEvent, &kothplayerleft); bz_removeEvent(bz_ePlayerJoinEvent, &kothplayerjoined); bz_removeEvent(bz_ePlayerDieEvent, &kothplayerdied); bz_debugMessage(4, "koth plugin unloaded"); bz_removeCustomMapObject("KOTH"); bz_removeCustomSlashCommand("kothstatus"); bz_removeCustomSlashCommand("kothon"); bz_removeCustomSlashCommand("kothoff"); bz_removeCustomSlashCommand("kothsoundon"); bz_removeCustomSlashCommand("kothsoundoff"); bz_removeCustomSlashCommand("kothtimemult"); bz_removeCustomSlashCommand("kothtimemultmin"); bz_removeCustomSlashCommand("kothtime"); bz_removeCustomSlashCommand("kothautotimeon"); bz_removeCustomSlashCommand("kothautotimeoff"); bz_removeCustomSlashCommand("kingsay"); bz_clearMaxWaitTime("KOTH"); return 0; }
void EventHandler::Cleanup ( void ) { Flush(); bz_removeCustomMapObject("FLAGSTAYZONE"); }