Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions | Variables
Game.cpp File Reference
#include "Game.h"
#include "../HaloStreams.h"
#include "../Server/MapLoader.h"
#include "../Player.h"
#include "../AFKDetection.h"
#include "../Alias.h"
#include "../../Globals.h"
#include "../../../Common/MyString.h"
#include "../../../ScriptingEvents.h"
#include "../tags.h"
#include "../Server/Chat.h"
#include "../Server/MapVote.h"
#include <vector>

Namespaces

namespace  halo
 
namespace  halo::game
 

Typedefs

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

Functions

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

Variables

s_player_ptr halo::game::PlayerList [16]