mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
Store lockouts with source expedition uuid
Add Client::GetLockoutExpeditionUUID quest api Refactor lockout update methods to take ExpeditionLockoutTimer parameter Fix updating expedition lockout cache for multiple AddLockout calls Fix updating lockout duration when replacing a lockout in database Replace lockout timer inherited flags with expedition uuid comparisons Remove is_inherited column from expedition_lockouts table
This commit is contained in:
@@ -26,14 +26,14 @@
|
||||
const char* const DZ_REPLAY_TIMER_NAME = "Replay Timer"; // see December 14, 2016 patch notes
|
||||
|
||||
ExpeditionLockoutTimer::ExpeditionLockoutTimer(
|
||||
std::string expedition_name, std::string event_name,
|
||||
uint64_t expire_time, uint32_t duration, bool inherited
|
||||
const std::string& expedition_uuid, const std::string& expedition_name,
|
||||
const std::string& event_name, uint64_t expire_time, uint32_t duration
|
||||
) :
|
||||
m_expedition_uuid(expedition_uuid),
|
||||
m_expedition_name(expedition_name),
|
||||
m_event_name(event_name),
|
||||
m_expire_time(std::chrono::system_clock::from_time_t(expire_time)),
|
||||
m_duration(duration),
|
||||
m_is_inherited(inherited)
|
||||
m_duration(duration)
|
||||
{
|
||||
if (event_name == DZ_REPLAY_TIMER_NAME)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user