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

#include <PetitionMgr.h>

Public Member Functions

 PetitionMgr ()=default
 
 PetitionMgr (PetitionMgr const &)=delete
 
 PetitionMgr (PetitionMgr &&)=delete
 
PetitionMgr & operator= (PetitionMgr const &)=delete
 
PetitionMgr & operator= (PetitionMgr &&)=delete
 
 ~PetitionMgr ()=default
 
void LoadPetitions ()
 
void LoadSignatures ()
 
void AddPetition (ObjectGuid petitionGuid, ObjectGuid ownerGuid, std::string const &name, bool isLoading)
 
void RemovePetition (ObjectGuid petitionGuid)
 
Petition * GetPetition (ObjectGuid petitionGuid)
 
Petition * GetPetitionByOwner (ObjectGuid ownerGuid)
 
void RemovePetitionsByOwner (ObjectGuid ownerGuid)
 
void RemoveSignaturesBySigner (ObjectGuid signerGuid)
 

Static Public Member Functions

static PetitionMgr * instance ()
 

Detailed Description

Definition at line 66 of file PetitionMgr.h.

Constructor & Destructor Documentation

◆ PetitionMgr() [1/3]

PetitionMgr::PetitionMgr ( )
default

◆ PetitionMgr() [2/3]

PetitionMgr::PetitionMgr ( PetitionMgr const &  )
delete

◆ PetitionMgr() [3/3]

PetitionMgr::PetitionMgr ( PetitionMgr &&  )
delete

◆ ~PetitionMgr()

PetitionMgr::~PetitionMgr ( )
default

Member Function Documentation

◆ AddPetition()

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

◆ GetPetition()

Petition * PetitionMgr::GetPetition ( ObjectGuid  petitionGuid)

Definition at line 124 of file PetitionMgr.cpp.

Referenced by LoadSignatures().

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

References instance().

Referenced by instance().

◆ LoadPetitions()

void PetitionMgr::LoadPetitions ( )

◆ LoadSignatures()

void PetitionMgr::LoadSignatures ( )

◆ operator=() [1/2]

PetitionMgr & PetitionMgr::operator= ( PetitionMgr &&  )
delete

◆ operator=() [2/2]

PetitionMgr & PetitionMgr::operator= ( PetitionMgr const &  )
delete

◆ RemovePetition()

◆ RemovePetitionsByOwner()

void PetitionMgr::RemovePetitionsByOwner ( ObjectGuid  ownerGuid)

◆ RemoveSignaturesBySigner()

void PetitionMgr::RemoveSignaturesBySigner ( ObjectGuid  signerGuid)

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