DIFF

class DayZPlayerCamerasSource

Constants 23

static const int DAYZCAMERA_1ST = 1

1st person camera

static const int DAYZCAMERA_3RD_ERC = 2

3rd - standing

static const int DAYZCAMERA_3RD_ERC_SPR = 3

3rd - standing sprint

static const int DAYZCAMERA_3RD_ERC_RAISED = 4

3rd - standing raised

static const int DAYZCAMERA_3RD_CRO = 5

3rd - crouch

static const int DAYZCAMERA_3RD_CRO_RAISED = 6

3rd - crouch

static const int DAYZCAMERA_3RD_PRO = 7

3rd - laying

static const int DAYZCAMERA_3RD_PRO_RAISED = 8

3rd - laying raised

static const int DAYZCAMERA_3RD_ERC_RAISED_MELEE = 9

3rd - laying raised

static const int DAYZCAMERA_IRONSIGHTS = 10

ironsights camera

static const int DAYZCAMERA_OPTICS = 11

optics

static const int DAYZCAMERA_1ST_UNCONSCIOUS = 12

unconscious

static const int DAYZCAMERA_3RD_JUMP = 13

jump

static const int DAYZCAMERA_3RD_CLIMB = 14

climb / vault

static const int DAYZCAMERA_1ST_VEHICLE = 30

vehicle 1st person

static const int DAYZCAMERA_3RD_VEHICLE = 31

generic vehicle 3rd person

static const int PERITEMUD_INVALID = -1

uninitialized / invalid per item camera user data

static const float TIME_CAMERACHANGE_01 = 0.1
static const float TIME_CAMERACHANGE_03 = 0.3

Members 1

static ref map<int,float> m_TransitionTimes = new map<int,float>

Methods 4

static void RegisterTransitionTime(int pFrom, int pTo, float pTime, bool pTwoWay)

static function to set time to table

Referenced by RegisterCameras()
static float GetTransitionTime(int pFrom, int pTo)

static function to get time from table

Referenced by OnCameraChange()
static float OnCameraChange(DayZPlayer pPlayer, int pFrom, int pTo)