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

#include <UpdateFields.h>

+ Inheritance diagram for UF::NPCAsPlayerInfo:

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

Public Attributes

int32 Field_0 = 0
 
int32 CharacterLoadoutID = 0
 
int32 CreatureID = 0
 
TaggedPosition< Position::XYZ > LocWorldSpace
 
float FacingWorldSpace = 0.0f
 
ObjectGuid TransportGUID
 

Detailed Description

Definition at line 593 of file UpdateFields.h.

Member Typedef Documentation

◆ OwnerObject

Definition at line 602 of file UpdateFields.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 606 of file UpdateFields.h.

◆ operator==()

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

Definition at line 2551 of file UpdateFields.cpp.

◆ WriteCreate()

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

Definition at line 2531 of file UpdateFields.cpp.

◆ WriteUpdate()

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

Definition at line 2541 of file UpdateFields.cpp.

Member Data Documentation

◆ CharacterLoadoutID

int32 UF::NPCAsPlayerInfo::CharacterLoadoutID = 0

Definition at line 596 of file UpdateFields.h.

◆ CreatureID

int32 UF::NPCAsPlayerInfo::CreatureID = 0

Definition at line 597 of file UpdateFields.h.

◆ FacingWorldSpace

float UF::NPCAsPlayerInfo::FacingWorldSpace = 0.0f

Definition at line 599 of file UpdateFields.h.

◆ Field_0

int32 UF::NPCAsPlayerInfo::Field_0 = 0

Definition at line 595 of file UpdateFields.h.

◆ LocWorldSpace

TaggedPosition<Position::XYZ> UF::NPCAsPlayerInfo::LocWorldSpace

Definition at line 598 of file UpdateFields.h.

◆ TransportGUID

ObjectGuid UF::NPCAsPlayerInfo::TransportGUID

Definition at line 600 of file UpdateFields.h.


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