Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
itembase.c File Reference

Go to the source code of this file.

Data Structures

class  ItemBase
 
class  InventoryItem
 

Typedefs

typedef ItemBase Inventory_Base
 

Functions

class ItemBase extends InventoryItem SpawnItemOnLocation (string object_name, notnull InventoryLocation loc, bool full_quantity)
 
void TransferModifiers (PlayerBase reciever)
 appears to be deprecated, legacy code More...
 
void ItemBase ()
 
void InitItemVariables ()
 
protected bool UsesGlobalDeploy ()
 
override int GetQuickBarBonus ()
 
void InitializeActions ()
 
override void GetActions (typename action_input_type, out array< ActionBase_Basic > actions)
 
void SetActions ()
 
void AddAction (typename actionName)
 
void RemoveAction (typename actionName)
 
void OnItemInHandsPlayerSwimStart (PlayerBase player)
 
ScriptedLightBase GetLight ()
 
void LoadParticleConfigOnFire (int id)
 
void LoadParticleConfigOnOverheating (int id)
 
float GetOverheatingValue ()
 
void IncreaseOverheating (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search)
 
void CheckOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
 
bool IsOverheatingEffectActive ()
 
void OnOverheatingDecay ()
 
void StartOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
 
void UpdateOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
 
void StopOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="")
 
void RegisterOverheatingParticle (Particle p, float min_heat_coef, float max_heat_coef, int particle_id, Object parent, vector local_pos, vector local_ori)
 
float GetOverheatingCoef ()
 
void UpdateAllOverheatingParticles ()
 
void KillAllOverheatingParticles ()
 
float GetInfectionChance (int system=0, Param param=null)
 Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well. More...
 
float GetDisinfectQuantity (int system=0, Param param1=null)
 
float GetFilterDamageRatio ()
 
bool HasMuzzle ()
 Returns true if this item has a muzzle (weapons, suppressors) More...
 
int GetMuzzleID ()
 Returns global muzzle ID. If not found, then it gets automatically registered. More...
 
int GetDamageSystemVersionChange ()
 Re-sets DamageSystem changes. More...
 
void ~ItemBase ()
 
void SetCEBasedQuantity ()
 
void LockToParent ()
 Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item. More...
 
void UnlockFromParent ()
 Unlocks this item from its attachment slot of its parent. More...
 
override void CombineItemsClient (EntityAI entity2, bool use_stack_max=true)
 
bool IsLiquidPresent ()
 
bool IsLiquidContainer ()
 
bool IsBloodContainer ()
 
bool IsNVG ()
 
bool IsExplosive ()
 
string GetExplosiveTriggerSlotName ()
 
bool IsLightSource ()
 
bool CanBeRepairedByCrafting ()
 
bool IsFacingPlayer (PlayerBase player, string selection)
 
bool IsPlayerInside (PlayerBase player, string selection)
 
override bool CanObstruct ()
 
override bool IsBeingPlaced ()
 
void SetIsBeingPlaced (bool is_being_placed)
 
void OnEndPlacement ()
 
override bool IsHologram ()
 
bool CanBeDigged ()
 
bool CanMakeGardenplot ()
 
void SetIsHologram (bool is_hologram)
 
override void OnMovedInsideCargo (EntityAI container)
 
override void EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override void EOnContact (IEntity other, Contact extra)
 
void RefreshPhysics ()
 
override void OnCreatePhysics ()
 
override void OnItemAttachmentSlotChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)
 
override void OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner)
 
override void EEDelete (EntityAI parent)
 
override void EEKilled (Object killer)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override string ChangeIntoOnAttach (string slot)
 
override string ChangeIntoOnDetach ()
 
void ExplodeAmmo ()
 
void DoAmmoExplosion ()
 
override void EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)
 
bool DamageItemInCargo (float damage)
 
bool DamageItemAttachments (float damage)
 
override bool CanBeSplit ()
 
void SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id)
 
void SplitIntoStackMax (EntityAI destination_entity, int slot_id, PlayerBase player)
 
void SplitIntoStackMaxToInventoryLocationClient (notnull InventoryLocation dst)
 
void SplitIntoStackMaxCargoClient (EntityAI destination_entity, int idx, int row, int col)
 
void SplitIntoStackMaxToInventoryLocation (notnull InventoryLocation dst)
 
ItemBase SplitIntoStackMaxToInventoryLocationEx (notnull InventoryLocation dst)
 
void SplitIntoStackMaxCargo (EntityAI destination_entity, int idx, int row, int col)
 
void SplitIntoStackMaxHandsClient (PlayerBase player)
 
void SplitIntoStackMaxHands (PlayerBase player)
 
void SplitItemToInventoryLocation (notnull InventoryLocation dst)
 
void SplitItem (PlayerBase player)
 
void OnQuantityChanged (float delta)
 Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event. More...
 
void OnAttachmentQuantityChanged (ItemBase item)
 Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. More...
 
void OnAttachmentQuantityChangedEx (ItemBase item, float delta)
 Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. More...
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 
override void OnRightClick ()
 
override bool CanBeCombined (EntityAI other_item, bool reservation_check=true, bool stack_max_limit=false)
 
bool IsCombineAll (ItemBase other_item, bool use_stack_max=false)
 
bool IsResultOfSplit ()
 
void SetResultOfSplit (bool value)
 
int ComputeQuantityUsed (ItemBase other_item, bool use_stack_max=true)
 
float ComputeQuantityUsedEx (ItemBase other_item, bool use_stack_max=true)
 
void CombineItems (ItemBase other_item, bool use_stack_max=true)
 
void OnCombine (ItemBase other_item)
 
void GetRecipesActions (Man player, out TSelectableActionInfoArray outputList)
 
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
 
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
 
void OnActivatedByTripWire ()
 
void OnActivatedByItem (notnull ItemBase item)
 Called when this item is activated by other. More...
 
bool CanExplodeInFire ()
 
bool CanEat ()
 
override bool IsIgnoredByConstruction ()
 
bool HasFoodStage ()
 
bool CanBeCooked ()
 
bool CanBeCookedOnStick ()
 
bool CanRepair (ItemBase item_repair_kit)
 
bool Repair (PlayerBase player, ItemBase item_repair_kit, float specialty_weight)
 
int GetItemSize ()
 
bool CanBeMovedOverride ()
 
void SetCanBeMovedOverride (bool setting)
 
void MessageToOwnerStatus (string text)
 Send message to owner player in grey color. More...
 
void MessageToOwnerAction (string text)
 Send message to owner player in yellow color. More...
 
void MessageToOwnerFriendly (string text)
 Send message to owner player in green color. More...
 
void MessageToOwnerImportant (string text)
 Send message to owner player in red color. More...
 
override bool IsItemBase ()
 
override bool KindOf (string tag)
 
override void OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
 
void TransferVariablesFloat (array< float > float_vars)
 
array< floatGetVariablesFloat ()
 
int NameToID (string name)
 
string IDToName (int id)
 
void OnSyncVariables (ParamsReadContext ctx)
 
void SerializeNumericalVars (array< float > floats_out)
 
void DeSerializeNumericalVars (array< float > floats)
 
void WriteVarsToCTX (ParamsWriteContext ctx)
 
bool ReadVarsFromCTX (ParamsReadContext ctx, int version=-1)
 
void SaveVariables (ParamsWriteContext ctx)
 
bool LoadVariables (ParamsReadContext ctx, int version=-1)
 
override bool OnStoreLoad (ParamsReadContext ctx, int version)
 
override void OnStoreSave (ParamsWriteContext ctx)
 
override void AfterStoreLoad ()
 
override void EEOnAfterLoad ()
 
bool CanBeDisinfected ()
 
override void OnVariablesSynchronized ()
 
bool SetQuantity (float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
 Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted. More...
 
bool AddQuantity (float value, bool destroy_config=true, bool destroy_forced=false)
 add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted More...
 
void SetQuantityMax ()
 
override void SetQuantityToMinimum ()
 
void SetQuantityNormalized (float value, bool destroy_config=true, bool destroy_forced=false)
 Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500) More...
 
float GetQuantityNormalized ()
 Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5) More...
 
override int GetQuantityMax ()
 
override int GetTargetQuantityMax (int attSlotID=-1)
 
int GetQuantityMin ()
 
int GetQuantityInit ()
 
bool HasQuantity ()
 
override float GetQuantity ()
 
bool IsFullQuantity ()
 
override float GetSingleInventoryItemWeightEx ()
 
float GetSingleInventoryItemWeight ()
 
override protected float GetWeightSpecialized (bool forceRecalc=false)
 
int GetNumberOfItems ()
 Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive. More...
 
float GetUnitWeight (bool include_wetness=true)
 Obsolete, use GetWeightEx instead. More...
 
void SetVariableMask (int variable)
 
void RemoveItemVariable (int variable)
 Removes variable from variable mask, making it appear as though the variable has never been changed from default. More...
 
bool IsVariableSet (int variable)
 'true' if this variable has ever been changed from default More...
 
override void ClearInventory ()
 
float GetEnergy ()
 
override void OnEnergyConsumed ()
 
override void OnEnergyAdded ()
 
void ConvertEnergyToQuantity ()
 
override void SetTemperature (float value, bool allow_client=false)
 
override void AddTemperature (float value)
 
override void SetTemperatureMax ()
 
override float GetTemperature ()
 
override float GetTemperatureInit ()
 
