1
0
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 alpha has changed.

This commit is contained in:
Sandu Liviu Catalin
2016-08-18 16:50:30 +03:00
parent 3bbff3f258
commit 9ce8a8a4f8
6 changed files with 39 additions and 10 deletions

View File

@ -256,6 +256,7 @@ protected:
Function mOnShot;
Function mOnTouched;
Function mOnWorld;
Function mOnAlpha;
};
/* --------------------------------------------------------------------------------------------
@ -1008,6 +1009,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 EmitObjectAlpha(Int32 object_id, Int32 old_alpha, Int32 new_alpha, Int32 time);
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);
@ -1153,6 +1155,7 @@ private:
Function mOnObjectShot;
Function mOnObjectTouched;
Function mOnObjectWorld;
Function mOnObjectAlpha;
Function mOnPickupClaimed;
Function mOnPickupCollected;
Function mOnPickupRespawn;