TrinityCore
VehicleDefines.h File Reference
#include "Define.h"
#include "Duration.h"
#include <vector>
#include <map>
+ Include dependency graph for VehicleDefines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PassengerInfo
 
struct  VehicleSeatAddon
 
struct  VehicleSeat
 
struct  VehicleAccessory
 
struct  VehicleTemplate
 
class  TransportBase
 

Typedefs

typedef std::vector< VehicleAccessoryVehicleAccessoryList
 
typedef std::map< ObjectGuid::LowType, VehicleAccessoryListVehicleAccessoryContainer
 
typedef std::map< uint32, VehicleAccessoryListVehicleAccessoryTemplateContainer
 
typedef std::map< int8, VehicleSeatSeatMap
 

Enumerations

enum  PowerType {
  POWER_STEAM = 61 , POWER_PYRITE = 41 , POWER_HEAT = 101 , POWER_OOZE = 121 ,
  POWER_BLOOD = 141 , POWER_WRATH = 142 , POWER_ARCANE_ENERGY = 143 , POWER_LIFE_ENERGY = 144 ,
  POWER_SUN_ENERGY = 145 , POWER_SWING_VELOCITY = 146 , POWER_SHADOWFLAME_ENERGY = 147 , POWER_BLUE_POWER = 148 ,
  POWER_PURPLE_POWER = 149 , POWER_GREEN_POWER = 150 , POWER_ORANGE_POWER = 151 , POWER_ENERGY_2 = 153 ,
  POWER_ARCANEENERGY = 161 , POWER_WIND_POWER_1 = 162 , POWER_WIND_POWER_2 = 163 , POWER_WIND_POWER_3 = 164 ,
  POWER_FUEL = 165 , POWER_SUN_POWER = 166 , POWER_TWILIGHT_ENERGY = 169 , POWER_VENOM = 174 ,
  POWER_ORANGE_POWER_2 = 176 , POWER_CONSUMING_FLAME = 177 , POWER_PYROCLASTIC_FRENZY = 178 , POWER_FLASHFIRE = 179
}
 
enum  VehicleFlags {
  VEHICLE_FLAG_NO_STRAFE = 0x00000001 , VEHICLE_FLAG_NO_JUMPING = 0x00000002 , VEHICLE_FLAG_FULLSPEEDTURNING = 0x00000004 , VEHICLE_FLAG_ALLOW_PITCHING = 0x00000010 ,
  VEHICLE_FLAG_FULLSPEEDPITCHING = 0x00000020 , VEHICLE_FLAG_CUSTOM_PITCH = 0x00000040 , VEHICLE_FLAG_ADJUST_AIM_ANGLE = 0x00000400 , VEHICLE_FLAG_ADJUST_AIM_POWER = 0x00000800 ,
  VEHICLE_FLAG_FIXED_POSITION = 0x00200000
}
 
enum  VehicleSpells { VEHICLE_SPELL_RIDE_HARDCODED = 46598 , VEHICLE_SPELL_PARACHUTE = 45472 }
 
enum class  VehicleExitParameters { VehicleExitParamNone = 0 , VehicleExitParamOffset = 1 , VehicleExitParamDest = 2 , VehicleExitParamMax }
 

Typedef Documentation

◆ SeatMap

typedef std::map<int8, VehicleSeat> SeatMap

Definition at line 151 of file VehicleDefines.h.

◆ VehicleAccessoryContainer

◆ VehicleAccessoryList

typedef std::vector<VehicleAccessory> VehicleAccessoryList

Definition at line 148 of file VehicleDefines.h.

◆ VehicleAccessoryTemplateContainer

Definition at line 150 of file VehicleDefines.h.

Enumeration Type Documentation

◆ PowerType

enum PowerType
Enumerator
POWER_STEAM 
POWER_PYRITE 
POWER_HEAT 
POWER_OOZE 
POWER_BLOOD 
POWER_WRATH 
POWER_ARCANE_ENERGY 
POWER_LIFE_ENERGY 
POWER_SUN_ENERGY 
POWER_SWING_VELOCITY 
POWER_SHADOWFLAME_ENERGY 
POWER_BLUE_POWER 
POWER_PURPLE_POWER 
POWER_GREEN_POWER 
POWER_ORANGE_POWER 
POWER_ENERGY_2 
POWER_ARCANEENERGY 
POWER_WIND_POWER_1 
POWER_WIND_POWER_2 
POWER_WIND_POWER_3 
POWER_FUEL 
POWER_SUN_POWER 
POWER_TWILIGHT_ENERGY 
POWER_VENOM 
POWER_ORANGE_POWER_2 
POWER_CONSUMING_FLAME 
POWER_PYROCLASTIC_FRENZY 
POWER_FLASHFIRE 

Definition at line 30 of file VehicleDefines.h.

◆ VehicleExitParameters

enum class VehicleExitParameters
strong
Enumerator
VehicleExitParamNone 
VehicleExitParamOffset 
VehicleExitParamDest 
VehicleExitParamMax 

Definition at line 81 of file VehicleDefines.h.

◆ VehicleFlags

Enumerator
VEHICLE_FLAG_NO_STRAFE 
VEHICLE_FLAG_NO_JUMPING 
VEHICLE_FLAG_FULLSPEEDTURNING 
VEHICLE_FLAG_ALLOW_PITCHING 
VEHICLE_FLAG_FULLSPEEDPITCHING 
VEHICLE_FLAG_CUSTOM_PITCH 
VEHICLE_FLAG_ADJUST_AIM_ANGLE 
VEHICLE_FLAG_ADJUST_AIM_POWER 
VEHICLE_FLAG_FIXED_POSITION 

Definition at line 62 of file VehicleDefines.h.

◆ VehicleSpells

Enumerator
VEHICLE_SPELL_RIDE_HARDCODED 
VEHICLE_SPELL_PARACHUTE 

Definition at line 75 of file VehicleDefines.h.