override float GetTemperatureMin ()
 
override float GetTemperatureMax ()
 
float GetHeatIsolationInit ()
 
float GetHeatIsolation ()
 
float GetDryingIncrement (string pIncrementName)
 
float GetSoakingIncrement (string pIncrementName)
 
override void SetWet (float value, bool allow_client=false)
 
override void AddWet (float value)
 
override void SetWetMax ()
 
override float GetWet ()
 
override float GetWetMax ()
 
override float GetWetMin ()
 
override float GetWetInit ()
 
override void OnWetChanged (float newVal, float oldVal)
 
override void OnWetLevelChanged (EWetnessLevel newLevel, EWetnessLevel oldLevel)
 
override EWetnessLevel GetWetLevel ()
 
bool IsServerCheck (bool allow_client)
 
float GetItemModelLength ()
 
float GetItemAttachOffset ()
 
void SetCleanness (int value, bool allow_client=false)
 
bool AllowFoodConsumption ()
 
int GetLockType ()
 
string GetLockSoundSet ()
 
void SetColor (int r, int g, int b, int a)
 
void GetColor (out int r, out int g, out int b, out int a)
 gets item's color variable as components More...
 
bool IsColorSet ()
 
string GetColorString ()
 Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)". More...
 
void SetLiquidType (int value, bool allow_client=false)
 
int GetLiquidTypeInit ()
 
int GetLiquidType ()
 
void OnInventoryEnter (Man player)
 Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter. More...
 
void OnInventoryExit (Man player)
 Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter. More...
 
override void OnPlacementStarted (Man player)
 
override void OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0")
 
bool ContainsAgent (int agent_id)
 
override void RemoveAgent (int agent_id)
 
override void RemoveAllAgents ()
 
override void RemoveAllAgentsExcept (int agents_to_keep_mask)
 
override void InsertAgent (int agent, float count=1)
 
void TransferAgents (int agents)
 transfer agents from another item More...
 
override int GetAgents ()
 
bool LoadAgents (ParamsReadContext ctx, int version)
 
void SaveAgents (ParamsWriteContext ctx)
 
float GetProtectionLevel (int type, bool consider_filter=false, int system=0)
 
override void EEOnCECreate ()
 Called when entity is being created as new by CE/ Debug. More...
 
void Open ()
 Implementations only. More...
 
void Close ()
 
bool IsOpen ()
 
override bool CanDisplayCargo ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanPutAsAttachment (EntityAI parent)
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
override bool IsHeavyBehaviour ()
 
override bool IsOneHandedBehaviour ()
 
override bool IsTwoHandedBehaviour ()
 
bool IsDeployable ()
 
float GetDeployTime ()
 how long it takes to deploy this item in seconds More...
 
override void SetTakeable (bool pState)
 
override bool IsTakeable ()
 
protected void PreLoadSoundAttachmentType ()
 Attachment Sound Type getting from config file. More...
 
override string GetAttachmentSoundType ()
 
void SoundSynchRemoteReset ()
 
void SoundSynchRemote ()
 
bool IsSoundSynchRemote ()
 
string GetDeploySoundset ()
 
string GetPlaceSoundset ()
 
string GetLoopDeploySoundset ()
 
string GetDeployFinishSoundset ()
 
void SetIsPlaceSound (bool is_place_sound)
 
bool IsPlaceSound ()
 
void SetIsDeploySound (bool is_deploy_sound)
 
bool IsDeploySound ()
 
void PlayDeployLoopSoundEx ()
 
void StopDeployLoopSoundEx ()
 
void PlayDeploySound ()
 
void PlayDeployFinishSound ()
 
void PlayPlaceSound ()
 
bool CanPlayDeployLoopSound ()
 
void PlayAttachSound (string slot_type)
 Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use. More...
 
void PlayDetachSound (string slot_type)
 
void OnApply (PlayerBase player)
 
float GetBandagingEffectivity ()
 
array< stringGetHeadHidingSelection ()
 
bool HidesSelectionBySlot ()
 
WrittenNoteData GetWrittenNoteData ()
 
void StopItemDynamicPhysics ()
 
void PerformDamageSystemReinit ()
 
void SetZoneDamageCEInit ()
 Sets zone damages to match randomized global health set by CE (CE spawn only) More...
 
bool IsCoverFaceForShave (string slot_name)
 DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere. More...
 
void ProcessItemWetness (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
 
void ProcessItemTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
 
void ProcessItemWetnessAndTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB)
 
void HierarchyCheck (out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB)
 
protected void ProcessDecay (float delta, bool hasRootAsPlayer)
 
bool CanDecay ()
 
protected bool CanProcessDecay ()
 
protected bool CanHaveWetness ()
 
protected bool CanHaveTemperature ()
 
override void OnCEUpdate ()
 
bool IsCargoException4x3 (EntityAI item)
 
void CopyScriptPropertiesFrom (EntityAI oldItem)
 
void AddLightSourceItem (ItemBase lightsource)
 Adds a light source child. More...
 
void RemoveLightSourceItem ()
 
ItemBase GetLightSourceItem ()
 
array< intGetValidFinishers ()
 returns an array of possible finishers More...
 
bool GetActionWidgetOverride (out typename name)
 If we need a different (handheld)item action widget displayed, the logic goes in here. More...
 
bool PairWithDevice (notnull ItemBase otherDevice)
 
bool CanBeUsedForSuicide ()
 
void SetupSpawnedItem (ItemBase item, float health, float quantity)
 

Variables

TInputActionMap m_InputActionMap
 
bool m_ActionsInitialize
 
bool m_RecipesInitialized
 
int m_VariablesMask
 
float m_VarQuantity
 
float m_VarQuantityPrev
 
int m_VarQuantityInit
 
int m_VarQuantityMin
 
int m_VarQuantityMax
 
int m_Count
 
float m_VarStackMax
 
float m_StoreLoadedQuantity = float.LOWEST
 
float m_VarTemperature
 
float m_VarTemperatureInit
 
float m_VarTemperatureMin
 
float m_VarTemperatureMax
 
float m_VarWet
 
float m_VarWetPrev
 
float m_VarWetInit
 
float m_VarWetMin
 
float m_VarWetMax
 
int m_Cleanness
 
int m_CleannessInit
 
int m_CleannessMin
 
int m_CleannessMax
 
bool m_WantPlayImpactSound
 
bool m_CanPlayImpactSound = true
 
float m_ImpactSpeed
 
int m_ImpactSoundSurfaceHash
 
float m_HeatIsolation
 
float m_ItemModelLength
 
float m_ItemAttachOffset
 
int m_VarLiquidType
 
int m_ItemBehaviour = -1
 
int m_QuickBarBonus = 0
 
bool m_IsBeingPlaced
 
bool m_IsHologram
 
bool m_IsPlaceSound
 
bool m_IsDeploySound
 
bool m_IsTakeable
 
bool m_IsSoundSynchRemote
 
bool m_ThrowItemOnDrop
 
bool m_ItemBeingDroppedPhys
 
bool m_CanBeMovedOverride
 
bool m_FixDamageSystemInit = false
 
bool can_this_be_combined = false
 
bool m_CanThisBeSplit = false
 
bool m_IsStoreLoad = false
 
bool m_CanShowQuantity
 
bool m_HasQuantityBar
 
protected bool m_CanBeDigged
 
protected bool m_IsResultOfSplit protected EffectSound m_DeployLoopSoundEx
 distinguish if item has been created as new or it came from splitting (server only flag) More...
 
string m_SoundAttType
 
int m_ColorComponentR
 
int m_ColorComponentG
 
int m_ColorComponentB
 
int m_ColorComponentA
 
ItemBase m_LightSourceItem
 
ref TIntArray m_SingleUseActions
 
ref TIntArray m_ContinuousActions
 
ref TIntArray m_InteractActions
 
private int m_AttachedAgents
 
ref map< int, ref array< ref WeaponParticlesOnOverheating > > m_OnOverheatingEffect
 
bool m_IsOverheatingEffectActive
 
float m_OverheatingShots
 
ref Timer m_CheckOverheating
 
int m_ShotsToStartOverheating = 0
 
int m_MaxOverheatingValue = 0
 
float m_OverheatingDecayInterval = 1
 
ref array< ref OverheatingParticlem_OverheatingParticles
 
protected ref TStringArray m_HeadHidingSelections
 
protected bool m_HideSelectionsBySlot
 
PluginAdminLog m_AdminLog
 
ref Timer m_PhysDropTimer
 
ref array< intm_CompatibleLocks = new array<int>
 
protected int m_LockType
 
protected ref EffectSound m_LockingSound
 
protected string m_LockSoundSet = ""
 
protected EffectSound m_SoundPlace
 
protected EffectSound m_SoundDeploy
 
protected EffectSound m_SoundDeployFinish
 

Typedef Documentation

◆ Inventory_Base

Definition at line 1 of file itembase.c.

Function Documentation

◆ AddAction()

void SpawnItemOnLocation::AddAction ( typename actionName  )

Definition at line 311 of file itembase.c.

◆ AddLightSourceItem()

void SpawnItemOnLocation::AddLightSourceItem ( ItemBase  lightsource)

Adds a light source child.

Definition at line 4602 of file itembase.c.

◆ AddQuantity()

bool SpawnItemOnLocation::AddQuantity ( float  value,
bool  destroy_config = true,
bool  destroy_forced = false 
)

