def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'received_notification' self.attributes['function'] = (lambda receiver, event : (lambda : receiver.sendFinal((lambda : lib.ANSI.yellow('\n\r### {}\n\r'.format((lambda : event.attributes['data']['message'])())))()))())
def __init__(self): EventReceiver.__init__(self) commandExecutionHandler = EventHandler() commandExecutionHandler.attributes['signature'] = 'execute_command' commandExecutionHandler.attributes['function'] = self.execute self.addEventHandler(commandExecutionHandler)
def __init__(self): EventHandler.__init__(self) self.attributes["signature"] = "actor_exited" self.attributes["function"] = self.playerExited
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'actor_attempted_item_removal'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'actor_grabbed_item'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='was_observed'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'actor_emoted' self.attributes['function'] = self.actorEmoted
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'execute_command' self.attributes['function'] = self.executeCommand
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'item_dropped'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'received_feedback'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='actor_moved_from_room'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='actor_emoted'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'actor_viewed_equipment'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='broadcast_to_all_players'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='gained_health_from_tick'
def __init__(self): EventHandler.__init__(self) self.attributes["signature"] = "actor_observed" self.attributes["function"] = self.actorObserved
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'game_tick'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='entity_described_self'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'received_notification'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'move_actor' self.attributes['function'] = self.moveActor
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'menu_option_chosen'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'player_entered' self.attributes['function'] = self.playerEnteredRoom
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'broadcast_to_all_players' self.attributes['function'] = self.broadcastToAllPlayers
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'player_logout' self.attributes['function'] = self.playerLogout
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='player_login'
def __init__(self): EventHandler.__init__(self) self.attributes["signature"] = "player_entered" self.attributes["function"] = self.playerEntered
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='player_logout'
def __init__(self): EventHandler.__init__(self) self.attributes["signature"] = "player_logout" self.attributes["function"] = self.playerExited
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='spell_cast_attempted'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'was_observed'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'gained_health_from_tick'
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] ='game_tick'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'entity_described_self' self.attributes['function'] = self.entityDescribedSelf
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'actor_moved_from_room'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'received_feedback' self.attributes['function'] = self.receivedFeedback
def __init__(self, adjusters): EventHandler.__init__(self, adjusters) self.attributes['signature'] = 'execute_command'
def __init__(self): EventHandler.__init__(self) self.attributes['signature'] = 'was_observed' self.attributes['function'] = self.wasObserved