TrinityCore
Loading...
Searching...
No Matches
PetitionMgr Class Reference

#include <PetitionMgr.h>

Public Member Functions

 PetitionMgr ()
 
 ~PetitionMgr ()
 
void LoadPetitions ()
 
void LoadSignatures ()
 
void AddPetition (ObjectGuid petitionGuid, ObjectGuid ownerGuid, std::string const &name, CharterTypes type, bool isLoading)
 
void RemovePetition (ObjectGuid petitionGuid)
 
Petition * GetPetition (ObjectGuid petitionGuid)
 
Petition * GetPetitionByOwnerWithType (ObjectGuid ownerGuid, CharterTypes type)
 
void RemovePetitionsByOwnerAndType (ObjectGuid ownerGuid, CharterTypes type)
 
void RemoveSignaturesBySignerAndType (ObjectGuid signerGuid, CharterTypes type)
 

Static Public Member Functions

static PetitionMgr * instance ()
 

Detailed Description

Definition at line 65 of file PetitionMgr.h.

Constructor & Destructor Documentation

◆ PetitionMgr()

PetitionMgr::PetitionMgr ( )
inline

Definition at line 68 of file PetitionMgr.h.

◆ ~PetitionMgr()

PetitionMgr::~PetitionMgr ( )
inline

Definition at line 69 of file PetitionMgr.h.

Member Function Documentation

◆ AddPetition()

◆ GetPetition()

Petition * PetitionMgr::GetPetition ( ObjectGuid  petitionGuid)

Definition at line 127 of file PetitionMgr.cpp.

Referenced by LoadSignatures().

◆ GetPetitionByOwnerWithType()

Petition * PetitionMgr::GetPetitionByOwnerWithType ( ObjectGuid  ownerGuid,
CharterTypes  type 
)

Definition at line 136 of file PetitionMgr.cpp.

◆ instance()

PetitionMgr * PetitionMgr::instance ( )
static

Definition at line 33 of file PetitionMgr.cpp.

References instance().

Referenced by instance().

◆ LoadPetitions()

void PetitionMgr::LoadPetitions ( )

◆ LoadSignatures()

void PetitionMgr::LoadSignatures ( )

◆ RemovePetition()

◆ RemovePetitionsByOwnerAndType()

◆ RemoveSignaturesBySignerAndType()


The documentation for this class was generated from the following files: