class FlammableBaseSource
FlammableBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
View all 6 descendants
All members, including inherited
Constructors 1
void FlammableBase()References Init()
Constants 5
const int TIMER_HEATING_UPDATE_INTERVAL = 1update interval duration of heating process (seconds)
Referenced by EEInit()
const float PARAM_MAX_TRANSFERED_TEMPERATURE = 5maximum value for temperature that will be transfered to player (environment)
Referenced by EEInit()
Members 20
private SoundOnVehicle m_LoopSoundEntityParticle m_FireParticleReferenced by BroomBase.UpdateParticle(), OnWorkStop(), StopAllParticles()
Show 2 more
, UpdateLight(), and UpdateParticle()bool m_CanReceiveUpgradeSynchronized variable
bool m_IsBeingDestructed = falsefloat m_BurnTimePerRagExReferenced by CraftingInit(), Init(), OnAttachmentQuantityChangedEx()
Show 4 more
, OnWork(), UpdateCheckForReceivingUpgrade(), Upgrade(), and Torch.Init()float m_BurnTimePerFullLardExfloat m_BurnTimePerFullFuelDoseExReferenced by ConsumeFuelFromBottle(), ConsumeFuelFromGasStation(), Init()
Show 1 more
, Torch.Init()float m_MaxConsumableLardQuantityExfloat m_MaxConsumableFuelQuantityExint m_StartFadeOutOfLightAtQuantityEx = 3Referenced by UpdateLight()
int m_RagsUpgradedCounthow many rags were upgraded with fuel/lard
Referenced by DeferredInit(), GetDebugText(), LockRags()
Show 5 more
, OnWork(), UpdateCheckForReceivingUpgrade(), Upgrade(), Torch.OnStoreLoad(), and Torch.OnStoreSave()bool m_ConsumeRagFlipFlopare we burning rag or fuel/lard
Referenced by GetDebugText(), OnWork(), Upgrade()
Show 2 more
, Torch.OnStoreLoad(), and Torch.OnStoreSave()vector m_ParticleLocalPos = Vector(0, 0.50, 0)Referenced by BroomBase.Init(), BroomBase.UpdateParticle(), UpdateLight()
Show 2 more
, UpdateParticle(), and LongTorch.LongTorch()string m_DecraftResult = "WoodenStick"Referenced by BroomBase.Init(), SetTorchDecraftResult(), TryTransformIntoStick()
Show 1 more
, LongTorch.LongTorch()TorchLight m_Lightbool m_WasLitwas this item ever lit ? (used for correct material setting after reconnect for extinguished flammable items)
protected ref UniversalTemperatureSource m_UTSourceprotected ref UniversalTemperatureSourceSettings m_UTSSettingsReferenced by EEInit()
protected ref UniversalTemperatureSourceLambdaConstant m_UTSLConstantReferenced by EEInit()
Methods 63
override void DeferredInit()void Init()override void EEInit()References EntityAI.EEInit(), CGame.IsMultiplayer(), CGame.IsServer()
Show 19 more
, new UniversalTemperatureSource(), new UniversalTemperatureSourceLambdaConstant(), new UniversalTemperatureSourceSettings(), GameConstants.ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE, UniversalTemperatureSourceSettings.m_ItemDryModifier, UniversalTemperatureSourceSettings.m_RangeFull, UniversalTemperatureSourceSettings.m_RangeMax, UniversalTemperatureSourceSettings.m_TemperatureCap, UniversalTemperatureSourceSettings.m_TemperatureItemCap, UniversalTemperatureSourceSettings.m_Updateable, UniversalTemperatureSourceSettings.m_UpdateInterval, m_UTSLConstant, m_UTSource, m_UTSSettings, PARAM_DRY_MODIFIER, PARAM_FULL_HEAT_RADIUS, PARAM_HEAT_RADIUS, PARAM_MAX_TRANSFERED_TEMPERATURE, and TIMER_HEATING_UPDATE_INTERVALoverride vector GetUniversalTemperatureSourcePosition()override void EEDelete(EntityAI parent)References ItemBase.EEDelete(), CGame.ObjectDelete(), StopAllParticles()
Show 1 more
, m_LoopSoundEntityReferences ItemBase.CanReceiveAttachment(), Class.Cast(), GameInventory.FindAttachment()
Show 2 more
, EntityAI.GetInventory(), and ItemBase.IsFullQuantity()References CanBeTakenAsCargo()
bool CanBeTakenAsCargo()override bool IsIgnited()Referenced by BroomBase.CanTransformIntoStick(), ExtinguishTorch.CanDo(), CanTransformIntoStick()
Show 1 more
, GetDebugText()override bool HasFlammableMaterial()void UpdateCheckForReceivingUpgrade()Referenced by ConsumeFuelFromBottle(), ConsumeFuelFromGasStation(), ConsumeLard()
Show 7 more
, EEItemAttached(), EEItemDetached(), OnAttachmentQuantityChangedEx(), OnWork(), OnWorkStop(), Upgrade(), and Torch.OnStoreLoad()override void OnIgnitedThis(EntityAI fire_source)References ConsumeRag(), EntityAI.GetCompEM(), ComponentEnergyManager.HasEnoughStoredEnergy()
Show 1 more
, ComponentEnergyManager.SwitchOn()override void OnSwitchOn()override void OnSwitchOff()References CGame.IsMultiplayer(), CGame.IsServer(), UniversalTemperatureSource.SetActive()
Show 1 more
, m_UTSourcevoid SetTorchDecraftResult(string type)References m_DecraftResult
bool ConsumeRag()References ItemBase.AddQuantity(), ItemBase.GetQuantity(), GetRag()
Show 2 more
, LockRags(), and Object.SetHealth()void ConsumeLard(Lard lard)void Upgrade(ItemBase source)void ConsumeFuelFromBottle(ItemBase vessel)void ConsumeFuelFromGasStation()override void OnInventoryExit(Man player)bool StandUp()References Object.GetPosition(), Object.IsRuined(), CGame.IsSurfaceDigable()
Show 3 more
, Math.RandomFloat(), Object.SetOrientation(), and CGame.SurfaceGetType()void CalculateQuantity()References EntityAI.GetCompEM(), ComponentEnergyManager.GetEnergy0To1(), CGame.IsMultiplayer()
Show 2 more
, CGame.IsServer(), and ItemBase.SetQuantityNormalized()Referenced by ConsumeFuelFromBottle(), ConsumeFuelFromGasStation(), ConsumeLard()
Show 7 more
, EEItemAttached(), EEItemDetached(), OnAttachmentQuantityChangedEx(), OnDebugSpawn(), OnWork(), OnWorkStop(), and Upgrade()bool CanReceiveUpgrade()References m_CanReceiveUpgrade
void CraftingInit(float quantity)References EntityAI.GetCompEM(), ComponentEnergyManager.SetEnergy(), EntityAI.SetSynchDirty()
Show 2 more
, m_BurnTimePerRagEx, and m_CanReceiveUpgradebool CanTransformIntoStick()References GetRag(), IsIgnited(), CGame.IsMultiplayer()
Show 2 more
, CGame.IsServer(), and EntityAI.IsSetForDeletion()Referenced by TryTransformIntoStick()
void TryTransformIntoStick()References ApplyResultModifications(), CanTransformIntoStick(), Class.Cast()
Show 19 more
, Class.Cast(), CGame.CreateObjectEx(), EntityAI.GetHierarchyRootPlayer(), Object.GetOrientation(), Object.GetPosition(), Object.GetPosition(), Object.GetType(), Object.GetType(), PlayerBase.IsPlayerDisconnected(), CGame.ObjectDelete(), Object.PlaceOnSurface(), Man.ServerReplaceItemInHandsWithNew(), Object.SetOrientation(), Object.SetPosition(), StopAllParticles(), new TorchLambda(), Vector(), m_DecraftResult, and m_IsBeingDestructedReferenced by OnWorkStop()
override void OnWorkStart()void StopAllParticles()Rag GetRag()Referenced by ActionRefuelTorch.ActionCondition(), ActionRefuelTorch.OnExecuteServer(), CanBeIgnitedBy()
Show 8 more
, CanTransformIntoStick(), ConsumeRag(), GetRagQuantity(), LockRags(), OnWork(), OnWorkStop(), RuinRags(), and Upgrade()void LockRags(bool do_lock)References GetRag(), ItemBase.LockToParent(), ItemBase.UnlockFromParent()
Show 1 more
, m_RagsUpgradedCountReferenced by ConsumeRag(), DeferredInit(), OnWorkStart()
Show 4 more
, OnWorkStop(), Upgrade(), Torch.OnWasAttached(), and Torch.OnWasDetached()void UpdateLight()References ScriptedLightBase.AttachOnObject(), Class.Cast(), ScriptedLightBase.CreateLight()
Show 14 more
, ScriptedLightBase.FadeBrightnessTo(), ScriptedLightBase.FadeRadiusTo(), ScriptedLightBase.GetAttachmentParent(), EntityAI.GetCompEM(), Particle.GetDirectParticleEffect(), ItemBase.GetQuantity(), ComponentEnergyManager.GetUpdateInterval(), Vector(), m_FireParticle, m_Light, m_ParticleLocalPos, m_StartFadeOutOfLightAtQuantityEx, TorchLight.m_TorchBrightness, and TorchLight.m_TorchRadiusReferenced by OnWork()
override void OnItemInHandsPlayerSwimStart(PlayerBase player)override void OnWork(float consumed_energy)References ItemBase.AddWet(), ItemBase.AddWet(), CalculateQuantity()
Show 22 more
, ConsumeRag(), EntityAI.GetCompEM(), ComponentEnergyManager.GetEnergy(), GetRag(), GetRagQuantity(), GetSoundName(), ComponentEnergyManager.GetUpdateInterval(), CGame.IsDedicatedServer(), CGame.IsMultiplayer(), CGame.IsServer(), Object.PlaySoundLoop(), RuinRags(), ItemBase.SetQuantity(), UpdateCheckForReceivingUpgrade(), UpdateLight(), UpdateMaterial(), UpdateParticle(), m_BurnTimePerRagEx, m_ConsumeRagFlipFlop, m_LoopSoundEntity, m_RagsUpgradedCount, and m_WaterEvaporationByFireIntensityExReferenced by Torch_Video.OnWork()
void UpdateParticle()Referenced by OnWork()
override void OnWorkStop()References CalculateQuantity(), ScriptedLightBase.FadeOut(), EntityAI.GetCompEM()
Show 16 more
, ComponentEnergyManager.GetEnergy(), GetRag(), GetRagQuantity(), CGame.IsDedicatedServer(), CGame.IsMultiplayer(), CGame.IsServer(), LockRags(), CGame.ObjectDelete(), ItemBase.SetQuantity(), Particle.Stop(), TryTransformIntoStick(), UpdateCheckForReceivingUpgrade(), UpdateMaterial(), m_FireParticle, m_Light, and m_LoopSoundEntityReferenced by Torch_Video.OnWorkStop()
override int GetMeleeMode()override int GetMeleeHeavyMode()override int GetMeleeSprintMode()override void SetActions()override bool DisassembleOnLastDetach()override void OnDebugSpawn()References CalculateQuantity(), CraftingInit(), GameInventory.CreateAttachment()
Show 2 more
, EntityAI.GetInventory(), and GetRagQuantity()int GetRagQuantity()Referenced by ActionRefuelTorch.ActionCondition(), ActionRefuelTorch.OnExecuteServer(), OnDebugSpawn()
Show 4 more
, OnWork(), OnWorkStop(), UpdateCheckForReceivingUpgrade(), and Upgrade()string GetBurningMaterial()Referenced by UpdateMaterial()
string GetBurntMaterial()Referenced by UpdateMaterial()
void UpdateMaterial()override void OnStoreSave(ParamsWriteContext ctx)Referenced by Torch.OnStoreSave()
override bool OnStoreLoad(ParamsReadContext ctx, int version)Referenced by Torch.OnStoreLoad()
void ApplyResultModifications(ItemBase result)References ItemBase.SetQuantity()
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)DEVELOPERReferences ItemBase.GetDebugActions(), array.Insert(), new TSelectableActionInfoWithColor()
Show 2 more
, FadeColors.LIGHT_GREY, and FadeColors.REDReferenced by BroomBase.GetDebugActions()
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)DEVELOPERReferences CGame.IsMultiplayer(), CGame.IsServer(), ItemBase.OnAction()
Show 1 more
, OnIgnitedThis()Referenced by BroomBase.OnAction()
References ItemBase.GetDebugText(), CGame.IsDedicatedServer(), IsIgnited()