TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MovementInfo::TransportInfo Struct Reference

#include <Object.h>

Public Member Functions

void Reset ()
 

Public Attributes

ObjectGuid guid
 
Position pos
 
int8 seat
 
uint32 time
 
uint32 prevTime
 
uint32 vehicleId
 

Member Function Documentation

void MovementInfo::TransportInfo::Reset ( )
inline
280  {
281  guid.Clear();
282  pos.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
283  seat = -1;
284  time = 0;
285  prevTime = 0;
286  vehicleId = 0;
287  }
uint32 prevTime
Definition: Object.h:293
void Relocate(float x, float y)
Definition: Position.h:67
uint32 vehicleId
Definition: Object.h:294
int8 seat
Definition: Object.h:291
void Clear()
Definition: ObjectGuid.h:215
Position pos
Definition: Object.h:290
ObjectGuid guid
Definition: Object.h:289
uint32 time
Definition: Object.h:292

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

ObjectGuid MovementInfo::TransportInfo::guid
Position MovementInfo::TransportInfo::pos
uint32 MovementInfo::TransportInfo::prevTime
int8 MovementInfo::TransportInfo::seat
uint32 MovementInfo::TransportInfo::time
uint32 MovementInfo::TransportInfo::vehicleId

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