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

#include <UpdateFields.h>

+ Inheritance diagram for UF::NeighborhoodOwnershipTransfer:

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== (NeighborhoodOwnershipTransfer const &right) const
 
bool operator!= (NeighborhoodOwnershipTransfer const &right) const
 

Public Attributes

ObjectGuid NeighborhoodGUID
 
ObjectGuid CurrentOwnerGUID
 
std::string NeighborhoodName
 

Detailed Description

Definition at line 2145 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Member Function Documentation

◆ operator!=()

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

Definition at line 2155 of file UpdateFields.h.

◆ operator==()

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

Definition at line 9764 of file UpdateFields.cpp.

References CurrentOwnerGUID, NeighborhoodGUID, and NeighborhoodName.

◆ WriteCreate()

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

◆ WriteUpdate()

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

Definition at line 2153 of file UpdateFields.h.

References WriteCreate().

Referenced by UF::PlayerHouseInfoComponentData::WriteUpdate().

Member Data Documentation

◆ CurrentOwnerGUID

ObjectGuid UF::NeighborhoodOwnershipTransfer::CurrentOwnerGUID

Definition at line 2148 of file UpdateFields.h.

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

◆ NeighborhoodGUID

ObjectGuid UF::NeighborhoodOwnershipTransfer::NeighborhoodGUID

Definition at line 2147 of file UpdateFields.h.

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

◆ NeighborhoodName

std::string UF::NeighborhoodOwnershipTransfer::NeighborhoodName

Definition at line 2149 of file UpdateFields.h.

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


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