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

#include <UpdateFields.h>

+ Inheritance diagram for UF::LeaverInfo:

Public Types

using OwnerObject = Player
 

Public Member Functions

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

Public Attributes

bool IsLeaver = false
 
ObjectGuid BnetAccountGUID
 
float LeaveScore = 0.0f
 
uint32 SeasonID = 0
 
uint32 TotalLeaves = 0
 
uint32 TotalSuccesses = 0
 
int32 ConsecutiveSuccesses = 0
 
int64 LastPenaltyTime = 0
 
int64 LeaverExpirationTime = 0
 
int32 Flags = 0
 

Detailed Description

Definition at line 549 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 562 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 566 of file UpdateFields.h.

◆ operator==()

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

Definition at line 2411 of file UpdateFields.cpp.

◆ WriteCreate()

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

Definition at line 2380 of file UpdateFields.cpp.

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

◆ WriteUpdate()

void UF::LeaverInfo::WriteUpdate ( bool  ignoreChangesMask,
ByteBuffer data,
Player const *  receiver,
Player const *  owner 
) const

Definition at line 2395 of file UpdateFields.cpp.

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

Member Data Documentation

◆ BnetAccountGUID

ObjectGuid UF::LeaverInfo::BnetAccountGUID

Definition at line 552 of file UpdateFields.h.

◆ ConsecutiveSuccesses

int32 UF::LeaverInfo::ConsecutiveSuccesses = 0

Definition at line 557 of file UpdateFields.h.

◆ Flags

int32 UF::LeaverInfo::Flags = 0

Definition at line 560 of file UpdateFields.h.

◆ IsLeaver

bool UF::LeaverInfo::IsLeaver = false

Definition at line 551 of file UpdateFields.h.

◆ LastPenaltyTime

int64 UF::LeaverInfo::LastPenaltyTime = 0

Definition at line 558 of file UpdateFields.h.

◆ LeaverExpirationTime

int64 UF::LeaverInfo::LeaverExpirationTime = 0

Definition at line 559 of file UpdateFields.h.

◆ LeaveScore

float UF::LeaverInfo::LeaveScore = 0.0f

Definition at line 553 of file UpdateFields.h.

◆ SeasonID

uint32 UF::LeaverInfo::SeasonID = 0

Definition at line 554 of file UpdateFields.h.

◆ TotalLeaves

uint32 UF::LeaverInfo::TotalLeaves = 0

Definition at line 555 of file UpdateFields.h.

◆ TotalSuccesses

uint32 UF::LeaverInfo::TotalSuccesses = 0

Definition at line 556 of file UpdateFields.h.


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