1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-07-09 01:57:09 +02:00

Implement a new event to receive notifications when a checkpoint radius has changed.

This commit is contained in:
Sandu Liviu Catalin
2016-08-18 16:10:18 +03:00
parent f38aa16b5f
commit 5f60d7b90d
6 changed files with 30 additions and 3 deletions
+3 -2
View File
@@ -12,7 +12,8 @@ namespace SqMod {
*/
enum CheckpointCircularLocks
{
CHECKPOINTCL_EMIT_CHECKPOINT_WORLD = (1 << 0)
CHECKPOINTCL_EMIT_CHECKPOINT_WORLD = (1 << 0),
CHECKPOINTCL_EMIT_CHECKPOINT_RADIUS = (2 << 0)
};
/* ------------------------------------------------------------------------------------------------
@@ -255,7 +256,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Modify the radius of the managed checkpoint entity.
*/
void SetRadius(Float32 radius) const;
void SetRadius(Float32 radius);
/* --------------------------------------------------------------------------------------------
* Retrieve the owner of the managed checkpoint entity.