mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 11:26:35 +00:00
Sync character lockouts when entering dz
This removes the is_pending column from character lockouts table Synchronizing character lockout timers with the expedition's when zoning into the dynamic zone simplifies adding missing lockouts to new members. This also matches live behavior that replaces any character lockout timers from another expedition with ones from the current expedition
This commit is contained in:
@@ -136,6 +136,7 @@ public:
|
||||
bool HasReplayLockout();
|
||||
void RemoveLockout(const std::string& event_name);
|
||||
void SetReplayLockoutOnMemberJoin(bool add_on_join, bool update_db = false);
|
||||
void SyncCharacterLockouts(uint32_t character_id, std::vector<ExpeditionLockoutTimer>& client_lockouts);
|
||||
void UpdateLockoutDuration(const std::string& event_name, uint32_t seconds, bool members_only = true);
|
||||
|
||||
bool CanClientLootCorpse(Client* client, uint32_t npc_type_id, uint32_t spawn_id);
|
||||
|
||||
Reference in New Issue
Block a user