1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Discarded the noexcept specifier entirely.

This commit is contained in:
Sandu Liviu Catalin
2015-11-01 05:48:01 +02:00
parent 2409a896df
commit 46801b1ce8
85 changed files with 4874 additions and 4874 deletions

View File

@ -30,442 +30,442 @@ public:
/* --------------------------------------------------------------------------------------------
* Construct a reference from a base reference.
*/
CVehicle(const Reference< CVehicle > & o) noexcept;
CVehicle(const Reference< CVehicle > & o);
/* --------------------------------------------------------------------------------------------
* See if the referenced vehicle instance is streamed for the specified player.
*/
bool IsStreamedFor(const Reference< CPlayer > & player) const noexcept;
bool IsStreamedFor(const Reference< CPlayer > & player) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the synchronization source of the referenced vehicle instance.
*/
SQInt32 GetSyncSource() const noexcept;
SQInt32 GetSyncSource() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the synchronization type of the referenced vehicle instance.
*/
SQInt32 GetSyncType() const noexcept;
SQInt32 GetSyncType() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the world in which the referenced vehicle instance exists.
*/
SQInt32 GetWorld() const noexcept;
SQInt32 GetWorld() const;
/* --------------------------------------------------------------------------------------------
* Change the world in which the referenced vehicle instance exists.
*/
void SetWorld(SQInt32 world) const noexcept;
void SetWorld(SQInt32 world) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the vehicle model of the referenced vehicle instance.
*/
const CAutomobile & GetModel() const noexcept;
const CAutomobile & GetModel() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the vehicle model id of the referenced vehicle instance.
*/
SQInt32 GetModelID() const noexcept;
SQInt32 GetModelID() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the slot occupant from the referenced vehicle instance.
*/
Reference< CPlayer > GetOccupant(SQInt32 slot) const noexcept;
Reference< CPlayer > GetOccupant(SQInt32 slot) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the slot occupant identifier from the referenced vehicle instance.
*/
SQInt32 GetOccupantID(SQInt32 slot) const noexcept;
SQInt32 GetOccupantID(SQInt32 slot) const;
/* --------------------------------------------------------------------------------------------
* Respawn the referenced vehicle instance.
*/
void Respawn() const noexcept;
void Respawn() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the immunity flags of the referenced vehicle instance.
*/
SQInt32 GetImmunity() const noexcept;
SQInt32 GetImmunity() const;
/* --------------------------------------------------------------------------------------------
* Change the immunity flags of the referenced vehicle instance.
*/
void SetImmunity(SQInt32 flags) const noexcept;
void SetImmunity(SQInt32 flags) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance is wrecked.
*/
bool IsWrecked() const noexcept;
bool IsWrecked() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the position of the referenced vehicle instance.
*/
const Vector3 & GetPosition() const noexcept;
const Vector3 & GetPosition() const;
/* --------------------------------------------------------------------------------------------
* Change the position of the referenced vehicle instance.
*/
void SetPosition(const Vector3 & pos) const noexcept;
void SetPosition(const Vector3 & pos) const;
/* --------------------------------------------------------------------------------------------
* Change the position of the referenced vehicle instance.
*/
void SetPositionEx(const Vector3 & pos, bool empty) const noexcept;
void SetPositionEx(const Vector3 & pos, bool empty) const;
/* --------------------------------------------------------------------------------------------
* Change the position of the referenced vehicle instance.
*/
void SetPositionEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetPositionEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Change the position of the referenced vehicle instance.
*/
void SetPositionEx(SQFloat x, SQFloat y, SQFloat z, bool empty) const noexcept;
void SetPositionEx(SQFloat x, SQFloat y, SQFloat z, bool empty) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the rotation of the referenced vehicle instance.
*/
const Quaternion & GetRotation() const noexcept;
const Quaternion & GetRotation() const;
/* --------------------------------------------------------------------------------------------
* Change the rotation of the referenced vehicle instance.
*/
void SetRotation(const Quaternion & rot) const noexcept;
void SetRotation(const Quaternion & rot) const;
/* --------------------------------------------------------------------------------------------
* Change the rotation of the referenced vehicle instance.
*/
void SetRotationEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const noexcept;
void SetRotationEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the euler rotation of the referenced vehicle instance.
*/
const Vector3 & GetRotationEuler() const noexcept;
const Vector3 & GetRotationEuler() const;
/* --------------------------------------------------------------------------------------------
* Change the euler rotation of the referenced vehicle instance.
*/
void SetRotationEuler(const Vector3 & rot) const noexcept;
void SetRotationEuler(const Vector3 & rot) const;
/* --------------------------------------------------------------------------------------------
* Change the euler rotation of the referenced vehicle instance.
*/
void SetRotationEulerEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetRotationEulerEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the speed of the referenced vehicle instance.
*/
const Vector3 & GetSpeed() const noexcept;
const Vector3 & GetSpeed() const;
/* --------------------------------------------------------------------------------------------
* Change the speed of the referenced vehicle instance.
*/
void SetSpeed(const Vector3 & vel) const noexcept;
void SetSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the speed of the referenced vehicle instance.
*/
void SetSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Change the speed of the referenced vehicle instance.
*/
void AddSpeed(const Vector3 & vel) const noexcept;
void AddSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the speed of the referenced vehicle instance.
*/
void AddSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void AddSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the relative speed of the referenced vehicle instance.
*/
const Vector3 & GetRelSpeed() const noexcept;
const Vector3 & GetRelSpeed() const;
/* --------------------------------------------------------------------------------------------
* Change the relative speed of the referenced vehicle instance.
*/
void SetRelSpeed(const Vector3 & vel) const noexcept;
void SetRelSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the relative speed of the referenced vehicle instance.
*/
void SetRelSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetRelSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Change the relative speed of the referenced vehicle instance.
*/
void AddRelSpeed(const Vector3 & vel) const noexcept;
void AddRelSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the relative speed of the referenced vehicle instance.
*/
void AddRelSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void AddRelSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the turn speed of the referenced vehicle instance.
*/
const Vector3 & GetTurnSpeed() const noexcept;
const Vector3 & GetTurnSpeed() const;
/* --------------------------------------------------------------------------------------------
* Change the turn speed of the referenced vehicle instance.
*/
void SetTurnSpeed(const Vector3 & vel) const noexcept;
void SetTurnSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the turn speed of the referenced vehicle instance.
*/
void SetTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Change the turn speed of the referenced vehicle instance.
*/
void AddTurnSpeed(const Vector3 & vel) const noexcept;
void AddTurnSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the turn speed of the referenced vehicle instance.
*/
void AddTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void AddTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the relative turn speed of the referenced vehicle instance.
*/
const Vector3 & GetRelTurnSpeed() const noexcept;
const Vector3 & GetRelTurnSpeed() const;
/* --------------------------------------------------------------------------------------------
* Change the relative turn speed of the referenced vehicle instance.
*/
void SetRelTurnSpeed(const Vector3 & vel) const noexcept;
void SetRelTurnSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the relative turn speed of the referenced vehicle instance.
*/
void SetRelTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetRelTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Change the relative turn speed of the referenced vehicle instance.
*/
void AddRelTurnSpeed(const Vector3 & vel) const noexcept;
void AddRelTurnSpeed(const Vector3 & vel) const;
/* --------------------------------------------------------------------------------------------
* Change the relative turn speed of the referenced vehicle instance.
*/
void AddRelTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void AddRelTurnSpeedEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the spawn position of the referenced vehicle instance.
*/
const Vector4 & GetSpawnPosition() const noexcept;
const Vector4 & GetSpawnPosition() const;
/* --------------------------------------------------------------------------------------------
* Change the spawn position of the referenced vehicle instance.
*/
void SetSpawnPosition(const Vector4 & pos) const noexcept;
void SetSpawnPosition(const Vector4 & pos) const;
/* --------------------------------------------------------------------------------------------
* Change the spawn position of the referenced vehicle instance.
*/
void SetSpawnPositionEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const noexcept;
void SetSpawnPositionEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the spawn rotation of the referenced vehicle instance.
*/
const Quaternion & GetSpawnRotation() const noexcept;
const Quaternion & GetSpawnRotation() const;
/* --------------------------------------------------------------------------------------------
* Change the spawn rotation of the referenced vehicle instance.
*/
void SetSpawnRotation(const Quaternion & rot) const noexcept;
void SetSpawnRotation(const Quaternion & rot) const;
/* --------------------------------------------------------------------------------------------
* Change the spawn rotation of the referenced vehicle instance.
*/
void SetSpawnRotationEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const noexcept;
void SetSpawnRotationEx(SQFloat x, SQFloat y, SQFloat z, SQFloat w) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the euler spawn rotation of the referenced vehicle instance.
*/
const Vector3 & GetSpawnRotationEuler() const noexcept;
const Vector3 & GetSpawnRotationEuler() const;
/* --------------------------------------------------------------------------------------------
* Change the euler spawn rotation of the referenced vehicle instance.
*/
void SetSpawnRotationEuler(const Vector3 & rot) const noexcept;
void SetSpawnRotationEuler(const Vector3 & rot) const;
/* --------------------------------------------------------------------------------------------
* Change the euler spawn rotation of the referenced vehicle instance.
*/
void SetSpawnRotationEulerEx(SQFloat x, SQFloat y, SQFloat z) const noexcept;
void SetSpawnRotationEulerEx(SQFloat x, SQFloat y, SQFloat z) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the respawn timer of the referenced vehicle instance.
*/
SQUint32 GetRespawnTimer() const noexcept;
SQUint32 GetRespawnTimer() const;
/* --------------------------------------------------------------------------------------------
* Change the respawn timer of the referenced vehicle instance.
*/
void SetRespawnTimer(SQUint32 timer) const noexcept;
void SetRespawnTimer(SQUint32 timer) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the health of the referenced vehicle instance.
*/
SQFloat GetHealth() const noexcept;
SQFloat GetHealth() const;
/* --------------------------------------------------------------------------------------------
* Change the health of the referenced vehicle instance.
*/
void SetHealth(SQFloat amount) const noexcept;
void SetHealth(SQFloat amount) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the primary color of the referenced vehicle instance.
*/
SQInt32 GetPrimaryColor() const noexcept;
SQInt32 GetPrimaryColor() const;
/* --------------------------------------------------------------------------------------------
* Change the primary color of the referenced vehicle instance.
*/
void SetPrimaryColor(SQInt32 col) const noexcept;
void SetPrimaryColor(SQInt32 col) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the secondary color of the referenced vehicle instance.
*/
SQInt32 GetSecondaryColor() const noexcept;
SQInt32 GetSecondaryColor() const;
/* --------------------------------------------------------------------------------------------
* Change the secondary color of the referenced vehicle instance.
*/
void SetSecondaryColor(SQInt32 col) const noexcept;
void SetSecondaryColor(SQInt32 col) const;
/* --------------------------------------------------------------------------------------------
* Change the primary and secondary colors of the referenced vehicle instance.
*/
void SetColors(SQInt32 primary, SQInt32 secondary) const noexcept;
void SetColors(SQInt32 primary, SQInt32 secondary) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance is locked.
*/
bool IsLocked() const noexcept;
bool IsLocked() const;
/* --------------------------------------------------------------------------------------------
* Set whether the referenced vehicle instance is locked.
*/
void SetLocked(bool toggle) const noexcept;
void SetLocked(bool toggle) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the part status of the referenced vehicle instance.
*/
SQInt32 GetPartStatus(SQInt32 part) const noexcept;
SQInt32 GetPartStatus(SQInt32 part) const;
/* --------------------------------------------------------------------------------------------
* Change the part status of the referenced vehicle instance.
*/
void SetPartStatus(SQInt32 part, SQInt32 status) const noexcept;
void SetPartStatus(SQInt32 part, SQInt32 status) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the tyre status of the referenced vehicle instance.
*/
SQInt32 GetTyreStatus(SQInt32 tyre) const noexcept;
SQInt32 GetTyreStatus(SQInt32 tyre) const;
/* --------------------------------------------------------------------------------------------
* Change the tyre status of the referenced vehicle instance.
*/
void SetTyreStatus(SQInt32 tyre, SQInt32 status) const noexcept;
void SetTyreStatus(SQInt32 tyre, SQInt32 status) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the damage data of the referenced vehicle instance.
*/
SQUint32 GetDamageData() const noexcept;
SQUint32 GetDamageData() const;
/* --------------------------------------------------------------------------------------------
* Change the damage data of the referenced vehicle instance.
*/
void SetDamageData(SQUint32 data) const noexcept;
void SetDamageData(SQUint32 data) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance has alarm.
*/
bool HasAlarm() const noexcept;
bool HasAlarm() const;
/* --------------------------------------------------------------------------------------------
* Set whether the referenced vehicle instance has alarm.
*/
void SetAlarm(bool toggle) const noexcept;
void SetAlarm(bool toggle) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance has lights.
*/
bool HasLights() const noexcept;
bool HasLights() const;
/* --------------------------------------------------------------------------------------------
* Set whether the referenced vehicle instance has lights.
*/
void SetLights(bool toggle) const noexcept;
void SetLights(bool toggle) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the radio of the referenced vehicle instance.
*/
SQInt32 GetRadio() const noexcept;
SQInt32 GetRadio() const;
/* --------------------------------------------------------------------------------------------
* Retrieve the radio of the referenced vehicle instance.
*/
void SetRadio(SQInt32 radio) const noexcept;
void SetRadio(SQInt32 radio) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance has radio locked.
*/
bool IsRadioLocked() const noexcept;
bool IsRadioLocked() const;
/* --------------------------------------------------------------------------------------------
* Set whether the referenced vehicle instance has radio locked.
*/
void SetRadioLocked(bool toggle) const noexcept;
void SetRadioLocked(bool toggle) const;
/* --------------------------------------------------------------------------------------------
* See whether the referenced vehicle instance is in ghost state.
*/
bool IsGhostState() const noexcept;
bool IsGhostState() const;
/* --------------------------------------------------------------------------------------------
* Set whether the referenced vehicle instance is in ghost state.
*/
void SetGhostState(bool toggle) const noexcept;
void SetGhostState(bool toggle) const;
/* --------------------------------------------------------------------------------------------
* Reset all the handling rules for the referenced vehicle instance.
*/
void ResetHandling() const noexcept;
void ResetHandling() const;
/* --------------------------------------------------------------------------------------------
* Reset the specified handling rule for the referenced vehicle instance.
*/
void ResetHandling(SQInt32 rule) const noexcept;
void ResetHandling(SQInt32 rule) const;
/* --------------------------------------------------------------------------------------------
* See whether the specified handling ruleexists in the referenced vehicle instance.
*/
bool ExistsHandling(SQInt32 rule) const noexcept;
bool ExistsHandling(SQInt32 rule) const;
/* --------------------------------------------------------------------------------------------
* Retrieve the handling data of the referenced vehicle instance.
*/
SQFloat GetHandlingData(SQInt32 rule) const noexcept;
SQFloat GetHandlingData(SQInt32 rule) const;
/* --------------------------------------------------------------------------------------------
* Change the handling data of the referenced vehicle instance.
*/
void SetHandlingData(SQInt32 rule, SQFloat data) const noexcept;
void SetHandlingData(SQInt32 rule, SQFloat data) const;
/* --------------------------------------------------------------------------------------------
* Embark the specified player instance into the referenced vehicle instance.
*/
void Embark(const Reference< CPlayer > & player) const noexcept;
void Embark(const Reference< CPlayer > & player) const;
/* --------------------------------------------------------------------------------------------
* Embark the specified player instance into the referenced vehicle instance.
*/
void Embark(const Reference< CPlayer > & player, SQInt32 slot, bool allocate, bool warp) const noexcept;
void Embark(const Reference< CPlayer > & player, SQInt32 slot, bool allocate, bool warp) const;
};
} // Namespace:: SqMod