Core/Calendar: Add some additional validation when creating events
Port From (https://github.com/TrinityCore/TrinityCore/commit/562c567b1e0c878f0632994a79bcfbfd4a962504)
This commit is contained in:
@@ -890,6 +890,10 @@ namespace Game
|
||||
public uint GetRecruiterId() { return recruiterId; }
|
||||
public bool IsARecruiter() { return isRecruiter; }
|
||||
|
||||
// Packets cooldown
|
||||
public long GetCalendarEventCreationCooldown() { return _calendarEventCreationCooldown; }
|
||||
public void SetCalendarEventCreationCooldown(long cooldown) { _calendarEventCreationCooldown = cooldown; }
|
||||
|
||||
// Battle Pets
|
||||
public BattlePetMgr GetBattlePetMgr() { return _battlePetMgr; }
|
||||
public CollectionMgr GetCollectionMgr() { return _collectionMgr; }
|
||||
@@ -967,6 +971,9 @@ namespace Game
|
||||
|
||||
ConnectToKey _instanceConnectKey;
|
||||
|
||||
// Packets cooldown
|
||||
long _calendarEventCreationCooldown;
|
||||
|
||||
BattlePetMgr _battlePetMgr;
|
||||
|
||||
Task<SQLQueryHolder<AccountInfoQueryLoad>> _realmAccountLoginCallback;
|
||||
|
||||
Reference in New Issue
Block a user