1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-09-18 18:27:18 +02:00

Implement a new event to receive notifications when a pickup automatic status has changed.

This commit is contained in:
Sandu Liviu Catalin
2016-08-19 18:21:41 +03:00
parent 3def96b57a
commit cdc0ac7585
5 changed files with 37 additions and 6 deletions

View File

@@ -13,7 +13,8 @@ namespace SqMod {
enum PickupCircularLocks
{
PICKUPCL_EMIT_PICKUP_WORLD = (1 << 0),
PICKUPCL_EMIT_PICKUP_ALPHA = (2 << 0)
PICKUPCL_EMIT_PICKUP_ALPHA = (2 << 0),
PICKUPCL_EMIT_PICKUP_AUTOMATIC = (3 << 0)
};
/* ------------------------------------------------------------------------------------------------
@@ -222,7 +223,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Set whether the managed pickup entity is automatic.
*/
void SetAutomatic(bool toggle) const;
void SetAutomatic(bool toggle);
/* --------------------------------------------------------------------------------------------
* Retrieve the automatic timer of the managed pickup entity.