add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted

Definition at line 3221 of file itembase.c.

◆ AddTemperature()

override void SpawnItemOnLocation::AddTemperature ( float  value)

Definition at line 3515 of file itembase.c.

◆ AddWet()

override void SpawnItemOnLocation::AddWet ( float  value)

Definition at line 3592 of file itembase.c.

◆ AfterStoreLoad()

override void SpawnItemOnLocation::AfterStoreLoad ( )

Definition at line 3068 of file itembase.c.

◆ AllowFoodConsumption()

bool SpawnItemOnLocation::AllowFoodConsumption ( )

Definition at line 3692 of file itembase.c.

◆ CanBeCombined()

override bool SpawnItemOnLocation::CanBeCombined ( EntityAI  other_item,
bool  reservation_check = true,
bool  stack_max_limit = false 
)

Definition at line 1956 of file itembase.c.

◆ CanBeCooked()

bool SpawnItemOnLocation::CanBeCooked ( )

Definition at line 2365 of file itembase.c.

◆ CanBeCookedOnStick()

bool SpawnItemOnLocation::CanBeCookedOnStick ( )

Definition at line 2370 of file itembase.c.

◆ CanBeDigged()

bool SpawnItemOnLocation::CanBeDigged ( )

Definition at line 967 of file itembase.c.

◆ CanBeDisinfected()

bool SpawnItemOnLocation::CanBeDisinfected ( )

Definition at line 3097 of file itembase.c.

◆ CanBeMovedOverride()

bool SpawnItemOnLocation::CanBeMovedOverride ( )

Definition at line 2405 of file itembase.c.

◆ CanBeRepairedByCrafting()

bool SpawnItemOnLocation::CanBeRepairedByCrafting ( )

Definition at line 923 of file itembase.c.

◆ CanBeSplit()

override bool SpawnItemOnLocation::CanBeSplit ( )

Definition at line 1501 of file itembase.c.

◆ CanBeUsedForSuicide()

bool SpawnItemOnLocation::CanBeUsedForSuicide ( )

Definition at line 4661 of file itembase.c.

◆ CanDecay()

bool SpawnItemOnLocation::CanDecay ( )

Definition at line 4534 of file itembase.c.

◆ CanDisplayCargo()

override bool SpawnItemOnLocation::CanDisplayCargo ( )

Definition at line 3998 of file itembase.c.

◆ CanEat()

bool SpawnItemOnLocation::CanEat ( )

Definition at line 2346 of file itembase.c.

◆ CanExplodeInFire()

bool SpawnItemOnLocation::CanExplodeInFire ( )

Definition at line 2340 of file itembase.c.

◆ CanHaveTemperature()

protected bool SpawnItemOnLocation::CanHaveTemperature ( )

Definition at line 4553 of file itembase.c.

◆ CanHaveWetness()

protected bool SpawnItemOnLocation::CanHaveWetness ( )

Definition at line 4547 of file itembase.c.

◆ CanMakeGardenplot()

bool SpawnItemOnLocation::CanMakeGardenplot ( )

Definition at line 972 of file itembase.c.

◆ CanObstruct()

override bool SpawnItemOnLocation::CanObstruct ( )

Definition at line 940 of file itembase.c.

◆ CanPlayDeployLoopSound()

bool SpawnItemOnLocation::CanPlayDeployLoopSound ( )

Definition at line 4360 of file itembase.c.

◆ CanProcessDecay()

protected bool SpawnItemOnLocation::CanProcessDecay ( )

Definition at line 4540 of file itembase.c.

◆ CanPutAsAttachment()

override bool SpawnItemOnLocation::CanPutAsAttachment ( EntityAI  parent)

Definition at line 4021 of file itembase.c.

◆ CanPutInCargo()

override bool SpawnItemOnLocation::CanPutInCargo ( EntityAI  parent)

Definition at line 4007 of file itembase.c.

◆ CanReceiveAttachment()

override bool SpawnItemOnLocation::CanReceiveAttachment ( EntityAI  attachment,
int  slotId 
)

Definition at line 4045 of file itembase.c.

◆ CanReceiveItemIntoCargo()

override bool SpawnItemOnLocation::CanReceiveItemIntoCargo ( EntityAI  item)

Definition at line 4036 of file itembase.c.

◆ CanRepair()

bool SpawnItemOnLocation::CanRepair ( ItemBase  item_repair_kit)

Definition at line 2376 of file itembase.c.

◆ ChangeIntoOnAttach()

override string SpawnItemOnLocation::ChangeIntoOnAttach ( string  slot)

Definition at line 1324 of file itembase.c.

◆ ChangeIntoOnDetach()

override string SpawnItemOnLocation::ChangeIntoOnDetach ( )

Definition at line 1348 of file itembase.c.

◆ CheckOverheating()

void SpawnItemOnLocation::CheckOverheating ( ItemBase  weapon = null,
string  ammoType = "",
ItemBase  muzzle_owner = null,
ItemBase  suppressor = null,
string  config_to_search = "" 
)

Definition at line 513 of file itembase.c.

◆ ClearInventory()

override void SpawnItemOnLocation::ClearInventory ( )

Definition at line 3440 of file itembase.c.

◆ Close()

void SpawnItemOnLocation::Close ( )

◆ CombineItems()

void SpawnItemOnLocation::CombineItems ( ItemBase  other_item,
bool  use_stack_max = true 
)

Definition at line 2058 of file itembase.c.

◆ CombineItemsClient()

override void SpawnItemOnLocation::CombineItemsClient ( EntityAI  entity2,
bool  use_stack_max = true 
)

Definition at line 849 of file itembase.c.

◆ ComputeQuantityUsed()

int SpawnItemOnLocation::ComputeQuantityUsed ( ItemBase  other_item,
bool  use_stack_max = true 
)

Definition at line 2034 of file itembase.c.

◆ ComputeQuantityUsedEx()

float SpawnItemOnLocation::ComputeQuantityUsedEx ( ItemBase  other_item,
bool  use_stack_max = true 
)

Definition at line 2039 of file itembase.c.

◆ ContainsAgent()

bool SpawnItemOnLocation::ContainsAgent ( int  agent_id)

Definition at line 3828 of file itembase.c.

◆ ConvertEnergyToQuantity()

void SpawnItemOnLocation::ConvertEnergyToQuantity ( )

Definition at line 3487 of file itembase.c.

◆ CopyScriptPropertiesFrom()

void SpawnItemOnLocation::CopyScriptPropertiesFrom ( EntityAI  oldItem)

Definition at line 4596 of file itembase.c.

◆ DamageItemAttachments()

bool SpawnItemOnLocation::DamageItemAttachments ( float  damage)

Definition at line 1484 of file itembase.c.

◆ DamageItemInCargo()

bool SpawnItemOnLocation::DamageItemInCargo ( float  damage)

Definition at line 1465 of file itembase.c.

◆ DeSerializeNumericalVars()

void SpawnItemOnLocation::DeSerializeNumericalVars ( array< float floats)

Definition at line 2658 of file itembase.c.

◆ DoAmmoExplosion()

void SpawnItemOnLocation::DoAmmoExplosion ( )

Definition at line 1400 of file itembase.c.

◆ EEDelete()

override void SpawnItemOnLocation::EEDelete ( EntityAI  parent)

Definition at line 1246 of file itembase.c.

◆ EEHealthLevelChanged()

override void SpawnItemOnLocation::EEHealthLevelChanged ( int  oldLevel,
int  newLevel,
string  zone 
)

drops content of container when ruined in fireplace

Definition at line 1856 of file itembase.c.

◆ EEHitBy()

override void SpawnItemOnLocation::EEHitBy ( TotalDamageResult  damageResult,
int  damageType,
EntityAI  source,
int  component,
string  dmgZone,
string  ammo,
vector  modelPos,
float  speedCoef 
)

Definition at line 1424 of file itembase.c.

◆ EEItemLocationChanged()

override void SpawnItemOnLocation::EEItemLocationChanged ( notnull InventoryLocation  oldLoc,
notnull InventoryLocation  newLoc 
)

Definition at line 1024 of file itembase.c.

◆ EEKilled()

override void SpawnItemOnLocation::EEKilled ( Object  killer)

item is able to explode in fire

Definition at line 1280 of file itembase.c.

◆ EEOnAfterLoad()

override void SpawnItemOnLocation::EEOnAfterLoad ( )

Definition at line 3084 of file itembase.c.

◆ EEOnCECreate()

override void SpawnItemOnLocation::EEOnCECreate ( )

Called when entity is being created as new by CE/ Debug.

Definition at line 3977 of file itembase.c.

◆ EOnContact()

override void SpawnItemOnLocation::EOnContact ( IEntity  other,
Contact  extra 
)

Definition at line 1148 of file itembase.c.

◆ ExplodeAmmo()

void SpawnItemOnLocation::ExplodeAmmo ( )

Definition at line 1387 of file itembase.c.

◆ GetActions()

override void SpawnItemOnLocation::GetActions ( typename action_input_type  ,
out array< ActionBase_Basic actions 
)

Definition at line 291 of file itembase.c.

◆ GetActionWidgetOverride()

bool SpawnItemOnLocation::GetActionWidgetOverride ( out typename  name)

If we need a different (handheld)item action widget displayed, the logic goes in here.

Definition at line 4624 of file itembase.c.

◆ GetAgents()

