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 a pickup automatic status has changed.
This commit is contained in:
@ -305,6 +305,7 @@ protected:
|
||||
Function mOnCollected;
|
||||
Function mOnWorld;
|
||||
Function mOnAlpha;
|
||||
Function mOnAutomatic;
|
||||
};
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
@ -1015,6 +1016,7 @@ public:
|
||||
void EmitObjectAlpha(Int32 object_id, Int32 old_alpha, Int32 new_alpha, Int32 time);
|
||||
void EmitPickupWorld(Int32 pickup_id, Int32 old_world, Int32 new_world);
|
||||
void EmitPickupAlpha(Int32 pickup_id, Int32 old_alpha, Int32 new_alpha);
|
||||
void EmitPickupAutomatic(Int32 pickup_id, bool old_status, bool new_status);
|
||||
void EmitObjectReport(Int32 object_id, bool old_status, bool new_status, bool touched);
|
||||
void EmitPlayerHealth(Int32 player_id, Float32 old_health, Float32 new_health);
|
||||
void EmitPlayerArmour(Int32 player_id, Float32 old_armour, Float32 new_armour);
|
||||
@ -1168,6 +1170,7 @@ private:
|
||||
Function mOnPickupRespawn;
|
||||
Function mOnPickupWorld;
|
||||
Function mOnPickupAlpha;
|
||||
Function mOnPickupAutomatic;
|
||||
Function mOnCheckpointEntered;
|
||||
Function mOnCheckpointExited;
|
||||
Function mOnCheckpointWorld;
|
||||
|
Reference in New Issue
Block a user