mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 18:07:14 +01:00
Update event parameter names for consitency.
This commit is contained in:
parent
8af8890152
commit
35eed62b17
@ -1018,7 +1018,7 @@ public:
|
|||||||
void EmitPlayerHeading(Int32 player_id, Float32 old_heading, Float32 new_heading);
|
void EmitPlayerHeading(Int32 player_id, Float32 old_heading, Float32 new_heading);
|
||||||
void EmitPlayerPosition(Int32 player_id);
|
void EmitPlayerPosition(Int32 player_id);
|
||||||
void EmitPlayerOption(Int32 player_id, Int32 option_id, bool value, Int32 header, Object & payload);
|
void EmitPlayerOption(Int32 player_id, Int32 option_id, bool value, Int32 header, Object & payload);
|
||||||
void EmitPlayerAdmin(Int32 player_id, bool old_admin, bool new_admin);
|
void EmitPlayerAdmin(Int32 player_id, bool old_status, bool new_status);
|
||||||
void EmitPlayerWorld(Int32 player_id, Int32 old_world, Int32 new_world, bool secondary);
|
void EmitPlayerWorld(Int32 player_id, Int32 old_world, Int32 new_world, bool secondary);
|
||||||
void EmitPlayerTeam(Int32 player_id, Int32 old_team, Int32 new_team);
|
void EmitPlayerTeam(Int32 player_id, Int32 old_team, Int32 new_team);
|
||||||
void EmitPlayerSkin(Int32 player_id, Int32 old_skin, Int32 new_skin);
|
void EmitPlayerSkin(Int32 player_id, Int32 old_skin, Int32 new_skin);
|
||||||
|
@ -766,11 +766,11 @@ void Core::EmitPlayerOption(Int32 player_id, Int32 option_id, bool value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
void Core::EmitPlayerAdmin(Int32 player_id, bool old_admin, bool new_admin)
|
void Core::EmitPlayerAdmin(Int32 player_id, bool old_status, bool new_status)
|
||||||
{
|
{
|
||||||
PlayerInst & _player = m_Players.at(player_id);
|
PlayerInst & _player = m_Players.at(player_id);
|
||||||
Emit(_player.mOnAdmin, old_admin, new_admin);
|
Emit(_player.mOnAdmin, old_status, new_status);
|
||||||
Emit(mOnPlayerAdmin, _player.mObj, old_admin, new_admin);
|
Emit(mOnPlayerAdmin, _player.mObj, old_status, new_status);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user