TrinityCore
Loading...
Searching...
No Matches
UF::NICompletedInitiativesEntry Struct Reference

#include <UpdateFields.h>

+ Inheritance diagram for UF::NICompletedInitiativesEntry:

Public Types

using OwnerObject = Player
 

Public Member Functions

void WriteCreate (ByteBuffer &data, Player const *receiver, Player const *owner) const
 
void WriteUpdate (bool, ByteBuffer &data, Player const *receiver, Player const *owner) const
 
bool operator== (NICompletedInitiativesEntry const &right) const
 
bool operator!= (NICompletedInitiativesEntry const &right) const
 

Public Attributes

bool Completed = false
 
std::vector< UF::NICompletedMilestoneEntry > CompletedMilestones
 
uint32 InitiativeID = 0
 

Detailed Description

Definition at line 2251 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Member Function Documentation

◆ operator!=()

bool UF::NICompletedInitiativesEntry::operator!= ( NICompletedInitiativesEntry const &  right) const
inline

Definition at line 2261 of file UpdateFields.h.

◆ operator==()

bool UF::NICompletedInitiativesEntry::operator== ( NICompletedInitiativesEntry const &  right) const

Definition at line 10227 of file UpdateFields.cpp.

References Completed, CompletedMilestones, and InitiativeID.

◆ WriteCreate()

void UF::NICompletedInitiativesEntry::WriteCreate ( ByteBuffer &  data,
Player const *  receiver,
Player const *  owner 
) const

◆ WriteUpdate()

void UF::NICompletedInitiativesEntry::WriteUpdate ( bool  ,
ByteBuffer &  data,
Player const *  receiver,
Player const *  owner 
) const
inline

Definition at line 2259 of file UpdateFields.h.

References WriteCreate().

Member Data Documentation

◆ Completed

bool UF::NICompletedInitiativesEntry::Completed = false

Definition at line 2253 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().

◆ CompletedMilestones

std::vector<UF::NICompletedMilestoneEntry> UF::NICompletedInitiativesEntry::CompletedMilestones

Definition at line 2254 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().

◆ InitiativeID

uint32 UF::NICompletedInitiativesEntry::InitiativeID = 0

Definition at line 2255 of file UpdateFields.h.

Referenced by operator==(), and WriteCreate().


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