Data Structures | |
| class | ItemBase |
| class | InventoryItem |
Typedefs | |
| typedef ItemBase | Inventory_Base |
| typedef map< typename, ref ActionOverrideData > | TActionAnimOverrideMap |
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 | |
| void | ItemBase () |
| override void | InitItemVariables () |
| override int | GetQuickBarBonus () |
| void | InitializeActions () |
| override void | GetActions (typename action_input_type, out array< ActionBase_Basic > actions) |
| void | SetActions () |
| void | SetActionAnimOverrides () |
| void | AddAction (typename actionName) |
| void | RemoveAction (typename actionName) |
| void | OverrideActionAnimation (typename action, int commandUID, int stanceMask=-1, int commandUIDProne=-1) |
| 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. | |
| float | GetDisinfectQuantity (int system=0, Param param1=null) |
| float | GetFilterDamageRatio () |
| bool | HasMuzzle () |
| Returns true if this item has a muzzle (weapons, suppressors) | |
| int | GetMuzzleID () |
| Returns global muzzle ID. If not found, then it gets automatically registered. | |
| int | GetDamageSystemVersionChange () |
| Re-sets DamageSystem changes. | |
| void | ~ItemBase () |
| static int | GetDebugActionsMask () |
| static bool | HasDebugActionsMask (int mask) |
| static void | SetDebugActionsMask (int mask) |
| static void | AddDebugActionsMask (int mask) |
| static void | RemoveDebugActionsMask (int mask) |
| static void | ToggleDebugActionsMask (int mask) |
| 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. | |
| void | UnlockFromParent () |
| Unlocks this item from its attachment slot of its parent. | |
| override void | CombineItemsClient (EntityAI entity2, bool use_stack_max=true) |
| bool | IsLiquidPresent () |
| bool | IsLiquidContainer () |
| int | GetLiquidContainerMask () |
| 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 () |
| int | GetOnDigWormsAmount () |
| 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 | IsSplitable () |
| override bool | CanBeSplit () |
| protected bool | ShouldSplitQuantity (float quantity) |
| override void | SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id) |
| void | SplitIntoStackMax (EntityAI destination_entity, int slot_id, PlayerBase player) |
| override void | SplitIntoStackMaxEx (EntityAI destination_entity, int slot_id) |
| 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. | |
| 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. | |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| override void | OnRightClick () |
| protected void | SetInventoryLocationToVicinityOrCurrent (EntityAI root, inout InventoryLocation dst) |
| 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) |
| override void | CombineItemsEx (EntityAI entity2, 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. | |
| bool | CanExplodeInFire () |
| bool | CanEat () |
| override bool | IsIgnoredByConstruction () |
| bool | HasFoodStage () |
| FoodStage | GetFoodStage () |
| overridden on Edible_Base; so we don't have to parse configs all the time | |
| bool | CanBeCooked () |
| bool | CanBeCookedOnStick () |
| void | RefreshAudioVisualsOnClient (CookingMethodType cooking_method, bool is_done, bool is_empty, bool is_burned) |
| cooking-related effect methods | |
| void | RemoveAudioVisualsOnClient () |
| 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. | |
| 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. | |
| override bool | IsItemBase () |
| override bool | KindOf (string tag) |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| int | NameToID (string name) |
| string | IDToName (int id) |
| void | OnSyncVariables (ParamsReadContext ctx) |
| DEPRECATED (most likely) | |
| override void | SerializeNumericalVars (array< float > floats_out) |
| override void | DeSerializeNumericalVars (array< float > floats) |
| override void | WriteVarsToCTX (ParamsWriteContext ctx) |
| override bool | ReadVarsFromCTX (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 () |
| 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. | |
| 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 | |
| void | SetQuantityMax () |
| override void | SetQuantityToMinimum () |
| 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 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 () |
| override int | GetQuantityMax () |
| override int | GetTargetQuantityMax (int attSlotID=-1) |
| override int | GetQuantityMin () |
| int | GetQuantityInit () |
| override 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. | |
| float | GetUnitWeight (bool include_wetness=true) |
| Obsolete, use GetWeightEx instead. | |
| override void | ClearInventory () |
| float | GetEnergy () |
| override void | OnEnergyConsumed () |
| override void | OnEnergyAdded () |
| void | ConvertEnergyToQuantity () |
| 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 () |
| override void | SetStoreLoad (bool value) |
| override bool | IsStoreLoad () |
| override void | SetStoreLoadedQuantity (float value) |
| override float | GetStoreLoadedQuantity () |
| float | GetItemModelLength () |
| float | GetItemAttachOffset () |
| override void | SetCleanness (int value, bool allow_client=false) |
| override int | GetCleanness () |
| bool | AllowFoodConsumption () |
| int | GetLockType () |
| string | GetLockSoundSet () |
| override void | SetColor (int r, int g, int b, int a) |
| override void | GetColor (out int r, out int g, out int b, out int a) |
| gets item's color variable as components | |
| 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)". | |
| override void | SetLiquidType (int value, bool allow_client=false) |
| int | GetLiquidTypeInit () |
| override int | GetLiquidType () |
| protected void | OnLiquidTypeChanged (int oldType, int newType) |
| void | UpdateQuickbarShortcutVisibility (PlayerBase player) |
| To be called on moving item within character's inventory; 'player' should never be null. | |
| 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. | |
| 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 agent_to_keep) |
| override void | InsertAgent (int agent, float count=1) |
| void | TransferAgents (int agents) |
| transfer agents from another item | |
| override int | GetAgents () |
| bool | LoadAgents (ParamsReadContext ctx, int version) |
| void | SaveAgents (ParamsWriteContext ctx) |
| override void | CheckForRoofLimited (float timeTresholdMS=3000) |
| Roof check for entity, limited by time (anti-spam solution) | |
| 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. | |
| void | Open () |
| Implementations only. | |
| 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 | CanReleaseAttachment (EntityAI attachment) |
| static void | PlayFireParticles (ItemBase weapon, int muzzle_index, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
| static void | PlayBulletCasingEjectParticles (ItemBase weapon, 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 | UpdateOverheatingParticles (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) |
| override bool | IsHeavyBehaviour () |
| override bool | IsOneHandedBehaviour () |
| override bool | IsTwoHandedBehaviour () |
| bool | IsDeployable () |
| float | GetDeployTime () |
| how long it takes to deploy this item in seconds | |
| override void | SetTakeable (bool pState) |
| override bool | IsTakeable () |
| bool | IsActionTargetVisible () |
| protected void | PreLoadSoundAttachmentType () |
| Attachment Sound Type getting from config file. | |
| override string | GetAttachmentSoundType () |
| string | GetPlaceSoundset () |
| string | GetLoopDeploySoundset () |
| string | GetDeploySoundset () |
| string | GetLoopFoldSoundset () |
| string | GetFoldSoundset () |
| ItemSoundHandler | GetItemSoundHandler () |
| protected void | InitItemSounds () |
| void | StartItemSoundServer (int id) |
| void | StopItemSoundServer (int id) |
| protected void | ClearStartItemSoundServer () |
| protected void | ClearStopItemSoundServer () |
| 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 | PlayDetachSound (string slot_type) |
| void | OnApply (PlayerBase player) |
| float | GetBandagingEffectivity () |
| array< string > | GetHeadHidingSelection () |
| bool | HidesSelectionBySlot () |
| WrittenNoteData | GetWrittenNoteData () |
| void | StopItemDynamicPhysics () |
| void | PerformDamageSystemReinit () |
| void | SetZoneDamageCEInit () |
| Sets zone damages to match randomized global health set by CE (CE spawn only) | |
| bool | IsCoverFaceForShave (string slot_name) |
| DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere. | |
| void | ProcessItemWetness (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| void | ProcessItemTemperature (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 () |
| bool | CanBeConsumed (ConsumeConditionData data=null) |
| Items cannot be consumed if frozen by default. Override for exceptions. | |
| override void | ProcessVariables () |
| float | GetTemperaturePerQuantityWeight () |
| Used in heat comfort calculations only! | |
| override float | GetTemperatureFreezeThreshold () |
| override float | GetTemperatureThawThreshold () |
| override float | GetItemOverheatThreshold () |
| override float | GetTemperatureFreezeTime () |
| override float | GetTemperatureThawTime () |
| void | AffectLiquidContainerOnFill (int liquid_type, float amount) |
| from enviro source | |
| void | AffectLiquidContainerOnTransfer (int liquidType, float amount, float sourceLiquidTemperature) |
| from other liquid container source | |
| bool | IsCargoException4x3 (EntityAI item) |
| void | CopyScriptPropertiesFrom (EntityAI oldItem) |
| void | AddLightSourceItem (ItemBase lightsource) |
| Adds a light source child. | |
| void | RemoveLightSourceItem () |
| ItemBase | GetLightSourceItem () |
| array< int > | GetValidFinishers () |
| returns an array of possible finishers | |
| bool | GetActionWidgetOverride (out typename name) |
| If we need a different (handheld)item action widget displayed, the logic goes in here. | |
| bool | PairWithDevice (notnull ItemBase otherDevice) |
| float | GetBaitEffectivity () |
| generic effectivity as a bait for animal catching | |
| bool | CanBeUsedForSuicide () |
| void | ProcessItemWetnessAndTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
| string | GetDeployFinishSoundset () |
| void | PlayDeploySound () |
| void | PlayDeployFinishSound () |
| void | PlayPlaceSound () |
| void | PlayDeployLoopSoundEx () |
| void | StopDeployLoopSoundEx () |
| void | SoundSynchRemoteReset () |
| void | SoundSynchRemote () |
| bool | UsesGlobalDeploy () |
| bool | CanPlayDeployLoopSound () |
| bool | IsSoundSynchRemote () |
| bool | IsPlaceSound () |
| bool | IsDeploySound () |
| void | SetIsPlaceSound (bool is_place_sound) |
| void | SetIsDeploySound (bool is_deploy_sound) |
| void | SetupSpawnedItem (ItemBase item, float health, float quantity) |
| typedef ItemBase Inventory_Base |
| typedef map<typename,ref ActionOverrideData> TActionAnimOverrideMap |
| void AddAction | ( | typename actionName | ) |
|
static |
Referenced by InventoryItem::ToggleDebugActionsMask().
| void AddLightSourceItem | ( | ItemBase | lightsource | ) |
Adds a light source child.
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
Referenced by InventoryItem::CombineItems(), Edible_Base::Consume(), InventoryItem::OnAction(), ItemBase::OnIgnitedTarget(), ItemBase::OnIgnitedTargetFailed(), ItemBase::RemovePlanks(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), and InventoryItem::SplitItemToInventoryLocation().
| override void AddWet | ( | float | value | ) |
Referenced by InventoryItem::OnAction(), FlammableBase::OnWork(), and InventoryItem::ProcessItemWetness().
| 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 CanBeDigged | ( | ) |
| bool CanBeDisinfected | ( | ) |
| bool CanBeMovedOverride | ( | ) |
| bool CanBeRepairedByCrafting | ( | ) |
| override bool CanBeSplit | ( | ) |
| bool CanBeUsedForSuicide | ( | ) |
| BrisketSpread Edible_Base CanDecay | ( | ) |
Referenced by InventoryItem::ProcessVariables().
| override bool CanDisplayCargo | ( | ) |
| bool CanEat | ( | ) |
| bool CanExplodeInFire | ( | ) |
| protected bool CanHaveWetness | ( | ) |
Referenced by InventoryItem::ProcessVariables().
| bool CanMakeGardenplot | ( | ) |
| override bool CanObstruct | ( | ) |
| bool CanPlayDeployLoopSound | ( | ) |
| override bool CanProcessDecay | ( | ) |
Referenced by InventoryItem::ProcessVariables().
| override string ChangeIntoOnDetach | ( | ) |
| override void CheckForRoofLimited | ( | float | timeTresholdMS = 3000 | ) |
Roof check for entity, limited by time (anti-spam solution)
Referenced by Cooling(), Heating(), FireplaceBase::IsThisIgnitionSuccessful(), OnItemLocationChanged(), StartFire(), and StopFire().
| void CheckOverheating | ( | ItemBase | weapon = null, |
| string | ammoType = "", |
||
| ItemBase | muzzle_owner = null, |
||
| ItemBase | suppressor = null, |
||
| string | config_to_search = "" |
||
| ) |
Referenced by InventoryItem::IncreaseOverheating(), and InventoryItem::OnOverheatingDecay().
| override void ClearInventory | ( | ) |
Referenced by PluginBase::OnRPCClearInventory().
| protected void ClearStartItemSoundServer | ( | ) |
Referenced by InventoryItem::StartItemSoundServer().
| protected void ClearStopItemSoundServer | ( | ) |
Referenced by InventoryItem::StopItemSoundServer().
| void Close | ( | ) |
Referenced by UIScriptedMenu::Cancel(), UIScriptedMenu::CloseMapMenu(), UIScriptedMenu::GameRespawn(), UIScriptedMenu::GameRetry(), UIScriptedMenu::Leave(), UIScriptedMenu::OnClick(), WarningMenuBase::OnClick(), OnClick(), OnKeyDown(), UIScriptedMenu::OnKeyUp(), UIScriptedMenu::OnMouseButtonUp(), UIMenuPanel::OnPlayerDeath(), FireplaceBase::OnWasDetached(), UIScriptedMenu::Update(), WarningMenuBase::Update(), and UIScriptedMenu::UpdateWarningMenu().
Referenced by InventoryItem::CombineItemsClient(), and InventoryItem::CombineItemsEx().
Referenced by InventoryItem::IsCombineAll().
Referenced by InventoryItem::CombineItems(), and InventoryItem::ComputeQuantityUsed().
Referenced by InventoryItem::RemoveAgent().
| void ConvertEnergyToQuantity | ( | ) |
Referenced by InventoryItem::OnEnergyAdded(), and InventoryItem::OnEnergyConsumed().
| void CopyScriptPropertiesFrom | ( | EntityAI | oldItem | ) |
Referenced by InventoryItem::EEHitBy().
Referenced by InventoryItem::EEHitBy().
Referenced by Entity::TransferVariablesFloat().
| void DoAmmoExplosion | ( | ) |
| override void EEDelete | ( | EntityAI | parent | ) |
drops content of container when ruined in fireplace
| 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 | ) |
item is able to explode in fire
| override void EEOnAfterLoad | ( | ) |
| override void EEOnCECreate | ( | ) |
Called when entity is being created as new by CE/ Debug.
| void ExplodeAmmo | ( | ) |
Referenced by InventoryItem::DoAmmoExplosion(), and InventoryItem::EEKilled().
| override void GetActions | ( | typename action_input_type | , |
| out array< ActionBase_Basic > | actions | ||
| ) |
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 | ( | ) |
Referenced by InventoryItem::WriteVarsToCTX().
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 int GetDamageSystemVersionChange | ( | ) |
Re-sets DamageSystem changes.
| override void GetDebugActions | ( | out TSelectableActionInfoArrayEx | outputList | ) |
|
static |
| string GetDeployFinishSoundset | ( | ) |
| string GetDeploySoundset | ( | ) |
| float GetDeployTime | ( | ) |
how long it takes to deploy this item in seconds
Referenced by InventoryItem::ProcessItemWetness().
| float GetEnergy | ( | ) |
| string GetExplosiveTriggerSlotName | ( | ) |
| override float GetFilterDamageRatio | ( | ) |
| string GetFoldSoundset | ( | ) |
Referenced by ItemBase::InitItemSounds().
| FoodStage GetFoodStage | ( | ) |
overridden on Edible_Base; so we don't have to parse configs all the time
| float GetHeatIsolation | ( | ) |
| float GetHeatIsolationInit | ( | ) |
Referenced by InventoryItem::InitItemVariables().
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.
| float GetItemAttachOffset | ( | ) |
Referenced by InventoryItem::InitItemVariables().
| float GetItemModelLength | ( | ) |
Referenced by InventoryItem::InitItemVariables().
| override float GetItemOverheatThreshold | ( | ) |
Referenced by Entity::SetTemperatureEx().
| int GetItemSize | ( | ) |
| ItemSoundHandler GetItemSoundHandler | ( | ) |
| ScriptedLightBase GetLight | ( | ) |
| ItemBase GetLightSourceItem | ( | ) |
| int GetLiquidContainerMask | ( | ) |
| override int GetLiquidType | ( | ) |
Referenced by ActionFillBottleBase::ActionCondition(), InventoryItem::GetItemOverheatThreshold(), InventoryItem::GetTemperatureFreezeThreshold(), InventoryItem::GetTemperatureThawThreshold(), InventoryItem::IsLiquidPresent(), InventoryItem::OnAction(), Barrel_ColorBase::OnFreezeStateChangeServer(), OnFreezeStateChangeServer(), InventoryItem::OnQuantityChanged(), and InventoryItem::WriteVarsToCTX().
| int GetLiquidTypeInit | ( | ) |
| string GetLockSoundSet | ( | ) |
| int GetLockType | ( | ) |
| string GetLoopDeploySoundset | ( | ) |
| string GetLoopFoldSoundset | ( | ) |
Referenced by ItemBase::InitItemSounds().
| int GetMuzzleID | ( | ) |
Returns global muzzle ID. If not found, then it gets automatically registered.
Referenced by InventoryItem::ItemBase().
| int GetNumberOfItems | ( | ) |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Referenced by Barrel_ColorBase::CanDetachAttachment(), FireplaceBase::CanDetachAttachment(), ClothingBase::CanPutAsAttachment(), Barrel_ColorBase::CanPutInCargo(), Clothing::CanPutInCargo(), Clothing_Base::CanPutInCargoClothingConditions(), and Barrel_ColorBase::CanPutIntoHands().
| int GetOnDigWormsAmount | ( | ) |
| float GetOverheatingCoef | ( | ) |
Referenced by InventoryItem::UpdateAllOverheatingParticles().
| float GetOverheatingValue | ( | ) |
| string GetPlaceSoundset | ( | ) |
Referenced by InventoryItem::InitItemSounds().
| override float GetQuantity | ( | ) |
Referenced by InventoryItem::AddQuantity(), InventoryItem::CanBeCombined(), InventoryItem::CanBeSplit(), ItemBase::CanIgniteItem(), Clothing::CanPutAsAttachment(), ItemBase::CanPutAsAttachment(), InventoryItem::CombineItems(), InventoryItem::ComputeQuantityUsedEx(), Mask_Base::ConsumeQuantity(), Barrel_ColorBase::DetermineAction(), Mask_Base::GetFilterQuantity(), Mask_Base::GetFilterQuantity01(), InventoryItem::GetProtectionLevel(), FlammableBase::GetRagQuantity(), InventoryItem::GetWeightSpecialized(), Mask_Base::HasValidFilter(), InventoryItem::InitItemVariables(), LargeGasCanister::IsDestructionBehaviour(), MediumGasCanister::IsDestructionBehaviour(), SmallGasCanister::IsDestructionBehaviour(), InventoryItem::IsFullQuantity(), ItemBase::RemovePlanks(), InventoryItem::ShouldSplitQuantity(), InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), InventoryItem::SplitItemToInventoryLocation(), FlammableBase::UpdateLight(), BroomBase::UpdateParticle(), FlammableBase::UpdateParticle(), ItemBase::UpdateSelections(), and InventoryItem::WriteVarsToCTX().
| int GetQuantityInit | ( | ) |
| override int GetQuantityMax | ( | ) |
Referenced by FilteringBottle::AffectLiquidContainerOnFill(), Bottle_Base::AffectLiquidContainerOnFill(), FilteringBottle::AffectLiquidContainerOnTransfer(), Bottle_Base::AffectLiquidContainerOnTransfer(), CalcAndSetQuantity(), InventoryItem::CanBeCombined(), Capture(), InventoryItem::ComputeQuantityUsedEx(), DisinfectantSpray::GetDisinfectQuantity(), DisinfectantAlcohol::GetDisinfectQuantity(), IodineTincture::GetDisinfectQuantity(), Mask_Base::GetFilterQuantity01(), Mask_Base::GetFilterQuantityMax(), InventoryItem::GetQuantityNormalized(), InventoryItem::HasQuantity(), InventoryItem::IsFullQuantity(), InventoryItem::OnAction(), InventoryItem::SetQuantity(), InventoryItem::SetQuantityMax(), InventoryItem::SetQuantityNormalized(), BroomBase::UpdateParticle(), and ItemBase::UpdateSelections().
| override int GetQuantityMin | ( | ) |
Referenced by InventoryItem::GetQuantityNormalized(), InventoryItem::HasQuantity(), InventoryItem::InitItemVariables(), InventoryItem::OnWasAttached(), InventoryItem::OnWasDetached(), Release(), InventoryItem::SetQuantity(), InventoryItem::SetQuantityNormalized(), and InventoryItem::SetQuantityToMinimum().
| 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)
Referenced by InventoryItem::GetBaitEffectivity(), InventoryItem::GetQuantityNormalizedScripted(), InventoryItem::GetTemperatureFreezeTime(), InventoryItem::GetTemperatureThawTime(), and InventoryItem::OnQuantityChanged().
| override float GetQuantityNormalizedScripted | ( | ) |
| override int GetQuickBarBonus | ( | ) |
| void GetRecipesActions | ( | Man | player, |
| out TSelectableActionInfoArray | outputList | ||
| ) |
| float GetSingleInventoryItemWeight | ( | ) |
| override float GetSingleInventoryItemWeightEx | ( | ) |
Referenced by InventoryItem::GetSingleInventoryItemWeight(), and Entity::OnAction().
| override float GetStoreLoadedQuantity | ( | ) |
Referenced by InventoryItem::AfterStoreLoad(), and InventoryItem::SetQuantity().
| override float GetTemperatureFreezeThreshold | ( | ) |
Referenced by Entity::CanFreeze(), Entity::InitTemperature(), Entity::SetTemperatureEx(), and Entity::SetTemperatureMax().
| override float GetTemperatureFreezeTime | ( | ) |
Referenced by Entity::HandleFreezingProgression().
| float GetTemperaturePerQuantityWeight | ( | ) |
Used in heat comfort calculations only!
| override float GetTemperatureThawThreshold | ( | ) |
Referenced by Entity::CanFreeze(), and Entity::SetTemperatureEx().
| override float GetTemperatureThawTime | ( | ) |
Referenced by Entity::HandleFreezingProgression().
Referenced by Entity::GetWeightEx().
| override float GetWet | ( | ) |
| override float GetWetInit | ( | ) |
| override EWetnessLevel GetWetLevel | ( | ) |
Referenced by Entity::GetWetWeightModifier().
| override float GetWetMax | ( | ) |
| override float GetWetMin | ( | ) |
Referenced by Entity::HasWetness(), InventoryItem::InitItemVariables(), and InventoryItem::SetWet().
| WrittenNoteData GetWrittenNoteData | ( | ) |
Referenced by InventoryItem::ToggleDebugActionsMask().
| bool HasFoodStage | ( | ) |
Referenced by Edible_Base::Edible_Base().
| bool HasMuzzle | ( | ) |
Returns true if this item has a muzzle (weapons, suppressors)
Referenced by InventoryItem::ItemBase().
| override bool HasQuantity | ( | ) |
Referenced by Mask_Base::ConsumeQuantity(), InventoryItem::ConvertEnergyToQuantity(), CAContinuousMineWood::CreatePrimaryItems(), InventoryItem::GetBaitEffectivity(), Mask_Base::GetFilterQuantityMax(), InventoryItem::GetProtectionLevel(), InventoryItem::GetTemperatureFreezeTime(), InventoryItem::GetTemperatureThawTime(), Mask_Base::HasIntegratedFilter(), InventoryItem::InitItemVariables(), InventoryItem::IsLiquidPresent(), InventoryItem::OnWasAttached(), InventoryItem::OnWasDetached(), InventoryItem::SetCEBasedQuantity(), and InventoryItem::SetQuantity().
| bool HidesSelectionBySlot | ( | ) |
Referenced by InventoryItem::ProcessVariables().
| void IncreaseOverheating | ( | ItemBase | weapon, |
| string | ammoType, | ||
| ItemBase | muzzle_owner, | ||
| ItemBase | suppressor, | ||
| string | config_to_search | ||
| ) |
Referenced by Weapon::EEFired().
| void InitializeActions | ( | ) |
| protected void InitItemSounds | ( | ) |
| override void InitItemVariables | ( | ) |
Referenced by Entity::EntityAI().
| bool IsActionTargetVisible | ( | ) |
| override bool IsBeingPlaced | ( | ) |
Referenced by OnInventoryExit(), ItemBase::OnItemLocationChanged(), and FireplaceBase::OnVariablesSynchronized().
| bool IsBloodContainer | ( | ) |
| bool IsColorSet | ( | ) |
Referenced by InventoryItem::CombineItemsClient().
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
| bool IsDeployable | ( | ) |
| bool IsDeploySound | ( | ) |
| bool IsExplosive | ( | ) |
| bool IsFacingPlayer | ( | PlayerBase | player, |
| string | selection | ||
| ) |
| bool IsFullQuantity | ( | ) |
Referenced by InventoryItem::CanBeCombined(), and CAContinuousMineWood::CreatePrimaryItems().
| override bool IsHologram | ( | ) |
| override bool IsIgnoredByConstruction | ( | ) |
| override bool IsItemBase | ( | ) |
Referenced by IEntity::CanBeIgnoredByDroppedItem().
| bool IsLightSource | ( | ) |
| bool IsLiquidContainer | ( | ) |
| bool IsLiquidPresent | ( | ) |
| bool IsNVG | ( | ) |
| override bool IsOneHandedBehaviour | ( | ) |
| override bool IsOpen | ( | ) |
Referenced by InventoryItem::CanBeConsumed(), FireplaceBase::CanBeIgnitedBy(), FireplaceBase::CanDisplayAttachmentCategory(), InventoryItem::CanDisplayCargo(), FireplaceBase::CanDisplayCargo(), FireplaceBase::CanExtinguishFire(), FireplaceBase::CanIgniteItem(), FireplaceBase::CanPutInCargo(), FireplaceBase::CanPutIntoHands(), FireplaceBase::CanReceiveAttachment(), FireplaceBase::CanReceiveItemIntoCargo(), FireplaceBase::CanReleaseCargo(), FireplaceBase::CanShowSmoke(), FireplaceBase::IsThisIgnitionSuccessful(), and FireplaceBase::UpdateVisualState().
| bool IsOverheatingEffectActive | ( | ) |
Referenced by InventoryItem::CheckOverheating().
| bool IsPlaceSound | ( | ) |
| bool IsPlayerInside | ( | PlayerBase | player, |
| string | selection | ||
| ) |
| bool IsResultOfSplit | ( | ) |
Referenced by InventoryItem::EEHealthLevelChanged().
| bool IsSoundSynchRemote | ( | ) |
| override bool IsSplitable | ( | ) |
| override bool IsStoreLoad | ( | ) |
Referenced by InventoryItem::ReadVarsFromCTX().
| override bool IsTakeable | ( | ) |
| override bool IsTwoHandedBehaviour | ( | ) |
| void ItemBase | ( | ) |
| void KillAllOverheatingParticles | ( | ) |
Referenced by InventoryItem::UpdateOverheating().
| bool LoadAgents | ( | ParamsReadContext | ctx, |
| int | version | ||
| ) |
Referenced by InventoryItem::OnStoreLoad().
| void LoadParticleConfigOnFire | ( | int | id | ) |
Referenced by InventoryItem::ItemBase().
| void LoadParticleConfigOnOverheating | ( | int | id | ) |
Referenced by InventoryItem::ItemBase().
| 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.
| void MessageToOwnerAction | ( | string | text | ) |
Send message to owner player in yellow color.
void | void MessageToOwnerFriendly | ( | string | text | ) |
Send message to owner player in green color.
void | void MessageToOwnerImportant | ( | string | text | ) |
Send message to owner player in red color.
void | void MessageToOwnerStatus | ( | string | text | ) |
Send message to owner player in grey color.
void | override bool OnAction | ( | int | action_id, |
| Man | player, | ||
| ParamsReadContext | ctx | ||
| ) |
| void OnActivatedByItem | ( | notnull ItemBase | item | ) |
Called when this item is activated by other.
References ParticleList::BOLT_CUPID_HIT, DeleteThis(), and ParticleManager().
| 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.
Referenced by InventoryItem::OnAttachmentQuantityChangedEx().
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 OnCreatePhysics | ( | ) |
| void OnEndPlacement | ( | ) |
| 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.
| override void OnItemAttachmentSlotChanged | ( | notnull InventoryLocation | oldLoc, |
| notnull InventoryLocation | newLoc | ||
| ) |
Referenced by Entity::EEItemLocationChanged().
| void OnItemInHandsPlayerSwimStart | ( | PlayerBase | player | ) |
Referenced by Entity::EEItemLocationChanged().
Referenced by InventoryItem::SetLiquidType().
| override void OnMovedInsideCargo | ( | EntityAI | container | ) |
| void OnOverheatingDecay | ( | ) |
| 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.
Referenced by InventoryItem::SetQuantity().
| 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 | ( | ) |
Referenced by Entity::EEItemLocationChanged().
Referenced by InventoryItem::OnVariablesSynchronized(), and InventoryItem::SetWet().
| override void OnWetLevelChanged | ( | EWetnessLevel | newLevel, |
| EWetnessLevel | oldLevel | ||
| ) |
Referenced by InventoryItem::OnWetChanged().
| void Open | ( | ) |
Implementations only.
Referenced by FireplaceBase::OnWasAttached().
| void OverrideActionAnimation | ( | typename action | , |
| int | commandUID, | ||
| int | stanceMask = -1, |
||
| int | commandUIDProne = -1 |
||
| ) |
Referenced by FarmingHoe::SetActionAnimOverrides(), and ItemBase::SetActionAnimOverrides().
Referenced by ClaymoreMine::OnDebugSpawn(), and ClaymoreMine::OnPlacementComplete().
| void PerformDamageSystemReinit | ( | ) |
Referenced by InventoryItem::AfterStoreLoad().
| 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.
Referenced by InventoryItem::OnWasAttached().
|
static |
| void PlayDeployFinishSound | ( | ) |
| void PlayDeployLoopSoundEx | ( | ) |
| void PlayDeploySound | ( | ) |
| void PlayDetachSound | ( | string | slot_type | ) |
|
static |
|
static |
| void PlayPlaceSound | ( | ) |
| protected void PreLoadSoundAttachmentType | ( | ) |
Attachment Sound Type getting from config file.
Referenced by InventoryItem::ItemBase().
Referenced by InventoryItem::ProcessVariables().
| void ProcessItemTemperature | ( | float | delta, |
| bool | hasParent, | ||
| bool | hasRootAsPlayer, | ||
| ItemBase | refParentIB | ||
| ) |
Referenced by InventoryItem::ProcessItemWetnessAndTemperature(), and InventoryItem::ProcessVariables().
Referenced by InventoryItem::ProcessItemWetnessAndTemperature(), and InventoryItem::ProcessVariables().
| void ProcessItemWetnessAndTemperature | ( | float | delta, |
| bool | hasParent, | ||
| bool | hasRootAsPlayer, | ||
| ItemBase | refParentIB | ||
| ) |
| override void ProcessVariables | ( | ) |
Referenced by Entity::OnCEUpdate().
| override bool ReadVarsFromCTX | ( | ParamsReadContext | ctx, |
| int | version = -1 |
||
| ) |
Referenced by Entity::LoadVariables(), and InventoryItem::OnSyncVariables().
| void RefreshAudioVisualsOnClient | ( | CookingMethodType | cooking_method, |
| bool | is_done, | ||
| bool | is_empty, | ||
| bool | is_burned | ||
| ) |
cooking-related effect methods
References m_CookingIsBurned, m_CookingIsDone, m_CookingIsEmpty, m_CookingMethod, and Synchronize().
| 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 | ) |
| override void RemoveAgent | ( | int | agent_id | ) |
Referenced by InventoryItem::OnAction().
| override void RemoveAllAgents | ( | ) |
Referenced by InventoryItem::SetQuantity().
| override void RemoveAllAgentsExcept | ( | int | agent_to_keep | ) |
Referenced by Edible_Base::HandleFoodStageChangeAgents().
| void RemoveAudioVisualsOnClient | ( | ) |
References m_CookingMethod, and Synchronize().
|
static |
Referenced by InventoryItem::ToggleDebugActionsMask().
| void RemoveLightSourceItem | ( | ) |
| bool Repair | ( | PlayerBase | player, |
| ItemBase | item_repair_kit, | ||
| float | specialty_weight | ||
| ) |
| void SaveAgents | ( | ParamsWriteContext | ctx | ) |
Referenced by InventoryItem::OnStoreSave().
Referenced by Entity::GetVariablesFloat().
| void SetActionAnimOverrides | ( | ) |
| void SetActions | ( | ) |
| void SetCanBeMovedOverride | ( | bool | setting | ) |
| void SetCEBasedQuantity | ( | ) |
Referenced by InventoryItem::EEOnCECreate().
|
static |
| protected void SetInventoryLocationToVicinityOrCurrent | ( | EntityAI | root, |
| inout InventoryLocation | dst | ||
| ) |
Referenced by InventoryItem::OnRightClick().
| void SetIsBeingPlaced | ( | bool | is_being_placed | ) |
| void SetIsDeploySound | ( | bool | is_deploy_sound | ) |
| void SetIsHologram | ( | bool | is_hologram | ) |
| void SetIsPlaceSound | ( | bool | is_place_sound | ) |
| 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.
Referenced by CalcAndSetQuantity(), Capture(), MaskBase::EEHealthLevelChanged(), and Release().
| void SetQuantityMax | ( | ) |
Referenced by InventoryItem::OnAction(), Barrel_ColorBase::OnDebugSpawn(), and OnDebugSpawn().
| 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)
Referenced by FlammableBase::CalculateQuantity(), InventoryItem::ConvertEnergyToQuantity(), and InventoryItem::SetCEBasedQuantity().
| override void SetQuantityToMinimum | ( | ) |
| void SetResultOfSplit | ( | bool | value | ) |
Referenced by InventoryItem::EEHealthLevelChanged().
| override void SetStoreLoad | ( | bool | value | ) |
| override void SetStoreLoadedQuantity | ( | float | value | ) |
| override void SetTakeable | ( | bool | pState | ) |
Referenced by Barrel_ColorBase::Close(), FireplaceBase::Close(), Barrel_ColorBase::CloseLoad(), FireplaceBase::CloseLoad(), ImprovisedExplosive::EEHealthLevelChanged(), Plastic_Explosive::EEHealthLevelChanged(), EEItemAttached(), EEItemDetached(), LockServer(), Grenade_Base::OnActivateFinished(), Grenade_Base::OnActivateImmediate(), ImprovisedExplosive::OnDisarmed(), Plastic_Explosive::OnDisarmed(), ItemOptics::OnInventoryExit(), InventoryItem::OnPlacementStarted(), ItemOptics::OnWasAttached(), ItemOptics::OnWasDetached(), Barrel_ColorBase::Open(), FireplaceBase::Open(), Barrel_ColorBase::OpenLoad(), FireplaceBase::OpenLoad(), PlantBase(), ItemBase::SetMountedState(), and UnlockServer().
| override void SetWetMax | ( | ) |
| void SetZoneDamageCEInit | ( | ) |
Sets zone damages to match randomized global health set by CE (CE spawn only)
Referenced by InventoryItem::EEOnCECreate().
Referenced by InventoryItem::SplitIntoStackMax(), InventoryItem::SplitIntoStackMaxCargo(), InventoryItem::SplitIntoStackMaxEx(), InventoryItem::SplitIntoStackMaxHands(), InventoryItem::SplitIntoStackMaxToInventoryLocationEx(), InventoryItem::SplitItem(), and InventoryItem::SplitItemToInventoryLocation().
| void SoundSynchRemote | ( | ) |
| void SoundSynchRemoteReset | ( | ) |
| class ItemBase extends InventoryItem SpawnItemOnLocation | ( | string | object_name, |
| notnull InventoryLocation | loc, | ||
| bool | full_quantity | ||
| ) |
Referenced by ManBase::CreateInInventory().
| void SplitIntoStackMax | ( | EntityAI | destination_entity, |
| int | slot_id, | ||
| PlayerBase | player | ||
| ) |
Referenced by InventoryItem::SplitIntoStackMaxClient().
Referenced by InventoryItem::SplitIntoStackMaxCargoClient().
| void SplitIntoStackMaxHands | ( | PlayerBase | player | ) |
Referenced by InventoryItem::SplitIntoStackMaxHandsClient().
| void SplitIntoStackMaxHandsClient | ( | PlayerBase | player | ) |
| void SplitIntoStackMaxToInventoryLocation | ( | notnull InventoryLocation | dst | ) |
Referenced by InventoryItem::SplitIntoStackMaxToInventoryLocationClient().
| void SplitIntoStackMaxToInventoryLocationClient | ( | notnull InventoryLocation | dst | ) |
| ItemBase SplitIntoStackMaxToInventoryLocationEx | ( | notnull InventoryLocation | dst | ) |
Referenced by InventoryItem::SplitIntoStackMaxToInventoryLocation().
| void SplitItem | ( | PlayerBase | player | ) |
Referenced by InventoryItem::OnRightClick().
| void SplitItemToInventoryLocation | ( | notnull InventoryLocation | dst | ) |
| void StartItemSoundServer | ( | int | id | ) |
Referenced by ShippingContainerKeys_ColorBase::DestroyKeyServer(), and ItemBase::ToggleAnimation().
| void StartOverheating | ( | ItemBase | weapon = null, |
| string | ammoType = "", |
||
| ItemBase | muzzle_owner = null, |
||
| ItemBase | suppressor = null, |
||
| string | config_to_search = "" |
||
| ) |
Referenced by InventoryItem::CheckOverheating().
| void StopDeployLoopSoundEx | ( | ) |
| void StopItemDynamicPhysics | ( | ) |
| void StopItemSoundServer | ( | int | id | ) |
| void StopOverheating | ( | ItemBase | weapon = null, |
| string | ammoType = "", |
||
| ItemBase | muzzle_owner = null, |
||
| ItemBase | suppressor = null, |
||
| string | config_to_search = "" |
||
| ) |
Referenced by InventoryItem::CheckOverheating().
|
static |
|
static |
| void TransferAgents | ( | int | agents | ) |
transfer agents from another item
| void TransferModifiers | ( | PlayerBase | reciever | ) |
appears to be deprecated, legacy code
| void UnlockFromParent | ( | ) |
Unlocks this item from its attachment slot of its parent.
Referenced by DestroyPlant(), InventoryItemSuper::EEHealthLevelChanged(), CarWheel_Ruined::EEHealthLevelChanged(), and RemovePlantEx().
| void UpdateAllOverheatingParticles | ( | ) |
Referenced by InventoryItem::UpdateOverheating().
| void UpdateOverheating | ( | ItemBase | weapon = null, |
| string | ammoType = "", |
||
| ItemBase | muzzle_owner = null, |
||
| ItemBase | suppressor = null, |
||
| string | config_to_search = "" |
||
| ) |
Referenced by InventoryItem::CheckOverheating().
|
static |
| 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 | ) |
Referenced by Entity::SaveVariables().
| void ~ItemBase | ( | ) |
| bool can_this_be_combined |
Referenced by InventoryItem::CanBeCombined(), InventoryItem::InitItemVariables(), ChelatingTablets::InitItemVariables(), DisinfectantSpray::InitItemVariables(), Edible_Base::InitItemVariables(), VitaminBottle::InitItemVariables(), DisinfectantAlcohol::InitItemVariables(), IodineTincture::InitItemVariables(), Inventory_Base::InitItemVariables(), and ItemBase::InitItemVariables().
| protected const int ITEM_SOUNDS_MAX = 63 |
Referenced by InventoryItem::InitItemVariables().
| bool m_ActionsInitialize |
| PluginAdminLog m_AdminLog |
| private int m_AttachedAgents |
Referenced by InventoryItem::ContainsAgent(), InventoryItem::GetAgents(), InventoryItem::InsertAgent(), InventoryItem::LoadAgents(), InventoryItem::RemoveAgent(), InventoryItem::RemoveAllAgents(), InventoryItem::RemoveAllAgentsExcept(), InventoryItem::SaveAgents(), and InventoryItem::TransferAgents().
| protected bool m_CanBeDigged |
Referenced by InventoryItem::CanBeDigged(), and InventoryItem::InitItemVariables().
| bool m_CanBeMovedOverride |
| bool m_CanPlayImpactSound = true |
Referenced by InventoryItem::EOnContact(), and InventoryItem::OnInventoryEnter().
| bool m_CanShowQuantity |
Referenced by InventoryItem::InitItemVariables().
| bool m_CanThisBeSplit |
Referenced by InventoryItem::InitItemVariables(), and InventoryItem::IsSplitable().
| ref Timer m_CheckOverheating |
Referenced by InventoryItem::IncreaseOverheating(), and InventoryItem::OnOverheatingDecay().
| int m_Cleanness |
Referenced by InventoryItem::EEHealthLevelChanged(), InventoryItem::GetCleanness(), ItemBase::GetInfectionChance(), Bandana_ColorBase::GetInfectionChance(), Shemag_ColorBase::GetInfectionChance(), SewingKit::GetInfectionChance(), InventoryItem::InitItemVariables(), ItemBase::OnCombine(), SewingKit::OnCombine(), InventoryItem::SerializeNumericalVars(), and InventoryItem::SetCleanness().
| int m_CleannessInit |
Referenced by InventoryItem::InitItemVariables().
| int m_CleannessMax |
Referenced by InventoryItem::InitItemVariables(), and InventoryItem::SetCleanness().
| int m_CleannessMin |
Referenced by InventoryItem::InitItemVariables(), and InventoryItem::SetCleanness().
| int m_ColorComponentA |
| int m_ColorComponentB |
| int m_ColorComponentG |
| int m_ColorComponentR |
Referenced by InventoryItem::InitItemVariables().
| ref TIntArray m_ContinuousActions |
Referenced by InventoryItem::ItemBase().
| int m_Count |
Referenced by InventoryItem::InitItemVariables().
|
static |
| protected EffectSound m_DeployLoopSoundEx |
| bool m_FixDamageSystemInit = false |
| bool m_HasQuantityBar |
Referenced by InventoryItem::InitItemVariables().
| protected ref TStringArray m_HeadHidingSelections |
Referenced by InventoryItem::GetHeadHidingSelection(), and InventoryItem::ItemBase().
| float m_HeatIsolation |
Referenced by InventoryItem::GetHeatIsolation(), and InventoryItem::InitItemVariables().
| protected bool m_HideSelectionsBySlot |
Referenced by InventoryItem::HidesSelectionBySlot(), and InventoryItem::ItemBase().
| int m_ImpactSoundSurfaceHash |
Referenced by InventoryItem::EOnContact(), and InventoryItem::OnVariablesSynchronized().
| float m_ImpactSpeed |
| TInputActionMap m_InputActionMap |
| ref TIntArray m_InteractActions |
Referenced by EntityAI::Building(), and InventoryItem::ItemBase().
| bool m_IsBeingPlaced |
| bool m_IsDeploySound |
Referenced by InventoryItem::IsDeploySound().
| bool m_IsHologram |
Referenced by InventoryItem::InitItemVariables(), InventoryItem::IsHologram(), and InventoryItem::SetIsHologram().
| bool m_IsOverheatingEffectActive |
| bool m_IsPlaceSound |
Referenced by InventoryItem::IsPlaceSound().
| bool m_IsSoundSynchRemote |
Referenced by InventoryItem::IsSoundSynchRemote().
| bool m_IsStoreLoad = false |
| bool m_IsTakeable |
Referenced by InventoryItem::InitItemVariables(), InventoryItem::IsTakeable(), and InventoryItem::SetTakeable().
|
static |
Referenced by InventoryItem::OverrideActionAnimation().
| float m_ItemAttachOffset |
Referenced by InventoryItem::InitItemVariables().
| int m_ItemBehaviour |
| bool m_ItemBeingDroppedPhys |
Referenced by InventoryItem::StopItemDynamicPhysics().
| float m_ItemModelLength |
Referenced by InventoryItem::InitItemVariables().
| private ref ItemSoundHandler m_ItemSoundHandler |
|
static |
Referenced by InventoryItem::InitializeActions().
|
static |
Referenced by InventoryItem::GetMuzzleID().
| ItemBase m_LightSourceItem |
| int m_LiquidContainerMask |
| protected ref EffectSound m_LockingSound |
| protected string m_LockSoundSet |
Referenced by InventoryItem::GetLockSoundSet(), and InventoryItem::InitItemVariables().
| protected int m_LockType |
Referenced by InventoryItem::GetLockType(), and InventoryItem::InitItemVariables().
| int m_MaxOverheatingValue = 0 |
Referenced by InventoryItem::LoadParticleConfigOnFire(), and InventoryItem::PlayFireParticles().
Referenced by InventoryItem::LoadParticleConfigOnOverheating().
| float m_OverheatingDecayInterval = 1 |
| ref array<ref OverheatingParticle> m_OverheatingParticles |
| float m_OverheatingShots |
| ref Timer m_PhysDropTimer |
| int m_QuickBarBonus |
Referenced by InventoryItem::GetQuickBarBonus(), ManBase::GetQuickBarBonus(), ManBase::Init(), and InventoryItem::ItemBase().
| bool m_RecipesInitialized |
| int m_ShotsToStartOverheating = 0 |
| ref TIntArray m_SingleUseActions |
Referenced by InventoryItem::ItemBase().
distinguish if item has been created as new or it came from splitting (server only flag)
Referenced by InventoryItem::GetAttachmentSoundType(), and InventoryItem::PreLoadSoundAttachmentType().
| protected EffectSound m_SoundDeploy |
| protected EffectSound m_SoundDeployFinish |
| protected EffectSound m_SoundPlace |
| protected int m_SoundSyncPlay |
| protected int m_SoundSyncStop |
| float m_StoreLoadedQuantity = float.LOWEST |
Referenced by InventoryItem::GetStoreLoadedQuantity(), and InventoryItem::SetStoreLoadedQuantity().
| private float m_TemperaturePerQuantityWeight |
Referenced by InventoryItem::GetTemperaturePerQuantityWeight(), and InventoryItem::InitItemVariables().
| bool m_ThrowItemOnDrop |
Referenced by InventoryItem::EEItemLocationChanged().
| int m_VarLiquidType |
| float m_VarQuantity |
| int m_VarQuantityInit |
Referenced by InventoryItem::GetQuantityInit(), and InventoryItem::InitItemVariables().
| int m_VarQuantityMax |
| int m_VarQuantityMin |
Referenced by InventoryItem::GetQuantityMin(), and InventoryItem::InitItemVariables().
| float m_VarQuantityPrev |
Referenced by InventoryItem::OnVariablesSynchronized().
| float m_VarStackMax |
Referenced by InventoryItem::GetTargetQuantityMax(), and InventoryItem::InitItemVariables().
| float m_VarWet |
| float m_VarWetInit |
Referenced by InventoryItem::GetWetInit(), and InventoryItem::InitItemVariables().
| float m_VarWetMax |
| float m_VarWetMin |
| float m_VarWetPrev |
Referenced by InventoryItem::OnVariablesSynchronized().
| bool m_WantPlayImpactSound |
Referenced by InventoryItem::GetMuzzleID().