override int SpawnItemOnLocation::GetAgents ( )

Definition at line 3875 of file itembase.c.

◆ GetAttachmentSoundType()

override string SpawnItemOnLocation::GetAttachmentSoundType ( )

Definition at line 4250 of file itembase.c.

◆ GetBandagingEffectivity()

float SpawnItemOnLocation::GetBandagingEffectivity ( )

Definition at line 4409 of file itembase.c.

◆ GetColor()

void SpawnItemOnLocation::GetColor ( out int  r,
out int  g,
out int  b,
out int  a 
)

gets item's color variable as components

Definition at line 3722 of file itembase.c.

◆ GetColorString()

string SpawnItemOnLocation::GetColorString ( )

Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)".

Definition at line 3736 of file itembase.c.

◆ GetDamageSystemVersionChange()

int SpawnItemOnLocation::GetDamageSystemVersionChange ( )

Re-sets DamageSystem changes.

Returns
storage version on which the config changes occured (default -1, to be overriden!)
Note
Significant changes to DamageSystem in item configs have to be re-set by increasing the storage version and overriding this method. Default return is -1 (does nothing).

Definition at line 705 of file itembase.c.

◆ GetDebugActions()

override void SpawnItemOnLocation::GetDebugActions ( out TSelectableActionInfoArrayEx  outputList)

Definition at line 2113 of file itembase.c.

◆ GetDeployFinishSoundset()

string SpawnItemOnLocation::GetDeployFinishSoundset ( )

◆ GetDeploySoundset()

string SpawnItemOnLocation::GetDeploySoundset ( )

Definition at line 146 of file largetent.c.

◆ GetDeployTime()

float SpawnItemOnLocation::GetDeployTime ( )

how long it takes to deploy this item in seconds

Definition at line 4218 of file itembase.c.

◆ GetDisinfectQuantity()

float SpawnItemOnLocation::GetDisinfectQuantity ( int  system = 0,
Param  param1 = null 
)

Definition at line 662 of file itembase.c.

◆ GetDryingIncrement()

float SpawnItemOnLocation::GetDryingIncrement ( string  pIncrementName)

Definition at line 3555 of file itembase.c.

◆ GetEnergy()

float SpawnItemOnLocation::GetEnergy ( )

Definition at line 3461 of file itembase.c.

◆ GetExplosiveTriggerSlotName()

string SpawnItemOnLocation::GetExplosiveTriggerSlotName ( )

Definition at line 911 of file itembase.c.

◆ GetFilterDamageRatio()

float SpawnItemOnLocation::GetFilterDamageRatio ( )

Definition at line 667 of file itembase.c.

◆ GetHeadHidingSelection()

array<string> SpawnItemOnLocation::GetHeadHidingSelection ( )

Definition at line 4414 of file itembase.c.

◆ GetHeatIsolation()

float SpawnItemOnLocation::GetHeatIsolation ( )

Definition at line 3550 of file itembase.c.

◆ GetHeatIsolationInit()

float SpawnItemOnLocation::GetHeatIsolationInit ( )

Definition at line 3545 of file itembase.c.

◆ GetInfectionChance()

float SpawnItemOnLocation::GetInfectionChance ( int  system = 0,
Param  param = null 
)

Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well.

Definition at line 656 of file itembase.c.

◆ GetItemAttachOffset()

float SpawnItemOnLocation::GetItemAttachOffset ( )

Definition at line 3669 of file itembase.c.

◆ GetItemModelLength()

float SpawnItemOnLocation::GetItemModelLength ( )

Definition at line 3660 of file itembase.c.

◆ GetItemSize()

int SpawnItemOnLocation::GetItemSize ( )

Definition at line 2390 of file itembase.c.

◆ GetLight()

ScriptedLightBase SpawnItemOnLocation::GetLight ( )

◆ GetLightSourceItem()

ItemBase SpawnItemOnLocation::GetLightSourceItem ( )

Definition at line 4612 of file itembase.c.

◆ GetLiquidType()

int SpawnItemOnLocation::GetLiquidType ( )

Definition at line 3763 of file itembase.c.

◆ GetLiquidTypeInit()

int SpawnItemOnLocation::GetLiquidTypeInit ( )

Definition at line 3758 of file itembase.c.

◆ GetLockSoundSet()

string SpawnItemOnLocation::GetLockSoundSet ( )

Definition at line 3705 of file itembase.c.

◆ GetLockType()

int SpawnItemOnLocation::GetLockType ( )

Definition at line 3700 of file itembase.c.

◆ GetLoopDeploySoundset()

string SpawnItemOnLocation::GetLoopDeploySoundset ( )

Definition at line 151 of file largetent.c.

◆ GetMuzzleID()

int SpawnItemOnLocation::GetMuzzleID ( )

Returns global muzzle ID. If not found, then it gets automatically registered.

Definition at line 682 of file itembase.c.

◆ GetNumberOfItems()

int SpawnItemOnLocation::GetNumberOfItems ( )

Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.

Definition at line 3380 of file itembase.c.

◆ GetOverheatingCoef()

float SpawnItemOnLocation::GetOverheatingCoef ( )

Definition at line 592 of file itembase.c.

◆ GetOverheatingValue()

float SpawnItemOnLocation::GetOverheatingValue ( )

Definition at line 492 of file itembase.c.

◆ GetPlaceSoundset()

string SpawnItemOnLocation::GetPlaceSoundset ( )

Definition at line 2574 of file fireplacebase.c.

◆ GetProtectionLevel()

float SpawnItemOnLocation::GetProtectionLevel ( int  type,
bool  consider_filter = false,
int  system = 0 
)

Definition at line 3938 of file itembase.c.

◆ GetQuantity()

override float SpawnItemOnLocation::GetQuantity ( )

Definition at line 3316 of file itembase.c.

◆ GetQuantityInit()

int SpawnItemOnLocation::GetQuantityInit ( )

Definition at line 3305 of file itembase.c.

◆ GetQuantityMax()

override int SpawnItemOnLocation::GetQuantityMax ( )

Definition at line 3262 of file itembase.c.

◆ GetQuantityMin()

int SpawnItemOnLocation::GetQuantityMin ( )

Definition at line 3300 of file itembase.c.

◆ GetQuantityNormalized()

float SpawnItemOnLocation::GetQuantityNormalized ( )

Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5)

Definition at line 3248 of file itembase.c.

◆ GetQuickBarBonus()

override int SpawnItemOnLocation::GetQuickBarBonus ( )

Definition at line 274 of file itembase.c.

◆ GetRecipesActions()

void SpawnItemOnLocation::GetRecipesActions ( Man  player,
out TSelectableActionInfoArray  outputList 
)

Definition at line 2092 of file itembase.c.

◆ GetSingleInventoryItemWeight()

float SpawnItemOnLocation::GetSingleInventoryItemWeight ( )

Definition at line 3336 of file itembase.c.

◆ GetSingleInventoryItemWeightEx()

override float SpawnItemOnLocation::GetSingleInventoryItemWeightEx ( )

Definition at line 3327 of file itembase.c.

◆ GetSoakingIncrement()

float SpawnItemOnLocation::GetSoakingIncrement ( string  pIncrementName)

Definition at line 3564 of file itembase.c.

◆ GetTargetQuantityMax()

override int SpawnItemOnLocation::GetTargetQuantityMax ( int  attSlotID = -1)

Definition at line 3284 of file itembase.c.

◆ GetTemperature()

override float SpawnItemOnLocation::GetTemperature ( )

Definition at line 3525 of file itembase.c.

◆ GetTemperatureInit()

override float SpawnItemOnLocation::GetTemperatureInit ( )

Definition at line 3530 of file itembase.c.

◆ GetTemperatureMax()

override float SpawnItemOnLocation::GetTemperatureMax ( )

Definition at line 3540 of file itembase.c.

◆ GetTemperatureMin()

override float SpawnItemOnLocation::GetTemperatureMin ( )

Definition at line 3535 of file itembase.c.

◆ GetUnitWeight()

float SpawnItemOnLocation::GetUnitWeight ( bool  include_wetness = true)

Obsolete, use GetWeightEx instead.

Definition at line 3400 of file itembase.c.

◆ GetValidFinishers()

array<int> SpawnItemOnLocation::GetValidFinishers ( )

returns an array of possible finishers

Definition at line 4618 of file itembase.c.

◆ GetVariablesFloat()

array<float> SpawnItemOnLocation::GetVariablesFloat ( )

Definition at line 2572 of file itembase.c.

◆ GetWeightSpecialized()

override protected float SpawnItemOnLocation::GetWeightSpecialized ( bool  forceRecalc = false)

Definition at line 3341 of file itembase.c.

◆ GetWet()

override float SpawnItemOnLocation::GetWet ( )

Definition at line 3602 of file itembase.c.

◆ GetWetInit()

override float SpawnItemOnLocation::GetWetInit ( )

Definition at line 3617 of file itembase.c.

◆ GetWetLevel()

override EWetnessLevel SpawnItemOnLocation::GetWetLevel ( )

Definition at line 3637 of file itembase.c.

◆ GetWetMax()

override float SpawnItemOnLocation::GetWetMax ( )

Definition at line 3607 of file itembase.c.

◆ GetWetMin()

override float SpawnItemOnLocation::GetWetMin ( )

Definition at line 3612 of file itembase.c.

◆ GetWrittenNoteData()

