DB/CameraShakes

From wowdev
Jump to: navigation, search

Actually there's no real Information. Mostly shaking cameras.

0.5.3.3368-1.12.1.5875-3.0.2.8905-3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2 ShakeType CGCameraShakeType
3 Direction CGCameraDir
4 Amplitude Float Multiplied by 0.027777778f when passed to CGCamera::AddShake.
5 Frequency Float
6 Duration Float
7 Phase Float
8 Coefficient Float

Struct

enum CGCameraShakeType : uint32_t
{
  CAMSHAKE_SINE=0,
  CAMSHAKE_DECAYED_SINE=1,
  NUM_CAMERA_SHAKETYPES=2
};
enum CGCameraDir : uint32_t
{
  CAMERA_FORWARD=0,
  CAMERA_RIGHT=1,
  CAMERA_UP=2,
  NUM_CAMERA_DIRECTIONS=3
};
struct CameraShakesRec {
  uint32_t m_ID;
  CGCameraShakeType m_shakeType;
  CGCameraDir m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
};

6.0.1.18179

Struct

struct CameraShakesRec {
  uint32_t m_ID;
  uint32_t m_shakeType;
  uint32_t m_direction;
  float m_amplitude;
  float m_frequency;
  float m_duration;
  float m_phase;
  float m_coefficient;
  uint32_t m_flags;
};