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

Enumerations

enum  EFireworksState {
  DEFAULT , PLACED , IGNITED , FIRING ,
  FINISHED
}
 

Functions

void FireworksBase ()
 
override void EEOnCECreate ()
 
protected void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override protected void SetActions ()
 
override bool HasFlammableMaterial ()
 
protected float GetMaxAllowedWetness ()
 
protected EFireworksState GetState ()
 returns one of STATE_...
 
protected void SetState (EFireworksState state)
 
protected void OnStateChangedServer (EFireworksState currentState)
 
protected void OnStateChangedClient (EFireworksState currentState)
 
override protected void OnInventoryEnter (Man player)
 
override protected void OnInventoryExit (Man player)
 
protected void StandUp ()
 
override void OnIgnitedThis (EntityAI fire_source)
 Executed on Server when some item ignited this one.
 
override protected bool CanBeIgnitedBy (EntityAI igniter=NULL)
 
protected void OnEventServer (int type)
 Called periodically after the entity gets ignited.
 
protected float GetEventDelay ()
 
override protected void OnVariablesSynchronized ()
 

Variables

enum EFireworksState m_State
 
protected EFireworksState m_StatePrev
 
protected ref Timer m_TimerEvent
 
protected int m_RandomSeed
 

Enumeration Type Documentation

◆ EFireworksState

Enumerator
DEFAULT 
PLACED 
IGNITED 
FIRING 
FINISHED 

Function Documentation

◆ CanBeIgnitedBy()

override protected bool CanBeIgnitedBy ( EntityAI  igniter = NULL)

◆ EEOnCECreate()

override void EEOnCECreate ( )

References StandUp().

◆ FireworksBase()

void FireworksBase ( )

References Init().

Referenced by ActionConditionContinue().

◆ GetEventDelay()

protected float GetEventDelay ( )

◆ GetMaxAllowedWetness()

protected float GetMaxAllowedWetness ( )

Referenced by CanBeIgnitedBy().

◆ GetState()

protected EFireworksState GetState ( )

returns one of STATE_...

returns the state of climb (enum value of ClimbStates);

References Inventory_Base::m_State.

◆ HasFlammableMaterial()

override bool HasFlammableMaterial ( )

◆ Init()

protected void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

pre-init arrays

