Phasor
01.00.10.059
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Phasor
ScriptingEvents.h
Go to the documentation of this file.
1
26
#pragma once
27
28
#include "
Scripting.h
"
29
#include "
Common/types.h
"
30
#include <string>
31
32
namespace
halo
33
{
34
struct
ident;
35
struct
s_player;
36
struct
s_tag_entry;
37
38
struct
s_damage_info;
39
struct
damage_script_options;
40
struct
s_hit_info;
41
42
namespace
objects {
43
struct
s_object_creation_disposition;
44
}
45
46
namespace
server {
namespace
chat {
47
enum
e_chat_types
;
48
}}
49
}
50
51
namespace
scripting {
52
namespace
events {
53
54
enum
e_ident_or_bool
{
55
kIdent
= 0,
56
kBool
57
};
58
59
const
std::string*
GetEventTable
();
60
size_t
GetEventTableElementCount
();
61
79
bool
OnTeamChange
(
const
halo::s_player
& player,
bool
relevant,
DWORD
old_team,
80
DWORD
new_team);
81
96
bool
OnServerCommand
(
const
halo::s_player
* player,
const
std::string& command);
97
113
bool
OnServerCommandAttempt
(
const
halo::s_player
& player,
const
std::string& command,
114
const
std::string& password);
115
125
void
OnNewGame
(
const
std::string& map);
126
141
void
OnGameEnd
(
DWORD
stage);
142
154
bool
OnBanCheck
(
const
std::string& hash,
const
std::string& ip);
155
170
void
OnClientUpdate
(
const
halo::s_player
& player);
171
181
void
OnPlayerJoin
(
const
halo::s_player
& player);
182
192
void
OnPlayerLeave
(
const
halo::s_player
& player);
193
204
bool
OnTeamDecision
(
DWORD
in_team,
DWORD
& out_team);
205
216
void
OnPlayerSpawn
(
const
halo::s_player
& player,
halo::ident
m_objectId);
217
228
void
OnPlayerSpawnEnd
(
const
halo::s_player
& player,
halo::ident
m_objectId);
229
240
void
OnObjectCreation
(
halo::ident
m_objectId);
241
263
e_ident_or_bool
OnObjectCreationAttempt
(
const
halo::objects::s_object_creation_disposition
* info,
264
halo::ident
& change_id,
bool
& allow);
265
294
bool
OnWeaponAssignment
(
halo::s_player
* player,
halo::ident
owner,
DWORD
order,
295
halo::ident
weap_id,
halo::ident
& out);
296
309
bool
OnObjectInteraction
(
halo::s_player
& player,
halo::ident
objid,
310
halo::ident
mapid);
311
326
bool
OnDamageLookup
(
halo::s_damage_info
* dmg,
void
* metaData,
327
halo::ident
receiver,
halo::damage_script_options
& out);
328
352
bool
OnDamageApplication
(
const
halo::s_damage_info
* dmg,
halo::ident
receiver,
353
const
halo::s_hit_info
* hit,
bool
backtap);
354
398
bool
OnServerChat
(
const
halo::s_player
* sender,
const
std::string& msg,
399
halo::server::chat::e_chat_types
& type, std::string& change_msg);
400
416
bool
OnVehicleEntry
(
const
halo::s_player
& player,
halo::ident
veh_id,
417
DWORD
seat,
bool
relevant);
418
430
bool
OnVehicleEject
(
const
halo::s_player
& player,
bool
forceEjected);
431
455
void
OnPlayerKill
(
const
halo::s_player
& victim,
const
halo::s_player
* killer,
456
DWORD
mode);
457
484
void
OnKillMultiplier
(
const
halo::s_player
& player,
DWORD
multiplier);
485
500
bool
OnWeaponReload
(
const
halo::s_player
* player,
halo::ident
weap);
501
518
bool
OnNameRequest
(
const
std::string& hash,
const
std::string& name,
519
std::string& new_name);
520
521
}}
522
Generated on Mon Jul 22 2013 17:09:02 for Phasor by
1.8.2-20121118