WrittenNoteData SpawnItemOnLocation::GetWrittenNoteData ( )

Definition at line 4424 of file itembase.c.

◆ HasFoodStage()

bool SpawnItemOnLocation::HasFoodStage ( )

Definition at line 2359 of file itembase.c.

◆ HasMuzzle()

bool SpawnItemOnLocation::HasMuzzle ( )

Returns true if this item has a muzzle (weapons, suppressors)

Definition at line 673 of file itembase.c.

◆ HasQuantity()

bool SpawnItemOnLocation::HasQuantity ( )

Definition at line 3311 of file itembase.c.

◆ HidesSelectionBySlot()

bool SpawnItemOnLocation::HidesSelectionBySlot ( )

Definition at line 4419 of file itembase.c.

◆ HierarchyCheck()

void SpawnItemOnLocation::HierarchyCheck ( out bool  hasParent,
out bool  hasRootAsPlayer,
out ItemBase  refParentIB 
)

Definition at line 4512 of file itembase.c.

◆ IDToName()

string SpawnItemOnLocation::IDToName ( int  id)

Definition at line 2585 of file itembase.c.

◆ IncreaseOverheating()

void SpawnItemOnLocation::IncreaseOverheating ( ItemBase  weapon,
string  ammoType,
ItemBase  muzzle_owner,
ItemBase  suppressor,
string  config_to_search 
)

Definition at line 497 of file itembase.c.

◆ InitializeActions()

void SpawnItemOnLocation::InitializeActions ( )

Definition at line 279 of file itembase.c.

◆ InitItemVariables()

void SpawnItemOnLocation::InitItemVariables ( )

Definition at line 182 of file itembase.c.

◆ InsertAgent()

override void SpawnItemOnLocation::InsertAgent ( int  agent,
float  count = 1 
)

Definition at line 3860 of file itembase.c.

◆ IsBeingPlaced()

override bool SpawnItemOnLocation::IsBeingPlaced ( )

Definition at line 946 of file itembase.c.

◆ IsBloodContainer()

bool SpawnItemOnLocation::IsBloodContainer ( )

Definition at line 894 of file itembase.c.

◆ IsCargoException4x3()

bool SpawnItemOnLocation::IsCargoException4x3 ( EntityAI  item)

Definition at line 4591 of file itembase.c.

◆ IsColorSet()

bool SpawnItemOnLocation::IsColorSet ( )

Definition at line 3730 of file itembase.c.

◆ IsCombineAll()

bool SpawnItemOnLocation::IsCombineAll ( ItemBase  other_item,
bool  use_stack_max = false 
)

Definition at line 2019 of file itembase.c.

◆ IsCoverFaceForShave()

bool SpawnItemOnLocation::IsCoverFaceForShave ( string  slot_name)

DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.

Definition at line 4457 of file itembase.c.

◆ IsDeployable()

bool SpawnItemOnLocation::IsDeployable ( )

Definition at line 4212 of file itembase.c.

◆ IsDeploySound()

bool SpawnItemOnLocation::IsDeploySound ( )

Definition at line 4298 of file itembase.c.

◆ IsExplosive()

bool SpawnItemOnLocation::IsExplosive ( )

explosive

Definition at line 906 of file itembase.c.

◆ IsFacingPlayer()

bool SpawnItemOnLocation::IsFacingPlayer ( PlayerBase  player,
string  selection 
)

Definition at line 930 of file itembase.c.

◆ IsFullQuantity()

bool SpawnItemOnLocation::IsFullQuantity ( )

Definition at line 3321 of file itembase.c.

◆ IsHeavyBehaviour()

override bool SpawnItemOnLocation::IsHeavyBehaviour ( )

Definition at line 4182 of file itembase.c.

◆ IsHologram()

override bool SpawnItemOnLocation::IsHologram ( )

Definition at line 962 of file itembase.c.

◆ IsIgnoredByConstruction()

override bool SpawnItemOnLocation::IsIgnoredByConstruction ( )

Definition at line 2352 of file itembase.c.

◆ IsItemBase()

override bool SpawnItemOnLocation::IsItemBase ( )

Definition at line 2489 of file itembase.c.

◆ IsLightSource()

bool SpawnItemOnLocation::IsLightSource ( )

Definition at line 918 of file itembase.c.

◆ IsLiquidContainer()

bool SpawnItemOnLocation::IsLiquidContainer ( )

Definition at line 889 of file itembase.c.

◆ IsLiquidPresent()

bool SpawnItemOnLocation::IsLiquidPresent ( )

Definition at line 883 of file itembase.c.

◆ IsNVG()

bool SpawnItemOnLocation::IsNVG ( )

Definition at line 899 of file itembase.c.

◆ IsOneHandedBehaviour()

override bool SpawnItemOnLocation::IsOneHandedBehaviour ( )

Definition at line 4192 of file itembase.c.

◆ IsOpen()

bool SpawnItemOnLocation::IsOpen ( )

Definition at line 3993 of file itembase.c.

◆ IsOverheatingEffectActive()

bool SpawnItemOnLocation::IsOverheatingEffectActive ( )

Definition at line 530 of file itembase.c.

◆ IsPlaceSound()

bool SpawnItemOnLocation::IsPlaceSound ( )

Definition at line 4288 of file itembase.c.

◆ IsPlayerInside()

bool SpawnItemOnLocation::IsPlayerInside ( PlayerBase  player,
string  selection 
)

Definition at line 935 of file itembase.c.

◆ IsResultOfSplit()

bool SpawnItemOnLocation::IsResultOfSplit ( )

Definition at line 2024 of file itembase.c.

◆ IsServerCheck()

bool SpawnItemOnLocation::IsServerCheck ( bool  allow_client)

Definition at line 3643 of file itembase.c.

◆ IsSoundSynchRemote()

bool SpawnItemOnLocation::IsSoundSynchRemote ( )

Definition at line 4273 of file itembase.c.

◆ IsTakeable()

override bool SpawnItemOnLocation::IsTakeable ( )

Definition at line 4232 of file itembase.c.

◆ IsTwoHandedBehaviour()

override bool SpawnItemOnLocation::IsTwoHandedBehaviour ( )

Definition at line 4202 of file itembase.c.

◆ IsVariableSet()

bool SpawnItemOnLocation::IsVariableSet ( int  variable)

'true' if this variable has ever been changed from default

Definition at line 3433 of file itembase.c.

◆ ItemBase()

void SpawnItemOnLocation::ItemBase ( )

Definition at line 131 of file itembase.c.

◆ KillAllOverheatingParticles()

void SpawnItemOnLocation::KillAllOverheatingParticles ( )

Definition at line 628 of file itembase.c.

◆ KindOf()

override bool SpawnItemOnLocation::KindOf ( string  tag)

Definition at line 2495 of file itembase.c.

◆ LoadAgents()

bool SpawnItemOnLocation::LoadAgents ( ParamsReadContext  ctx,
int  version 
)

Definition at line 3922 of file itembase.c.

◆ LoadParticleConfigOnFire()

void SpawnItemOnLocation::LoadParticleConfigOnFire ( int  id)

Definition at line 367 of file itembase.c.

◆ LoadParticleConfigOnOverheating()

void SpawnItemOnLocation::LoadParticleConfigOnOverheating ( int  id)

Definition at line 436 of file itembase.c.

◆ LoadVariables()

bool SpawnItemOnLocation::LoadVariables ( ParamsReadContext  ctx,
int  version = -1 
)

Definition at line 2898 of file itembase.c.

◆ LockToParent()

void SpawnItemOnLocation::LockToParent ( )

Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item.

Definition at line 824 of file itembase.c.

◆ MessageToOwnerAction()

void SpawnItemOnLocation::MessageToOwnerAction ( string  text)

Send message to owner player in yellow color.

Returns
void
item_stone.MessageToOwnerAction("Some Action Message");

Definition at line 2443 of file itembase.c.

◆ MessageToOwnerFriendly()

void SpawnItemOnLocation::MessageToOwnerFriendly ( string  text)

Send message to owner player in green color.

Returns
void
item_stone.MessageToOwnerFriendly("Some Friendly Message");

Definition at line 2461 of file itembase.c.

◆ MessageToOwnerImportant()

void SpawnItemOnLocation::MessageToOwnerImportant ( string  text)

Send message to owner player in red color.

Returns
void
item_stone.MessageToOwnerImportant("Some Important Message");

Definition at line 2479 of file itembase.c.

◆ MessageToOwnerStatus()

void SpawnItemOnLocation::MessageToOwnerStatus ( string  text)

Send message to owner player in grey color.

Returns
void
item_stone.MessageToOwnerStatus("Some Status Message");

Definition at line 2425 of file itembase.c.

◆ NameToID()

int SpawnItemOnLocation::NameToID ( string  name)

Definition at line 2579 of file itembase.c.

◆ OnAction()

override bool SpawnItemOnLocation::OnAction ( int  action_id,
Man  player,
ParamsReadContext  ctx 
)

Definition at line 2155 of file itembase.c.

◆ OnActivatedByItem()

void SpawnItemOnLocation::OnActivatedByItem ( notnull ItemBase  item)

Called when this item is activated by other.

Definition at line 115 of file remotedetonator.c.

◆ OnActivatedByTripWire()

void SpawnItemOnLocation::OnActivatedByTripWire ( )

DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.

◆ OnApply()

