mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 20:56:37 +00:00
[Dynamic Zones] Implement dz switch id (#2343)
This adds the `dz_switch_id` field to doors and dynamic_zones. It will allow for compasses to be automatically added to dz entrances and will support moving clients to the dz on use without needing to script it. These can be imported for switches/doors from live packet dumps. Also removes compass packet encoders (same struct in all clients)
This commit is contained in:
@@ -90,6 +90,7 @@ 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 SetSecondsRemaining(uint32_t seconds_remaining);
|
||||
void SetSwitchID(int dz_switch_id);
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user