![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | AddLightSourceItem (ItemBase lightsource) |
| Adds a light source child. | |
| 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 | |
| override void | AddWet (float value) |
| void | AffectLiquidContainerOnFill (int liquid_type, float amount) |
| from enviro source | |
| void | AffectLiquidContainerOnTransfer (int liquidType, float amount, float sourceLiquidTemperature) |
| from other liquid container source | |
| override void | AfterStoreLoad () |
| bool | AllowFoodConsumption () |
| override bool | CanBeCombined (EntityAI other_item, bool reservation_check=true, bool stack_max_limit=false) |
| bool | CanBeConsumed (ConsumeConditionData data=null) |
| Items cannot be consumed if frozen by default. Override for exceptions. | |
| bool | CanBeCooked () |
| bool | CanBeCookedOnStick () |
| bool | CanBeDisinfected () |
| bool | CanBeMovedOverride () |
| bool | CanBeUsedForSuicide () |
| bool | CanDecay () |
| override bool | CanDisplayCargo () |
| bool | CanEat () |
| bool | CanExplodeInFire () |
| bool | CanHaveWetness () |
| bool | CanPlayDeployLoopSound () |
| bool | CanProcessDecay () |
| override bool | CanPutAsAttachment (EntityAI parent) |
| override bool | CanPutInCargo (EntityAI parent) |
| override bool | CanReceiveAttachment (EntityAI attachment, int slotId) |
| override bool | CanReceiveItemIntoCargo (EntityAI item) |
| override bool | CanReleaseAttachment (EntityAI attachment) |
| bool | CanRepair (ItemBase item_repair_kit) |
| override void | CheckForRoofLimited (float timeTresholdMS=3000) |
| Roof check for entity, limited by time (anti-spam solution). | |
| override void | ClearInventory () |
| void | ClearStartItemSoundServer () |
| void | ClearStopItemSoundServer () |
| void | Close () |
| void | CombineItems (ItemBase other_item, bool use_stack_max=true) |
| override void | CombineItemsEx (EntityAI entity2, bool use_stack_max=true) |
| int | ComputeQuantityUsed (ItemBase other_item, bool use_stack_max=true) |
| float | ComputeQuantityUsedEx (ItemBase other_item, bool use_stack_max=true) |
| bool | ContainsAgent (int agent_id) |
| void | ConvertEnergyToQuantity () |
| void | CopyScriptPropertiesFrom (EntityAI oldItem) |
| override void | DeSerializeNumericalVars (array< float > floats) |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| override void | EEOnAfterLoad () |
| override void | EEOnCECreate () |
| Called when entity is being created as new by CE/ Debug. | |
| bool | GetActionWidgetOverride (out typename name) |
| If we need a different (handheld)item action widget displayed, the logic goes in here. | |
| override int | GetAgents () |
| override string | GetAttachmentSoundType () |
| float | GetBaitEffectivity () |
| generic effectivity as a bait for animal catching | |
| float | GetBandagingEffectivity () |
| override int | GetCleanness () |
| override void | GetColor (out int r, out int g, out int b, out int a) |
| gets item's color variable as components | |
| 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)". | |
| override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
| string | GetDeployFinishSoundset () |
| string | GetDeploySoundset () |
| float | GetDeployTime () |
| how long it takes to deploy this item in seconds | |
| float | GetDryingIncrement (string pIncrementName) |
| float | GetEnergy () |
| string | GetFoldSoundset () |
| FoodStage | GetFoodStage () |
| overridden on Edible_Base; so we don't have to parse configs all the time | |
| array< string > | GetHeadHidingSelection () |
| float | GetHeatIsolation () |
| float | GetHeatIsolationInit () |
| float | GetItemAttachOffset () |
| float | GetItemModelLength () |
| override float | GetItemOverheatThreshold () |
| int | GetItemSize () |
| ItemSoundHandler | GetItemSoundHandler () |
| ItemBase | GetLightSourceItem () |
| override int | GetLiquidType () |
| int | GetLiquidTypeInit () |
| string | GetLockSoundSet () |
| int | GetLockType () |
| string | GetLoopDeploySoundset () |
| string | GetLoopFoldSoundset () |
| int | GetNumberOfItems () |
| Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive. | |
| string | GetPlaceSoundset () |
| float | GetProtectionLevel (int type, bool consider_filter=false, int system=0) |
| override float | GetQuantity () |
| int | GetQuantityInit () |
| override int | GetQuantityMax () |
| override int | GetQuantityMin () |
| override 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). | |
| float | GetQuantityNormalizedScripted () |
| void | GetRecipesActions (Man player, out TSelectableActionInfoArray outputList) |
| float | GetSingleInventoryItemWeight () |
| override float | GetSingleInventoryItemWeightEx () |
| float | GetSoakingIncrement (string pIncrementName) |
| override float | GetStoreLoadedQuantity () |
| override int | GetTargetQuantityMax (int attSlotID=-1) |
| override float | GetTemperatureFreezeThreshold () |
| override float | GetTemperatureFreezeTime () |
| float | GetTemperaturePerQuantityWeight () |
| Used in heat comfort calculations only! | |
| override float | GetTemperatureThawThreshold () |
| override float | GetTemperatureThawTime () |
| float | GetUnitWeight (bool include_wetness=true) |
| Obsolete, use GetWeightEx instead. | |
| array< int > | GetValidFinishers () |
| returns an array of possible finishers | |
| float | GetWeightSpecialized (bool forceRecalc=false) |
| override float | GetWet () |
| override float | GetWetInit () |
| override EWetnessLevel | GetWetLevel () |
| override float | GetWetMax () |
| override float | GetWetMin () |
| WrittenNoteData | GetWrittenNoteData () |
| bool | HasFoodStage () |
| override bool | HasQuantity () |
| bool | HidesSelectionBySlot () |
| void | HierarchyCheck (out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB) |
| string | IDToName (int id) |
| void | InitItemSounds () |
| override void | InsertAgent (int agent, float count=1) |
| bool | IsActionTargetVisible () |
| bool | IsCargoException4x3 (EntityAI item) |
| bool | IsColorSet () |
| bool | IsCombineAll (ItemBase other_item, bool use_stack_max=false) |
| bool | IsCoverFaceForShave (string slot_name) |
| DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere. | |
| bool | IsDeployable () |
| bool | IsDeploySound () |
| bool | IsFullQuantity () |
| override bool | IsHeavyBehaviour () |
| override bool | IsIgnoredByConstruction () |
| override bool | IsItemBase () |
| override bool | IsOneHandedBehaviour () |
| bool | IsOpen () |
| bool | IsPlaceSound () |
| bool | IsResultOfSplit () |
| bool | IsSoundSynchRemote () |
| override bool | IsStoreLoad () |
| override bool | IsTakeable () |
| override bool | IsTwoHandedBehaviour () |
| override bool | KindOf (string tag) |
| bool | LoadAgents (ParamsReadContext ctx, int version) |
| void | MessageToOwnerAction (string text) |
| Send message to owner player in yellow color. | |
| void | MessageToOwnerFriendly (string text) |
| Send message to owner player in green color. | |
| void | MessageToOwnerImportant (string text) |
| Send message to owner player in red color. | |
| void | MessageToOwnerStatus (string text) |
| Send message to owner player in grey color. | |
| int | NameToID (string name) |
| override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
| void | OnActivatedByItem (notnull ItemBase item) |
| Called when this item is activated by other. | |
| void | OnActivatedByTripWire () |
| DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on. | |
| void | OnApply (PlayerBase player) |
| void | OnAttachmentQuantityChanged (ItemBase item) |
| Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. | |
| 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. | |
| void | OnCombine (ItemBase other_item) |
| override void | OnEnergyAdded () |
| override void | OnEnergyConsumed () |
| void | OnInventoryEnter (Man player) |
| Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter. | |
| void | OnInventoryExit (Man player) |
| Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter. | |
| void | OnLiquidTypeChanged (int oldType, int newType) |
| override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| override void | OnPlacementStarted (Man player) |
| void | OnQuantityChanged (float delta) |
| Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event. | |
| override void | OnRightClick () |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| override void | OnStoreSave (ParamsWriteContext ctx) |
| void | OnSyncVariables (ParamsReadContext ctx) |
| DEPRECATED (most likely). | |
| override void | OnVariablesSynchronized () |
| override void | OnWetChanged (float newVal, float oldVal) |
| override void | OnWetLevelChanged (EWetnessLevel newLevel, EWetnessLevel oldLevel) |
| void | Open () |
| Implementations only. | |
| bool | PairWithDevice (notnull ItemBase otherDevice) |
| void | PerformDamageSystemReinit () |
| 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. | |
| void | PlayDeployFinishSound () |
| void | PlayDeployLoopSoundEx () |
| void | PlayDeploySound () |
| void | PlayDetachSound (string slot_type) |
| void | PlayPlaceSound () |
| void | PreLoadSoundAttachmentType () |
| Attachment Sound Type getting from config file. | |
| void | ProcessDecay (float delta, bool hasRootAsPlayer) |
| void | ProcessItemTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| void | ProcessItemWetness (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| void | ProcessItemWetnessAndTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| override void | ProcessVariables () |
| override bool | ReadVarsFromCTX (ParamsReadContext ctx, int version=-1) |
| void | RefreshAudioVisualsOnClient (CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned) |
| cooking-related effect methods | |
| override void | RemoveAgent (int agent_id) |
| override void | RemoveAllAgents () |
| override void | RemoveAllAgentsExcept (int agent_to_keep) |
| void | RemoveAudioVisualsOnClient () |
| void | RemoveLightSourceItem () |
| bool | Repair (PlayerBase player, ItemBase item_repair_kit, float specialty_weight) |
| void | SaveAgents (ParamsWriteContext ctx) |
| override void | SerializeNumericalVars (array< float > floats_out) |
| void | SetCanBeMovedOverride (bool setting) |
| override void | SetCleanness (int value, bool allow_client=false) |
| override void | SetColor (int r, int g, int b, int a) |
| void | SetInventoryLocationToVicinityOrCurrent (EntityAI root, inout InventoryLocation dst) |
| void | SetIsDeploySound (bool is_deploy_sound) |
| void | SetIsPlaceSound (bool is_place_sound) |
| override void | SetLiquidType (int value, bool allow_client=false) |
| override 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. | |
| void | SetQuantityMax () |
| override 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). | |
| override void | SetQuantityToMinimum () |
| void | SetResultOfSplit (bool value) |
| override void | SetStoreLoad (bool value) |
| override void | SetStoreLoadedQuantity (float value) |
| override void | SetTakeable (bool pState) |
| override void | SetWet (float value, bool allow_client=false) |
| override void | SetWetMax () |
| void | SetZoneDamageCEInit () |
| Sets zone damages to match randomized global health set by CE (CE spawn only). | |
| bool | ShouldSplitQuantity (float quantity) |
| void | SoundSynchRemote () |
| void | SoundSynchRemoteReset () |
| void | SplitIntoStackMax (EntityAI destination_entity, int slot_id, PlayerBase player) |
| void | SplitIntoStackMaxCargo (EntityAI destination_entity, int idx, int row, int col) |
| void | SplitIntoStackMaxCargoClient (EntityAI destination_entity, int idx, int row, int col) |
| override void | SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id) |
| override void | SplitIntoStackMaxEx (EntityAI destination_entity, int slot_id) |
| void | SplitIntoStackMaxHands (PlayerBase player) |
| void | SplitIntoStackMaxHandsClient (PlayerBase player) |
| void | SplitIntoStackMaxToInventoryLocation (notnull InventoryLocation dst) |
| void | SplitIntoStackMaxToInventoryLocationClient (notnull InventoryLocation dst) |
| ItemBase | SplitIntoStackMaxToInventoryLocationEx (notnull InventoryLocation dst) |
| void | SplitItem (PlayerBase player) |
| void | SplitItemToInventoryLocation (notnull InventoryLocation dst) |
| void | StartItemSoundServer (int id) |
| void | StartItemSoundServer (int id, int slotId) |
| void | StopDeployLoopSoundEx () |
| void | StopItemDynamicPhysics () |
| void | StopItemSoundServer (int id) |
| void | TransferAgents (int agents) |
| transfer agents from another item | |
| void | UpdateQuickbarShortcutVisibility (PlayerBase player) |
| To be called on moving item within character's inventory; 'player' should never be null. | |
| bool | UsesGlobalDeploy () |
| override void | WriteVarsToCTX (ParamsWriteContext ctx) |
Static Protected Member Functions | |
| static void | PlayBulletCasingEjectParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | PlayFireParticles (ItemBase weapon, int muzzle_index, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | PlayOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | StopOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | UpdateOverheatingParticles (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
Protected Attributes | |
| const int | ITEM_SOUNDS_MAX = 63 |
| PluginAdminLog | m_AdminLog |
| bool | m_CanBeDigged |
| int | m_ColorComponentA |
| int | m_ColorComponentB |
| int | m_ColorComponentG |
| int | m_ColorComponentR |
| ref array< int > | m_CompatibleLocks |
| ref TIntArray | m_ContinuousActions |
| EffectSound | m_DeployLoopSoundEx |
| ref TStringArray | m_HeadHidingSelections |
| bool | m_HideSelectionsBySlot |
| ref TIntArray | m_InteractActions |
| bool | m_IsDeploySound |
| bool | m_IsPlaceSound |
| bool | m_IsSoundSynchRemote |
| ItemBase | m_LightSourceItem |
| ref EffectSound | m_LockingSound |
| string | m_LockSoundSet |
| int | m_LockType |
| ref Timer | m_PhysDropTimer |
| ref TIntArray | m_SingleUseActions |
| bool m_IsResultOfSplit string | m_SoundAttType |
| distinguish if item has been created as new or it came from splitting (server only flag) | |
| EffectSound | m_SoundDeploy |
| EffectSound | m_SoundDeployFinish |
| EffectSound | m_SoundPlace |
| int | m_SoundSyncPlay |
| int | m_SoundSyncSlotID = InventorySlots.INVALID |
| int | m_SoundSyncStop |
Private Member Functions | |
| void | ~ItemBase () |
| void | AddAction (typename actionName) |
| bool | CanBeDigged () |
| bool | CanBeRepairedByCrafting () |
| override bool | CanBeSplit () |
| bool | CanMakeGardenplot () |
| override bool | CanObstruct () |
| override string | ChangeIntoOnAttach (string slot) |
| override string | ChangeIntoOnDetach () |
| void | CheckOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
| override void | CombineItemsClient (EntityAI entity2, bool use_stack_max=true) |
| bool | DamageItemAttachments (float damage) |
| bool | DamageItemInCargo (float damage) |
| void | DoAmmoExplosion () |
| override void | EEDelete (EntityAI parent) |
| override void | EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef) |
| override void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| override void | EEKilled (Object killer) |
| override void | EOnContact (IEntity other, Contact extra) |
| void | ExplodeAmmo () |
| override void | GetActions (typename action_input_type, out array< ActionBase_Basic > actions) |
| int | GetDamageSystemVersionChange () |
| Re-sets DamageSystem changes. | |
| float | GetDisinfectQuantity (int system=0, Param param1=null) |
| string | GetExplosiveTriggerSlotName () |
| float | GetFilterDamageRatio () |
| 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. | |
| ScriptedLightBase | GetLight () |
| int | GetLiquidContainerMask () |
| int | GetMuzzleID () |
| Returns global muzzle ID. If not found, then it gets automatically registered. | |
| int | GetOnDigWormsAmount () |
| float | GetOverheatingCoef () |
| float | GetOverheatingValue () |
| override int | GetQuickBarBonus () |
| bool | HasMuzzle () |
| Returns true if this item has a muzzle (weapons, suppressors). | |
| void | IncreaseOverheating (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| void | InitializeActions () |
| override void | InitItemVariables () |
| override bool | IsBeingPlaced () |
| bool | IsBloodContainer () |
| bool | IsExplosive () |
| bool | IsFacingPlayer (PlayerBase player, string selection) |
| override bool | IsHologram () |
| bool | IsLightSource () |
| bool | IsLiquidContainer () |
| bool | IsLiquidPresent () |
| bool | IsNVG () |
| bool | IsOverheatingEffectActive () |
| bool | IsPlayerInside (PlayerBase player, string selection) |
| override bool | IsSplitable () |
| void | ItemBase () |
| void | KillAllOverheatingParticles () |
| void | LoadParticleConfigOnFire (int id) |
| void | LoadParticleConfigOnOverheating (int id) |
| 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. | |
| override void | OnCreatePhysics () |
| void | OnEndPlacement () |
| override void | OnItemAttachmentSlotChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| void | OnItemInHandsPlayerSwimStart (PlayerBase player) |
| override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| override void | OnMovedInsideCargo (EntityAI container) |
| void | OnOverheatingDecay () |
| override void | OnWasAttached (EntityAI parent, int slot_id) |
| override void | OnWasDetached (EntityAI parent, int slot_id) |
| void | OverrideActionAnimation (typename action, int commandUID, int stanceMask=-1, int commandUIDProne=-1) |
| void | RefreshPhysics () |
| void | RegisterOverheatingParticle (Particle p, float min_heat_coef, float max_heat_coef, int particle_id, Object parent, vector local_pos, vector local_ori) |
| void | RemoveAction (typename actionName) |
| void | SetActionAnimOverrides () |
| void | SetActions () |
| void | SetCEBasedQuantity () |
| void | SetIsBeingPlaced (bool is_being_placed) |
| void | SetIsHologram (bool is_hologram) |
| void | StartOverheating (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 | TransferModifiers (PlayerBase reciever) |
| appears to be deprecated, legacy code | |
| void | UnlockFromParent () |
| Unlocks this item from its attachment slot of its parent. | |
| void | UpdateAllOverheatingParticles () |
| void | UpdateOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
Static Private Member Functions | |
| static void | AddDebugActionsMask (int mask) |
| static int | GetDebugActionsMask () |
| static bool | HasDebugActionsMask (int mask) |
| static void | RemoveDebugActionsMask (int mask) |
| static void | SetDebugActionsMask (int mask) |
| static void | ToggleDebugActionsMask (int mask) |
Static Private Attributes | |
| static int | m_DebugActionsMask |
| static ref map< typename, ref TActionAnimOverrideMap > | m_ItemActionOverrides = new map<typename, ref TActionAnimOverrideMap> |
| static ref map< typename, ref TInputActionMap > | m_ItemTypeActionsMap = new map<typename, ref TInputActionMap> |
| static int | m_LastRegisteredWeaponID = 0 |
| static ref map< int, ref array< ref WeaponParticlesOnBulletCasingEject > > | m_OnBulletCasingEjectEffect |
| static ref map< int, ref array< ref WeaponParticlesOnFire > > | m_OnFireEffect |
| static ref map< string, int > | m_WeaponTypeToID |
Definition at line 20 of file itembase.c.
|
inlineprivate |
Definition at line 750 of file itembase.c.
References SEffectManager::DestroyEffect(), g_Game, InventoryLocation::GetParent(), InventoryLocation::GetSlot(), InventoryLocation::GetType(), and m_LockingSound.
|
inlineprivate |
Definition at line 328 of file itembase.c.
References Debug::ActionLog(), ActionManagerBase(), ActionBase::GetInputType(), LogManager::IsActionLogEnable(), Debug::Log(), Debug::LogError(), m_ActionsInitialize, and m_InputActionMap.
|
inlinestaticprivate |
Definition at line 800 of file itembase.c.
References ItemBase().
|
inlineprotected |
Adds a light source child.
Definition at line 4750 of file itembase.c.
References ItemBase(), and m_LightSourceItem.
|
inlineprotected |
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 3413 of file itembase.c.
References GetQuantity(), and ItemBase::SetQuantity().
|
inlineprotected |
Definition at line 3721 of file itembase.c.
|
protected |
from other liquid container source
|
inlineprotected |
Definition at line 3249 of file itembase.c.
References GetStoreLoadedQuantity(), LOWEST, m_FixDamageSystemInit, PerformDamageSystemReinit(), ItemBase::SetQuantity(), and SetStoreLoadedQuantity().
|
inlineprotected |
Definition at line 3831 of file itembase.c.
|
inlineprotected |
Definition at line 2202 of file itembase.c.
References can_this_be_combined, GetQuantity(), GetQuantityMax(), GetQuantityMax(), GetType(), IsFullQuantity(), slotName, and GameConstants::STATE_RUINED.
|
inlineprotected |
Items cannot be consumed if frozen by default. Override for exceptions.
Definition at line 4653 of file itembase.c.
References IsOpen().
|
inlineprotected |
Definition at line 2666 of file itembase.c.
|
inlineprotected |
Definition at line 2671 of file itembase.c.
|
inlineprivate |
Definition at line 1000 of file itembase.c.
References m_CanBeDigged.
|
inlineprotected |
Definition at line 3278 of file itembase.c.
|
inlineprotected |
Definition at line 2710 of file itembase.c.
References m_CanBeMovedOverride.
|
inlineprivate |
Definition at line 956 of file itembase.c.
|
inlineprivate |
Definition at line 1605 of file itembase.c.
References GetQuantity(), and IsSplitable().
|
inlineprotected |
Definition at line 4830 of file itembase.c.
|
inlineprotected |
Definition at line 4633 of file itembase.c.
|
inlineprotected |
Definition at line 4153 of file itembase.c.
References IsOpen().
|
inlineprotected |
Definition at line 2641 of file itembase.c.
|
inlineprotected |
Definition at line 2635 of file itembase.c.
Referenced by EEKilled().
|
inlineprotected |
Definition at line 4646 of file itembase.c.
|
inlineprivate |
Definition at line 1010 of file itembase.c.
|
inlineprivate |
Definition at line 973 of file itembase.c.
References g_Game, and ItemBase::IsPlayerInside().
|
inlineprotected |
Definition at line 4863 of file itembase.c.
|
inlineprotected |
Definition at line 4639 of file itembase.c.
Definition at line 4176 of file itembase.c.
Definition at line 4162 of file itembase.c.
Definition at line 4200 of file itembase.c.
References GameInventory::GetCargo(), CargoBase::GetItemCount(), and InventoryLocation::IsValid().
Definition at line 4191 of file itembase.c.
Definition at line 4221 of file itembase.c.
Definition at line 2681 of file itembase.c.
References GetPlugin(), and ItemBase().
Definition at line 1422 of file itembase.c.
|
inlineprivate |
Definition at line 1446 of file itembase.c.
|
inlineprotected |
Roof check for entity, limited by time (anti-spam solution).
Definition at line 4081 of file itembase.c.
References g_Game.
|
inlineprivate |
Definition at line 550 of file itembase.c.
References IsOverheatingEffectActive(), ItemBase(), m_MaxOverheatingValue, m_OverheatingShots, m_ShotsToStartOverheating, StartOverheating(), StopOverheating(), and UpdateOverheating().
|
inlineprotected |
Definition at line 3614 of file itembase.c.
References GameInventory::EnumerateInventory(), g_Game, and ItemBase().
|
inlineprotected |
Definition at line 4500 of file itembase.c.
References InventorySlots::INVALID, m_SoundSyncPlay, and m_SoundSyncSlotID.
Referenced by StartItemSoundServer().
|
inlineprotected |
Definition at line 4506 of file itembase.c.
References m_SoundSyncStop.
Referenced by StopItemSoundServer().
|
protected |
Definition at line 2308 of file itembase.c.
References AddQuantity(), ItemBase::CanBeCombined(), ComputeQuantityUsedEx(), GetQuantity(), ItemBase(), ItemBase::OnCombine(), and Math::Round().
Definition at line 877 of file itembase.c.
References GameInventory::c_InventoryReservationTimeoutShortMS, ScriptInputUserData::CanStoreInputUserData(), CombineItems(), g_Game, INPUT_UDT_ITEM_MANIPULATION, IsCombineAll(), ItemBase(), ScriptInputUserData::Send(), and Serializer::Write().
Definition at line 2303 of file itembase.c.
References CombineItems(), and ItemBase().
Definition at line 2279 of file itembase.c.
References ComputeQuantityUsedEx(), and ItemBase().
Definition at line 2284 of file itembase.c.
References GetQuantity(), GetQuantityMax(), and ItemBase().
Definition at line 3973 of file itembase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 3661 of file itembase.c.
References g_Game, HasQuantity(), and SetQuantityNormalized().
|
inlineprotected |
Definition at line 4744 of file itembase.c.
Definition at line 1583 of file itembase.c.
References GameInventory::AttachmentCount(), GameInventory::GetAttachmentFromIndex(), ItemBase(), and Math::RandomInt().
Definition at line 1563 of file itembase.c.
References CargoBase::GetItem(), CargoBase::GetItemCount(), ItemBase(), and Math::RandomInt().
Definition at line 2934 of file itembase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_IsStoreLoad, Math::Round(), SetCleanness(), SetLiquidType(), ItemBase::SetQuantity(), SetStoreLoadedQuantity(), SetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, and VARIABLE_WET.
|
inlineprivate |
Definition at line 1498 of file itembase.c.
References ExplodeAmmo(), g_Game, GetTemperature(), and Math::RandomInt().
|
inlineprivate |
Definition at line 1340 of file itembase.c.
References InventoryLocation::GetParent(), InventoryLocation::GetSlot(), InventoryLocation::GetType(), and ItemBase::OnInventoryExit().
drops content of container when ruined in fireplace
Definition at line 2086 of file itembase.c.
References g_Game, CargoBase::GetItem(), CargoBase::GetItemCount(), IsResultOfSplit(), m_Cleanness, SetCleanness(), SetResultOfSplit(), and GameConstants::STATE_RUINED.
|
inlineprivate |
Definition at line 1522 of file itembase.c.
References component, DamageItemAttachments(), DamageItemInCargo(), TotalDamageResult::GetDamage(), ItemBase::IsClothing(), ItemBase::IsItemTent(), and Math::RandomInt().
|
inlineprivate |
Definition at line 1062 of file itembase.c.
References g_Game, InventoryLocation::GetItem(), InventoryLocation::GetParent(), GetPlugin(), InventoryLocation::GetSlot(), InventoryLocation::GetType(), ItemBase(), and m_ThrowItemOnDrop.
|
inlineprivate |
item is able to explode in fire
Definition at line 1374 of file itembase.c.
References CanExplodeInFire(), Explode(), ExplodeAmmo(), GetTemperature(), and GameConstants::ITEM_TEMPERATURE_TO_EXPLODE_MIN.
|
inlineprotected |
Definition at line 3265 of file itembase.c.
References GetRemotelyActivatedItemBehaviour(), m_FixDamageSystemInit, and RemotelyActivatedItemBehaviour::OnAfterLoad().
|
inlineprotected |
Called when entity is being created as new by CE/ Debug.
Definition at line 4133 of file itembase.c.
References SetCEBasedQuantity(), and SetZoneDamageCEInit().
Definition at line 1194 of file itembase.c.
References vector::Distance(), GetPosition(), m_CanPlayImpactSound, m_ImpactSoundSurfaceHash, m_ImpactSpeed, and m_WantPlayImpactSound.
|
inlineprivate |
Definition at line 1485 of file itembase.c.
References CALL_CATEGORY_SYSTEM, and Math::RandomFloat().
|
inlineprivate |
Definition at line 306 of file itembase.c.
References InitializeActions(), m_ActionsInitialize, and m_InputActionMap.
If we need a different (handheld)item action widget displayed, the logic goes in here.
Definition at line 4772 of file itembase.c.
References name.
|
inlineprotected |
Definition at line 4020 of file itembase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 4424 of file itembase.c.
References m_SoundAttType.
|
inlineprotected |
generic effectivity as a bait for animal catching
Definition at line 4802 of file itembase.c.
References GetQuantityNormalized(), and HasQuantity().
|
inlineprotected |
Definition at line 4513 of file itembase.c.
|
inlineprotected |
Definition at line 3826 of file itembase.c.
References m_Cleanness.
gets item's color variable as components
Definition at line 3861 of file itembase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, and m_ColorComponentR.
|
inlineprotected |
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 3875 of file itembase.c.
References GetColor().
|
inlineprivate |
Re-sets DamageSystem changes.
Definition at line 742 of file itembase.c.
|
inlineprotected |
Definition at line 2363 of file itembase.c.
References InventoryLocation::GetType(), IsLiquidContainer(), and SAT_DEBUG_ACTION.
|
inlinestaticprivate |
Definition at line 785 of file itembase.c.
References ItemBase().
|
protected |
|
protected |
Referenced by InitItemSounds().
|
inlineprotected |
how long it takes to deploy this item in seconds
Definition at line 4386 of file itembase.c.
References UATimeSpent::DEFAULT_DEPLOY.
Definition at line 699 of file itembase.c.
Definition at line 3684 of file itembase.c.
|
inlineprotected |
Definition at line 3635 of file itembase.c.
|
inlineprivate |
Definition at line 944 of file itembase.c.
|
inlineprivate |
Definition at line 704 of file itembase.c.
|
protected |
|
inlineprotected |
overridden on Edible_Base; so we don't have to parse configs all the time
Definition at line 2661 of file itembase.c.
Definition at line 4518 of file itembase.c.
References m_HeadHidingSelections.
|
inlineprotected |
Definition at line 3679 of file itembase.c.
References m_HeatIsolation.
|
inlineprotected |
Definition at line 3674 of file itembase.c.
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 693 of file itembase.c.
|
inlineprotected |
Definition at line 3804 of file itembase.c.
|
inlineprotected |
Definition at line 3795 of file itembase.c.
|
inlineprotected |
Definition at line 4710 of file itembase.c.
References GetLiquidType(), IsLiquidContainer(), and LIQUID_NONE.
|
inlineprotected |
Definition at line 2695 of file itembase.c.
|
inlineprotected |
Definition at line 4439 of file itembase.c.
References ItemSoundHandler(), and m_ItemSoundHandler.
|
private |
|
inlineprotected |
Definition at line 4760 of file itembase.c.
References ItemBase(), and m_LightSourceItem.
|
inlineprivate |
Definition at line 921 of file itembase.c.
References m_LiquidContainerMask.
|
inlineprotected |
Definition at line 3904 of file itembase.c.
References m_VarLiquidType.
|
inlineprotected |
Definition at line 3899 of file itembase.c.
|
inlineprotected |
Definition at line 3844 of file itembase.c.
References m_LockSoundSet.
|
inlineprotected |
Definition at line 3839 of file itembase.c.
References m_LockType.
|
protected |
Referenced by InitItemSounds().
|
protected |
|
inlineprivate |
Returns global muzzle ID. If not found, then it gets automatically registered.
Definition at line 719 of file itembase.c.
References GetType(), m_LastRegisteredWeaponID, and m_WeaponTypeToID.
|
inlineprotected |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Definition at line 3572 of file itembase.c.
References GameInventory::AttachmentCount(), Class::CastTo(), GameInventory::GetAttachmentFromIndex(), GameInventory::GetCargo(), CargoBase::GetItemCount(), and ItemBase().
|
inlineprivate |
Definition at line 1005 of file itembase.c.
|
inlineprivate |
Definition at line 629 of file itembase.c.
References m_MaxOverheatingValue, m_OverheatingShots, and m_ShotsToStartOverheating.
|
inlineprivate |
Definition at line 529 of file itembase.c.
References m_OverheatingShots.
|
protected |
Referenced by InitItemSounds().
Definition at line 4094 of file itembase.c.
References DEF_BIOLOGICAL, DEF_CHEMICAL, g_Game, GetQuantity(), GetType(), HasQuantity(), and ItemBase().
|
inlineprotected |
Definition at line 3508 of file itembase.c.
References m_VarQuantity.
|
inlineprotected |
Definition at line 3497 of file itembase.c.
References m_VarQuantityInit.
|
inlineprotected |
Definition at line 3459 of file itembase.c.
References GameInventory::GetCurrentInventoryLocation(), InventoryLocation::GetSlot(), and GetTargetQuantityMax().
Referenced by CanBeCombined().
|
inlineprotected |
Definition at line 3492 of file itembase.c.
References m_VarQuantityMin.
Referenced by SetQuantityNormalized().
|
inlineprotected |
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 3440 of file itembase.c.
References GetQuantityMax(), GetQuantityMin(), Math::InverseLerp(), and m_VarQuantity.
Referenced by GetTemperatureFreezeTime(), and GetTemperatureThawTime().
|
inlineprotected |
Definition at line 3445 of file itembase.c.
References GetQuantityNormalized().
|
inlineprivate |
Definition at line 289 of file itembase.c.
References m_QuickBarBonus.
|
inlineprotected |
Definition at line 2342 of file itembase.c.
References GetPlugin(), ItemBase(), and SAT_CRAFTING.
|
inlineprotected |
Definition at line 3528 of file itembase.c.
References GetSingleInventoryItemWeightEx().
|
inlineprotected |
Definition at line 3519 of file itembase.c.
Definition at line 3693 of file itembase.c.
|
inlineprotected |
Definition at line 3788 of file itembase.c.
References m_StoreLoadedQuantity.
Definition at line 3473 of file itembase.c.
References InventorySlots::GetStackMaxForSlotId(), IsSplitable(), m_VarQuantityMax, and m_VarStackMax.
|
inlineprotected |
Definition at line 4694 of file itembase.c.
References GetLiquidType(), IsLiquidContainer(), and LIQUID_NONE.
|
inlineprotected |
Definition at line 4718 of file itembase.c.
References GetQuantityNormalized(), HasQuantity(), Math::Lerp(), Math::Max(), and GameConstants::TEMPERATURE_TIME_FREEZE_MIN.
|
inlineprotected |
Used in heat comfort calculations only!
Definition at line 4689 of file itembase.c.
References GameConstants::ITEM_TEMPERATURE_QUANTITY_WEIGHT_MULTIPLIER, and m_TemperaturePerQuantityWeight.
|
inlineprotected |
Definition at line 4702 of file itembase.c.
References GetLiquidType(), IsLiquidContainer(), and LIQUID_NONE.
|
inlineprotected |
Definition at line 4726 of file itembase.c.
References GetQuantityNormalized(), HasQuantity(), Math::Lerp(), Math::Max(), GameConstants::TEMPERATURE_TIME_FREEZE_MIN, and GameConstants::TEMPERATURE_TIME_THAW_MIN.
Obsolete, use GetWeightEx instead.
Definition at line 3595 of file itembase.c.
References GetWet(), IsLiquidContainer(), and IsSplitable().
returns an array of possible finishers
Definition at line 4766 of file itembase.c.
Definition at line 3533 of file itembase.c.
References GetEnergy(), GetQuantity(), IsSplitable(), and WeightDebugData::SetCalcDetails().
|
inlineprotected |
Definition at line 3731 of file itembase.c.
References m_VarWet.
|
inlineprotected |
Definition at line 3746 of file itembase.c.
References m_VarWetInit.
|
inlineprotected |
Definition at line 3766 of file itembase.c.
References m_VarWet.
|
inlineprotected |
Definition at line 3736 of file itembase.c.
References m_VarWetMax.
|
inlineprotected |
Definition at line 3741 of file itembase.c.
References m_VarWetMin.
|
inlineprotected |
Definition at line 4528 of file itembase.c.
Definition at line 790 of file itembase.c.
References ItemBase().
|
inlineprotected |
Definition at line 2654 of file itembase.c.
|
inlineprivate |
Returns true if this item has a muzzle (weapons, suppressors).
Definition at line 710 of file itembase.c.
|
inlineprotected |
Definition at line 3503 of file itembase.c.
References GetQuantityMax(), and GetQuantityMin().
|
inlineprotected |
Definition at line 4523 of file itembase.c.
References m_HideSelectionsBySlot.
|
inlineprotected |
Definition at line 4611 of file itembase.c.
References ItemBase().
Definition at line 2877 of file itembase.c.
References GetPlugin().
|
inlineprivate |
Definition at line 534 of file itembase.c.
References CALL_CATEGORY_SYSTEM, CheckOverheating(), ItemBase(), m_CheckOverheating, m_MaxOverheatingValue, m_OverheatingDecayInterval, and m_OverheatingShots.
|
inlineprivate |
Definition at line 294 of file itembase.c.
References m_InputActionMap, m_ItemTypeActionsMap, ItemBase::SetActions(), and Type.
|
inlineprotected |
Definition at line 4448 of file itembase.c.
References Empty, GetDeploySoundset(), ItemBase::GetDeploySoundset(), GetItemSoundHandler(), GetLoopDeploySoundset(), ItemBase::GetLoopDeploySoundset(), GetPlaceSoundset(), GetPlaceSoundset(), ItemSoundHandler(), SoundParameters::m_Loop, SetAttachSoundEvent(), and SetDetachSoundEvent().
|
inlineprivate |
Definition at line 197 of file itembase.c.
References can_this_be_combined, GetHeatIsolationInit(), GetItemAttachOffset(), GetItemModelLength(), GetLiquidTypeInit(), GetQuantity(), GetQuantityMin(), GetWetMax(), GetWetMin(), HasQuantity(), ItemBase::InitItemSounds(), IsLiquidContainer(), ITEM_SOUNDS_MAX, m_CanBeDigged, m_CanBeMovedOverride, m_CanShowQuantity, m_CanThisBeSplit, m_Cleanness, m_CleannessInit, m_CleannessMax, m_CleannessMin, m_CompatibleLocks, m_Count, m_HasQuantityBar, m_HeatIsolation, m_ImpactSpeed, m_IsBeingPlaced, m_IsHologram, m_IsTakeable, m_ItemAttachOffset, m_ItemBehaviour, m_ItemModelLength, m_ItemSoundHandler, m_LiquidContainerMask, m_LockSoundSet, m_LockType, m_SoundSyncSlotID, m_TemperaturePerQuantityWeight, m_VarLiquidType, m_VarQuantity, m_VarQuantityInit, m_VarQuantityMax, m_VarQuantityMin, m_VarStackMax, m_VarWet, m_VarWetInit, m_VarWetMax, m_VarWetMin, m_WantPlayImpactSound, MAX, and MIN.
Definition at line 4005 of file itembase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 4406 of file itembase.c.
|
inlineprivate |
Definition at line 979 of file itembase.c.
References m_IsBeingPlaced.
|
inlineprivate |
Definition at line 926 of file itembase.c.
Definition at line 4739 of file itembase.c.
|
inlineprotected |
Definition at line 3869 of file itembase.c.
References VARIABLE_COLOR.
Definition at line 2264 of file itembase.c.
References ComputeQuantityUsed(), and ItemBase().
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
Definition at line 4561 of file itembase.c.
|
inlineprotected |
Definition at line 4380 of file itembase.c.
|
inlineprotected |
Definition at line 4866 of file itembase.c.
References m_IsDeploySound.
|
inlineprivate |
Definition at line 939 of file itembase.c.
|
inlineprivate |
Definition at line 963 of file itembase.c.
|
inlineprotected |
Definition at line 3513 of file itembase.c.
References GetQuantity(), and GetQuantityMax().
Referenced by CanBeCombined().
|
inlineprotected |
Definition at line 4350 of file itembase.c.
References m_ItemBehaviour.
|
inlineprivate |
Definition at line 995 of file itembase.c.
References m_IsHologram.
|
inlineprotected |
Definition at line 2647 of file itembase.c.
|
inlineprotected |
Definition at line 2794 of file itembase.c.
|
inlineprivate |
Definition at line 951 of file itembase.c.
|
inlineprivate |
Definition at line 916 of file itembase.c.
References m_LiquidContainerMask.
|
inlineprivate |
Definition at line 911 of file itembase.c.
References GetLiquidType(), and HasQuantity().
|
inlineprivate |
Definition at line 932 of file itembase.c.
|
inlineprotected |
Definition at line 4360 of file itembase.c.
References m_ItemBehaviour.
|
inlineprotected |
Definition at line 4148 of file itembase.c.
|
inlineprivate |
Definition at line 567 of file itembase.c.
References m_IsOverheatingEffectActive.
|
inlineprotected |
Definition at line 4865 of file itembase.c.
References m_IsPlaceSound.
|
inlineprivate |
Definition at line 968 of file itembase.c.
|
inlineprotected |
Definition at line 2269 of file itembase.c.
|
inlineprotected |
Definition at line 4864 of file itembase.c.
References m_IsSoundSynchRemote.
|
inlineprivate |
Definition at line 1600 of file itembase.c.
References m_CanThisBeSplit.
|
inlineprotected |
Definition at line 3778 of file itembase.c.
References m_IsStoreLoad.
|
inlineprotected |
Definition at line 4400 of file itembase.c.
References m_IsTakeable.
|
inlineprotected |
Definition at line 4370 of file itembase.c.
References m_ItemBehaviour.
|
inlineprivate |
Definition at line 148 of file itembase.c.
References g_Game, GetMuzzleID(), GetPlugin(), HasMuzzle(), LoadParticleConfigOnFire(), LoadParticleConfigOnOverheating(), m_ActionsInitialize, m_AdminLog, m_ContinuousActions, m_HeadHidingSelections, m_HideSelectionsBySlot, m_InteractActions, m_QuickBarBonus, m_ShotsToStartOverheating, m_SingleUseActions, Math::Max(), PreLoadSoundAttachmentType(), and ItemBase::SetActionAnimOverrides().
Referenced by AddDebugActionsMask(), AddLightSourceItem(), CanRepair(), CheckOverheating(), ClearInventory(), CombineItems(), CombineItemsClient(), CombineItemsEx(), ComputeQuantityUsed(), ComputeQuantityUsedEx(), DamageItemAttachments(), DamageItemInCargo(), EEItemLocationChanged(), GetDebugActionsMask(), GetLightSourceItem(), GetNumberOfItems(), GetProtectionLevel(), GetRecipesActions(), HasDebugActionsMask(), HierarchyCheck(), IncreaseOverheating(), IsCombineAll(), OnAction(), OnActivatedByItem(), OnAttachmentQuantityChanged(), OnAttachmentQuantityChangedEx(), OnCombine(), OnItemLocationChanged(), OnQuantityChanged(), OnRightClick(), PairWithDevice(), PlayBulletCasingEjectParticles(), PlayFireParticles(), PlayOverheatingParticles(), ProcessItemTemperature(), ProcessItemWetness(), ProcessItemWetnessAndTemperature(), ProcessVariables(), RemoveDebugActionsMask(), Repair(), SetDebugActionsMask(), SpawnItemOnLocation(), SplitIntoStackMax(), SplitIntoStackMaxCargo(), SplitIntoStackMaxCargoClient(), SplitIntoStackMaxClient(), SplitIntoStackMaxEx(), SplitIntoStackMaxHands(), SplitIntoStackMaxHandsClient(), SplitIntoStackMaxToInventoryLocationClient(), SplitIntoStackMaxToInventoryLocationEx(), SplitItem(), SplitItemToInventoryLocation(), StartOverheating(), StopOverheating(), StopOverheatingParticles(), UpdateOverheating(), and UpdateOverheatingParticles().
|
inlineprivate |
Definition at line 665 of file itembase.c.
References OverheatingParticle::GetParticle(), m_OverheatingParticles, and Particle::Stop().
Definition at line 2800 of file itembase.c.
|
inlineprotected |
Definition at line 4066 of file itembase.c.
References m_AttachedAgents, and Serializer::Read().
|
inlineprivate |
Definition at line 404 of file itembase.c.
References g_Game, GetType(), m_OnBulletCasingEjectEffect, and m_OnFireEffect.
|
inlineprivate |
Definition at line 473 of file itembase.c.
References Error(), g_Game, GetType(), m_MaxOverheatingValue, m_OnOverheatingEffect, m_OverheatingDecayInterval, and m_ShotsToStartOverheating.
|
inlineprivate |
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 852 of file itembase.c.
References InventoryLocation::GetSlot().
|
inlineprotected |
Send message to owner player in yellow color.
void Definition at line 2748 of file itembase.c.
|
inlineprotected |
Send message to owner player in green color.
void Definition at line 2766 of file itembase.c.
|
inlineprotected |
Send message to owner player in red color.
void Definition at line 2784 of file itembase.c.
|
inlineprotected |
Send message to owner player in grey color.
void Definition at line 2730 of file itembase.c.
Definition at line 2871 of file itembase.c.
References GetPlugin(), and name.
|
inlineprotected |
Definition at line 2423 of file itembase.c.
References AddQuantity(), AddWet(), g_Game, GetGizmoApi(), GetLiquidType(), GetPlugin(), GetQuantityMax(), GetWetMax(), InsertAgent(), ItemBase(), PluginItemDiagnostic(), RemoveAgent(), GizmoApi::SelectObject(), GizmoApi::SelectPhysics(), SetLiquidType(), ItemBase::SetQuantity(), and SetQuantityMax().
|
protected |
Called when this item is activated by other.
References ItemBase().
|
protected |
DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.
|
protected |
|
inlineprotected |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 2075 of file itembase.c.
References ItemBase().
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 2081 of file itembase.c.
References ItemBase(), and OnAttachmentQuantityChanged().
|
inlineprotected |
Definition at line 2334 of file itembase.c.
References ItemBase().
|
inlineprivate |
Definition at line 1224 of file itembase.c.
References ItemBase::RefreshPhysics().
|
inlineprivate |
Definition at line 993 of file itembase.c.
|
inlineprotected |
Definition at line 3653 of file itembase.c.
References ConvertEnergyToQuantity().
|
inlineprotected |
Definition at line 3646 of file itembase.c.
References ConvertEnergyToQuantity().
|
inlineprotected |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
Definition at line 3923 of file itembase.c.
References m_CanPlayImpactSound.
|
inlineprotected |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
Definition at line 3935 of file itembase.c.
|
inlineprivate |
Definition at line 1229 of file itembase.c.
|
private |
Definition at line 1234 of file itembase.c.
References ActionManagerBase(), ActionBase::GetID(), ItemBase::IsElectricAppliance(), EntityAI::IsMan(), ItemBase(), ItemBase::OnInventoryEnter(), ItemBase::OnInventoryExit(), and ActionBase::OnItemLocationChanged().
Definition at line 3909 of file itembase.c.
References LIQUID_NONE.
|
inlineprivate |
Definition at line 1055 of file itembase.c.
|
inlineprivate |
Definition at line 572 of file itembase.c.
References CALL_CATEGORY_GAMEPLAY, CheckOverheating(), m_CheckOverheating, m_MaxOverheatingValue, m_OverheatingDecayInterval, and m_OverheatingShots.
|
inlineprotected |
Definition at line 3959 of file itembase.c.
References m_AdminLog.
|
inlineprotected |
Definition at line 3952 of file itembase.c.
References SetTakeable().
|
inlineprotected |
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.
Definition at line 2052 of file itembase.c.
References ErrorEx, GetLiquidType(), GetLiquidTypeInit(), GetQuantityNormalized(), IsLiquidContainer(), ItemBase(), LIQUID_NONE, and SetLiquidType().
|
inlineprotected |
Definition at line 2124 of file itembase.c.
References GameInventory::c_InventoryReservationTimeoutShortMS, ItemBase::CanBeSplit(), ScriptInputUserData::CanStoreInputUserData(), g_Game, InventoryLocation::GetCol(), GetDayZGame(), InventoryLocation::GetFlip(), InventoryLocation::GetIdx(), InventoryLocation::GetParent(), InventoryLocation::GetRow(), INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), InventoryLocation::SetCargo(), SetInventoryLocationToVicinityOrCurrent(), SplitItem(), Serializer::Write(), and InventoryLocation::WriteToContext().
Referenced by VicinitySlotsContainer::MouseClick().
|
inlineprotected |
Definition at line 2820 of file itembase.c.
References SEffectManager::DestroyEffect(), GetPosition(), ItemBase::GetWrittenNoteData(), m_LockingSound, WrittenNoteData::OnRPC(), SEffectManager::PlaySound(), and Serializer::Read().
|
inlineprotected |
Definition at line 3120 of file itembase.c.
References Class::CastTo(), ItemBase::GetDamageSystemVersionChange(), GetRemotelyActivatedItemBehaviour(), LoadAgents(), m_FixDamageSystemInit, m_IsStoreLoad, MAX, RemotelyActivatedItemBehaviour::OnStoreLoad(), and Serializer::Read().
|
inlineprotected |
Definition at line 3221 of file itembase.c.
References GetRemotelyActivatedItemBehaviour(), RemotelyActivatedItemBehaviour::OnStoreSave(), SaveAgents(), and Serializer::Write().
|
inlineprotected |
DEPRECATED (most likely).
Definition at line 2884 of file itembase.c.
References ItemVariableFlags::FLOAT, Serializer::Read(), and ReadVarsFromCTX().
|
inlineprotected |
Definition at line 3285 of file itembase.c.
References dBodyIsDynamic(), g_Game, IsSplitable(), m_ImpactSoundSurfaceHash, m_ImpactSpeed, m_Initialized, m_ItemSoundHandler, m_SoundSyncPlay, m_SoundSyncSlotID, m_SoundSyncStop, m_VarQuantity, m_VarQuantityPrev, m_VarWet, m_VarWetPrev, m_WantPlayImpactSound, MENU_INVENTORY, OnWetChanged(), and UIScriptedMenu::Refresh().
Definition at line 1398 of file itembase.c.
References g_Game, GetQuantityMin(), HasQuantity(), m_VarQuantityMax, and StartItemSoundServer().
Definition at line 1411 of file itembase.c.
References g_Game, GetQuantityMin(), HasQuantity(), m_VarQuantityMax, and StartItemSoundServer().
Definition at line 3751 of file itembase.c.
References OnWetLevelChanged().
|
inlineprotected |
Definition at line 3761 of file itembase.c.
|
protected |
Implementations only.
|
inlineprivate |
Definition at line 381 of file itembase.c.
References ActionOverrideData::m_CommandUID, ActionOverrideData::m_CommandUIDProne, m_ItemActionOverrides, ActionOverrideData::m_StanceMask, and Type.
Definition at line 4777 of file itembase.c.
References g_Game, RemotelyActivatedItemBehaviour::GeneratePersistentID(), ItemBase(), and RemoteDetonatorTrigger::SetControlledDevice().
|
inlineprotected |
Definition at line 4536 of file itembase.c.
|
inlineprotected |
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 4872 of file itembase.c.
References g_Game, GetPosition(), GetType(), SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
|
inlinestaticprotected |
Definition at line 4269 of file itembase.c.
References ItemBase(), and m_OnBulletCasingEjectEffect.
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 4908 of file itembase.c.
|
inlinestaticprotected |
Definition at line 4249 of file itembase.c.
References ItemBase(), and m_OnFireEffect.
|
inlinestaticprotected |
Definition at line 4289 of file itembase.c.
References ItemBase().
|
protected |
|
inlineprotected |
Attachment Sound Type getting from config file.
Definition at line 4412 of file itembase.c.
References m_SoundAttType.
Definition at line 4628 of file itembase.c.
|
inlineprotected |
Definition at line 4591 of file itembase.c.
References CanHaveTemperature(), g_Game, GetTemperature(), ItemBase::IsSelfAdjustingTemperature(), ItemBase(), and GameConstants::TEMP_COEF_WORLD.
|
inlineprotected |
Definition at line 4566 of file itembase.c.
References AddWet(), GetDryingIncrement(), ItemBase(), m_VarWet, m_VarWetMax, m_VarWetMin, GameConstants::STATE_SOAKING_WET, GameConstants::WETNESS_RATE_WETTING_INSIDE, and GameConstants::WETNESS_RATE_WETTING_LIQUID.
|
inlineprotected |
Definition at line 4839 of file itembase.c.
References ItemBase(), ProcessItemTemperature(), and ProcessItemWetness().
|
inlineprotected |
Definition at line 4658 of file itembase.c.
References CanDecay(), CanHaveTemperature(), CanHaveWetness(), CanProcessDecay(), g_Game, HierarchyCheck(), ItemBase(), ProcessDecay(), ProcessItemTemperature(), and ProcessItemWetness().
|
inlineprotected |
Definition at line 3029 of file itembase.c.
References IsStoreLoad(), Serializer::Read(), SetCleanness(), SetColor(), SetLiquidType(), ItemBase::SetQuantity(), SetStoreLoadedQuantity(), SetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_TEMPERATURE, and VARIABLE_WET.
|
protected |
cooking-related effect methods
|
private |
|
inlineprivate |
Definition at line 615 of file itembase.c.
References m_OverheatingParticles, particle_id, OverheatingParticle::RegisterParticle(), OverheatingParticle::SetOverheatingLimitMax(), OverheatingParticle::SetOverheatingLimitMin(), and OverheatingParticle::SetParticleParams().
|
inlineprivate |
Definition at line 366 of file itembase.c.
References g_Game, ActionBase::GetInputType(), and m_InputActionMap.
|
inlineprotected |
Definition at line 3986 of file itembase.c.
References ContainsAgent(), and m_AttachedAgents.
|
inlineprotected |
Definition at line 3995 of file itembase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 4000 of file itembase.c.
References m_AttachedAgents.
|
protected |
|
inlinestaticprivate |
Definition at line 805 of file itembase.c.
References ItemBase().
|
inlineprotected |
Definition at line 4755 of file itembase.c.
References m_LightSourceItem.
|
inlineprotected |
Definition at line 2688 of file itembase.c.
References GetPlugin(), and ItemBase().
|
inlineprotected |
Definition at line 4073 of file itembase.c.
References m_AttachedAgents, and Serializer::Write().
Definition at line 2898 of file itembase.c.
References m_Cleanness, m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_VarLiquidType, m_VarQuantity, m_VarWet, VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, and VARIABLE_WET.
|
private |
|
inlineprivate |
Definition at line 317 of file itembase.c.
References ActionDropItem(), and AddAction().
|
inlineprotected |
Definition at line 2717 of file itembase.c.
References m_CanBeMovedOverride.
|
inlineprivate |
Definition at line 823 of file itembase.c.
References COMP_TYPE_ENERGY_MANAGER, ComponentEnergyManager::GetEnergyAtSpawn(), ComponentEnergyManager::GetEnergyMaxPristine(), HasQuantity(), Math::RandomFloatInclusive(), ComponentEnergyManager::SetEnergy0To1(), and SetQuantityNormalized().
Definition at line 3813 of file itembase.c.
References Math::Clamp(), m_Cleanness, m_CleannessMax, m_CleannessMin, and VARIABLE_CLEANNESS.
Definition at line 3852 of file itembase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, and VARIABLE_COLOR.
|
inlinestaticprivate |
Definition at line 795 of file itembase.c.
References ItemBase().
|
inlineprotected |
Definition at line 2188 of file itembase.c.
|
inlineprivate |
Definition at line 984 of file itembase.c.
References m_IsBeingPlaced, and ItemBase::OnEndPlacement().
|
protected |
|
inlineprivate |
Definition at line 1015 of file itembase.c.
References m_IsHologram.
|
protected |
Definition at line 3888 of file itembase.c.
References m_VarLiquidType, OnLiquidTypeChanged(), and VARIABLE_LIQUIDTYPE.
|
inlineprotected |
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 3340 of file itembase.c.
References Math::Clamp(), g_Game, GetQuantityMax(), GetQuantityMin(), InventoryLocation::GetSlot(), GetStoreLoadedQuantity(), InventoryLocation::GetType(), HasQuantity(), IsPrepareToDelete(), InventoryLocation::IsValid(), LOWEST, m_VarQuantity, OnQuantityChanged(), RemoveAllAgents(), StartItemSoundServer(), and VARIABLE_QUANTITY.
|
inlineprotected |
Definition at line 3418 of file itembase.c.
References GetQuantityMax(), and ItemBase::SetQuantity().
|
inlineprotected |
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 3431 of file itembase.c.
References Math::Clamp(), GetQuantityMax(), GetQuantityMin(), Math::Lerp(), Math::Round(), and ItemBase::SetQuantity().
|
inlineprotected |
Definition at line 3424 of file itembase.c.
References GetQuantityMin(), and ItemBase::SetQuantity().
|
inlineprotected |
Definition at line 2274 of file itembase.c.
|
inlineprotected |
Definition at line 3773 of file itembase.c.
References m_IsStoreLoad.
|
inlineprotected |
Definition at line 3783 of file itembase.c.
References m_StoreLoadedQuantity.
|
inlineprotected |
Definition at line 4394 of file itembase.c.
References m_IsTakeable.
Definition at line 3702 of file itembase.c.
References Math::Clamp(), GetWetMax(), GetWetMin(), m_VarWet, OnWetChanged(), and VARIABLE_WET.
|
inlineprotected |
Definition at line 3726 of file itembase.c.
References m_VarWetMax, and SetWet().
|
inlineprotected |
Sets zone damages to match randomized global health set by CE (CE spawn only).
Definition at line 4548 of file itembase.c.
Definition at line 1613 of file itembase.c.
References GetQuantity(), and IsSplitable().
|
protected |
|
protected |
|
inlineprotected |
Definition at line 1656 of file itembase.c.
References AddQuantity(), ECE_IN_INVENTORY, ECE_PLACE_ON_SURFACE, GameInventory::FindFreeLocationFor(), g_Game, GetQuantity(), GetTargetQuantityMax(), GetType(), InventorySlots::IsSlotIdValid(), ItemBase(), GameInventory::LocationCreateEntity(), RF_DEFAULT, ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 1906 of file itembase.c.
References AddQuantity(), GetQuantity(), GetTargetQuantityMax(), ItemBase(), ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 1842 of file itembase.c.
References ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), SplitIntoStackMaxCargo(), and Serializer::Write().
Definition at line 1633 of file itembase.c.
References ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), SplitIntoStackMax(), and Serializer::Write().
Definition at line 1743 of file itembase.c.
References AddQuantity(), ECE_IN_INVENTORY, ECE_PLACE_ON_SURFACE, GameInventory::FindFreeLocationFor(), g_Game, GetQuantity(), GetTargetQuantityMax(), GetType(), InventorySlots::IsSlotIdValid(), ItemBase(), GameInventory::LocationCreateEntity(), RF_DEFAULT, ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 1957 of file itembase.c.
References AddQuantity(), GetQuantity(), GetTargetQuantityMax(), GetType(), ItemBase(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 1933 of file itembase.c.
References ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), SplitIntoStackMaxHands(), and Serializer::Write().
|
inlineprotected |
Definition at line 1867 of file itembase.c.
References SplitIntoStackMaxToInventoryLocationEx().
|
inlineprotected |
Definition at line 1821 of file itembase.c.
References ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_ITEM_MANIPULATION, ItemBase(), ScriptInputUserData::Send(), SplitIntoStackMaxToInventoryLocation(), and Serializer::Write().
|
inlineprotected |
Definition at line 1872 of file itembase.c.
References AddQuantity(), ECE_IN_INVENTORY, GetQuantity(), GetTargetQuantityMax(), ItemBase(), GameInventory::LocationCreateEntity(), RF_DEFAULT, ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 2018 of file itembase.c.
References AddQuantity(), Math::Floor(), GetQuantity(), GetType(), InventoryLocation::GetType(), InventoryLocation::IsValid(), ItemBase(), ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 1985 of file itembase.c.
References AddQuantity(), ECE_IN_INVENTORY, Math::Floor(), GetQuantity(), GetType(), ItemBase(), GameInventory::LocationCreateEntity(), RF_DEFAULT, ItemBase::SetQuantity(), and ShouldSplitQuantity().
|
inlineprotected |
Definition at line 4482 of file itembase.c.
References InventorySlots::INVALID, and StartItemSoundServer().
Definition at line 4468 of file itembase.c.
References CALL_CATEGORY_SYSTEM, ClearStartItemSoundServer(), g_Game, m_SoundSyncPlay, and m_SoundSyncSlotID.
|
inlineprivate |
Definition at line 596 of file itembase.c.
References ItemBase(), and m_IsOverheatingEffectActive.
|
protected |
|
inlineprotected |
Definition at line 4530 of file itembase.c.
References m_ItemBeingDroppedPhys.
|
inlineprotected |
Definition at line 4488 of file itembase.c.
References CALL_CATEGORY_SYSTEM, ClearStopItemSoundServer(), g_Game, and m_SoundSyncStop.
|
inlineprivate |
Definition at line 609 of file itembase.c.
References ItemBase(), and m_IsOverheatingEffectActive.
|
inlinestaticprotected |
Definition at line 4329 of file itembase.c.
References ItemBase().
|
inlinestaticprivate |
Definition at line 810 of file itembase.c.
References AddDebugActionsMask(), HasDebugActionsMask(), and RemoveDebugActionsMask().
|
inlineprotected |
transfer agents from another item
Definition at line 4014 of file itembase.c.
References m_AttachedAgents.
|
private |
appears to be deprecated, legacy code
|
inlineprivate |
Unlocks this item from its attachment slot of its parent.
Definition at line 865 of file itembase.c.
References InventoryLocation::GetSlot().
|
inlineprivate |
|
inlineprivate |
Definition at line 602 of file itembase.c.
References ItemBase(), KillAllOverheatingParticles(), and UpdateAllOverheatingParticles().
|
inlinestaticprotected |
Definition at line 4309 of file itembase.c.
References ItemBase().
|
inlineprotected |
To be called on moving item within character's inventory; 'player' should never be null.
Definition at line 3916 of file itembase.c.
|
inlineprotected |
Definition at line 4862 of file itembase.c.
|
inlineprotected |
Definition at line 2993 of file itembase.c.
References GetCleanness(), GetColor(), GetLiquidType(), GetQuantity(), GetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_WET, and Serializer::Write().
|
private |
Definition at line 74 of file itembase.c.
Referenced by CanBeCombined(), and InitItemVariables().
|
protected |
Definition at line 137 of file itembase.c.
Referenced by InitItemVariables().
|
private |
Definition at line 26 of file itembase.c.
Referenced by AddAction(), GetActions(), and ItemBase().
|
protected |
Definition at line 125 of file itembase.c.
Referenced by ItemBase(), and OnPlacementComplete().
|
private |
Definition at line 99 of file itembase.c.
Referenced by ContainsAgent(), GetAgents(), InsertAgent(), LoadAgents(), RemoveAgent(), RemoveAllAgents(), RemoveAllAgentsExcept(), SaveAgents(), and TransferAgents().
|
protected |
Definition at line 79 of file itembase.c.
Referenced by CanBeDigged(), and InitItemVariables().
|
private |
Definition at line 72 of file itembase.c.
Referenced by CanBeMovedOverride(), InitItemVariables(), and SetCanBeMovedOverride().
|
private |
Definition at line 56 of file itembase.c.
Referenced by EOnContact(), and OnInventoryEnter().
|
private |
Definition at line 77 of file itembase.c.
Referenced by InitItemVariables().
|
private |
Definition at line 75 of file itembase.c.
Referenced by InitItemVariables(), and IsSplitable().
|
private |
Definition at line 115 of file itembase.c.
Referenced by IncreaseOverheating(), and OnOverheatingDecay().
|
private |
Definition at line 50 of file itembase.c.
Referenced by EEHealthLevelChanged(), GetCleanness(), InitItemVariables(), SerializeNumericalVars(), and SetCleanness().
|
private |
Definition at line 51 of file itembase.c.
Referenced by InitItemVariables().
|
private |
Definition at line 53 of file itembase.c.
Referenced by InitItemVariables(), and SetCleanness().
|
private |
Definition at line 52 of file itembase.c.
Referenced by InitItemVariables(), and SetCleanness().
|
protected |
Definition at line 87 of file itembase.c.
Referenced by DeSerializeNumericalVars(), GetColor(), SerializeNumericalVars(), and SetColor().
|
protected |
Definition at line 86 of file itembase.c.
Referenced by DeSerializeNumericalVars(), GetColor(), SerializeNumericalVars(), and SetColor().
|
protected |
Definition at line 85 of file itembase.c.
Referenced by DeSerializeNumericalVars(), GetColor(), SerializeNumericalVars(), and SetColor().
|
protected |
Definition at line 84 of file itembase.c.
Referenced by DeSerializeNumericalVars(), GetColor(), SerializeNumericalVars(), and SetColor().
Definition at line 131 of file itembase.c.
Referenced by InitItemVariables().
|
protected |
Definition at line 94 of file itembase.c.
Referenced by ItemBase().
|
private |
Definition at line 40 of file itembase.c.
Referenced by InitItemVariables().
|
staticprivate |
Definition at line 28 of file itembase.c.
|
protected |
Definition at line 4848 of file itembase.c.
|
private |
Definition at line 73 of file itembase.c.
Referenced by AfterStoreLoad(), EEOnAfterLoad(), and OnStoreLoad().
|
private |
Definition at line 78 of file itembase.c.
Referenced by InitItemVariables().
|
protected |
Definition at line 121 of file itembase.c.
Referenced by GetHeadHidingSelection(), and ItemBase().
|
private |
Definition at line 60 of file itembase.c.
Referenced by GetHeatIsolation(), and InitItemVariables().
|
protected |
Definition at line 122 of file itembase.c.
Referenced by HidesSelectionBySlot(), and ItemBase().
|
private |
Definition at line 58 of file itembase.c.
Referenced by EOnContact(), and OnVariablesSynchronized().
|
private |
Definition at line 57 of file itembase.c.
Referenced by EOnContact(), InitItemVariables(), and OnVariablesSynchronized().
|
private |
Definition at line 23 of file itembase.c.
Referenced by AddAction(), GetActions(), InitializeActions(), and RemoveAction().
|
protected |
Definition at line 95 of file itembase.c.
Referenced by ItemBase().
|
private |
Definition at line 67 of file itembase.c.
Referenced by InitItemVariables(), IsBeingPlaced(), and SetIsBeingPlaced().
|
protected |
Definition at line 4851 of file itembase.c.
Referenced by IsDeploySound().
|
private |
Definition at line 68 of file itembase.c.
Referenced by InitItemVariables(), IsHologram(), and SetIsHologram().
|
private |
Definition at line 113 of file itembase.c.
Referenced by IsOverheatingEffectActive(), StartOverheating(), and StopOverheating().
|
protected |
Definition at line 4850 of file itembase.c.
Referenced by IsPlaceSound().
|
protected |
Definition at line 4852 of file itembase.c.
Referenced by IsSoundSynchRemote().
|
private |
Definition at line 76 of file itembase.c.
Referenced by DeSerializeNumericalVars(), IsStoreLoad(), OnStoreLoad(), and SetStoreLoad().
|
private |
Definition at line 69 of file itembase.c.
Referenced by InitItemVariables(), IsTakeable(), and SetTakeable().
|
staticprivate |
Definition at line 24 of file itembase.c.
Referenced by OverrideActionAnimation().
|
private |
Definition at line 62 of file itembase.c.
Referenced by InitItemVariables().
|
private |
Definition at line 65 of file itembase.c.
Referenced by InitItemVariables(), IsHeavyBehaviour(), IsOneHandedBehaviour(), and IsTwoHandedBehaviour().
|
private |
Definition at line 71 of file itembase.c.
Referenced by StopItemDynamicPhysics().
|
private |
Definition at line 61 of file itembase.c.
Referenced by InitItemVariables().
|
private |
Definition at line 142 of file itembase.c.
Referenced by GetItemSoundHandler(), InitItemVariables(), and OnVariablesSynchronized().
|
staticprivate |
Definition at line 22 of file itembase.c.
Referenced by InitializeActions().
|
staticprivate |
Definition at line 110 of file itembase.c.
Referenced by GetMuzzleID().
|
protected |
Definition at line 91 of file itembase.c.
Referenced by AddLightSourceItem(), GetLightSourceItem(), and RemoveLightSourceItem().
|
private |
Definition at line 63 of file itembase.c.
Referenced by GetLiquidContainerMask(), InitItemVariables(), and IsLiquidContainer().
|
protected |
Definition at line 133 of file itembase.c.
Referenced by ~ItemBase(), and OnRPC().
|
protected |
Definition at line 134 of file itembase.c.
Referenced by GetLockSoundSet(), and InitItemVariables().
|
protected |
Definition at line 132 of file itembase.c.
Referenced by GetLockType(), and InitItemVariables().
|
private |
Definition at line 117 of file itembase.c.
Referenced by CheckOverheating(), GetOverheatingCoef(), IncreaseOverheating(), LoadParticleConfigOnOverheating(), and OnOverheatingDecay().
|
staticprivate |
Definition at line 107 of file itembase.c.
Referenced by LoadParticleConfigOnFire(), and PlayBulletCasingEjectParticles().
Definition at line 106 of file itembase.c.
Referenced by LoadParticleConfigOnFire(), and PlayFireParticles().
Definition at line 108 of file itembase.c.
Referenced by LoadParticleConfigOnOverheating().
|
private |
Definition at line 118 of file itembase.c.
Referenced by IncreaseOverheating(), LoadParticleConfigOnOverheating(), and OnOverheatingDecay().
|
private |
Definition at line 119 of file itembase.c.
Referenced by KillAllOverheatingParticles(), RegisterOverheatingParticle(), and UpdateAllOverheatingParticles().
|
private |
Definition at line 114 of file itembase.c.
Referenced by CheckOverheating(), GetOverheatingCoef(), GetOverheatingValue(), IncreaseOverheating(), and OnOverheatingDecay().
|
protected |
Definition at line 128 of file itembase.c.
|
private |
Definition at line 66 of file itembase.c.
Referenced by GetQuickBarBonus(), and ItemBase().
|
private |
Definition at line 29 of file itembase.c.
|
private |
Definition at line 116 of file itembase.c.
Referenced by CheckOverheating(), GetOverheatingCoef(), ItemBase(), and LoadParticleConfigOnOverheating().
|
protected |
Definition at line 93 of file itembase.c.
Referenced by ItemBase().
distinguish if item has been created as new or it came from splitting (server only flag)
Definition at line 82 of file itembase.c.
Referenced by GetAttachmentSoundType(), and PreLoadSoundAttachmentType().
|
protected |
Definition at line 4849 of file itembase.c.
|
protected |
Definition at line 4846 of file itembase.c.
|
protected |
Definition at line 4847 of file itembase.c.
|
protected |
Definition at line 138 of file itembase.c.
Referenced by ClearStartItemSoundServer(), OnVariablesSynchronized(), and StartItemSoundServer().
|
protected |
Definition at line 140 of file itembase.c.
Referenced by ClearStartItemSoundServer(), InitItemVariables(), OnVariablesSynchronized(), and StartItemSoundServer().
|
protected |
Definition at line 139 of file itembase.c.
Referenced by ClearStopItemSoundServer(), OnVariablesSynchronized(), and StopItemSoundServer().
|
private |
Definition at line 42 of file itembase.c.
Referenced by GetStoreLoadedQuantity(), and SetStoreLoadedQuantity().
|
private |
Definition at line 145 of file itembase.c.
Referenced by GetTemperaturePerQuantityWeight(), and InitItemVariables().
|
private |
Definition at line 70 of file itembase.c.
Referenced by EEItemLocationChanged().
|
private |
Definition at line 64 of file itembase.c.
Referenced by GetLiquidType(), InitItemVariables(), SerializeNumericalVars(), and SetLiquidType().
|
private |
Definition at line 35 of file itembase.c.
Referenced by GetQuantity(), GetQuantityNormalized(), InitItemVariables(), OnVariablesSynchronized(), SerializeNumericalVars(), and SetQuantity().
|
private |
Definition at line 37 of file itembase.c.
Referenced by GetQuantityInit(), and InitItemVariables().
|
private |
Definition at line 39 of file itembase.c.
Referenced by GetTargetQuantityMax(), InitItemVariables(), OnWasAttached(), and OnWasDetached().
|
private |
Definition at line 38 of file itembase.c.
Referenced by GetQuantityMin(), and InitItemVariables().
|
private |
Definition at line 36 of file itembase.c.
Referenced by OnVariablesSynchronized().
|
private |
Definition at line 41 of file itembase.c.
Referenced by GetTargetQuantityMax(), and InitItemVariables().
|
private |
Definition at line 44 of file itembase.c.
Referenced by GetWet(), GetWetLevel(), InitItemVariables(), OnVariablesSynchronized(), ProcessItemWetness(), SerializeNumericalVars(), and SetWet().
|
private |
Definition at line 46 of file itembase.c.
Referenced by GetWetInit(), and InitItemVariables().
|
private |
Definition at line 48 of file itembase.c.
Referenced by GetWetMax(), InitItemVariables(), ProcessItemWetness(), and SetWetMax().
|
private |
Definition at line 47 of file itembase.c.
Referenced by GetWetMin(), InitItemVariables(), and ProcessItemWetness().
|
private |
Definition at line 45 of file itembase.c.
Referenced by OnVariablesSynchronized().
|
private |
Definition at line 55 of file itembase.c.
Referenced by EOnContact(), InitItemVariables(), and OnVariablesSynchronized().
Definition at line 109 of file itembase.c.
Referenced by GetMuzzleID().