TrinityCore
Petition Struct Reference

#include <PetitionMgr.h>

Public Member Functions

bool IsPetitionSignedByAccount (uint32 accountId) const
 
void AddSignature (uint32 accountId, ObjectGuid playerGuid, bool isLoading)
 
void UpdateName (std::string const &newName)
 
void RemoveSignatureBySigner (ObjectGuid playerGuid)
 

Public Attributes

ObjectGuid PetitionGuid
 
ObjectGuid OwnerGuid
 
std::string PetitionName
 
SignaturesVector Signatures
 

Detailed Description

Definition at line 53 of file PetitionMgr.h.

Member Function Documentation

◆ AddSignature()

void Petition::AddSignature ( uint32  accountId,
ObjectGuid  playerGuid,
bool  isLoading 
)

Definition at line 186 of file PetitionMgr.cpp.

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

◆ IsPetitionSignedByAccount()

bool Petition::IsPetitionSignedByAccount ( uint32  accountId) const

Definition at line 177 of file PetitionMgr.cpp.

+ Here is the caller graph for this function:

◆ RemoveSignatureBySigner()

void Petition::RemoveSignatureBySigner ( ObjectGuid  playerGuid)

Definition at line 213 of file PetitionMgr.cpp.

+ Here is the call graph for this function:

◆ UpdateName()

void Petition::UpdateName ( std::string const &  newName)

Definition at line 203 of file PetitionMgr.cpp.

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

Member Data Documentation

◆ OwnerGuid

ObjectGuid Petition::OwnerGuid

Definition at line 56 of file PetitionMgr.h.

◆ PetitionGuid

ObjectGuid Petition::PetitionGuid

Definition at line 55 of file PetitionMgr.h.

◆ PetitionName

std::string Petition::PetitionName

Definition at line 57 of file PetitionMgr.h.

◆ Signatures

SignaturesVector Petition::Signatures

Definition at line 58 of file PetitionMgr.h.


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