void SpawnItemOnLocation::OnApply ( PlayerBase  player)

◆ OnAttachmentQuantityChanged()

void SpawnItemOnLocation::OnAttachmentQuantityChanged ( ItemBase  item)

Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.

Definition at line 1845 of file itembase.c.

◆ OnAttachmentQuantityChangedEx()

void SpawnItemOnLocation::OnAttachmentQuantityChangedEx ( ItemBase  item,
float  delta 
)

Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.

Definition at line 1851 of file itembase.c.

◆ OnCEUpdate()

override void SpawnItemOnLocation::OnCEUpdate ( )

Definition at line 4559 of file itembase.c.

◆ OnCombine()

void SpawnItemOnLocation::OnCombine ( ItemBase  other_item)

Definition at line 2084 of file itembase.c.

◆ OnCreatePhysics()

override void SpawnItemOnLocation::OnCreatePhysics ( )

Definition at line 1178 of file itembase.c.

◆ OnEndPlacement()

void SpawnItemOnLocation::OnEndPlacement ( )

Definition at line 960 of file itembase.c.

◆ OnEnergyAdded()

override void SpawnItemOnLocation::OnEnergyAdded ( )

Definition at line 3479 of file itembase.c.

◆ OnEnergyConsumed()

override void SpawnItemOnLocation::OnEnergyConsumed ( )

Definition at line 3472 of file itembase.c.

◆ OnInventoryEnter()

void SpawnItemOnLocation::OnInventoryEnter ( Man  player)

Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.

Definition at line 3770 of file itembase.c.

◆ OnInventoryExit()

void SpawnItemOnLocation::OnInventoryExit ( Man  player)

Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.

Definition at line 3783 of file itembase.c.

◆ OnItemAttachmentSlotChanged()

override void SpawnItemOnLocation::OnItemAttachmentSlotChanged ( notnull InventoryLocation  oldLoc,
notnull InventoryLocation  newLoc 
)

Definition at line 1183 of file itembase.c.

◆ OnItemInHandsPlayerSwimStart()

void SpawnItemOnLocation::OnItemInHandsPlayerSwimStart ( PlayerBase  player)

◆ OnItemLocationChanged()

override void SpawnItemOnLocation::OnItemLocationChanged ( EntityAI  old_owner,
EntityAI  new_owner 
)

Definition at line 1188 of file itembase.c.

◆ OnMovedInsideCargo()

override void SpawnItemOnLocation::OnMovedInsideCargo ( EntityAI  container)

Definition at line 1017 of file itembase.c.

◆ OnOverheatingDecay()

void SpawnItemOnLocation::OnOverheatingDecay ( )

Definition at line 535 of file itembase.c.

◆ OnPlacementComplete()

override void SpawnItemOnLocation::OnPlacementComplete ( Man  player,
vector  position = "0 0 0",
vector  orientation = "0 0 0" 
)

Definition at line 3811 of file itembase.c.

◆ OnPlacementStarted()

override void SpawnItemOnLocation::OnPlacementStarted ( Man  player)

Definition at line 3804 of file itembase.c.

◆ OnQuantityChanged()

void SpawnItemOnLocation::OnQuantityChanged ( float  delta)

Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.

Definition at line 1833 of file itembase.c.

◆ OnRightClick()

override void SpawnItemOnLocation::OnRightClick ( )

Definition at line 1894 of file itembase.c.

◆ OnRPC()

override void SpawnItemOnLocation::OnRPC ( PlayerIdentity  sender,
int  rpc_type,
ParamsReadContext  ctx 
)

Definition at line 2515 of file itembase.c.

◆ OnStoreLoad()

override bool SpawnItemOnLocation::OnStoreLoad ( ParamsReadContext  ctx,
int  version 
)

Definition at line 2941 of file itembase.c.

◆ OnStoreSave()

override void SpawnItemOnLocation::OnStoreSave ( ParamsWriteContext  ctx)

Definition at line 3040 of file itembase.c.

◆ OnSyncVariables()

void SpawnItemOnLocation::OnSyncVariables ( ParamsReadContext  ctx)

Definition at line 2591 of file itembase.c.

◆ OnVariablesSynchronized()

override void SpawnItemOnLocation::OnVariablesSynchronized ( )

Definition at line 3104 of file itembase.c.

◆ OnWasAttached()

override void SpawnItemOnLocation::OnWasAttached ( EntityAI  parent,
int  slot_id 
)

Definition at line 1304 of file itembase.c.

◆ OnWasDetached()

override void SpawnItemOnLocation::OnWasDetached ( EntityAI  parent,
int  slot_id 
)

Definition at line 1316 of file itembase.c.

◆ OnWetChanged()

override void SpawnItemOnLocation::OnWetChanged ( float  newVal,
float  oldVal 
)

Definition at line 3622 of file itembase.c.

◆ OnWetLevelChanged()

override void SpawnItemOnLocation::OnWetLevelChanged ( EWetnessLevel  newLevel,
EWetnessLevel  oldLevel 
)

Definition at line 3632 of file itembase.c.

◆ Open()

void SpawnItemOnLocation::Open ( )

Implementations only.

Definition at line 2 of file cannedfood.c.

◆ PairWithDevice()

bool SpawnItemOnLocation::PairWithDevice ( notnull ItemBase  otherDevice)

Definition at line 4629 of file itembase.c.

◆ PerformDamageSystemReinit()

void SpawnItemOnLocation::PerformDamageSystemReinit ( )

Definition at line 4432 of file itembase.c.

◆ PlayAttachSound()

void SpawnItemOnLocation::PlayAttachSound ( string  slot_type)

Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use.

Definition at line 4366 of file itembase.c.

◆ PlayDeployFinishSound()

void SpawnItemOnLocation::PlayDeployFinishSound ( )

Definition at line 4336 of file itembase.c.

◆ PlayDeployLoopSoundEx()

void SpawnItemOnLocation::PlayDeployLoopSoundEx ( )

Definition at line 4303 of file itembase.c.

◆ PlayDeploySound()

void SpawnItemOnLocation::PlayDeploySound ( )

Definition at line 4324 of file itembase.c.

◆ PlayDetachSound()

void SpawnItemOnLocation::PlayDetachSound ( string  slot_type)

Definition at line 4402 of file itembase.c.

◆ PlayPlaceSound()

void SpawnItemOnLocation::PlayPlaceSound ( )

Definition at line 4348 of file itembase.c.

◆ PreLoadSoundAttachmentType()

protected void SpawnItemOnLocation::PreLoadSoundAttachmentType ( )

Attachment Sound Type getting from config file.

Definition at line 4238 of file itembase.c.

◆ ProcessDecay()

protected void SpawnItemOnLocation::ProcessDecay ( float  delta,
bool  hasRootAsPlayer 
)

Definition at line 4529 of file itembase.c.

◆ ProcessItemTemperature()

void SpawnItemOnLocation::ProcessItemTemperature ( float  delta,
bool  hasParent,
bool  hasRootAsPlayer,
ItemBase  refParentIB 
)

Definition at line 4487 of file itembase.c.

◆ ProcessItemWetness()

void SpawnItemOnLocation::ProcessItemWetness ( float  delta,
bool  hasParent,
bool  hasRootAsPlayer,
ItemBase  refParentIB 
)

Definition at line 4462 of file itembase.c.

◆ ProcessItemWetnessAndTemperature()

void SpawnItemOnLocation::ProcessItemWetnessAndTemperature ( float  delta,
bool  hasParent,
bool  hasRootAsPlayer,
ItemBase  refParentIB 
)

Definition at line 4506 of file itembase.c.

◆ ReadVarsFromCTX()

bool SpawnItemOnLocation::ReadVarsFromCTX ( ParamsReadContext  ctx,
int  version = -1 
)

Definition at line 2761 of file itembase.c.

◆ RefreshPhysics()

void SpawnItemOnLocation::RefreshPhysics ( )

◆ RegisterOverheatingParticle()

void SpawnItemOnLocation::RegisterOverheatingParticle ( Particle  p,
float  min_heat_coef,
float  max_heat_coef,
int  particle_id,
Object  parent,
vector  local_pos,
vector  local_ori 
)

Definition at line 578 of file itembase.c.

◆ RemoveAction()

void SpawnItemOnLocation::RemoveAction ( typename actionName  )

Definition at line 349 of file itembase.c.

◆ RemoveAgent()

override void SpawnItemOnLocation::RemoveAgent ( int  agent_id)

Definition at line 3841 of file itembase.c.

◆ RemoveAllAgents()

override void SpawnItemOnLocation::RemoveAllAgents ( )

Definition at line 3850 of file itembase.c.

◆ RemoveAllAgentsExcept()

override void SpawnItemOnLocation::RemoveAllAgentsExcept ( int  agents_to_keep_mask)

Definition at line 3855 of file itembase.c.

◆ RemoveItemVariable()

void SpawnItemOnLocation::RemoveItemVariable ( int  variable)

Removes variable from variable mask, making it appear as though the variable has never been changed from default.

Definition at line 3427 of file itembase.c.

◆ RemoveLightSourceItem()

void SpawnItemOnLocation::RemoveLightSourceItem ( )

Definition at line 4607 of file itembase.c.

◆ Repair()

bool SpawnItemOnLocation::Repair ( PlayerBase  player,
ItemBase  item_repair_kit,
float  specialty_weight 
)

Definition at line 2383 of file itembase.c.

