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)
 
PetitionGetPetition (ObjectGuid petitionGuid)
 
PetitionGetPetitionByOwnerWithType (ObjectGuid ownerGuid, CharterTypes type)
 
void RemovePetitionsByOwnerAndType (ObjectGuid ownerGuid, CharterTypes type)
 
void RemoveSignaturesBySignerAndType (ObjectGuid signerGuid, CharterTypes type)
 

Static Public Member Functions

static PetitionMgrinstance ()
 

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()

void PetitionMgr::AddPetition ( ObjectGuid  petitionGuid,
ObjectGuid  ownerGuid,
std::string const &  name,
CharterTypes  type,
bool  isLoading 
)

Definition at line 89 of file PetitionMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPetition()

Petition * PetitionMgr::GetPetition ( ObjectGuid  petitionGuid)

Definition at line 127 of file PetitionMgr.cpp.

+ Here is the caller graph for this function:

◆ 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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadPetitions()

void PetitionMgr::LoadPetitions ( )

Definition at line 39 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ LoadSignatures()

void PetitionMgr::LoadSignatures ( )

Definition at line 62 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemovePetition()

void PetitionMgr::RemovePetition ( ObjectGuid  petitionGuid)

Definition at line 109 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemovePetitionsByOwnerAndType()

void PetitionMgr::RemovePetitionsByOwnerAndType ( ObjectGuid  ownerGuid,
CharterTypes  type 
)

Definition at line 145 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemoveSignaturesBySignerAndType()

void PetitionMgr::RemoveSignaturesBySignerAndType ( ObjectGuid  signerGuid,
CharterTypes  type 
)

Definition at line 192 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

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