![]() |
Dayz Explorer 1.29.162510
|
Go to the source code of this file.
Classes | |
| class | ItemBase |
| class | ItemBaseType |
| class | InventoryItem |
Typedefs | |
| typedef ItemBase | Inventory_Base |
| typedef ItemBaseType | Inventory_BaseType |
| typedef map< typename, ref ActionOverrideData > | TActionAnimOverrideMap |
Functions | |
| class ItemBase extends InventoryItem | SpawnItemOnLocation (string object_name, notnull InventoryLocation loc, bool full_quantity) |
| 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 () |
| 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 () |
| 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 () |
| 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) |
| 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 () |
| void | PreLoadSoundAttachmentType () |
| Attachment Sound Type getting from config file. | |
| override string | GetAttachmentSoundType () |
| string | GetPlaceSoundset () |
| string | GetLoopDeploySoundset () |
| string | GetDeploySoundset () |
| string | GetLoopFoldSoundset () |
| string | GetFoldSoundset () |
| ItemSoundHandler | GetItemSoundHandler () |
| void | InitItemSounds () |
| void | StartItemSoundServer (int id, int slotId) |
| void | StartItemSoundServer (int id) |
| void | StopItemSoundServer (int id) |
| void | ClearStartItemSoundServer () |
| void | ClearStopItemSoundServer () |
| 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) |
| void | ProcessDecay (float delta, bool hasRootAsPlayer) |
| bool | CanDecay () |
| bool | CanProcessDecay () |
| 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 | 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 | SetupSpawnedItem (ItemBase item, float health, float quantity) |
| typedef ItemBase Inventory_Base |
Definition at line 1 of file itembase.c.
| typedef ItemBaseType Inventory_BaseType |
Definition at line 2 of file itembase.c.
| typedef map<typename,ref ActionOverrideData> TActionAnimOverrideMap |
Definition at line 3 of file itembase.c.
|
protected |
Adds a light source child.
Definition at line 9640 of file itembase.c.
|
protected |
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 8303 of file itembase.c.
|
protected |
Definition at line 8611 of file itembase.c.
from enviro source
|
protected |
from other liquid container source
|
protected |
Definition at line 8139 of file itembase.c.
|
protected |
Definition at line 8721 of file itembase.c.
|
protected |
Definition at line 7092 of file itembase.c.
|
protected |
Items cannot be consumed if frozen by default. Override for exceptions.
Definition at line 9543 of file itembase.c.
|
protected |
Definition at line 7556 of file itembase.c.
|
protected |
Definition at line 7561 of file itembase.c.
|
protected |
Definition at line 8168 of file itembase.c.
|
protected |
Definition at line 7600 of file itembase.c.
|
protected |
Definition at line 9720 of file itembase.c.
|
protected |
Definition at line 9523 of file itembase.c.
|
protected |
Definition at line 9043 of file itembase.c.
|
protected |
Definition at line 7531 of file itembase.c.
|
protected |
Definition at line 7525 of file itembase.c.
|
protected |
Definition at line 9536 of file itembase.c.
|
protected |
Definition at line 9753 of file itembase.c.
|
protected |
Definition at line 9529 of file itembase.c.
Definition at line 9066 of file itembase.c.
Definition at line 9052 of file itembase.c.
|
protected |
Definition at line 9090 of file itembase.c.
Definition at line 9081 of file itembase.c.
Definition at line 9111 of file itembase.c.
Definition at line 7571 of file itembase.c.
|
protected |
Roof check for entity, limited by time (anti-spam solution).
Definition at line 8971 of file itembase.c.
|
protected |
Definition at line 8504 of file itembase.c.
|
protected |
Definition at line 9390 of file itembase.c.
|
protected |
Definition at line 9396 of file itembase.c.
|
protected |
Definition at line 7198 of file itembase.c.
|
protected |
Definition at line 7193 of file itembase.c.
|
protected |
Definition at line 7169 of file itembase.c.
|
protected |
Definition at line 7174 of file itembase.c.
Definition at line 8863 of file itembase.c.
|
protected |
Definition at line 8551 of file itembase.c.
|
protected |
Definition at line 9634 of file itembase.c.
Definition at line 7824 of file itembase.c.
|
protected |
drops content of container when ruined in fireplace
Definition at line 6976 of file itembase.c.
|
protected |
Definition at line 8155 of file itembase.c.
|
protected |
Called when entity is being created as new by CE/ Debug.
Definition at line 9023 of file itembase.c.
If we need a different (handheld)item action widget displayed, the logic goes in here.
Definition at line 9662 of file itembase.c.
|
protected |
Definition at line 8910 of file itembase.c.
|
protected |
Definition at line 9314 of file itembase.c.
|
protected |
generic effectivity as a bait for animal catching
Definition at line 9692 of file itembase.c.
|
protected |
Definition at line 9403 of file itembase.c.
|
protected |
Definition at line 8716 of file itembase.c.
|
protected |
gets item's color variable as components
Definition at line 8751 of file itembase.c.
|
protected |
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 8765 of file itembase.c.
|
protected |
Definition at line 7253 of file itembase.c.
|
protected |
|
protected |
Definition at line 2611 of file fireplacebase.c.
|
protected |
how long it takes to deploy this item in seconds
Definition at line 9276 of file itembase.c.
Definition at line 8574 of file itembase.c.
|
protected |
Definition at line 8525 of file itembase.c.
|
protected |
Definition at line 1417 of file basebuildingbase.c.
|
protected |
overridden on Edible_Base; so we don't have to parse configs all the time
Definition at line 7551 of file itembase.c.
Definition at line 9408 of file itembase.c.
|
protected |
Definition at line 8569 of file itembase.c.
|
protected |
Definition at line 8564 of file itembase.c.
|
protected |
Definition at line 8694 of file itembase.c.
|
protected |
Definition at line 8685 of file itembase.c.
|
protected |
Definition at line 9600 of file itembase.c.
|
protected |
Definition at line 7585 of file itembase.c.
|
protected |
Definition at line 9329 of file itembase.c.
|
protected |
Definition at line 9650 of file itembase.c.
|
protected |
Definition at line 8794 of file itembase.c.
|
protected |
Definition at line 8789 of file itembase.c.
|
protected |
Definition at line 8734 of file itembase.c.
|
protected |
Definition at line 8729 of file itembase.c.
|
protected |
Definition at line 151 of file largetent.c.
|
protected |
Definition at line 1422 of file basebuildingbase.c.
|
protected |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Definition at line 8462 of file itembase.c.
|
protected |
|
protected |
Definition at line 8984 of file itembase.c.
|
protected |
Definition at line 8398 of file itembase.c.
|
protected |
Definition at line 8387 of file itembase.c.
|
protected |
Definition at line 8349 of file itembase.c.
|
protected |
Definition at line 8382 of file itembase.c.
|
protected |
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 8330 of file itembase.c.
|
protected |
Definition at line 8335 of file itembase.c.
|
protected |
Definition at line 7232 of file itembase.c.
|
protected |
Definition at line 8418 of file itembase.c.
|
protected |
Definition at line 8409 of file itembase.c.
Definition at line 8583 of file itembase.c.
|
protected |
Definition at line 8678 of file itembase.c.
Definition at line 8363 of file itembase.c.
|
protected |
Definition at line 9584 of file itembase.c.
|
protected |
Definition at line 9608 of file itembase.c.
|
protected |
Used in heat comfort calculations only!
Definition at line 9579 of file itembase.c.
|
protected |
Definition at line 9592 of file itembase.c.
|
protected |
Definition at line 9616 of file itembase.c.
Obsolete, use GetWeightEx instead.
Definition at line 8485 of file itembase.c.
returns an array of possible finishers
Definition at line 9656 of file itembase.c.
Definition at line 8423 of file itembase.c.
|
protected |
Definition at line 8621 of file itembase.c.
|
protected |
Definition at line 8636 of file itembase.c.
|
protected |
Definition at line 8656 of file itembase.c.
|
protected |
Definition at line 8626 of file itembase.c.
|
protected |
Definition at line 8631 of file itembase.c.
|
protected |
Definition at line 9418 of file itembase.c.
|
protected |
Definition at line 7544 of file itembase.c.
|
protected |
Definition at line 8393 of file itembase.c.
|
protected |
Definition at line 9413 of file itembase.c.
|
protected |
Definition at line 9501 of file itembase.c.
Definition at line 7767 of file itembase.c.
|
protected |
Definition at line 9338 of file itembase.c.
Definition at line 8895 of file itembase.c.
|
protected |
Definition at line 9296 of file itembase.c.
Definition at line 9629 of file itembase.c.
|
protected |
Definition at line 8759 of file itembase.c.
|
protected |
Definition at line 7154 of file itembase.c.
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
Definition at line 9451 of file itembase.c.
|
protected |
Definition at line 9270 of file itembase.c.
|
protected |
Definition at line 9756 of file itembase.c.
|
protected |
Definition at line 8403 of file itembase.c.
|
protected |
Definition at line 9240 of file itembase.c.
|
protected |
Definition at line 7537 of file itembase.c.
|
protected |
Definition at line 7684 of file itembase.c.
|
protected |
Definition at line 9250 of file itembase.c.
|
protected |
Definition at line 9038 of file itembase.c.
|
protected |
Definition at line 9755 of file itembase.c.
|
protected |
Definition at line 7159 of file itembase.c.
|
protected |
Definition at line 9754 of file itembase.c.
|
protected |
Definition at line 8668 of file itembase.c.
|
protected |
Definition at line 9290 of file itembase.c.
|
protected |
Definition at line 9260 of file itembase.c.
Definition at line 7690 of file itembase.c.
|
protected |
Definition at line 8956 of file itembase.c.
|
protected |
Send message to owner player in yellow color.
void Definition at line 7638 of file itembase.c.
|
protected |
Send message to owner player in green color.
void Definition at line 7656 of file itembase.c.
|
protected |
Send message to owner player in red color.
void Definition at line 7674 of file itembase.c.
|
protected |
Send message to owner player in grey color.
void Definition at line 7620 of file itembase.c.
Definition at line 7761 of file itembase.c.
|
protected |
Definition at line 7313 of file itembase.c.
|
protected |
Called when this item is activated by other.
Definition at line 305 of file remotedetonator.c.
|
protected |
DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.
|
protected |
|
protected |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 6965 of file itembase.c.
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 6971 of file itembase.c.
|
protected |
Definition at line 7224 of file itembase.c.
|
protected |
Definition at line 8543 of file itembase.c.
|
protected |
Definition at line 8536 of file itembase.c.
|
protected |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
Definition at line 8813 of file itembase.c.
|
protected |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
Definition at line 8825 of file itembase.c.
Definition at line 8799 of file itembase.c.
|
protected |
Definition at line 8849 of file itembase.c.
|
protected |
Definition at line 8842 of file itembase.c.
|
protected |
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.
Definition at line 6942 of file itembase.c.
|
protected |
Definition at line 7014 of file itembase.c.
|
protected |
Definition at line 7710 of file itembase.c.
|
protected |
Definition at line 8010 of file itembase.c.
|
protected |
Definition at line 8111 of file itembase.c.
|
protected |
DEPRECATED (most likely).
Definition at line 7774 of file itembase.c.
|
protected |
Definition at line 8175 of file itembase.c.
Definition at line 8641 of file itembase.c.
|
protected |
Definition at line 8651 of file itembase.c.
|
protected |
Implementations only.
Definition at line 23 of file chamberfirstinnermagazinesemiautomatic_base.c.
Definition at line 9667 of file itembase.c.
|
protected |
Definition at line 9426 of file itembase.c.
|
protected |
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 9762 of file itembase.c.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 9798 of file itembase.c.
|
protected |
|
protected |
Attachment Sound Type getting from config file.
Definition at line 9302 of file itembase.c.
Definition at line 9518 of file itembase.c.
|
protected |
Definition at line 9481 of file itembase.c.
|
protected |
Definition at line 9456 of file itembase.c.
|
protected |
Definition at line 9729 of file itembase.c.
|
protected |
Definition at line 9548 of file itembase.c.
|
protected |
Definition at line 7919 of file itembase.c.
|
protected |
cooking-related effect methods
Definition at line 158 of file bottle_base.c.
|
protected |
Definition at line 8876 of file itembase.c.
|
protected |
Definition at line 8885 of file itembase.c.
|
protected |
Definition at line 8890 of file itembase.c.
|
protected |
Definition at line 151 of file bottle_base.c.
|
protected |
Definition at line 9645 of file itembase.c.
|
protected |
Definition at line 7578 of file itembase.c.
|
protected |
Definition at line 8963 of file itembase.c.
Definition at line 7788 of file itembase.c.
|
protected |
Definition at line 7607 of file itembase.c.
Definition at line 8703 of file itembase.c.
Definition at line 8742 of file itembase.c.
|
protected |
Definition at line 7078 of file itembase.c.
|
protected |
|
protected |
Definition at line 8778 of file itembase.c.
|
protected |
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 8230 of file itembase.c.
|
protected |
Definition at line 8308 of file itembase.c.
|
protected |
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 8321 of file itembase.c.
|
protected |
Definition at line 8314 of file itembase.c.
|
protected |
Definition at line 7164 of file itembase.c.
|
protected |
Definition at line 8663 of file itembase.c.
|
protected |
Definition at line 8673 of file itembase.c.
|
protected |
Definition at line 9284 of file itembase.c.
Definition at line 4931 of file itembase.c.
Definition at line 8592 of file itembase.c.
|
protected |
Definition at line 8616 of file itembase.c.
|
protected |
Sets zone damages to match randomized global health set by CE (CE spawn only).
Definition at line 9438 of file itembase.c.
Definition at line 6503 of file itembase.c.
|
protected |
|
protected |
| class ItemBase extends InventoryItem SpawnItemOnLocation | ( | string | object_name, |
| notnull InventoryLocation | loc, | ||
| bool | full_quantity ) |
Definition at line 20 of file itembase.c.
|
protected |
Definition at line 6546 of file itembase.c.
|
protected |
Definition at line 6796 of file itembase.c.
|
protected |
Definition at line 6732 of file itembase.c.
|
protected |
Definition at line 6523 of file itembase.c.
|
protected |
Definition at line 6633 of file itembase.c.
|
protected |
Definition at line 6847 of file itembase.c.
|
protected |
Definition at line 6823 of file itembase.c.
|
protected |
Definition at line 6757 of file itembase.c.
|
protected |
Definition at line 6711 of file itembase.c.
|
protected |
Definition at line 6762 of file itembase.c.
|
protected |
Definition at line 6908 of file itembase.c.
|
protected |
Definition at line 6875 of file itembase.c.
|
protected |
Definition at line 9372 of file itembase.c.
Definition at line 9358 of file itembase.c.
|
protected |
|
protected |
Definition at line 9420 of file itembase.c.
|
protected |
Definition at line 9378 of file itembase.c.
|
protected |
transfer agents from another item
Definition at line 8904 of file itembase.c.
|
protected |
To be called on moving item within character's inventory; 'player' should never be null.
Definition at line 8806 of file itembase.c.
|
protected |
Definition at line 9752 of file itembase.c.
|
protected |
Definition at line 7883 of file itembase.c.
| bool can_this_be_combined |
Definition at line 4964 of file itembase.c.
|
protected |
Definition at line 5027 of file itembase.c.
| bool m_ActionsInitialize |
Definition at line 4916 of file itembase.c.
|
protected |
Definition at line 5015 of file itembase.c.
|
protected |
Definition at line 4969 of file itembase.c.
| bool m_CanBeMovedOverride |
Definition at line 4962 of file itembase.c.
Definition at line 4946 of file itembase.c.
| bool m_CanShowQuantity |
Definition at line 4967 of file itembase.c.
| bool m_CanThisBeSplit |
Definition at line 4965 of file itembase.c.
| int m_Cleanness |
Definition at line 4940 of file itembase.c.
| int m_CleannessInit |
Definition at line 4941 of file itembase.c.
| int m_CleannessMax |
Definition at line 4943 of file itembase.c.
| int m_CleannessMin |
Definition at line 4942 of file itembase.c.
|
protected |
Definition at line 4977 of file itembase.c.
|
protected |
Definition at line 4976 of file itembase.c.
|
protected |
Definition at line 4975 of file itembase.c.
|
protected |
Definition at line 4974 of file itembase.c.
Definition at line 5021 of file itembase.c.
|
protected |
Definition at line 4984 of file itembase.c.
| int m_Count |
Definition at line 4930 of file itembase.c.
|
protected |
Definition at line 9738 of file itembase.c.
Definition at line 4963 of file itembase.c.
| bool m_HasQuantityBar |
Definition at line 4968 of file itembase.c.
|
protected |
Definition at line 5011 of file itembase.c.
| float m_HeatIsolation |
Definition at line 4950 of file itembase.c.
|
protected |
Definition at line 5012 of file itembase.c.
| int m_ImpactSoundSurfaceHash |
Definition at line 4948 of file itembase.c.
| float m_ImpactSpeed |
Definition at line 4947 of file itembase.c.
| TInputActionMap m_InputActionMap |
Definition at line 4913 of file itembase.c.
|
protected |
Definition at line 4985 of file itembase.c.
| bool m_IsBeingPlaced |
Definition at line 4957 of file itembase.c.
|
protected |
Definition at line 9741 of file itembase.c.
| bool m_IsHologram |
Definition at line 4958 of file itembase.c.
|
protected |
Definition at line 9740 of file itembase.c.
|
protected |
Definition at line 9742 of file itembase.c.
Definition at line 4966 of file itembase.c.
| bool m_IsTakeable |
Definition at line 4959 of file itembase.c.
| float m_ItemAttachOffset |
Definition at line 4952 of file itembase.c.
| int m_ItemBehaviour |
Definition at line 4955 of file itembase.c.
| bool m_ItemBeingDroppedPhys |
Definition at line 4961 of file itembase.c.
| float m_ItemModelLength |
Definition at line 4951 of file itembase.c.
|
protected |
Definition at line 4981 of file itembase.c.
| int m_LiquidContainerMask |
Definition at line 4953 of file itembase.c.
|
protected |
Definition at line 5023 of file itembase.c.
|
protected |
Definition at line 5024 of file itembase.c.
|
protected |
Definition at line 5022 of file itembase.c.
|
protected |
Definition at line 5018 of file itembase.c.
| int m_QuickBarBonus |
Definition at line 4956 of file itembase.c.
| bool m_RecipesInitialized |
Definition at line 4919 of file itembase.c.
|
protected |
Definition at line 4983 of file itembase.c.
distinguish if item has been created as new or it came from splitting (server only flag)
Definition at line 4972 of file itembase.c.
|
protected |
Definition at line 9739 of file itembase.c.
|
protected |
Definition at line 9736 of file itembase.c.
|
protected |
Definition at line 9737 of file itembase.c.
|
protected |
Definition at line 5028 of file itembase.c.
|
protected |
Definition at line 5030 of file itembase.c.
|
protected |
Definition at line 5029 of file itembase.c.
| float m_StoreLoadedQuantity = float.LOWEST |
Definition at line 4932 of file itembase.c.
| bool m_ThrowItemOnDrop |
Definition at line 4960 of file itembase.c.
| int m_VarLiquidType |
Definition at line 4954 of file itembase.c.
| float m_VarQuantity |
Definition at line 4925 of file itembase.c.
| int m_VarQuantityInit |
Definition at line 4927 of file itembase.c.
| int m_VarQuantityMax |
Definition at line 4929 of file itembase.c.
| int m_VarQuantityMin |
Definition at line 4928 of file itembase.c.
| float m_VarQuantityPrev |
Definition at line 4926 of file itembase.c.
| float m_VarStackMax |
Definition at line 4931 of file itembase.c.
| float m_VarWet |
Definition at line 4934 of file itembase.c.
| float m_VarWetInit |
Definition at line 4936 of file itembase.c.
| float m_VarWetMax |
Definition at line 4938 of file itembase.c.
| float m_VarWetMin |
Definition at line 4937 of file itembase.c.
| float m_VarWetPrev |
Definition at line 4935 of file itembase.c.
| bool m_WantPlayImpactSound |
Definition at line 4945 of file itembase.c.