mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-16 18:08:22 +00:00
Add api to update lockout duration
Some live expeditions update a lockout's duration during progression The current AddLockout method replaces lockout timers. This updates the expiration of an existing lockout by modifying the original duration Only members are updated and not the internal expedition timer by default. This is so new members receive the original duration like live
This commit is contained in:
@@ -79,6 +79,8 @@ public:
|
||||
void SetSafeReturn(uint32_t zone_id, float x, float y, float z, float heading);
|
||||
void SetSafeReturn(std::string zone_name, float x, float y, float z, float heading);
|
||||
void SetZoneInLocation(float x, float y, float z, float heading);
|
||||
void UpdateLockoutDuration(std::string event_name, uint32_t duration);
|
||||
void UpdateLockoutDuration(std::string event_name, uint32_t duration, bool members_only);
|
||||
};
|
||||
|
||||
#endif // LUA_EQEMU
|
||||
|
||||
Reference in New Issue
Block a user