◆ SaveAgents()

void SpawnItemOnLocation::SaveAgents ( ParamsWriteContext  ctx)

Definition at line 3929 of file itembase.c.

◆ SaveVariables()

void SpawnItemOnLocation::SaveVariables ( ParamsWriteContext  ctx)

Definition at line 2875 of file itembase.c.

◆ SerializeNumericalVars()

void SpawnItemOnLocation::SerializeNumericalVars ( array< float floats_out)

Definition at line 2618 of file itembase.c.

◆ SetActions()

void SpawnItemOnLocation::SetActions ( )

Definition at line 302 of file itembase.c.

◆ SetCanBeMovedOverride()

void SpawnItemOnLocation::SetCanBeMovedOverride ( bool  setting)

Definition at line 2412 of file itembase.c.

◆ SetCEBasedQuantity()

void SpawnItemOnLocation::SetCEBasedQuantity ( )

Definition at line 790 of file itembase.c.

◆ SetCleanness()

void SpawnItemOnLocation::SetCleanness ( int  value,
bool  allow_client = false 
)

Definition at line 3678 of file itembase.c.

◆ SetColor()

void SpawnItemOnLocation::SetColor ( int  r,
int  g,
int  b,
int  a 
)

Definition at line 3713 of file itembase.c.

◆ SetIsBeingPlaced()

void SpawnItemOnLocation::SetIsBeingPlaced ( bool  is_being_placed)

Definition at line 951 of file itembase.c.

◆ SetIsDeploySound()

void SpawnItemOnLocation::SetIsDeploySound ( bool  is_deploy_sound)

Definition at line 4293 of file itembase.c.

◆ SetIsHologram()

void SpawnItemOnLocation::SetIsHologram ( bool  is_hologram)

Definition at line 977 of file itembase.c.

◆ SetIsPlaceSound()

void SpawnItemOnLocation::SetIsPlaceSound ( bool  is_place_sound)

Definition at line 4283 of file itembase.c.

◆ SetLiquidType()

void SpawnItemOnLocation::SetLiquidType ( int  value,
bool  allow_client = false 
)

Definition at line 3749 of file itembase.c.

◆ SetQuantity()

bool SpawnItemOnLocation::SetQuantity ( float  value,
bool  destroy_config = true,
bool  destroy_forced = false,
bool  allow_client = false,
bool  clamp_to_stack_max = true 
)

Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted.

Definition at line 3159 of file itembase.c.

◆ SetQuantityMax()

void SpawnItemOnLocation::SetQuantityMax ( )

Definition at line 3226 of file itembase.c.

◆ SetQuantityNormalized()

void SpawnItemOnLocation::SetQuantityNormalized ( float  value,
bool  destroy_config = true,
bool  destroy_forced = false 
)

Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500)

Definition at line 3239 of file itembase.c.

◆ SetQuantityToMinimum()

override void SpawnItemOnLocation::SetQuantityToMinimum ( )

Definition at line 3232 of file itembase.c.

◆ SetResultOfSplit()

void SpawnItemOnLocation::SetResultOfSplit ( bool  value)

Definition at line 2029 of file itembase.c.

◆ SetTakeable()

override void SpawnItemOnLocation::SetTakeable ( bool  pState)

Definition at line 4226 of file itembase.c.

◆ SetTemperature()

override void SpawnItemOnLocation::SetTemperature ( float  value,
bool  allow_client = false 
)

Definition at line 3499 of file itembase.c.

◆ SetTemperatureMax()

override void SpawnItemOnLocation::SetTemperatureMax ( )

Definition at line 3520 of file itembase.c.

◆ SetupSpawnedItem()

void SetupSpawnedItem ( ItemBase  item,
float  health,
float  quantity 
)

Definition at line 4700 of file itembase.c.

◆ SetVariableMask()

void SpawnItemOnLocation::SetVariableMask ( int  variable)

Definition at line 3417 of file itembase.c.

◆ SetWet()

override void SpawnItemOnLocation::SetWet ( float  value,
bool  allow_client = false 
)

Definition at line 3573 of file itembase.c.

◆ SetWetMax()

override void SpawnItemOnLocation::SetWetMax ( )

Definition at line 3597 of file itembase.c.

◆ SetZoneDamageCEInit()

void SpawnItemOnLocation::SetZoneDamageCEInit ( )

Sets zone damages to match randomized global health set by CE (CE spawn only)

Definition at line 4444 of file itembase.c.

◆ SoundSynchRemote()

void SpawnItemOnLocation::SoundSynchRemote ( )

Definition at line 4266 of file itembase.c.

◆ SoundSynchRemoteReset()

void SpawnItemOnLocation::SoundSynchRemoteReset ( )

Definition at line 4259 of file itembase.c.

◆ SpawnItemOnLocation()

class ItemBase extends InventoryItem SpawnItemOnLocation ( string  object_name,
notnull InventoryLocation  loc,
bool  full_quantity 
)

Definition at line 4680 of file itembase.c.

◆ SplitIntoStackMax()

void SpawnItemOnLocation::SplitIntoStackMax ( EntityAI  destination_entity,
int  slot_id,
PlayerBase  player 
)

Definition at line 1532 of file itembase.c.

◆ SplitIntoStackMaxCargo()

void SpawnItemOnLocation::SplitIntoStackMaxCargo ( EntityAI  destination_entity,
int  idx,
int  row,
int  col 
)

Definition at line 1691 of file itembase.c.

◆ SplitIntoStackMaxCargoClient()

void SpawnItemOnLocation::SplitIntoStackMaxCargoClient ( EntityAI  destination_entity,
int  idx,
int  row,
int  col 
)

Definition at line 1630 of file itembase.c.

◆ SplitIntoStackMaxClient()

void SpawnItemOnLocation::SplitIntoStackMaxClient ( EntityAI  destination_entity,
int  slot_id 
)

Definition at line 1509 of file itembase.c.

◆ SplitIntoStackMaxHands()

void SpawnItemOnLocation::SplitIntoStackMaxHands ( PlayerBase  player)

Definition at line 1739 of file itembase.c.

◆ SplitIntoStackMaxHandsClient()

void SpawnItemOnLocation::SplitIntoStackMaxHandsClient ( PlayerBase  player)

Definition at line 1715 of file itembase.c.

◆ SplitIntoStackMaxToInventoryLocation()

void SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocation ( notnull InventoryLocation  dst)

Definition at line 1655 of file itembase.c.

◆ SplitIntoStackMaxToInventoryLocationClient()

void SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocationClient ( notnull InventoryLocation  dst)

Definition at line 1609 of file itembase.c.

◆ SplitIntoStackMaxToInventoryLocationEx()

ItemBase SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocationEx ( notnull InventoryLocation  dst)

Definition at line 1660 of file itembase.c.

◆ SplitItem()

void SpawnItemOnLocation::SplitItem ( PlayerBase  player)

Definition at line 1797 of file itembase.c.

◆ SplitItemToInventoryLocation()

void SpawnItemOnLocation::SplitItemToInventoryLocation ( notnull InventoryLocation  dst)

Definition at line 1764 of file itembase.c.

◆ StartOverheating()

void SpawnItemOnLocation::StartOverheating ( ItemBase  weapon = null,
string  ammoType = "",
ItemBase  muzzle_owner = null,
ItemBase  suppressor = null,
string  config_to_search = "" 
)

Definition at line 559 of file itembase.c.

◆ StopDeployLoopSoundEx()

void SpawnItemOnLocation::StopDeployLoopSoundEx ( )

Definition at line 4315 of file itembase.c.

◆ StopItemDynamicPhysics()

void SpawnItemOnLocation::StopItemDynamicPhysics ( )

Definition at line 4426 of file itembase.c.

◆ StopOverheating()

void SpawnItemOnLocation::StopOverheating ( ItemBase  weapon = null,
string  ammoType = "",
ItemBase  muzzle_owner = null,
ItemBase  suppressor = null,
string  config_to_search = "" 
)

Definition at line 572 of file itembase.c.

◆ TransferAgents()

void SpawnItemOnLocation::TransferAgents ( int  agents)

transfer agents from another item

Definition at line 3869 of file itembase.c.

◆ TransferModifiers()

void SpawnItemOnLocation::TransferModifiers ( PlayerBase  reciever)

appears to be deprecated, legacy code

◆ TransferVariablesFloat()

void SpawnItemOnLocation::TransferVariablesFloat ( array< float float_vars)

Definition at line 2567 of file itembase.c.

◆ UnlockFromParent()

void SpawnItemOnLocation::UnlockFromParent ( )

Unlocks this item from its attachment slot of its parent.

Definition at line 837 of file itembase.c.

◆ UpdateAllOverheatingParticles()

void SpawnItemOnLocation::UpdateAllOverheatingParticles ( )

Definition at line 600 of file itembase.c.

◆ UpdateOverheating()

void SpawnItemOnLocation::UpdateOverheating ( ItemBase  weapon = null,
string  ammoType = "",
ItemBase  muzzle_owner = null,
ItemBase  suppressor = null,
string  config_to_search = "" 
)

Definition at line 565 of file itembase.c.

◆ UsesGlobalDeploy()

protected bool SpawnItemOnLocation::UsesGlobalDeploy ( )

Definition at line 269 of file itembase.c.

◆ WriteVarsToCTX()

void SpawnItemOnLocation::WriteVarsToCTX ( ParamsWriteContext  ctx)