References AddModifier(), AnalyticsRegisterStat(), CALL_CATEGORY_GUI, CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), Class::CastTo(), WorkspaceWidget::CreateWidgets(), DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, DrawConnectingLines(), UIScriptedMenu::DrawConnectingLines(), FISH_AGILITY, CGame::GetCallQueue(), JsonMissionLoaderData::GetData(), GetGame(), CfgGameplayHandler::GetHoldBreathStaminaModifier(), GetName(), GetPlayer(), InputUtils::GetRichtextButtonIconFromInputAction(), CGame::GetUpdateQueue(), CGame::GetWorkspace(), hndDebugPrint(), InputUtils::ICON_SCALE_TOOLBAR, INDEX_NOT_FOUND, INIT_LINE_STRETCH, InitPPEManagerClassMap(), InitSpecificsExplosionEffectForSurface(), InjectDamageSystemValues(), ScriptInvoker::Insert(), IsCameraNV(), LogManager::IsInventoryHFSMLogEnable(), ItemOptics::IsNVOptic(), ItemOptics::IsWorking(), LateInit(), m_AnalyticsStatsEnabled, m_AvailableSoundsets, m_Back, m_BaseValue, m_btnLeave, m_BurnTimePerFullFuelDose, FlammableBase::m_BurnTimePerFullFuelDoseEx, m_BurnTimePerFullLard, FlammableBase::m_BurnTimePerFullLardEx, m_BurnTimePerRag, FlammableBase::m_BurnTimePerRagEx, m_ChanceRange, m_context_menu, m_Cooldown, m_CrossHairs, m_Cycler, m_CyclerCatching, m_DrainValvePressureDeanimationSettings, m_DrainValvePressureStageSettings, m_DrainValveWaterStageSettings, m_Duration, m_ExistingPostprocessRequests, m_Exponent, m_FillValvePressureDeanimationSettings, m_FillValvePressureStageSettings, m_FillValveWaterStageSettings, m_FishingTime, m_FishProximity, m_FSwapping, m_FSwappingInst, m_HintPanel, m_ID, m_Inventory, m_IsFishPulling, m_LastActiveValve, m_ManagerInitialized, m_MaxConsumableFuelQuantity, FlammableBase::m_MaxConsumableFuelQuantityEx, m_MaxConsumableLardQuantity, FlammableBase::m_MaxConsumableLardQuantityEx, m_MissionData, m_MovingTo, m_Multiplier, m_Name, m_Notifiers, m_opticsUsed, m_PipeBrokenParticles, m_PipeSounds, m_Player, m_PlayingSounds, m_Pos, m_PPEMaterialUpdateQueueMap, m_pPlayer, m_PressureAnimationRequests, m_PressureDeanimationRequests, m_PressureTimesAccumulated, m_Pull, m_Root, m_SoundParamsMap, m_StartTimeAdjustment, m_Swapping, m_SyncID, m_tab_images, m_TabScript, m_Taking, m_TickIntervalActive, m_TickIntervalInactive, m_TrackActivatedTime, m_txtNote, m_txtPosition, m_TypeToSurfaceParticleIDMap, m_UpdatedMaterials, m_UpdatingRequests, m_ValveManipulatedIndex, m_ValveManipulatedIndexPrev, m_ValveNames, m_ValveParticles, m_ValveStates, m_WaterLevelActual, m_WaterLevelPrev, m_WaterLevelsAvailable, m_WaterLevelSnapshot, m_WaterLevelTimesAccumulated, m_WgtBtnMsnClose, m_WgtBtnMsnPlay, m_WgtLstMsnList, MAX_FISHING_TIME, MIN_FISHING_TIME, JsonMissionLoaderData::MissionPaths, path, PIPES_BROKEN_COUNT, Math::RandomInt(), SetCameraNV(), SetCameraNVType(), GameConstants::STAMINA_DRAIN_HOLD_BREATH_DURATION, GameConstants::STAMINA_DRAIN_HOLD_BREATH_EXPONENT, GameConstants::STAMINA_DRAIN_HOLD_BREATH_START, GameConstants::STAMINA_REGEN_COOLDOWN_DEPLETION, Update(), UpdateConstructionParts(), UpdatePlayerStatsValues(), VALVES_COUNT, WL_AVERAGE, WL_MAX, and WL_MIN.

Referenced by CatchingContextBase(), ClockBase(), DayZPlayerCameraBase(), DayZPlayerCameraBase::DayZPlayerCameraIronsights(), DayZPlayerImplementMeleeCombat(), DayZPlayerMeleeFightLogic_LightHeavy(), ExplosivesBase(), FireworksBase(), Land_Underground_WaterReservoir(), Link< Class T >::Link(), LiquidInfo::LiquidInfo(), LoginQueueBase::LoginQueueStatic(), LoginTimeBase::LoginTimeStatic(), ModifiersManager(), NotifiersManager(), ManBase::PlayerBase(), PlayerStats(), PPEClassBase::PPEClassBase(), RemotePlayerStatDebug(), UniversalTemperatureSourceDebug::UniversalTemperatureSource(), and DayZInfected::ZombieBase().

◆ OnEventServer()

protected void OnEventServer ( int  type)

Called periodically after the entity gets ignited.

◆ OnIgnitedThis()

override void OnIgnitedThis ( EntityAI  fire_source)

Executed on Server when some item ignited this one.

References Inventory_Base::SetState().

◆ OnInventoryEnter()

override protected void OnInventoryEnter ( Man  player)

◆ OnInventoryExit()

override protected void OnInventoryExit ( Man  player)

References IsBeingPlaced(), and StandUp().

◆ OnStateChangedClient()

protected void OnStateChangedClient ( EFireworksState  currentState)

Referenced by OnVariablesSynchronized().

◆ OnStateChangedServer()

protected void OnStateChangedServer ( EFireworksState  currentState)

Referenced by SetState().

◆ OnVariablesSynchronized()

override protected void OnVariablesSynchronized ( )

◆ SetActions()

override protected void SetActions ( )

◆ SetState()

protected void SetState ( EFireworksState  state)

◆ StandUp()

protected void StandUp ( )

References vector::Zero.

Referenced by EEOnCECreate(), and OnInventoryExit().

Variable Documentation

◆ m_RandomSeed

◆ m_State

enum EFireworksState m_State

◆ m_StatePrev

protected EFireworksState m_StatePrev

◆ m_TimerEvent