mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-30 22:17:13 +02:00
Implement a new event to receive notifications when an object world has changed.
This commit is contained in:
@ -255,6 +255,7 @@ protected:
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Function mOnShot;
|
||||
Function mOnTouched;
|
||||
Function mOnWorld;
|
||||
};
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
@ -1006,6 +1007,7 @@ public:
|
||||
*/
|
||||
void EmitCheckpointWorld(Int32 checkpoint_id, Int32 old_world, Int32 new_world);
|
||||
void EmitCheckpointRadius(Int32 checkpoint_id, Float32 old_radius, Float32 new_radius);
|
||||
void EmitObjectWorld(Int32 object_id, Int32 old_world, Int32 new_world);
|
||||
void EmitPlayerHealth(Int32 player_id, Float32 old_health, Float32 new_health);
|
||||
void EmitPlayerArmour(Int32 player_id, Float32 old_armour, Float32 new_armour);
|
||||
void EmitPlayerWeapon(Int32 player_id, Int32 old_weapon, Int32 new_weapon);
|
||||
@ -1150,6 +1152,7 @@ private:
|
||||
Function mOnVehicleRespawn;
|
||||
Function mOnObjectShot;
|
||||
Function mOnObjectTouched;
|
||||
Function mOnObjectWorld;
|
||||
Function mOnPickupClaimed;
|
||||
Function mOnPickupCollected;
|
||||
Function mOnPickupRespawn;
|
||||
|
Reference in New Issue
Block a user