Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
bleedingsource.c File Reference

Go to the source code of this file.

Enumerations

enum  eBleedingSourceType { NORMAL , CONTAMINATED }

Functions

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

Variables

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

Enumeration Type Documentation

◆ eBleedingSourceType

Enumerator
NORMAL 
CONTAMINATED 

Definition at line 1 of file bleedingsource.c.

Function Documentation

◆ ~BleedingSource()

◆ BleedingSource()

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

◆ CreateParticle()

◆ DrawDebugShape()

◆ GetActiveTime()

int GetActiveTime ( )

Definition at line 72 of file bleedingsource.c.

References m_ActiveTime.

◆ GetBit()

int GetBit ( )

Definition at line 82 of file bleedingsource.c.

References m_Bit.

Referenced by OnUpdateServer().

◆ GetType()

eBleedingSourceType GetType ( )

Definition at line 67 of file bleedingsource.c.

References m_Type.

Referenced by Building::Building(), Chemlight_ColorBase::Chemlight_ColorBase(), Hologram::Hologram(), Land_Bilboard_Base::Land_Bilboard_Base(), Ammo_40mm_Smoke_ColorBase::Activate(), ItemBase::BatteryCharger(), Entity::CacheSkinningBloodInfectionChance(), InventoryItem::CanBeCombined(), Container_Base::CanPutInCargo(), BaseBuildingBase::CanReceiveAttachment(), ChangeInfestation(), Chemlight_ColorBase::CreateLight(), CraftTorch::Do(), RecipeBase::Do(), Car::EEInit(), Inventory_Base::EmptySeedPack(), Entity::EntityAI(), Entity::GetDefaultHitComponent(), Entity::GetDefaultHitPosition(), Entity::GetDefaultHitPositionComponent(), InventoryItem::GetDryingIncrement(), ItemBase::GetEnergyNeededToCharge(), IEntity::GetHiddenSelections(), IEntity::GetHiddenSelectionsMaterials(), IEntity::GetHiddenSelectionsTextures(), Entity::GetHitComponentForAI(), ManBase::GetItemOnSlot(), IEntity::GetModelName(), InventoryItem::GetMuzzleID(), ActionTargetsCursor::GetOnScreenPosition(), InventoryItem::GetProtectionLevel(), PluginRecipesManagerBase::GetRecipeIntersection(), CarWheel_Ruined::GetReplacement(), InventoryItemSuper::GetRuinedReplacement(), InventoryItem::GetSoakingIncrement(), Entity::GetSuitableFinisherHitComponents(), ItemBase::GetTimeNeededToCharge(), ManBase::HandleRemoteItemManipulation(), IEntity::HasAnimation(), InventoryItem::HasFoodStage(), ItemBase::HideAllAnimationsAndProxyPhysics(), Entity::HideAllSelections(), ManBase::HideHairSelections(), AlarmClock_ColorBase::Init(), FlammableBase::Init(), KitchenTimer::Init(), ItemOptics::Init2DPreloadType(), ItemOptics::InitCameraOverrideProperties(), Entity::InitDamageZoneDisplayNameMapping(), ItemOptics::InitDOFAvailability(), Weapon::InitDOFProperties(), ItemOptics::InitOpticsDOFProperties(), ItemOptics::InitOpticsPP(), PoweredOptic_Base::InitRangeFinderData(), ItemOptics::InitReddotData(), Weapon::InitReliability(), IEntity::KindOf(), InventoryItem::KindOf(), Weapon::LoadCurrentFSMState(), InventoryItem::LoadParticleConfigOnFire(), InventoryItem::LoadParticleConfigOnOverheating(), LockOvenAttachments(), Entity::Log(), Entity::LogError(), Entity::LogWarning(), Entity::OnAction(), ItemBase::OnInitEnergy(), Ammo_40mm_Smoke_ColorBase::OnVariablesSynchronized(), OnWorkStart(), PlantBase(), InventoryItem::PlayAttachSound(), Edible_Base::RefreshAudio(), Weapon::SaveCurrentFSMState(), ItemBase::SetFuel(), Entity::ShowAllSelections(), PluginRecipesManagerBase::SortIngredientsInRecipe(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitItem(), InventoryItem::SplitItemToInventoryLocation(), VicinityObjects::TransformToVicinityObjects(), and FlammableBase::TryTransformIntoStick().

◆ OnUpdateServer()

◆ RemoveDebugShape()

void RemoveDebugShape ( )

Definition at line 191 of file bleedingsource.c.

References m_DebugShape, m_DebugShape1, and Debug::RemoveShape().

Referenced by ~BleedingSource(), and DrawDebugShape().

◆ RemoveParticle()

void RemoveParticle ( )

Definition at line 113 of file bleedingsource.c.

References SEffectManager::DestroyEffect(), and m_BleedingEffect.

Referenced by ~BleedingSource().

◆ SetActiveTime()

void SetActiveTime ( int time)

Definition at line 77 of file bleedingsource.c.

References m_ActiveTime.

◆ SetType()

void SetType ( eBleedingSourceType type)

Definition at line 62 of file bleedingsource.c.

References m_Type.

◆ StartSourceBleedingIndication()

◆ StopSourceBleedingIndication()

void StopSourceBleedingIndication ( bool instant = false)

Definition at line 167 of file bleedingsource.c.

References g_Game, and m_Bit.

Referenced by ~BleedingSource().

Variable Documentation

◆ m_ActiveTime

float m_ActiveTime

Definition at line 21 of file bleedingsource.c.

Referenced by GetActiveTime(), OnUpdateServer(), and SetActiveTime().

◆ m_Bit

◆ m_BleedingEffect

ref EffectParticle m_BleedingEffect

Definition at line 14 of file bleedingsource.c.

Referenced by CreateParticle(), DrawDebugShape(), and RemoveParticle().

◆ m_BloodParticle

Particle m_BloodParticle

Definition at line 10 of file bleedingsource.c.

Referenced by ~BleedingSource(), CreateParticle(), and DrawDebugShape().

◆ m_Bone

string m_Bone

Definition at line 13 of file bleedingsource.c.

Referenced by BleedingSource(), and CreateParticle().

◆ m_DebugShape

Shape m_DebugShape

Definition at line 16 of file bleedingsource.c.

Referenced by DrawDebugShape(), and RemoveDebugShape().

◆ m_DebugShape1

Shape m_DebugShape1

Definition at line 17 of file bleedingsource.c.

Referenced by DrawDebugShape(), and RemoveDebugShape().

◆ 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.

Referenced by OnUpdateServer().

◆ m_FlowModifier

float m_FlowModifier

Definition at line 20 of file bleedingsource.c.

Referenced by BleedingSource(), and OnUpdateServer().

◆ m_MaxTime

float m_MaxTime

Definition at line 22 of file bleedingsource.c.

Referenced by BleedingSource(), and OnUpdateServer().

◆ 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.

Referenced by BleedingSource(), CreateParticle(), and CTObjectFollower::CTActor().

◆ m_ParticleName

string m_ParticleName

Definition at line 23 of file bleedingsource.c.

Referenced by BleedingSource(), and CreateParticle().

◆ 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.

Referenced by MindStateSoundEventBase::AlertedMoveSoundEvent(), DisplayElementBadge::BadgeBleeding(), DisplayElementBadge::BadgeFracture(), DisplayElementBadge::BadgeHeartbeat(), DisplayElementBadge::BadgeLegs(), DisplayElementBadge::BadgePills(), DisplayElementBadge::BadgePoisoned(), DisplayElementBadge::BadgeSick(), DisplayElementBadge::BadgeStuffed(), DisplayElementBadge::BadgeWet(), CalmMoveSoundEvent(), MindStateSoundEventBase::CalmMoveSoundEvent(), CanPlay(), ChaseMoveSoundEvent(), MindStateSoundEventBase::ChaseMoveSoundEvent(), ContaminatedArea_DynamicBase(), PlayerSoundEventBase::DamageSoundEvents(), PlayerSoundEventBase::DrowningEvents(), DisplayElementBase::ElementStance(), ExhaustedBreathSoundEvent(), HoldBreathSoundEventBase::ExhaustedBreathSoundEvent(), PlayerSoundEventBase::ForceConsumeSoundEvent(), GetBaitTypeSensitivity(), GetCatchAINoise(), GetType(), HasPriorityOverCurrent(), PlayerSoundEventBase::HeatComfortEventsBase(), HoldBreathSoundEventBase(), InfectedSoundEventBase(), Init(), Init(), UndergroundBunkerTrigger::Init(), PlayerSoundEventBase::InjurySoundEvents(), PlayerSoundEventBase::MeleeAttackSoundEvents(), OnRPC(), OnUpdateServer(), PickupHeavySoundEvent(), PlayerSoundEventBase::PickupHeavySoundEvent(), PlayerSoundEventBase(), Set(), SetType(), StaminaModifier(), StaminaSoundEventBase::StaminaNormalDummy(), PlayerSoundEventBase::StaminaSoundEventBase(), PlayerSoundEventBase::SymptomSoundEventBase(), DisplayElementTendency::TendencyBacteria(), DisplayElementTendency::TendencyBlood(), DisplayElementTendency::TendencyHealth(), DisplayElementTendency::TendencyHunger(), DisplayElementTendency::TendencyTemperature(), and DisplayElementTendency::TendencyThirst().