PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BleedingSource.c File Reference

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 

Function Documentation

◆ 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 ( )

References m_ActiveTime.

◆ GetBit()

int GetBit ( )

References m_Bit.

Referenced by OnUpdateServer().

◆ GetType()

eBleedingSourceType GetType ( )

References m_Type.

Referenced by Ammo_40mm_Smoke_ColorBase::Activate(), ItemBase::BatteryCharger(), EntityAI::Building(), Entity::CacheSkinningBloodInfectionChance(), InventoryItem::CanBeCombined(), Container_Base::CanPutInCargo(), BaseBuildingBase::CanReceiveAttachment(), ChangeInfestation(), Chemlight_ColorBase::Chemlight_ColorBase(), Chemlight_ColorBase::CreateLight(), RecipeBase::Do(), CraftTorch::Do(), InventoryItemSuper::EEHealthLevelChanged(), CarWheel_Ruined::EEHealthLevelChanged(), 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(), InventoryItem::GetSoakingIncrement(), Entity::GetSuitableFinisherHitComponents(), ItemBase::GetTimeNeededToCharge(), IEntity::HasAnimation(), InventoryItem::HasFoodStage(), ItemBase::HideAllAnimationsAndProxyPhysics(), Entity::HideAllSelections(), ManBase::HideHairSelections(), Hologram::Hologram(), AlarmClock_ColorBase::Init(), KitchenTimer::Init(), FlammableBase::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(), Land_Bilboard_Base::Land_Bilboard_Base(), 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 ( )

◆ RemoveParticle()

void RemoveParticle ( )

◆ SetActiveTime()

void SetActiveTime ( int  time)

References m_ActiveTime.

◆ SetType()

void SetType ( eBleedingSourceType  type)

References m_Type.

◆ StartSourceBleedingIndication()

◆ StopSourceBleedingIndication()

void StopSourceBleedingIndication ( bool  instant = false)

◆ ~BleedingSource()

Variable Documentation

◆ m_ActiveTime

float m_ActiveTime

◆ m_Bit

◆ m_BleedingEffect

ref EffectParticle m_BleedingEffect

◆ m_BloodParticle

Particle m_BloodParticle

◆ m_Bone

string m_Bone

Referenced by BleedingSource(), and CreateParticle().

◆ m_DebugShape

Shape m_DebugShape

Referenced by DrawDebugShape(), and RemoveDebugShape().

◆ m_DebugShape1

Shape m_DebugShape1

Referenced by DrawDebugShape(), and RemoveDebugShape().

◆ m_DebugTick

ref Timer m_DebugTick

◆ m_DeleteRequested

bool m_DeleteRequested

Referenced by OnUpdateServer().

◆ m_FlowModifier

float m_FlowModifier

Referenced by BleedingSource(), and OnUpdateServer().

◆ m_MaxTime

float m_MaxTime

Referenced by BleedingSource(), and OnUpdateServer().

◆ m_Offset

vector m_Offset

◆ m_Orientation

◆ m_ParticleName

string m_ParticleName

Referenced by BleedingSource(), and CreateParticle().

◆ m_Player

PlayerBase m_Player

◆ m_Position

enum eBleedingSourceType m_Position

◆ m_Type

Referenced by MindStateSoundEventBase::AlertedMoveSoundEvent(), DisplayElementBadge::BadgeBleeding(), DisplayElementBadge::BadgeFracture(), DisplayElementBadge::BadgeHeartbeat(), DisplayElementBadge::BadgeLegs(), DisplayElementBadge::BadgePills(), DisplayElementBadge::BadgePoisoned(), DisplayElementBadge::BadgeSick(), DisplayElementBadge::BadgeStuffed(), DisplayElementBadge::BadgeWet(), BotStateBase::Bot_TestSpawnOpen(), BotStateBase::BotSpawnEntityInHands(), MindStateSoundEventBase::CalmMoveSoundEvent(), CalmMoveSoundEvent(), CanPlay(), MindStateSoundEventBase::ChaseMoveSoundEvent(), ChaseMoveSoundEvent(), ContaminatedArea_DynamicBase(), PlayerSoundEventBase::DamageSoundEvents(), PlayerSoundEventBase::DrowningEvents(), DisplayElementBase::ElementStance(), HoldBreathSoundEventBase::ExhaustedBreathSoundEvent(), ExhaustedBreathSoundEvent(), PlayerSoundEventBase::ForceConsumeSoundEvent(), Managed::GameplayEffectsData(), GetType(), MessageReceiverBase::GetType(), Managed::GetWidgetSetType(), HasPriorityOverCurrent(), PlayerSoundEventBase::HeatComfortEventsBase(), HoldBreathSoundEventBase(), InfectedSoundEventBase(), AgentBase::Init(), Managed::Init(), Init(), Init(), UndergroundBunkerTrigger::Init(), PlayerSoundEventBase::InjurySoundEvents(), PlayerSoundEventBase::MeleeAttackSoundEvents(), BotStateBase::OnEntry(), OnRPC(), OnUpdateServer(), PlayerSoundEventBase::PickupHeavySoundEvent(), PickupHeavySoundEvent(), PlayerSoundEventBase(), HandEventBase::ReadFromContext(), SetType(), StaminaModifier(), StaminaSoundEventBase::StaminaNormalDummy(), PlayerSoundEventBase::StaminaSoundEventBase(), PlayerSoundEventBase::SymptomSoundEventBase(), DisplayElementTendency::TendencyBacteria(), DisplayElementTendency::TendencyBlood(), DisplayElementTendency::TendencyHealth(), DisplayElementTendency::TendencyHunger(), DisplayElementTendency::TendencyTemperature(), DisplayElementTendency::TendencyThirst(), and HandEventBase::WriteToContext().