Definition at line 2722 of file itembase.c.

◆ ~ItemBase()

void SpawnItemOnLocation::~ItemBase ( )

Definition at line 713 of file itembase.c.

Variable Documentation

◆ can_this_be_combined

bool can_this_be_combined = false

Definition at line 62 of file itembase.c.

◆ m_ActionsInitialize

bool m_ActionsInitialize

Definition at line 4 of file itembase.c.

◆ m_AdminLog

PluginAdminLog m_AdminLog

Definition at line 115 of file itembase.c.

◆ m_AttachedAgents

private int m_AttachedAgents

Definition at line 89 of file itembase.c.

◆ m_CanBeDigged

protected bool m_CanBeDigged

Definition at line 67 of file itembase.c.

◆ m_CanBeMovedOverride

bool m_CanBeMovedOverride

Definition at line 60 of file itembase.c.

◆ m_CanPlayImpactSound

bool m_CanPlayImpactSound = true

Definition at line 42 of file itembase.c.

◆ m_CanShowQuantity

bool m_CanShowQuantity

Definition at line 65 of file itembase.c.

◆ m_CanThisBeSplit

bool m_CanThisBeSplit = false

Definition at line 63 of file itembase.c.

◆ m_CheckOverheating

ref Timer m_CheckOverheating

Definition at line 105 of file itembase.c.

◆ m_Cleanness

int m_Cleanness

Definition at line 36 of file itembase.c.

◆ m_CleannessInit

int m_CleannessInit

Definition at line 37 of file itembase.c.

◆ m_CleannessMax

int m_CleannessMax

Definition at line 39 of file itembase.c.

◆ m_CleannessMin

int m_CleannessMin

Definition at line 38 of file itembase.c.

◆ m_ColorComponentA

int m_ColorComponentA

Definition at line 77 of file itembase.c.

◆ m_ColorComponentB

int m_ColorComponentB

Definition at line 76 of file itembase.c.

◆ m_ColorComponentG

int m_ColorComponentG

Definition at line 75 of file itembase.c.

◆ m_ColorComponentR

int m_ColorComponentR

Definition at line 74 of file itembase.c.

◆ m_CompatibleLocks

ref array<int> m_CompatibleLocks = new array<int>

Definition at line 121 of file itembase.c.

◆ m_ContinuousActions

ref TIntArray m_ContinuousActions

Definition at line 84 of file itembase.c.

◆ m_Count

int m_Count

Definition at line 21 of file itembase.c.

◆ m_DeployLoopSoundEx

protected bool m_IsResultOfSplit protected EffectSound m_DeployLoopSoundEx

distinguish if item has been created as new or it came from splitting (server only flag)

Definition at line 70 of file itembase.c.

◆ m_FixDamageSystemInit

bool m_FixDamageSystemInit = false

Definition at line 61 of file itembase.c.

◆ m_HasQuantityBar

bool m_HasQuantityBar

Definition at line 66 of file itembase.c.

◆ m_HeadHidingSelections

protected ref TStringArray m_HeadHidingSelections

Definition at line 111 of file itembase.c.

◆ m_HeatIsolation

float m_HeatIsolation

Definition at line 46 of file itembase.c.

◆ m_HideSelectionsBySlot

protected bool m_HideSelectionsBySlot

Definition at line 112 of file itembase.c.

◆ m_ImpactSoundSurfaceHash

int m_ImpactSoundSurfaceHash

Definition at line 44 of file itembase.c.

◆ m_ImpactSpeed

float m_ImpactSpeed

Definition at line 43 of file itembase.c.

◆ m_InputActionMap

TInputActionMap m_InputActionMap

Definition at line 3 of file itembase.c.

◆ m_InteractActions

ref TIntArray m_InteractActions

Definition at line 85 of file itembase.c.

◆ m_IsBeingPlaced

bool m_IsBeingPlaced

Definition at line 52 of file itembase.c.

◆ m_IsDeploySound

bool m_IsDeploySound

Definition at line 55 of file itembase.c.

◆ m_IsHologram

bool m_IsHologram

Definition at line 53 of file itembase.c.

◆ m_IsOverheatingEffectActive

bool m_IsOverheatingEffectActive

Definition at line 103 of file itembase.c.

◆ m_IsPlaceSound

bool m_IsPlaceSound

Definition at line 54 of file itembase.c.

◆ m_IsSoundSynchRemote

bool m_IsSoundSynchRemote

Definition at line 57 of file itembase.c.

◆ m_IsStoreLoad

bool m_IsStoreLoad = false

Definition at line 64 of file itembase.c.

◆ m_IsTakeable

bool m_IsTakeable

Definition at line 56 of file itembase.c.

◆ m_ItemAttachOffset

float m_ItemAttachOffset

Definition at line 48 of file itembase.c.

◆ m_ItemBehaviour

int m_ItemBehaviour = -1

Definition at line 50 of file itembase.c.

◆ m_ItemBeingDroppedPhys

bool m_ItemBeingDroppedPhys

Definition at line 59 of file itembase.c.

◆ m_ItemModelLength

float m_ItemModelLength

Definition at line 47 of file itembase.c.

◆ m_LightSourceItem

ItemBase m_LightSourceItem

Definition at line 81 of file itembase.c.

◆ m_LockingSound

protected ref EffectSound m_LockingSound

Definition at line 123 of file itembase.c.

◆ m_LockSoundSet

protected string m_LockSoundSet = ""

Definition at line 124 of file itembase.c.

◆ m_LockType

protected int m_LockType

Definition at line 122 of file itembase.c.

◆ m_MaxOverheatingValue

int m_MaxOverheatingValue = 0

Definition at line 107 of file itembase.c.

◆ m_OnOverheatingEffect

ref map<int, ref array<ref WeaponParticlesOnOverheating> > m_OnOverheatingEffect

Definition at line 98 of file itembase.c.

◆ m_OverheatingDecayInterval

float m_OverheatingDecayInterval = 1

Definition at line 108 of file itembase.c.

◆ m_OverheatingParticles

ref array<ref OverheatingParticle> m_OverheatingParticles

Definition at line 109 of file itembase.c.

◆ m_OverheatingShots

float m_OverheatingShots

Definition at line 104 of file itembase.c.

◆ m_PhysDropTimer

ref Timer m_PhysDropTimer

Definition at line 118 of file itembase.c.

◆ m_QuickBarBonus

int m_QuickBarBonus = 0

Definition at line 51 of file itembase.c.

◆ m_RecipesInitialized

bool m_RecipesInitialized

Definition at line 7 of file itembase.c.

◆ m_ShotsToStartOverheating

int m_ShotsToStartOverheating = 0

Definition at line 106 of file itembase.c.

◆ m_SingleUseActions

ref TIntArray m_SingleUseActions

Definition at line 83 of file itembase.c.

◆ m_SoundAttType

string m_SoundAttType

Definition at line 72 of file itembase.c.

◆ m_SoundDeploy

protected EffectSound m_SoundDeploy

Definition at line 127 of file itembase.c.

◆ m_SoundDeployFinish

protected EffectSound m_SoundDeployFinish

Definition at line 128 of file itembase.c.

◆ m_SoundPlace

protected EffectSound m_SoundPlace

Definition at line 126 of file itembase.c.

◆ m_StoreLoadedQuantity

float m_StoreLoadedQuantity = float.LOWEST

Definition at line 23 of file itembase.c.

◆ m_ThrowItemOnDrop

bool m_ThrowItemOnDrop

Definition at line 58 of file itembase.c.

◆ m_VariablesMask

int m_VariablesMask

Definition at line 13 of file itembase.c.

◆ m_VarLiquidType

int m_VarLiquidType

Definition at line 49 of file itembase.c.

◆ m_VarQuantity

float m_VarQuantity

Definition at line 16 of file itembase.c.

◆ m_VarQuantityInit

int m_VarQuantityInit

Definition at line 18 of file itembase.c.

◆ m_VarQuantityMax

int m_VarQuantityMax

Definition at line 20 of file itembase.c.

◆ m_VarQuantityMin

int m_VarQuantityMin

Definition at line 19 of file itembase.c.

◆ m_VarQuantityPrev

float m_VarQuantityPrev

Definition at line 17 of file itembase.c.

◆ m_VarStackMax

float m_VarStackMax

Definition at line 22 of file itembase.c.

◆ m_VarTemperature

float m_VarTemperature

Definition at line 25 of file itembase.c.

◆ m_VarTemperatureInit

float m_VarTemperatureInit

Definition at line 26 of file itembase.c.

◆ m_VarTemperatureMax

float m_VarTemperatureMax

Definition at line 28 of file itembase.c.

◆ m_VarTemperatureMin

float m_VarTemperatureMin

Definition at line 27 of file itembase.c.

◆ m_VarWet

float m_VarWet

Definition at line 30 of file itembase.c.

◆ m_VarWetInit

float m_VarWetInit

Definition at line 32 of file itembase.c.

◆ m_VarWetMax

float m_VarWetMax

Definition at line 34 of file itembase.c.

◆ m_VarWetMin

float m_VarWetMin

Definition at line 33 of file itembase.c.

◆ m_VarWetPrev

float m_VarWetPrev

Definition at line 31 of file itembase.c.

◆ m_WantPlayImpactSound

bool m_WantPlayImpactSound

Definition at line 41 of file itembase.c.