TrinityCore
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, bool isLoading)
 
void RemovePetition (ObjectGuid petitionGuid)
 
PetitionGetPetition (ObjectGuid petitionGuid)
 
PetitionGetPetitionByOwner (ObjectGuid ownerGuid)
 
void RemovePetitionsByOwner (ObjectGuid ownerGuid)
 
void RemoveSignaturesBySigner (ObjectGuid signerGuid)
 

Static Public Member Functions

static PetitionMgrinstance ()
 

Detailed Description

Definition at line 66 of file PetitionMgr.h.

Constructor & Destructor Documentation

◆ PetitionMgr()

PetitionMgr::PetitionMgr ( )
inline

Definition at line 69 of file PetitionMgr.h.

◆ ~PetitionMgr()

PetitionMgr::~PetitionMgr ( )
inline

Definition at line 70 of file PetitionMgr.h.

Member Function Documentation

◆ AddPetition()

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

Definition at line 88 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 124 of file PetitionMgr.cpp.

+ Here is the caller graph for this function:

◆ GetPetitionByOwner()

Petition * PetitionMgr::GetPetitionByOwner ( ObjectGuid  ownerGuid)

Definition at line 133 of file PetitionMgr.cpp.

◆ instance()

PetitionMgr * PetitionMgr::instance ( )
static

Definition at line 32 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 38 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ LoadSignatures()

void PetitionMgr::LoadSignatures ( )

Definition at line 61 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemovePetition()

void PetitionMgr::RemovePetition ( ObjectGuid  petitionGuid)

Definition at line 106 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemovePetitionsByOwner()

void PetitionMgr::RemovePetitionsByOwner ( ObjectGuid  ownerGuid)

Definition at line 142 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ RemoveSignaturesBySigner()

void PetitionMgr::RemoveSignaturesBySigner ( ObjectGuid  signerGuid)

Definition at line 167 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

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