class empyreal.engine.core.GameController(user_id=None, session=None, server=None)
GameController.get_user()
Returns the current logged in user or None in case no user has logged in with the client yet.
GameController.get_tick()
Returns the current game tick.
GameController.get_year()
Returns the current game year.
GameController.get_character()
Returns the current Prophet of the logged in user.
GameController.get_religion()
Returns the religion of the logged in user.
GameController.has_action_points(points)
Returns a boolean whether or not the user has more or equal action points than the provided points argument.
GameController.has_faith(faith)
Returns a boolean whether or not the user has more or equal faith than the provided faith argument.
GameController.has_currency(currency)
Returns a boolean whether or not the user has more or equal currency than the provided currency argument.
GameController.is_busy()
Returns a boolean whether or not the Prophet of the user is busy. The Prophet is considered busy if the busy_until_tick of the character is larger than the result of get_tick().
GameController.busy_until()
Returns the busy_until_tick of the users Prophet. Returns False in case the Prophet is not busy.
GameController.get_statistics()
Returns a dictionary with current game statistics.
GameController.get_changelog(version=None)