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 () |
enum eBleedingSourceType |
void BleedingSource | ( | PlayerBase | player, |
int | bit, | ||
string | bone, | ||
vector | orientation, | ||
vector | offset, | ||
int | max_time, | ||
float | flow_modifier, | ||
string | particle_name | ||
) |
References CreateParticle(), GetGame(), m_Bit, m_Bone, m_FlowModifier, m_MaxTime, m_Offset, m_Orientation, m_ParticleName, m_Player, and StartSourceBleedingIndication().
Referenced by BleedingSourcesManagerBase::AddBleedingSource(), and BleedingSourcesManagerBase::DisplayDebug().
void CreateParticle | ( | ) |
References Error(), EffectParticle::GetParticle(), m_BleedingEffect, m_BloodParticle, m_Bone, m_Offset, m_Orientation, m_ParticleName, m_Player, SEffectManager::PlayInWorld(), Math::RandomFloat01(), Particle::SetParameter(), and string::ToType().
Referenced by BleedingSource(), CreateInWorld(), ParticleSource::CreateInWorld(), CreateOnObject(), ParticleSource::CreateOnObject(), ParticleSource::PlayInWorld(), PlayInWorldEx(), PlayOnObject(), and ParticleSource::PlayOnObject().
void DrawDebugShape | ( | ) |
int GetActiveTime | ( | ) |
References m_ActiveTime.
int GetBit | ( | ) |
References m_Bit.
Referenced by OnUpdateServer().
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().
void RemoveDebugShape | ( | ) |
References m_DebugShape, m_DebugShape1, and Debug::RemoveShape().
Referenced by DrawDebugShape(), and ~BleedingSource().
void RemoveParticle | ( | ) |
References SEffectManager::DestroyEffect(), and m_BleedingEffect.
Referenced by ~BleedingSource().
void SetActiveTime | ( | int | time | ) |
References m_ActiveTime.
void SetType | ( | eBleedingSourceType | type | ) |
References m_Type.
void StartSourceBleedingIndication | ( | ) |
void StopSourceBleedingIndication | ( | bool | instant = false | ) |
References Mission::GetEffectWidgets(), GetGame(), CGame::GetMission(), m_Bit, m_Player, and GameplayEffectWidgets_base::UpdateWidgets().
Referenced by ~BleedingSource().
void ~BleedingSource | ( | ) |
References m_BloodParticle, m_Player, RemoveDebugShape(), RemoveParticle(), and StopSourceBleedingIndication().
float m_ActiveTime |
Referenced by GetActiveTime(), OnUpdateServer(), and SetActiveTime().
int m_Bit |
ref EffectParticle m_BleedingEffect |
Referenced by CreateParticle(), DrawDebugShape(), and RemoveParticle().
Particle m_BloodParticle |
Referenced by CreateParticle(), DrawDebugShape(), and ~BleedingSource().
string m_Bone |
Referenced by BleedingSource(), and CreateParticle().
Shape m_DebugShape |
Referenced by DrawDebugShape(), and RemoveDebugShape().
Shape m_DebugShape1 |
Referenced by DrawDebugShape(), and RemoveDebugShape().
ref Timer m_DebugTick |
bool m_DeleteRequested |
Referenced by OnUpdateServer().
float m_FlowModifier |
Referenced by BleedingSource(), and OnUpdateServer().
float m_MaxTime |
Referenced by BleedingSource(), and OnUpdateServer().
vector m_Offset |
vector m_Orientation |
string m_ParticleName |
Referenced by BleedingSource(), and CreateParticle().
PlayerBase m_Player |
enum eBleedingSourceType m_Position |
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().