DB/CameraShakes: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__TOC__
Actually there's no real Information. Mostly shaking cameras.
Actually there's no real Information. Mostly shaking cameras.


==0.5.3.3368==
==Classic==
===0.5.3.3368===
====Struct====
  enum CGCameraShakeType : uint32_t
  enum CGCameraShakeType : uint32_t
  {
  {
Line 25: Line 28:
   float m_coefficient;
   float m_coefficient;
  };
  };
==Structure==
 
==Wrath==
===3.0.2.8905===
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 53: Line 59:
  CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );
  CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );


==6.0.1.18179==
===3.3.5.12340===
====Table====
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | 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
|}
 
==Warlords==
===6.0.1.18179===
====Struct====
  struct CameraShakesRec {
  struct CameraShakesRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 65: Line 99:
   uint32_t m_flags;
   uint32_t m_flags;
  };
  };
[[Category:DBC]][[Category:3.0.2.8905]][[Category:DBC_WotLK]]
[[Category:DBC]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 20:15, 13 July 2016

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

Classic

0.5.3.3368

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;
};

Wrath

3.0.2.8905

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

Used in client:

CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );

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

Warlords

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;
};