mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-09-06 15:07:11 +02:00
Discarded the noexcept specifier entirely.
This commit is contained in:
+142
-142
File diff suppressed because it is too large
Load Diff
+145
-145
@@ -26,17 +26,17 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
BasicEvent() noexcept;
|
||||
BasicEvent();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
BasicEvent(SQInt32 type) noexcept;
|
||||
BasicEvent(SQInt32 type);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
BasicEvent(SQInt32 type, bool suspended) noexcept;
|
||||
BasicEvent(SQInt32 type, bool suspended);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
@@ -66,37 +66,37 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator == (const BasicEvent & o) const noexcept;
|
||||
bool operator == (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator != (const BasicEvent & o) const noexcept;
|
||||
bool operator != (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator < (const BasicEvent & o) const noexcept;
|
||||
bool operator < (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator > (const BasicEvent & o) const noexcept;
|
||||
bool operator > (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator <= (const BasicEvent & o) const noexcept;
|
||||
bool operator <= (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool operator >= (const BasicEvent & o) const noexcept;
|
||||
bool operator >= (const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
operator SQInt32 () const noexcept
|
||||
operator SQInt32 () const
|
||||
{
|
||||
return m_Type;
|
||||
}
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
operator bool () const noexcept
|
||||
operator bool () const
|
||||
{
|
||||
return (m_Type != EVT_UNKNOWN && m_Type < EVT_COUNT);
|
||||
}
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
operator ! () const noexcept
|
||||
operator ! () const
|
||||
{
|
||||
return (m_Type == EVT_UNKNOWN || m_Type >= EVT_COUNT);
|
||||
}
|
||||
@@ -120,669 +120,669 @@ public:
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VMClose() noexcept;
|
||||
void VMClose();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 Cmp(const BasicEvent & o) const noexcept;
|
||||
SQInt32 Cmp(const BasicEvent & o) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const SQChar * GetName() const noexcept;
|
||||
const SQChar * GetName() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const SQChar * GetTag() const noexcept;
|
||||
const SQChar * GetTag() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetTag(const SQChar * tag) noexcept;
|
||||
void SetTag(const SQChar * tag);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SqObj & GetData() noexcept;
|
||||
SqObj & GetData();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetData(SqObj & data) noexcept;
|
||||
void SetData(SqObj & data);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 GetType() const noexcept;
|
||||
SQInt32 GetType() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetType(SQInt32 type) noexcept;
|
||||
void SetType(SQInt32 type);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInteger GetIdle() const noexcept;
|
||||
SQInteger GetIdle() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetIdle(SQInteger millis) noexcept;
|
||||
void SetIdle(SQInteger millis);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool IsIdle() const noexcept;
|
||||
bool IsIdle() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 GetStride() const noexcept;
|
||||
SQInt32 GetStride() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetStride(SQInt32 stride) noexcept;
|
||||
void SetStride(SQInt32 stride);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 GetIgnore() const noexcept;
|
||||
SQInt32 GetIgnore() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetIgnore(SQInt32 ignore) noexcept;
|
||||
void SetIgnore(SQInt32 ignore);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 GetPrimary() const noexcept;
|
||||
SQInt32 GetPrimary() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetPrimary(SQInt32 subset) noexcept;
|
||||
void SetPrimary(SQInt32 subset);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
SQInt32 GetSecondary() const noexcept;
|
||||
SQInt32 GetSecondary() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetSecondary(SQInt32 subset) noexcept;
|
||||
void SetSecondary(SQInt32 subset);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool GetSuspended() const noexcept;
|
||||
bool GetSuspended() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetSuspended(bool toggle) noexcept;
|
||||
void SetSuspended(bool toggle);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
Function GetOnTrigger() const noexcept;
|
||||
Function GetOnTrigger() const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetOnTrigger(Function & func) noexcept;
|
||||
void SetOnTrigger(Function & func);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SetOnTrigger_Env(SqObj & env, Function & func) noexcept;
|
||||
void SetOnTrigger_Env(SqObj & env, Function & func);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool Compatible(SQInt32 type) const noexcept;
|
||||
bool Compatible(SQInt32 type) const;
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void BlipCreated(SQInt32 blip, SQInt32 header, Object & payload) noexcept;
|
||||
void BlipCreated(SQInt32 blip, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CheckpointCreated(SQInt32 checkpoint, SQInt32 header, Object & payload) noexcept;
|
||||
void CheckpointCreated(SQInt32 checkpoint, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void KeybindCreated(SQInt32 keybind, SQInt32 header, Object & payload) noexcept;
|
||||
void KeybindCreated(SQInt32 keybind, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ObjectCreated(SQInt32 object, SQInt32 header, Object & payload) noexcept;
|
||||
void ObjectCreated(SQInt32 object, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupCreated(SQInt32 pickup, SQInt32 header, Object & payload) noexcept;
|
||||
void PickupCreated(SQInt32 pickup, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerCreated(SQInt32 player, SQInt32 header, Object & payload) noexcept;
|
||||
void PlayerCreated(SQInt32 player, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SphereCreated(SQInt32 sphere, SQInt32 header, Object & payload) noexcept;
|
||||
void SphereCreated(SQInt32 sphere, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SpriteCreated(SQInt32 sprite, SQInt32 header, Object & payload) noexcept;
|
||||
void SpriteCreated(SQInt32 sprite, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void TextdrawCreated(SQInt32 textdraw, SQInt32 header, Object & payload) noexcept;
|
||||
void TextdrawCreated(SQInt32 textdraw, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleCreated(SQInt32 vehicle, SQInt32 header, Object & payload) noexcept;
|
||||
void VehicleCreated(SQInt32 vehicle, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void BlipDestroyed(SQInt32 blip, SQInt32 header, Object & payload) noexcept;
|
||||
void BlipDestroyed(SQInt32 blip, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CheckpointDestroyed(SQInt32 checkpoint, SQInt32 header, Object & payload) noexcept;
|
||||
void CheckpointDestroyed(SQInt32 checkpoint, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void KeybindDestroyed(SQInt32 keybind, SQInt32 header, Object & payload) noexcept;
|
||||
void KeybindDestroyed(SQInt32 keybind, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ObjectDestroyed(SQInt32 object, SQInt32 header, Object & payload) noexcept;
|
||||
void ObjectDestroyed(SQInt32 object, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupDestroyed(SQInt32 pickup, SQInt32 header, Object & payload) noexcept;
|
||||
void PickupDestroyed(SQInt32 pickup, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerDestroyed(SQInt32 player, SQInt32 header, Object & payload) noexcept;
|
||||
void PlayerDestroyed(SQInt32 player, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SphereDestroyed(SQInt32 sphere, SQInt32 header, Object & payload) noexcept;
|
||||
void SphereDestroyed(SQInt32 sphere, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SpriteDestroyed(SQInt32 sprite, SQInt32 header, Object & payload) noexcept;
|
||||
void SpriteDestroyed(SQInt32 sprite, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void TextdrawDestroyed(SQInt32 textdraw, SQInt32 header, Object & payload) noexcept;
|
||||
void TextdrawDestroyed(SQInt32 textdraw, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleDestroyed(SQInt32 vehicle, SQInt32 header, Object & payload) noexcept;
|
||||
void VehicleDestroyed(SQInt32 vehicle, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void BlipCustom(SQInt32 blip, SQInt32 header, Object & payload) noexcept;
|
||||
void BlipCustom(SQInt32 blip, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CheckpointCustom(SQInt32 checkpoint, SQInt32 header, Object & payload) noexcept;
|
||||
void CheckpointCustom(SQInt32 checkpoint, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void KeybindCustom(SQInt32 keybind, SQInt32 header, Object & payload) noexcept;
|
||||
void KeybindCustom(SQInt32 keybind, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ObjectCustom(SQInt32 object, SQInt32 header, Object & payload) noexcept;
|
||||
void ObjectCustom(SQInt32 object, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupCustom(SQInt32 pickup, SQInt32 header, Object & payload) noexcept;
|
||||
void PickupCustom(SQInt32 pickup, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerCustom(SQInt32 player, SQInt32 header, Object & payload) noexcept;
|
||||
void PlayerCustom(SQInt32 player, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SphereCustom(SQInt32 sphere, SQInt32 header, Object & payload) noexcept;
|
||||
void SphereCustom(SQInt32 sphere, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SpriteCustom(SQInt32 sprite, SQInt32 header, Object & payload) noexcept;
|
||||
void SpriteCustom(SQInt32 sprite, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void TextdrawCustom(SQInt32 textdraw, SQInt32 header, Object & payload) noexcept;
|
||||
void TextdrawCustom(SQInt32 textdraw, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleCustom(SQInt32 vehicle, SQInt32 header, Object & payload) noexcept;
|
||||
void VehicleCustom(SQInt32 vehicle, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerAway(SQInt32 player, bool status) noexcept;
|
||||
void PlayerAway(SQInt32 player, bool status);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerGameKeys(SQInt32 player, SQInt32 previous, SQInt32 current) noexcept;
|
||||
void PlayerGameKeys(SQInt32 player, SQInt32 previous, SQInt32 current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerRename(SQInt32 player, const SQChar * previous, const SQChar * current) noexcept;
|
||||
void PlayerRename(SQInt32 player, const SQChar * previous, const SQChar * current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerRequestClass(SQInt32 player, SQInt32 offset) noexcept;
|
||||
void PlayerRequestClass(SQInt32 player, SQInt32 offset);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerRequestSpawn(SQInt32 player) noexcept;
|
||||
void PlayerRequestSpawn(SQInt32 player);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerSpawn(SQInt32 player) noexcept;
|
||||
void PlayerSpawn(SQInt32 player);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerStartTyping(SQInt32 player) noexcept;
|
||||
void PlayerStartTyping(SQInt32 player);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerStopTyping(SQInt32 player) noexcept;
|
||||
void PlayerStopTyping(SQInt32 player);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerChat(SQInt32 player, const SQChar * message) noexcept;
|
||||
void PlayerChat(SQInt32 player, const SQChar * message);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerCommand(SQInt32 player, const SQChar * command) noexcept;
|
||||
void PlayerCommand(SQInt32 player, const SQChar * command);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerMessage(SQInt32 player, SQInt32 receiver, const SQChar * message) noexcept;
|
||||
void PlayerMessage(SQInt32 player, SQInt32 receiver, const SQChar * message);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerHealth(SQInt32 player, SQFloat previous, SQFloat current) noexcept;
|
||||
void PlayerHealth(SQInt32 player, SQFloat previous, SQFloat current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerArmour(SQInt32 player, SQFloat previous, SQFloat current) noexcept;
|
||||
void PlayerArmour(SQInt32 player, SQFloat previous, SQFloat current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerWeapon(SQInt32 player, SQInt32 previous, SQInt32 current) noexcept;
|
||||
void PlayerWeapon(SQInt32 player, SQInt32 previous, SQInt32 current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerMove(SQInt32 player, const Vector3 & previous, const Vector3 & current) noexcept;
|
||||
void PlayerMove(SQInt32 player, const Vector3 & previous, const Vector3 & current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerWasted(SQInt32 player, SQInt32 reason) noexcept;
|
||||
void PlayerWasted(SQInt32 player, SQInt32 reason);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerKilled(SQInt32 player, SQInt32 killer, SQInt32 reason, SQInt32 body_part) noexcept;
|
||||
void PlayerKilled(SQInt32 player, SQInt32 killer, SQInt32 reason, SQInt32 body_part);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerTeamKill(SQInt32 player, SQInt32 killer, SQInt32 reason, SQInt32 body_part) noexcept;
|
||||
void PlayerTeamKill(SQInt32 player, SQInt32 killer, SQInt32 reason, SQInt32 body_part);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerSpectate(SQInt32 player, SQInt32 target) noexcept;
|
||||
void PlayerSpectate(SQInt32 player, SQInt32 target);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerCrashreport(SQInt32 player, const SQChar * report) noexcept;
|
||||
void PlayerCrashreport(SQInt32 player, const SQChar * report);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerBurning(SQInt32 player, bool state) noexcept;
|
||||
void PlayerBurning(SQInt32 player, bool state);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerCrouching(SQInt32 player, bool state) noexcept;
|
||||
void PlayerCrouching(SQInt32 player, bool state);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerState(SQInt32 player, SQInt32 previous, SQInt32 current) noexcept;
|
||||
void PlayerState(SQInt32 player, SQInt32 previous, SQInt32 current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PlayerAction(SQInt32 player, SQInt32 previous, SQInt32 current) noexcept;
|
||||
void PlayerAction(SQInt32 player, SQInt32 previous, SQInt32 current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateNone(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateNone(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateNormal(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateNormal(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateShooting(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateShooting(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateDriver(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateDriver(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StatePassenger(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StatePassenger(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateEnterDriver(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateEnterDriver(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateEnterPassenger(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateEnterPassenger(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateExitVehicle(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateExitVehicle(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void StateUnspawned(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void StateUnspawned(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionNone(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionNone(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionNormal(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionNormal(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionAiming(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionAiming(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionShooting(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionShooting(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionJumping(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionJumping(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionLieDown(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionLieDown(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionGettingUp(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionGettingUp(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionJumpVehicle(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionJumpVehicle(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionDriving(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionDriving(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionDying(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionDying(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionWasted(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionWasted(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionEmbarking(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionEmbarking(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ActionDisembarking(SQInt32 player, SQInt32 previous) noexcept;
|
||||
void ActionDisembarking(SQInt32 player, SQInt32 previous);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleRespawn(SQInt32 vehicle) noexcept;
|
||||
void VehicleRespawn(SQInt32 vehicle);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleExplode(SQInt32 vehicle) noexcept;
|
||||
void VehicleExplode(SQInt32 vehicle);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleHealth(SQInt32 vehicle, SQFloat previous, SQFloat current) noexcept;
|
||||
void VehicleHealth(SQInt32 vehicle, SQFloat previous, SQFloat current);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleMove(SQInt32 vehicle, const Vector3 & previous, const Vector3 ¤t) noexcept;
|
||||
void VehicleMove(SQInt32 vehicle, const Vector3 & previous, const Vector3 ¤t);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupRespawn(SQInt32 pickup) noexcept;
|
||||
void PickupRespawn(SQInt32 pickup);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void KeybindKeyPress(SQInt32 player, SQInt32 keybind) noexcept;
|
||||
void KeybindKeyPress(SQInt32 player, SQInt32 keybind);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void KeybindKeyRelease(SQInt32 player, SQInt32 keybind) noexcept;
|
||||
void KeybindKeyRelease(SQInt32 player, SQInt32 keybind);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleEmbarking(SQInt32 player, SQInt32 vehicle, SQInt32 slot) noexcept;
|
||||
void VehicleEmbarking(SQInt32 player, SQInt32 vehicle, SQInt32 slot);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleEmbarked(SQInt32 player, SQInt32 vehicle, SQInt32 slot) noexcept;
|
||||
void VehicleEmbarked(SQInt32 player, SQInt32 vehicle, SQInt32 slot);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void VehicleDisembark(SQInt32 player, SQInt32 vehicle) noexcept;
|
||||
void VehicleDisembark(SQInt32 player, SQInt32 vehicle);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupClaimed(SQInt32 player, SQInt32 pickup) noexcept;
|
||||
void PickupClaimed(SQInt32 player, SQInt32 pickup);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void PickupCollected(SQInt32 player, SQInt32 pickup) noexcept;
|
||||
void PickupCollected(SQInt32 player, SQInt32 pickup);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ObjectShot(SQInt32 player, SQInt32 object, SQInt32 weapon) noexcept;
|
||||
void ObjectShot(SQInt32 player, SQInt32 object, SQInt32 weapon);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ObjectBump(SQInt32 player, SQInt32 object) noexcept;
|
||||
void ObjectBump(SQInt32 player, SQInt32 object);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CheckpointEntered(SQInt32 player, SQInt32 checkpoint) noexcept;
|
||||
void CheckpointEntered(SQInt32 player, SQInt32 checkpoint);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CheckpointExited(SQInt32 player, SQInt32 checkpoint) noexcept;
|
||||
void CheckpointExited(SQInt32 player, SQInt32 checkpoint);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SphereEntered(SQInt32 player, SQInt32 sphere) noexcept;
|
||||
void SphereEntered(SQInt32 player, SQInt32 sphere);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void SphereExited(SQInt32 player, SQInt32 sphere) noexcept;
|
||||
void SphereExited(SQInt32 player, SQInt32 sphere);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ServerFrame(SQFloat delta) noexcept;
|
||||
void ServerFrame(SQFloat delta);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ServerStartup() noexcept;
|
||||
void ServerStartup();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ServerShutdown() noexcept;
|
||||
void ServerShutdown();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void InternalCommand(SQInt32 type, const SQChar * text) noexcept;
|
||||
void InternalCommand(SQInt32 type, const SQChar * text);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void LoginAttempt(const SQChar * name, const SQChar * pass, const SQChar * addr) noexcept;
|
||||
void LoginAttempt(const SQChar * name, const SQChar * pass, const SQChar * addr);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void CustomEvent(SQInt32 group, SQInt32 header, Object & payload) noexcept;
|
||||
void CustomEvent(SQInt32 group, SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void WorldOption(SQInt32 option, Object & value) noexcept;
|
||||
void WorldOption(SQInt32 option, Object & value);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void WorldToggle(SQInt32 option, bool value) noexcept;
|
||||
void WorldToggle(SQInt32 option, bool value);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void ScriptReload(SQInt32 header, Object & payload) noexcept;
|
||||
void ScriptReload(SQInt32 header, Object & payload);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void LogMessage(SQInt32 type, const SQChar * message) noexcept;
|
||||
void LogMessage(SQInt32 type, const SQChar * message);
|
||||
|
||||
protected:
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool Trigger() noexcept;
|
||||
bool Trigger();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void Attach() noexcept;
|
||||
void Attach();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
void Detach() noexcept;
|
||||
void Detach();
|
||||
|
||||
private:
|
||||
|
||||
|
||||
+149
-149
File diff suppressed because it is too large
Load Diff
+180
-180
File diff suppressed because it is too large
Load Diff
+151
-151
File diff suppressed because it is too large
Load Diff
+182
-182
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
||||
namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
const SQChar * GetEventName(SQInt32 type) noexcept
|
||||
const SQChar * GetEventName(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -121,7 +121,7 @@ const SQChar * GetEventName(SQInt32 type) noexcept
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool IsEntityEvent(SQInt32 type) noexcept
|
||||
bool IsEntityEvent(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -226,7 +226,7 @@ bool IsEntityEvent(SQInt32 type) noexcept
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool IsCreateEvent(SQInt32 type) noexcept
|
||||
bool IsCreateEvent(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -247,7 +247,7 @@ bool IsCreateEvent(SQInt32 type) noexcept
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool IsDestroyEvent(SQInt32 type) noexcept
|
||||
bool IsDestroyEvent(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -268,7 +268,7 @@ bool IsDestroyEvent(SQInt32 type) noexcept
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool IsCustomEvent(SQInt32 type) noexcept
|
||||
bool IsCustomEvent(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
@@ -289,7 +289,7 @@ bool IsCustomEvent(SQInt32 type) noexcept
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
bool CanBeInversed(SQInt32 type) noexcept
|
||||
bool CanBeInversed(SQInt32 type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
||||
@@ -10,32 +10,32 @@ namespace SqMod {
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
const SQChar * GetEventName(SQInt32 type) noexcept;
|
||||
const SQChar * GetEventName(SQInt32 type);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool IsEntityEvent(SQInt32 type) noexcept;
|
||||
bool IsEntityEvent(SQInt32 type);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool IsCreateEvent(SQInt32 type) noexcept;
|
||||
bool IsCreateEvent(SQInt32 type);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool IsDestroyEvent(SQInt32 type) noexcept;
|
||||
bool IsDestroyEvent(SQInt32 type);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool IsCustomEvent(SQInt32 type) noexcept;
|
||||
bool IsCustomEvent(SQInt32 type);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* ...
|
||||
*/
|
||||
bool CanBeInversed(SQInt32 type) noexcept;
|
||||
bool CanBeInversed(SQInt32 type);
|
||||
|
||||
} // Namespace:: SqMod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user