|
const std::string * | scripting::events::GetEventTable () |
|
size_t | scripting::events::GetEventTableElementCount () |
|
bool | scripting::events::OnTeamChange (const halo::s_player &player, bool relevant, DWORD old_team, DWORD new_team) |
| Called when a player has changed team.
|
|
bool | scripting::events::OnServerCommand (const halo::s_player *player, const std::string &command) |
| Called when a server command is being executed.
|
|
bool | scripting::events::OnServerCommandAttempt (const halo::s_player &player, const std::string &command, const std::string &password) |
| Called when a player without the correct password is trying to execute a server command.
|
|
void | scripting::events::OnNewGame (const std::string &map) |
| Called when a new game is starting.
|
|
void | scripting::events::OnGameEnd (DWORD stage) |
| Called when a game is ending.
|
|
bool | scripting::events::OnBanCheck (const std::string &hash, const std::string &ip) |
| Called when a player is attempting to join.
|
|
void | scripting::events::OnClientUpdate (const halo::s_player &player) |
| Called when a client sends its update packet.
|
|
void | scripting::events::OnPlayerJoin (const halo::s_player &player) |
| Called when a player successfully joins the game.
|
|
void | scripting::events::OnPlayerLeave (const halo::s_player &player) |
| Called when a player quits.
|
|
bool | scripting::events::OnTeamDecision (DWORD in_team, DWORD &out_team) |
| Called when a player needs to be assigned a team.
|
|
void | scripting::events::OnPlayerSpawn (const halo::s_player &player, halo::ident m_objectId) |
| Called when a player has spawned.
|
|
void | scripting::events::OnPlayerSpawnEnd (const halo::s_player &player, halo::ident m_objectId) |
| Called when the server has been notified on the player's spawn.
|
|
void | scripting::events::OnObjectCreation (halo::ident m_objectId) |
| Called when an object has just been created. You can modify most object settings and have it sync.
|
|
e_ident_or_bool | scripting::events::OnObjectCreationAttempt (const halo::objects::s_object_creation_disposition *info, halo::ident &change_id, bool &allow) |
| Called when an object wants to be created. You can block it.
|
|
bool | scripting::events::OnWeaponAssignment (halo::s_player *player, halo::ident owner, DWORD order, halo::ident weap_id, halo::ident &out) |
| Called when an object is being assigned their spawn weapons.
|
|
bool | scripting::events::OnObjectInteraction (halo::s_player &player, halo::ident objid, halo::ident mapid) |
| Called when a player interacts with an object (ie stands on it)
|
|
bool | scripting::events::OnDamageLookup (halo::s_damage_info *dmg, void *metaData, halo::ident receiver, halo::damage_script_options &out) |
| Called when the server needs to apply damage to an object.
|
|
bool | scripting::events::OnDamageApplication (const halo::s_damage_info *dmg, halo::ident receiver, const halo::s_hit_info *hit, bool backtap) |
| Called when the server is about to apply damage to an object.
|
|
bool | scripting::events::OnServerChat (const halo::s_player *sender, const std::string &msg, halo::server::chat::e_chat_types &type, std::string &change_msg) |
| Called when a player chats in the server.
|
|
bool | scripting::events::OnVehicleEntry (const halo::s_player &player, halo::ident veh_id, DWORD seat, bool relevant) |
| Called when a player is wanting to enter a vehicle.
|
|
bool | scripting::events::OnVehicleEject (const halo::s_player &player, bool forceEjected) |
| Called when a player is leaving a vehicle.
|
|
void | scripting::events::OnPlayerKill (const halo::s_player &victim, const halo::s_player *killer, DWORD mode) |
| Called when a player is killed.
|
|
void | scripting::events::OnKillMultiplier (const halo::s_player &player, DWORD multiplier) |
| Called when a player gets a kill streak.
|
|
bool | scripting::events::OnWeaponReload (const halo::s_player *player, halo::ident weap) |
| Called when a weapon is being reloaded.
|
|
bool | scripting::events::OnNameRequest (const std::string &hash, const std::string &name, std::string &new_name) |
| Called when a player is requesting a certain name (during connection).
|
|