157 bool hasPrevTime = transportInfo.prevTime != 0;
158 bool hasVehicleId = transportInfo.vehicleId != 0;
160 data << transportInfo.guid;
161 data << transportInfo.pos.GetPositionX();
162 data << transportInfo.pos.GetPositionY();
163 data << transportInfo.pos.GetPositionZ();
164 data << transportInfo.pos.GetOrientation();
165 data << transportInfo.seat;
166 data << transportInfo.time;
174 data << transportInfo.prevTime;
177 data << transportInfo.vehicleId;
void FlushBits()
Definition: ByteBuffer.h:150
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170