Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bleedingsource.c File Reference

Go to the source code of this file.

Enumerations

enum  eBleedingSourceType { NORMAL, CONTAMINATED }
 

Functions

void BleedingSource (PlayerBase player, int bit, string bone, vector orientation, vector offset, int max_time, float flow_modifier, string particle_name)
 
void ~BleedingSource ()
 
void SetType (eBleedingSourceType type)
 
eBleedingSourceType GetType ()
 
int GetActiveTime ()
 
void SetActiveTime (int time)
 
int GetBit ()
 
void CreateParticle ()
 
void RemoveParticle ()
 
void OnUpdateServer (float deltatime, float blood_scale, bool no_blood_loss)
 
void StartSourceBleedingIndication ()
 
void StopSourceBleedingIndication (bool instant=false)
 
void DrawDebugShape ()
 
void RemoveDebugShape ()
 

Variables

enum eBleedingSourceType m_Position
 
Particle m_BloodParticle
 
PlayerBase m_Player
 
int m_Bit
 
string m_Bone
 
ref EffectParticle m_BleedingEffect
 
vector m_Orientation
 
Shape m_DebugShape
 
Shape m_DebugShape1
 
ref Timer m_DebugTick
 
vector m_Offset
 
float m_FlowModifier
 
float m_ActiveTime
 
float m_MaxTime
 
string m_ParticleName
 
bool m_DeleteRequested
 
eBleedingSourceType m_Type = eBleedingSourceType.NORMAL
 

Enumeration Type Documentation

◆ eBleedingSourceType

Enumerator
NORMAL 
CONTAMINATED 

Definition at line 1 of file bleedingsource.c.

Function Documentation

◆ BleedingSource()

void BleedingSource ( PlayerBase  player,
int  bit,
string  bone,
vector  orientation,
vector  offset,
int  max_time,
float  flow_modifier,
string  particle_name 
)

Definition at line 27 of file bleedingsource.c.

◆ CreateParticle()

void CreateParticle ( )

Definition at line 83 of file bleedingsource.c.

◆ DrawDebugShape()

void DrawDebugShape ( )

Definition at line 171 of file bleedingsource.c.

◆ GetActiveTime()

int GetActiveTime ( )

Definition at line 68 of file bleedingsource.c.

◆ GetBit()

int GetBit ( )

Definition at line 78 of file bleedingsource.c.

◆ GetType()

eBleedingSourceType GetType ( )

Definition at line 63 of file bleedingsource.c.

◆ OnUpdateServer()

void OnUpdateServer ( float  deltatime,
float  blood_scale,
bool  no_blood_loss 
)

Definition at line 114 of file bleedingsource.c.

◆ RemoveDebugShape()

void RemoveDebugShape ( )

Definition at line 186 of file bleedingsource.c.

◆ RemoveParticle()

void RemoveParticle ( )

Definition at line 109 of file bleedingsource.c.

◆ SetActiveTime()

void SetActiveTime ( int  time)

Definition at line 73 of file bleedingsource.c.

◆ SetType()

void SetType ( eBleedingSourceType  type)

Definition at line 58 of file bleedingsource.c.

◆ StartSourceBleedingIndication()

void StartSourceBleedingIndication ( )

Definition at line 145 of file bleedingsource.c.

◆ StopSourceBleedingIndication()

void StopSourceBleedingIndication ( bool  instant = false)

Definition at line 162 of file bleedingsource.c.

◆ ~BleedingSource()

void ~BleedingSource ( )

Definition at line 48 of file bleedingsource.c.

Variable Documentation

◆ m_ActiveTime

float m_ActiveTime

Definition at line 21 of file bleedingsource.c.

◆ m_Bit

int m_Bit

Definition at line 12 of file bleedingsource.c.

◆ m_BleedingEffect

ref EffectParticle m_BleedingEffect

Definition at line 14 of file bleedingsource.c.

◆ m_BloodParticle

Particle m_BloodParticle

Definition at line 10 of file bleedingsource.c.

◆ m_Bone

string m_Bone

Definition at line 13 of file bleedingsource.c.

◆ m_DebugShape

Shape m_DebugShape

Definition at line 16 of file bleedingsource.c.

◆ m_DebugShape1

Shape m_DebugShape1

Definition at line 17 of file bleedingsource.c.

◆ m_DebugTick

ref Timer m_DebugTick

Definition at line 18 of file bleedingsource.c.

◆ m_DeleteRequested

bool m_DeleteRequested

Definition at line 24 of file bleedingsource.c.

◆ m_FlowModifier

float m_FlowModifier

Definition at line 20 of file bleedingsource.c.

◆ m_MaxTime

float m_MaxTime

Definition at line 22 of file bleedingsource.c.

◆ m_Offset

vector m_Offset

Definition at line 19 of file bleedingsource.c.

◆ m_Orientation

vector m_Orientation

Definition at line 15 of file bleedingsource.c.

◆ m_ParticleName

string m_ParticleName

Definition at line 23 of file bleedingsource.c.

◆ m_Player

PlayerBase m_Player

Definition at line 11 of file bleedingsource.c.

◆ m_Position

enum eBleedingSourceType m_Position

◆ m_Type

Definition at line 25 of file bleedingsource.c.