![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
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) |
| enum eBleedingSourceType |
| Enumerator | |
|---|---|
| NORMAL | |
| CONTAMINATED | |
Definition at line 1 of file bleedingsource.c.
| void ~BleedingSource | ( | ) |
Definition at line 52 of file bleedingsource.c.
References m_BloodParticle, RemoveDebugShape(), RemoveParticle(), and StopSourceBleedingIndication().
| void BleedingSource | ( | PlayerBase | player, |
| int | bit, | ||
| string | bone, | ||
| vector | orientation, | ||
| vector | offset, | ||
| int | max_time, | ||
| float | flow_modifier, | ||
| string | particle_name ) |
Definition at line 31 of file bleedingsource.c.
References CreateParticle(), g_Game, m_Bit, m_Bone, m_FlowModifier, m_MaxTime, m_Offset, m_Orientation, m_ParticleName, and StartSourceBleedingIndication().
Referenced by BleedingSourcesManagerBase::AddBleedingSource(), and BleedingSourcesManagerBase::DisplayDebug().
| void CreateParticle | ( | ) |
Definition at line 87 of file bleedingsource.c.
References Error(), m_BleedingEffect, m_BloodParticle, m_Bone, m_Offset, m_Orientation, m_ParticleName, SEffectManager::PlayInWorld(), and Math::RandomFloat01().
Referenced by BleedingSource(), CreateInWorld(), ParticleSource::CreateInWorld(), CreateOnObject(), ParticleSource::CreateOnObject(), ParticleSource::PlayInWorld(), PlayInWorldEx(), ParticleSource::PlayOnObject(), and PlayOnObject().
| void DrawDebugShape | ( | ) |
Definition at line 176 of file bleedingsource.c.
References vector::AnglesToVector(), COLOR_BLUE, COLOR_GREEN, Debug::DrawArrow(), Debug::DrawSphere(), m_BleedingEffect, m_BloodParticle, m_DebugShape, m_DebugShape1, and RemoveDebugShape().
| int GetActiveTime | ( | ) |
Definition at line 72 of file bleedingsource.c.
References m_ActiveTime.
| int GetBit | ( | ) |
| 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().
Definition at line 118 of file bleedingsource.c.
References PlayerConstants::BLEEDING_SOURCE_BLOODLOSS_PER_SEC, PlayerConstants::BLEEDING_SOURCE_BURN_MODIFIER, GetBit(), m_ActiveTime, m_DeleteRequested, m_FlowModifier, m_MaxTime, and m_Type.
| void RemoveDebugShape | ( | ) |
Definition at line 191 of file bleedingsource.c.
References m_DebugShape, m_DebugShape1, and Debug::RemoveShape().
Referenced by ~BleedingSource(), and DrawDebugShape().
| void RemoveParticle | ( | ) |
Definition at line 113 of file bleedingsource.c.
References SEffectManager::DestroyEffect(), and m_BleedingEffect.
Referenced by ~BleedingSource().
| void SetActiveTime | ( | int | time | ) |
Definition at line 77 of file bleedingsource.c.
References m_ActiveTime.
| void SetType | ( | eBleedingSourceType | type | ) |
Definition at line 62 of file bleedingsource.c.
References m_Type.
| void StartSourceBleedingIndication | ( | ) |
Definition at line 149 of file bleedingsource.c.
References GameplayEffectWidgets_base::AddActiveEffects(), g_Game, m_Bit, DbgBleedingIndicationStaticInfo::m_DbgEnableBleedingIndication, and GameplayEffectWidgets_base::UpdateWidgets().
Referenced by BleedingSource().
| void StopSourceBleedingIndication | ( | bool | instant = false | ) |
Definition at line 167 of file bleedingsource.c.
Referenced by ~BleedingSource().
| float m_ActiveTime |
Definition at line 21 of file bleedingsource.c.
Referenced by GetActiveTime(), OnUpdateServer(), and SetActiveTime().
| int m_Bit |
Definition at line 12 of file bleedingsource.c.
Referenced by BleedingSource(), GetBit(), StartSourceBleedingIndication(), and StopSourceBleedingIndication().
| ref EffectParticle m_BleedingEffect |
Definition at line 14 of file bleedingsource.c.
Referenced by CreateParticle(), DrawDebugShape(), and RemoveParticle().
| Particle m_BloodParticle |
Definition at line 10 of file bleedingsource.c.
Referenced by ~BleedingSource(), CreateParticle(), and DrawDebugShape().
| string m_Bone |
Definition at line 13 of file bleedingsource.c.
Referenced by BleedingSource(), and CreateParticle().
| Shape m_DebugShape |
Definition at line 16 of file bleedingsource.c.
Referenced by DrawDebugShape(), and RemoveDebugShape().
| Shape m_DebugShape1 |
Definition at line 17 of file bleedingsource.c.
Referenced by DrawDebugShape(), and RemoveDebugShape().
| ref Timer m_DebugTick |
Definition at line 18 of file bleedingsource.c.
| bool m_DeleteRequested |
Definition at line 24 of file bleedingsource.c.
Referenced by OnUpdateServer().
| float m_FlowModifier |
Definition at line 20 of file bleedingsource.c.
Referenced by BleedingSource(), and OnUpdateServer().
| float m_MaxTime |
Definition at line 22 of file bleedingsource.c.
Referenced by BleedingSource(), and OnUpdateServer().
| vector m_Offset |
Definition at line 19 of file bleedingsource.c.
| vector m_Orientation |
Definition at line 15 of file bleedingsource.c.
Referenced by BleedingSource(), CreateParticle(), and CTObjectFollower::CTActor().
| string m_ParticleName |
Definition at line 23 of file bleedingsource.c.
Referenced by BleedingSource(), and CreateParticle().
Definition at line 11 of file bleedingsource.c.
| enum eBleedingSourceType m_Position |
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().