mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
Add character id based expedition apis
Add static expedition methods to add or remove character lockouts Add CreateLockout static helper to ExpeditionLockoutTimer Refactor existing character lockout removal to allow removal of lockouts for offline characters (was only used by #dz lockouts remove command) Fix #dz list member count
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
|
||||
#include "entity.h"
|
||||
#include "event_codes.h"
|
||||
#include "expedition.h"
|
||||
#include "guild_mgr.h"
|
||||
#include "qglobals.h"
|
||||
#include "queryserv.h"
|
||||
@@ -4293,22 +4292,3 @@ void QuestManager::UpdateZoneHeader(std::string type, std::string value) {
|
||||
entity_list.QueueClients(0, outapp);
|
||||
safe_delete(outapp);
|
||||
}
|
||||
|
||||
Expedition* QuestManager::GetExpeditionByCharID(uint32 char_id)
|
||||
{
|
||||
return Expedition::FindCachedExpeditionByCharacterID(char_id);
|
||||
}
|
||||
|
||||
Expedition* QuestManager::GetExpeditionByInstanceID(uint32 instance_id)
|
||||
{
|
||||
return Expedition::FindCachedExpeditionByInstanceID(instance_id);
|
||||
}
|
||||
|
||||
Expedition* QuestManager::GetExpeditionForCurrentInstance()
|
||||
{
|
||||
if (zone && zone->GetInstanceID() != 0)
|
||||
{
|
||||
return Expedition::FindCachedExpeditionByInstanceID(zone->GetInstanceID());
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user