Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
halo::game Namespace Reference

Typedefs

typedef std::unique_ptr< s_players_player_ptr
 

Functions

void cleanupPlayers (bool notify_scripts)
 
bool valid_index (DWORD playerIndex)
 
s_playergetPlayer (int index)
 
s_playergetPlayerFromRconId (unsigned int playerNum)
 
s_playergetPlayerFromAddress (s_player_structure *player)
 
s_playergetPlayerFromObject (objects::s_halo_biped *obj)
 
s_playergetPlayerFromObjectId (ident id)
 
s_playergetPlayerFromHash (const std::string &hash)
 
void OnGameEnd (DWORD mode)
 
void OnNewGame (const char *map)
 
void __stdcall OnPlayerWelcome (DWORD playerId)
 
void __stdcall OnPlayerQuit (DWORD playerId)
 
DWORD __stdcall OnTeamSelection (DWORD cur_team, server::s_machine_info *machine)
 
bool __stdcall OnTeamChange (DWORD playerId, DWORD new_team)
 
void __stdcall OnPlayerSpawn (DWORD playerId, ident m_objectId)
 
void __stdcall OnPlayerSpawnEnd (DWORD playerId, ident m_objectId)
 
void __stdcall OnObjectCreation (ident m_objectId)
 
bool __stdcall OnObjectCreationAttempt (objects::s_object_creation_disposition *creation_info)
 
DWORD __stdcall OnWeaponAssignment (DWORD playerId, ident owningObjectId, s_object_info *curWeapon, DWORD order)
 
bool __stdcall OnObjectInteraction (DWORD playerId, ident m_ObjId)
 
void OnClientUpdate (s_player &player)
 
void __stdcall OnChat (server::chat::s_chat_data *chat)
 
bool __stdcall OnVehicleEntry (DWORD playerId)
 
bool __stdcall OnVehicleEject (objects::s_halo_biped *player_obj, bool forceEjected)
 
void __stdcall OnPlayerDeath (DWORD killerId, DWORD victimId, DWORD mode)
 
void __stdcall OnKillMultiplier (DWORD playerId, DWORD multiplier)
 
bool __stdcall OnWeaponReload (ident m_WeaponId)
 

Variables

s_player_ptr PlayerList [16]
 

Typedef Documentation

typedef std::unique_ptr<s_player> halo::game::s_player_ptr

Function Documentation

void halo::game::cleanupPlayers ( bool  notify_scripts)
s_player * halo::game::getPlayer ( int  index)
s_player * halo::game::getPlayerFromAddress ( s_player_structure *  player)
s_player * halo::game::getPlayerFromHash ( const std::string &  hash)
s_player * halo::game::getPlayerFromObject ( objects::s_halo_biped *  obj)
s_player * halo::game::getPlayerFromObjectId ( ident  id)
s_player * halo::game::getPlayerFromRconId ( unsigned int  playerNum)
void __stdcall halo::game::OnChat ( server::chat::s_chat_data *  chat)
void halo::game::OnClientUpdate ( s_player &  player)
void halo::game::OnGameEnd ( DWORD  mode)
void __stdcall halo::game::OnKillMultiplier ( DWORD  playerId,
DWORD  multiplier 
)
void halo::game::OnNewGame ( const char *  map)
void __stdcall halo::game::OnObjectCreation ( ident  m_objectId)
bool __stdcall halo::game::OnObjectCreationAttempt ( objects::s_object_creation_disposition *  creation_info)
Todo:
make sure the player is correct
bool __stdcall halo::game::OnObjectInteraction ( DWORD  playerId,
ident  m_ObjId 
)
void __stdcall halo::game::OnPlayerDeath ( DWORD  killerId,
DWORD  victimId,
DWORD  mode 
)
void __stdcall halo::game::OnPlayerQuit ( DWORD  playerId)
void __stdcall halo::game::OnPlayerSpawn ( DWORD  playerId,
ident  m_objectId 
)
void __stdcall halo::game::OnPlayerSpawnEnd ( DWORD  playerId,
ident  m_objectId 
)
void __stdcall halo::game::OnPlayerWelcome ( DWORD  playerId)
bool __stdcall halo::game::OnTeamChange ( DWORD  playerId,
DWORD  new_team 
)
Todo:
add checks when sv_teams_change or w/e is enabled
DWORD __stdcall halo::game::OnTeamSelection ( DWORD  cur_team,
server::s_machine_info *  machine 
)
bool __stdcall halo::game::OnVehicleEject ( objects::s_halo_biped *  player_obj,
bool  forceEjected 
)
bool __stdcall halo::game::OnVehicleEntry ( DWORD  playerId)
DWORD __stdcall halo::game::OnWeaponAssignment ( DWORD  playerId,
ident  owningObjectId,
s_object_info *  curWeapon,
DWORD  order 
)
bool __stdcall halo::game::OnWeaponReload ( ident  m_WeaponId)
bool halo::game::valid_index ( DWORD  playerIndex)
inline

Variable Documentation

s_player_ptr halo::game::PlayerList[16]