Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | ItemBase |
class | InventoryItem |
Typedefs | |
typedef ItemBase | Inventory_Base |
Functions | |
class ItemBase extends InventoryItem | SpawnItemOnLocation (string object_name, notnull InventoryLocation loc, bool full_quantity) |
void | TransferModifiers (PlayerBase reciever) |
appears to be deprecated, legacy code More... | |
void | ItemBase () |
void | InitItemVariables () |
protected bool | UsesGlobalDeploy () |
override int | GetQuickBarBonus () |
void | InitializeActions () |
override void | GetActions (typename action_input_type, out array< ActionBase_Basic > actions) |
void | SetActions () |
void | AddAction (typename actionName) |
void | RemoveAction (typename actionName) |
void | OnItemInHandsPlayerSwimStart (PlayerBase player) |
ScriptedLightBase | GetLight () |
void | LoadParticleConfigOnFire (int id) |
void | LoadParticleConfigOnOverheating (int id) |
float | GetOverheatingValue () |
void | IncreaseOverheating (ItemBase weapon, string ammoType, ItemBase muzzle_owner, ItemBase suppressor, string config_to_search) |
void | CheckOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
bool | IsOverheatingEffectActive () |
void | OnOverheatingDecay () |
void | StartOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
void | UpdateOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
void | StopOverheating (ItemBase weapon=null, string ammoType="", ItemBase muzzle_owner=null, ItemBase suppressor=null, string config_to_search="") |
void | RegisterOverheatingParticle (Particle p, float min_heat_coef, float max_heat_coef, int particle_id, Object parent, vector local_pos, vector local_ori) |
float | GetOverheatingCoef () |
void | UpdateAllOverheatingParticles () |
void | KillAllOverheatingParticles () |
float | GetInfectionChance (int system=0, Param param=null) |
Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well. More... | |
float | GetDisinfectQuantity (int system=0, Param param1=null) |
float | GetFilterDamageRatio () |
bool | HasMuzzle () |
Returns true if this item has a muzzle (weapons, suppressors) More... | |
int | GetMuzzleID () |
Returns global muzzle ID. If not found, then it gets automatically registered. More... | |
int | GetDamageSystemVersionChange () |
Re-sets DamageSystem changes. More... | |
void | ~ItemBase () |
void | SetCEBasedQuantity () |
void | LockToParent () |
Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item. More... | |
void | UnlockFromParent () |
Unlocks this item from its attachment slot of its parent. More... | |
override void | CombineItemsClient (EntityAI entity2, bool use_stack_max=true) |
bool | IsLiquidPresent () |
bool | IsLiquidContainer () |
bool | IsBloodContainer () |
bool | IsNVG () |
bool | IsExplosive () |
string | GetExplosiveTriggerSlotName () |
bool | IsLightSource () |
bool | CanBeRepairedByCrafting () |
bool | IsFacingPlayer (PlayerBase player, string selection) |
bool | IsPlayerInside (PlayerBase player, string selection) |
override bool | CanObstruct () |
override bool | IsBeingPlaced () |
void | SetIsBeingPlaced (bool is_being_placed) |
void | OnEndPlacement () |
override bool | IsHologram () |
bool | CanBeDigged () |
bool | CanMakeGardenplot () |
void | SetIsHologram (bool is_hologram) |
override void | OnMovedInsideCargo (EntityAI container) |
override void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
override void | EOnContact (IEntity other, Contact extra) |
void | RefreshPhysics () |
override void | OnCreatePhysics () |
override void | OnItemAttachmentSlotChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
override void | EEDelete (EntityAI parent) |
override void | EEKilled (Object killer) |
override void | OnWasAttached (EntityAI parent, int slot_id) |
override void | OnWasDetached (EntityAI parent, int slot_id) |
override string | ChangeIntoOnAttach (string slot) |
override string | ChangeIntoOnDetach () |
void | ExplodeAmmo () |
void | DoAmmoExplosion () |
override void | EEHitBy (TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef) |
bool | DamageItemInCargo (float damage) |
bool | DamageItemAttachments (float damage) |
override bool | CanBeSplit () |
void | SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id) |
void | SplitIntoStackMax (EntityAI destination_entity, int slot_id, PlayerBase player) |
void | SplitIntoStackMaxToInventoryLocationClient (notnull InventoryLocation dst) |
void | SplitIntoStackMaxCargoClient (EntityAI destination_entity, int idx, int row, int col) |
void | SplitIntoStackMaxToInventoryLocation (notnull InventoryLocation dst) |
ItemBase | SplitIntoStackMaxToInventoryLocationEx (notnull InventoryLocation dst) |
void | SplitIntoStackMaxCargo (EntityAI destination_entity, int idx, int row, int col) |
void | SplitIntoStackMaxHandsClient (PlayerBase player) |
void | SplitIntoStackMaxHands (PlayerBase player) |
void | SplitItemToInventoryLocation (notnull InventoryLocation dst) |
void | SplitItem (PlayerBase player) |
void | OnQuantityChanged (float delta) |
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event. More... | |
void | OnAttachmentQuantityChanged (ItemBase item) |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. More... | |
void | OnAttachmentQuantityChangedEx (ItemBase item, float delta) |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event. More... | |
override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
override void | OnRightClick () |
override bool | CanBeCombined (EntityAI other_item, bool reservation_check=true, bool stack_max_limit=false) |
bool | IsCombineAll (ItemBase other_item, bool use_stack_max=false) |
bool | IsResultOfSplit () |
void | SetResultOfSplit (bool value) |
int | ComputeQuantityUsed (ItemBase other_item, bool use_stack_max=true) |
float | ComputeQuantityUsedEx (ItemBase other_item, bool use_stack_max=true) |
void | CombineItems (ItemBase other_item, bool use_stack_max=true) |
void | OnCombine (ItemBase other_item) |
void | GetRecipesActions (Man player, out TSelectableActionInfoArray outputList) |
override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
void | OnActivatedByTripWire () |
void | OnActivatedByItem (notnull ItemBase item) |
Called when this item is activated by other. More... | |
bool | CanExplodeInFire () |
bool | CanEat () |
override bool | IsIgnoredByConstruction () |
bool | HasFoodStage () |
bool | CanBeCooked () |
bool | CanBeCookedOnStick () |
bool | CanRepair (ItemBase item_repair_kit) |
bool | Repair (PlayerBase player, ItemBase item_repair_kit, float specialty_weight) |
int | GetItemSize () |
bool | CanBeMovedOverride () |
void | SetCanBeMovedOverride (bool setting) |
void | MessageToOwnerStatus (string text) |
Send message to owner player in grey color. More... | |
void | MessageToOwnerAction (string text) |
Send message to owner player in yellow color. More... | |
void | MessageToOwnerFriendly (string text) |
Send message to owner player in green color. More... | |
void | MessageToOwnerImportant (string text) |
Send message to owner player in red color. More... | |
override bool | IsItemBase () |
override bool | KindOf (string tag) |
override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
void | TransferVariablesFloat (array< float > float_vars) |
array< float > | GetVariablesFloat () |
int | NameToID (string name) |
string | IDToName (int id) |
void | OnSyncVariables (ParamsReadContext ctx) |
void | SerializeNumericalVars (array< float > floats_out) |
void | DeSerializeNumericalVars (array< float > floats) |
void | WriteVarsToCTX (ParamsWriteContext ctx) |
bool | ReadVarsFromCTX (ParamsReadContext ctx, int version=-1) |
void | SaveVariables (ParamsWriteContext ctx) |
bool | LoadVariables (ParamsReadContext ctx, int version=-1) |
override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
override void | OnStoreSave (ParamsWriteContext ctx) |
override void | AfterStoreLoad () |
override void | EEOnAfterLoad () |
bool | CanBeDisinfected () |
override void | OnVariablesSynchronized () |
bool | SetQuantity (float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true) |
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted. More... | |
bool | AddQuantity (float value, bool destroy_config=true, bool destroy_forced=false) |
add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted More... | |
void | SetQuantityMax () |
override void | SetQuantityToMinimum () |
void | SetQuantityNormalized (float value, bool destroy_config=true, bool destroy_forced=false) |
Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500) More... | |
float | GetQuantityNormalized () |
Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5) More... | |
override int | GetQuantityMax () |
override int | GetTargetQuantityMax (int attSlotID=-1) |
int | GetQuantityMin () |
int | GetQuantityInit () |
bool | HasQuantity () |
override float | GetQuantity () |
bool | IsFullQuantity () |
override float | GetSingleInventoryItemWeightEx () |
float | GetSingleInventoryItemWeight () |
override protected float | GetWeightSpecialized (bool forceRecalc=false) |
int | GetNumberOfItems () |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive. More... | |
float | GetUnitWeight (bool include_wetness=true) |
Obsolete, use GetWeightEx instead. More... | |
void | SetVariableMask (int variable) |
void | RemoveItemVariable (int variable) |
Removes variable from variable mask, making it appear as though the variable has never been changed from default. More... | |
bool | IsVariableSet (int variable) |
'true' if this variable has ever been changed from default More... | |
override void | ClearInventory () |
float | GetEnergy () |
override void | OnEnergyConsumed () |
override void | OnEnergyAdded () |
void | ConvertEnergyToQuantity () |
override void | SetTemperature (float value, bool allow_client=false) |
override void | AddTemperature (float value) |
override void | SetTemperatureMax () |
override float | GetTemperature () |
override float | GetTemperatureInit () |
override float | GetTemperatureMin () |
override float | GetTemperatureMax () |
float | GetHeatIsolationInit () |
float | GetHeatIsolation () |
float | GetDryingIncrement (string pIncrementName) |
float | GetSoakingIncrement (string pIncrementName) |
override void | SetWet (float value, bool allow_client=false) |
override void | AddWet (float value) |
override void | SetWetMax () |
override float | GetWet () |
override float | GetWetMax () |
override float | GetWetMin () |
override float | GetWetInit () |
override void | OnWetChanged (float newVal, float oldVal) |
override void | OnWetLevelChanged (EWetnessLevel newLevel, EWetnessLevel oldLevel) |
override EWetnessLevel | GetWetLevel () |
bool | IsServerCheck (bool allow_client) |
float | GetItemModelLength () |
float | GetItemAttachOffset () |
void | SetCleanness (int value, bool allow_client=false) |
bool | AllowFoodConsumption () |
int | GetLockType () |
string | GetLockSoundSet () |
void | SetColor (int r, int g, int b, int a) |
void | GetColor (out int r, out int g, out int b, out int a) |
gets item's color variable as components More... | |
bool | IsColorSet () |
string | GetColorString () |
Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)". More... | |
void | SetLiquidType (int value, bool allow_client=false) |
int | GetLiquidTypeInit () |
int | GetLiquidType () |
void | OnInventoryEnter (Man player) |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter. More... | |
void | OnInventoryExit (Man player) |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter. More... | |
override void | OnPlacementStarted (Man player) |
override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
bool | ContainsAgent (int agent_id) |
override void | RemoveAgent (int agent_id) |
override void | RemoveAllAgents () |
override void | RemoveAllAgentsExcept (int agents_to_keep_mask) |
override void | InsertAgent (int agent, float count=1) |
void | TransferAgents (int agents) |
transfer agents from another item More... | |
override int | GetAgents () |
bool | LoadAgents (ParamsReadContext ctx, int version) |
void | SaveAgents (ParamsWriteContext ctx) |
float | GetProtectionLevel (int type, bool consider_filter=false, int system=0) |
override void | EEOnCECreate () |
Called when entity is being created as new by CE/ Debug. More... | |
void | Open () |
Implementations only. More... | |
void | Close () |
bool | IsOpen () |
override bool | CanDisplayCargo () |
override bool | CanPutInCargo (EntityAI parent) |
override bool | CanPutAsAttachment (EntityAI parent) |
override bool | CanReceiveItemIntoCargo (EntityAI item) |
override bool | CanReceiveAttachment (EntityAI attachment, int slotId) |
override bool | IsHeavyBehaviour () |
override bool | IsOneHandedBehaviour () |
override bool | IsTwoHandedBehaviour () |
bool | IsDeployable () |
float | GetDeployTime () |
how long it takes to deploy this item in seconds More... | |
override void | SetTakeable (bool pState) |
override bool | IsTakeable () |
protected void | PreLoadSoundAttachmentType () |
Attachment Sound Type getting from config file. More... | |
override string | GetAttachmentSoundType () |
void | SoundSynchRemoteReset () |
void | SoundSynchRemote () |
bool | IsSoundSynchRemote () |
string | GetDeploySoundset () |
string | GetPlaceSoundset () |
string | GetLoopDeploySoundset () |
string | GetDeployFinishSoundset () |
void | SetIsPlaceSound (bool is_place_sound) |
bool | IsPlaceSound () |
void | SetIsDeploySound (bool is_deploy_sound) |
bool | IsDeploySound () |
void | PlayDeployLoopSoundEx () |
void | StopDeployLoopSoundEx () |
void | PlayDeploySound () |
void | PlayDeployFinishSound () |
void | PlayPlaceSound () |
bool | CanPlayDeployLoopSound () |
void | PlayAttachSound (string slot_type) |
Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use. More... | |
void | PlayDetachSound (string slot_type) |
void | OnApply (PlayerBase player) |
float | GetBandagingEffectivity () |
array< 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) More... | |
bool | IsCoverFaceForShave (string slot_name) |
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere. More... | |
void | ProcessItemWetness (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
void | ProcessItemTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
void | ProcessItemWetnessAndTemperature (float delta, bool hasParent, bool hasRootAsPlayer, ItemBase refParentIB) |
void | HierarchyCheck (out bool hasParent, out bool hasRootAsPlayer, out ItemBase refParentIB) |
protected void | ProcessDecay (float delta, bool hasRootAsPlayer) |
bool | CanDecay () |
protected bool | CanProcessDecay () |
protected bool | CanHaveWetness () |
protected bool | CanHaveTemperature () |
override void | OnCEUpdate () |
bool | IsCargoException4x3 (EntityAI item) |
void | CopyScriptPropertiesFrom (EntityAI oldItem) |
void | AddLightSourceItem (ItemBase lightsource) |
Adds a light source child. More... | |
void | RemoveLightSourceItem () |
ItemBase | GetLightSourceItem () |
array< int > | GetValidFinishers () |
returns an array of possible finishers More... | |
bool | GetActionWidgetOverride (out typename name) |
If we need a different (handheld)item action widget displayed, the logic goes in here. More... | |
bool | PairWithDevice (notnull ItemBase otherDevice) |
bool | CanBeUsedForSuicide () |
void | SetupSpawnedItem (ItemBase item, float health, float quantity) |
typedef ItemBase Inventory_Base |
Definition at line 1 of file itembase.c.
void SpawnItemOnLocation::AddAction | ( | typename actionName | ) |
Definition at line 311 of file itembase.c.
void SpawnItemOnLocation::AddLightSourceItem | ( | ItemBase | lightsource | ) |
Adds a light source child.
Definition at line 4602 of file itembase.c.
bool SpawnItemOnLocation::AddQuantity | ( | float | value, |
bool | destroy_config = true , |
||
bool | destroy_forced = false |
||
) |
add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted
Definition at line 3221 of file itembase.c.
override void SpawnItemOnLocation::AddTemperature | ( | float | value | ) |
Definition at line 3515 of file itembase.c.
override void SpawnItemOnLocation::AddWet | ( | float | value | ) |
Definition at line 3592 of file itembase.c.
override void SpawnItemOnLocation::AfterStoreLoad | ( | ) |
Definition at line 3068 of file itembase.c.
bool SpawnItemOnLocation::AllowFoodConsumption | ( | ) |
Definition at line 3692 of file itembase.c.
override bool SpawnItemOnLocation::CanBeCombined | ( | EntityAI | other_item, |
bool | reservation_check = true , |
||
bool | stack_max_limit = false |
||
) |
Definition at line 1956 of file itembase.c.
bool SpawnItemOnLocation::CanBeCooked | ( | ) |
Definition at line 2365 of file itembase.c.
bool SpawnItemOnLocation::CanBeCookedOnStick | ( | ) |
Definition at line 2370 of file itembase.c.
bool SpawnItemOnLocation::CanBeDigged | ( | ) |
Definition at line 967 of file itembase.c.
bool SpawnItemOnLocation::CanBeDisinfected | ( | ) |
Definition at line 3097 of file itembase.c.
bool SpawnItemOnLocation::CanBeMovedOverride | ( | ) |
Definition at line 2405 of file itembase.c.
bool SpawnItemOnLocation::CanBeRepairedByCrafting | ( | ) |
Definition at line 923 of file itembase.c.
override bool SpawnItemOnLocation::CanBeSplit | ( | ) |
Definition at line 1501 of file itembase.c.
bool SpawnItemOnLocation::CanBeUsedForSuicide | ( | ) |
Definition at line 4661 of file itembase.c.
bool SpawnItemOnLocation::CanDecay | ( | ) |
Definition at line 4534 of file itembase.c.
override bool SpawnItemOnLocation::CanDisplayCargo | ( | ) |
Definition at line 3998 of file itembase.c.
bool SpawnItemOnLocation::CanEat | ( | ) |
Definition at line 2346 of file itembase.c.
bool SpawnItemOnLocation::CanExplodeInFire | ( | ) |
Definition at line 2340 of file itembase.c.
protected bool SpawnItemOnLocation::CanHaveTemperature | ( | ) |
Definition at line 4553 of file itembase.c.
protected bool SpawnItemOnLocation::CanHaveWetness | ( | ) |
Definition at line 4547 of file itembase.c.
bool SpawnItemOnLocation::CanMakeGardenplot | ( | ) |
Definition at line 972 of file itembase.c.
override bool SpawnItemOnLocation::CanObstruct | ( | ) |
Definition at line 940 of file itembase.c.
bool SpawnItemOnLocation::CanPlayDeployLoopSound | ( | ) |
Definition at line 4360 of file itembase.c.
protected bool SpawnItemOnLocation::CanProcessDecay | ( | ) |
Definition at line 4540 of file itembase.c.
Definition at line 4021 of file itembase.c.
Definition at line 4007 of file itembase.c.
Definition at line 4045 of file itembase.c.
Definition at line 4036 of file itembase.c.
Definition at line 2376 of file itembase.c.
Definition at line 1324 of file itembase.c.
override string SpawnItemOnLocation::ChangeIntoOnDetach | ( | ) |
Definition at line 1348 of file itembase.c.
void SpawnItemOnLocation::CheckOverheating | ( | ItemBase | weapon = null , |
string | ammoType = "" , |
||
ItemBase | muzzle_owner = null , |
||
ItemBase | suppressor = null , |
||
string | config_to_search = "" |
||
) |
Definition at line 513 of file itembase.c.
override void SpawnItemOnLocation::ClearInventory | ( | ) |
Definition at line 3440 of file itembase.c.
void SpawnItemOnLocation::Close | ( | ) |
Definition at line 2058 of file itembase.c.
override void SpawnItemOnLocation::CombineItemsClient | ( | EntityAI | entity2, |
bool | use_stack_max = true |
||
) |
Definition at line 849 of file itembase.c.
Definition at line 2034 of file itembase.c.
Definition at line 2039 of file itembase.c.
Definition at line 3828 of file itembase.c.
void SpawnItemOnLocation::ConvertEnergyToQuantity | ( | ) |
Definition at line 3487 of file itembase.c.
void SpawnItemOnLocation::CopyScriptPropertiesFrom | ( | EntityAI | oldItem | ) |
Definition at line 4596 of file itembase.c.
Definition at line 1484 of file itembase.c.
Definition at line 1465 of file itembase.c.
Definition at line 2658 of file itembase.c.
void SpawnItemOnLocation::DoAmmoExplosion | ( | ) |
Definition at line 1400 of file itembase.c.
override void SpawnItemOnLocation::EEDelete | ( | EntityAI | parent | ) |
Definition at line 1246 of file itembase.c.
drops content of container when ruined in fireplace
Definition at line 1856 of file itembase.c.
override void SpawnItemOnLocation::EEHitBy | ( | TotalDamageResult | damageResult, |
int | damageType, | ||
EntityAI | source, | ||
int | component, | ||
string | dmgZone, | ||
string | ammo, | ||
vector | modelPos, | ||
float | speedCoef | ||
) |
Definition at line 1424 of file itembase.c.
override void SpawnItemOnLocation::EEItemLocationChanged | ( | notnull InventoryLocation | oldLoc, |
notnull InventoryLocation | newLoc | ||
) |
Definition at line 1024 of file itembase.c.
override void SpawnItemOnLocation::EEKilled | ( | Object | killer | ) |
item is able to explode in fire
Definition at line 1280 of file itembase.c.
override void SpawnItemOnLocation::EEOnAfterLoad | ( | ) |
Definition at line 3084 of file itembase.c.
override void SpawnItemOnLocation::EEOnCECreate | ( | ) |
Called when entity is being created as new by CE/ Debug.
Definition at line 3977 of file itembase.c.
Definition at line 1148 of file itembase.c.
void SpawnItemOnLocation::ExplodeAmmo | ( | ) |
Definition at line 1387 of file itembase.c.
override void SpawnItemOnLocation::GetActions | ( | typename action_input_type | , |
out array< ActionBase_Basic > | actions | ||
) |
Definition at line 291 of file itembase.c.
If we need a different (handheld)item action widget displayed, the logic goes in here.
Definition at line 4624 of file itembase.c.
override int SpawnItemOnLocation::GetAgents | ( | ) |
Definition at line 3875 of file itembase.c.
override string SpawnItemOnLocation::GetAttachmentSoundType | ( | ) |
Definition at line 4250 of file itembase.c.
float SpawnItemOnLocation::GetBandagingEffectivity | ( | ) |
Definition at line 4409 of file itembase.c.
gets item's color variable as components
Definition at line 3722 of file itembase.c.
string SpawnItemOnLocation::GetColorString | ( | ) |
Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)".
Definition at line 3736 of file itembase.c.
int SpawnItemOnLocation::GetDamageSystemVersionChange | ( | ) |
Re-sets DamageSystem changes.
Definition at line 705 of file itembase.c.
override void SpawnItemOnLocation::GetDebugActions | ( | out TSelectableActionInfoArrayEx | outputList | ) |
Definition at line 2113 of file itembase.c.
string SpawnItemOnLocation::GetDeployFinishSoundset | ( | ) |
string SpawnItemOnLocation::GetDeploySoundset | ( | ) |
Definition at line 146 of file largetent.c.
float SpawnItemOnLocation::GetDeployTime | ( | ) |
how long it takes to deploy this item in seconds
Definition at line 4218 of file itembase.c.
Definition at line 662 of file itembase.c.
Definition at line 3555 of file itembase.c.
float SpawnItemOnLocation::GetEnergy | ( | ) |
Definition at line 3461 of file itembase.c.
string SpawnItemOnLocation::GetExplosiveTriggerSlotName | ( | ) |
Definition at line 911 of file itembase.c.
float SpawnItemOnLocation::GetFilterDamageRatio | ( | ) |
Definition at line 667 of file itembase.c.
Definition at line 4414 of file itembase.c.
float SpawnItemOnLocation::GetHeatIsolation | ( | ) |
Definition at line 3550 of file itembase.c.
float SpawnItemOnLocation::GetHeatIsolationInit | ( | ) |
Definition at line 3545 of file itembase.c.
Infection chance while/after using this item, originally used for wound infection after bandaging, params 'system' and 'param' can allow usage by other systems as well.
Definition at line 656 of file itembase.c.
float SpawnItemOnLocation::GetItemAttachOffset | ( | ) |
Definition at line 3669 of file itembase.c.
float SpawnItemOnLocation::GetItemModelLength | ( | ) |
Definition at line 3660 of file itembase.c.
int SpawnItemOnLocation::GetItemSize | ( | ) |
Definition at line 2390 of file itembase.c.
ScriptedLightBase SpawnItemOnLocation::GetLight | ( | ) |
ItemBase SpawnItemOnLocation::GetLightSourceItem | ( | ) |
Definition at line 4612 of file itembase.c.
int SpawnItemOnLocation::GetLiquidType | ( | ) |
Definition at line 3763 of file itembase.c.
int SpawnItemOnLocation::GetLiquidTypeInit | ( | ) |
Definition at line 3758 of file itembase.c.
string SpawnItemOnLocation::GetLockSoundSet | ( | ) |
Definition at line 3705 of file itembase.c.
int SpawnItemOnLocation::GetLockType | ( | ) |
Definition at line 3700 of file itembase.c.
string SpawnItemOnLocation::GetLoopDeploySoundset | ( | ) |
Definition at line 151 of file largetent.c.
int SpawnItemOnLocation::GetMuzzleID | ( | ) |
Returns global muzzle ID. If not found, then it gets automatically registered.
Definition at line 682 of file itembase.c.
int SpawnItemOnLocation::GetNumberOfItems | ( | ) |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Definition at line 3380 of file itembase.c.
float SpawnItemOnLocation::GetOverheatingCoef | ( | ) |
Definition at line 592 of file itembase.c.
float SpawnItemOnLocation::GetOverheatingValue | ( | ) |
Definition at line 492 of file itembase.c.
string SpawnItemOnLocation::GetPlaceSoundset | ( | ) |
Definition at line 2574 of file fireplacebase.c.
float SpawnItemOnLocation::GetProtectionLevel | ( | int | type, |
bool | consider_filter = false , |
||
int | system = 0 |
||
) |
Definition at line 3938 of file itembase.c.
override float SpawnItemOnLocation::GetQuantity | ( | ) |
Definition at line 3316 of file itembase.c.
int SpawnItemOnLocation::GetQuantityInit | ( | ) |
Definition at line 3305 of file itembase.c.
override int SpawnItemOnLocation::GetQuantityMax | ( | ) |
Definition at line 3262 of file itembase.c.
int SpawnItemOnLocation::GetQuantityMin | ( | ) |
Definition at line 3300 of file itembase.c.
float SpawnItemOnLocation::GetQuantityNormalized | ( | ) |
Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5)
Definition at line 3248 of file itembase.c.
override int SpawnItemOnLocation::GetQuickBarBonus | ( | ) |
Definition at line 274 of file itembase.c.
void SpawnItemOnLocation::GetRecipesActions | ( | Man | player, |
out TSelectableActionInfoArray | outputList | ||
) |
Definition at line 2092 of file itembase.c.
float SpawnItemOnLocation::GetSingleInventoryItemWeight | ( | ) |
Definition at line 3336 of file itembase.c.
override float SpawnItemOnLocation::GetSingleInventoryItemWeightEx | ( | ) |
Definition at line 3327 of file itembase.c.
Definition at line 3564 of file itembase.c.
Definition at line 3284 of file itembase.c.
override float SpawnItemOnLocation::GetTemperature | ( | ) |
Definition at line 3525 of file itembase.c.
override float SpawnItemOnLocation::GetTemperatureInit | ( | ) |
Definition at line 3530 of file itembase.c.
override float SpawnItemOnLocation::GetTemperatureMax | ( | ) |
Definition at line 3540 of file itembase.c.
override float SpawnItemOnLocation::GetTemperatureMin | ( | ) |
Definition at line 3535 of file itembase.c.
Obsolete, use GetWeightEx instead.
Definition at line 3400 of file itembase.c.
returns an array of possible finishers
Definition at line 4618 of file itembase.c.
Definition at line 2572 of file itembase.c.
Definition at line 3341 of file itembase.c.
override float SpawnItemOnLocation::GetWet | ( | ) |
Definition at line 3602 of file itembase.c.
override float SpawnItemOnLocation::GetWetInit | ( | ) |
Definition at line 3617 of file itembase.c.
override EWetnessLevel SpawnItemOnLocation::GetWetLevel | ( | ) |
Definition at line 3637 of file itembase.c.
override float SpawnItemOnLocation::GetWetMax | ( | ) |
Definition at line 3607 of file itembase.c.
override float SpawnItemOnLocation::GetWetMin | ( | ) |
Definition at line 3612 of file itembase.c.
WrittenNoteData SpawnItemOnLocation::GetWrittenNoteData | ( | ) |
Definition at line 4424 of file itembase.c.
bool SpawnItemOnLocation::HasFoodStage | ( | ) |
Definition at line 2359 of file itembase.c.
bool SpawnItemOnLocation::HasMuzzle | ( | ) |
Returns true if this item has a muzzle (weapons, suppressors)
Definition at line 673 of file itembase.c.
bool SpawnItemOnLocation::HasQuantity | ( | ) |
Definition at line 3311 of file itembase.c.
bool SpawnItemOnLocation::HidesSelectionBySlot | ( | ) |
Definition at line 4419 of file itembase.c.
void SpawnItemOnLocation::HierarchyCheck | ( | out bool | hasParent, |
out bool | hasRootAsPlayer, | ||
out ItemBase | refParentIB | ||
) |
Definition at line 4512 of file itembase.c.
Definition at line 2585 of file itembase.c.
void SpawnItemOnLocation::IncreaseOverheating | ( | ItemBase | weapon, |
string | ammoType, | ||
ItemBase | muzzle_owner, | ||
ItemBase | suppressor, | ||
string | config_to_search | ||
) |
Definition at line 497 of file itembase.c.
void SpawnItemOnLocation::InitializeActions | ( | ) |
Definition at line 279 of file itembase.c.
void SpawnItemOnLocation::InitItemVariables | ( | ) |
Definition at line 182 of file itembase.c.
Definition at line 3860 of file itembase.c.
override bool SpawnItemOnLocation::IsBeingPlaced | ( | ) |
Definition at line 946 of file itembase.c.
bool SpawnItemOnLocation::IsBloodContainer | ( | ) |
Definition at line 894 of file itembase.c.
Definition at line 4591 of file itembase.c.
bool SpawnItemOnLocation::IsColorSet | ( | ) |
Definition at line 3730 of file itembase.c.
Definition at line 2019 of file itembase.c.
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
Definition at line 4457 of file itembase.c.
bool SpawnItemOnLocation::IsDeployable | ( | ) |
Definition at line 4212 of file itembase.c.
bool SpawnItemOnLocation::IsDeploySound | ( | ) |
Definition at line 4298 of file itembase.c.
bool SpawnItemOnLocation::IsExplosive | ( | ) |
Definition at line 906 of file itembase.c.
bool SpawnItemOnLocation::IsFacingPlayer | ( | PlayerBase | player, |
string | selection | ||
) |
Definition at line 930 of file itembase.c.
bool SpawnItemOnLocation::IsFullQuantity | ( | ) |
Definition at line 3321 of file itembase.c.
override bool SpawnItemOnLocation::IsHeavyBehaviour | ( | ) |
Definition at line 4182 of file itembase.c.
override bool SpawnItemOnLocation::IsHologram | ( | ) |
Definition at line 962 of file itembase.c.
override bool SpawnItemOnLocation::IsIgnoredByConstruction | ( | ) |
Definition at line 2352 of file itembase.c.
override bool SpawnItemOnLocation::IsItemBase | ( | ) |
Definition at line 2489 of file itembase.c.
bool SpawnItemOnLocation::IsLightSource | ( | ) |
Definition at line 918 of file itembase.c.
bool SpawnItemOnLocation::IsLiquidContainer | ( | ) |
Definition at line 889 of file itembase.c.
bool SpawnItemOnLocation::IsLiquidPresent | ( | ) |
Definition at line 883 of file itembase.c.
bool SpawnItemOnLocation::IsNVG | ( | ) |
Definition at line 899 of file itembase.c.
override bool SpawnItemOnLocation::IsOneHandedBehaviour | ( | ) |
Definition at line 4192 of file itembase.c.
bool SpawnItemOnLocation::IsOpen | ( | ) |
Definition at line 3993 of file itembase.c.
bool SpawnItemOnLocation::IsOverheatingEffectActive | ( | ) |
Definition at line 530 of file itembase.c.
bool SpawnItemOnLocation::IsPlaceSound | ( | ) |
Definition at line 4288 of file itembase.c.
bool SpawnItemOnLocation::IsPlayerInside | ( | PlayerBase | player, |
string | selection | ||
) |
Definition at line 935 of file itembase.c.
bool SpawnItemOnLocation::IsResultOfSplit | ( | ) |
Definition at line 2024 of file itembase.c.
Definition at line 3643 of file itembase.c.
bool SpawnItemOnLocation::IsSoundSynchRemote | ( | ) |
Definition at line 4273 of file itembase.c.
override bool SpawnItemOnLocation::IsTakeable | ( | ) |
Definition at line 4232 of file itembase.c.
override bool SpawnItemOnLocation::IsTwoHandedBehaviour | ( | ) |
Definition at line 4202 of file itembase.c.
'true' if this variable has ever been changed from default
Definition at line 3433 of file itembase.c.
void SpawnItemOnLocation::ItemBase | ( | ) |
Definition at line 131 of file itembase.c.
void SpawnItemOnLocation::KillAllOverheatingParticles | ( | ) |
Definition at line 628 of file itembase.c.
Definition at line 2495 of file itembase.c.
bool SpawnItemOnLocation::LoadAgents | ( | ParamsReadContext | ctx, |
int | version | ||
) |
Definition at line 3922 of file itembase.c.
void SpawnItemOnLocation::LoadParticleConfigOnFire | ( | int | id | ) |
Definition at line 367 of file itembase.c.
void SpawnItemOnLocation::LoadParticleConfigOnOverheating | ( | int | id | ) |
Definition at line 436 of file itembase.c.
bool SpawnItemOnLocation::LoadVariables | ( | ParamsReadContext | ctx, |
int | version = -1 |
||
) |
Definition at line 2898 of file itembase.c.
void SpawnItemOnLocation::LockToParent | ( | ) |
Locks this item in it's current attachment slot of its parent. This makes the "locked" icon visible in inventory over this item.
Definition at line 824 of file itembase.c.
void SpawnItemOnLocation::MessageToOwnerAction | ( | string | text | ) |
Send message to owner player in yellow color.
void
Definition at line 2443 of file itembase.c.
void SpawnItemOnLocation::MessageToOwnerFriendly | ( | string | text | ) |
Send message to owner player in green color.
void
Definition at line 2461 of file itembase.c.
void SpawnItemOnLocation::MessageToOwnerImportant | ( | string | text | ) |
Send message to owner player in red color.
void
Definition at line 2479 of file itembase.c.
void SpawnItemOnLocation::MessageToOwnerStatus | ( | string | text | ) |
Send message to owner player in grey color.
void
Definition at line 2425 of file itembase.c.
Definition at line 2579 of file itembase.c.
override bool SpawnItemOnLocation::OnAction | ( | int | action_id, |
Man | player, | ||
ParamsReadContext | ctx | ||
) |
Definition at line 2155 of file itembase.c.
void SpawnItemOnLocation::OnActivatedByItem | ( | notnull ItemBase | item | ) |
Called when this item is activated by other.
Definition at line 115 of file remotedetonator.c.
void SpawnItemOnLocation::OnActivatedByTripWire | ( | ) |
DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.
void SpawnItemOnLocation::OnApply | ( | PlayerBase | player | ) |
void SpawnItemOnLocation::OnAttachmentQuantityChanged | ( | ItemBase | item | ) |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 1845 of file itembase.c.
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 1851 of file itembase.c.
override void SpawnItemOnLocation::OnCEUpdate | ( | ) |
Definition at line 4559 of file itembase.c.
void SpawnItemOnLocation::OnCombine | ( | ItemBase | other_item | ) |
Definition at line 2084 of file itembase.c.
override void SpawnItemOnLocation::OnCreatePhysics | ( | ) |
Definition at line 1178 of file itembase.c.
void SpawnItemOnLocation::OnEndPlacement | ( | ) |
Definition at line 960 of file itembase.c.
override void SpawnItemOnLocation::OnEnergyAdded | ( | ) |
Definition at line 3479 of file itembase.c.
override void SpawnItemOnLocation::OnEnergyConsumed | ( | ) |
Definition at line 3472 of file itembase.c.
void SpawnItemOnLocation::OnInventoryEnter | ( | Man | player | ) |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
Definition at line 3770 of file itembase.c.
void SpawnItemOnLocation::OnInventoryExit | ( | Man | player | ) |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
Definition at line 3783 of file itembase.c.
override void SpawnItemOnLocation::OnItemAttachmentSlotChanged | ( | notnull InventoryLocation | oldLoc, |
notnull InventoryLocation | newLoc | ||
) |
Definition at line 1183 of file itembase.c.
void SpawnItemOnLocation::OnItemInHandsPlayerSwimStart | ( | PlayerBase | player | ) |
Definition at line 1188 of file itembase.c.
override void SpawnItemOnLocation::OnMovedInsideCargo | ( | EntityAI | container | ) |
Definition at line 1017 of file itembase.c.
void SpawnItemOnLocation::OnOverheatingDecay | ( | ) |
Definition at line 535 of file itembase.c.
override void SpawnItemOnLocation::OnPlacementComplete | ( | Man | player, |
vector | position = "0 0 0" , |
||
vector | orientation = "0 0 0" |
||
) |
Definition at line 3811 of file itembase.c.
override void SpawnItemOnLocation::OnPlacementStarted | ( | Man | player | ) |
Definition at line 3804 of file itembase.c.
void SpawnItemOnLocation::OnQuantityChanged | ( | float | delta | ) |
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.
Definition at line 1833 of file itembase.c.
override void SpawnItemOnLocation::OnRightClick | ( | ) |
Definition at line 1894 of file itembase.c.
override void SpawnItemOnLocation::OnRPC | ( | PlayerIdentity | sender, |
int | rpc_type, | ||
ParamsReadContext | ctx | ||
) |
Definition at line 2515 of file itembase.c.
override bool SpawnItemOnLocation::OnStoreLoad | ( | ParamsReadContext | ctx, |
int | version | ||
) |
Definition at line 2941 of file itembase.c.
override void SpawnItemOnLocation::OnStoreSave | ( | ParamsWriteContext | ctx | ) |
Definition at line 3040 of file itembase.c.
void SpawnItemOnLocation::OnSyncVariables | ( | ParamsReadContext | ctx | ) |
Definition at line 2591 of file itembase.c.
override void SpawnItemOnLocation::OnVariablesSynchronized | ( | ) |
Definition at line 3104 of file itembase.c.
Definition at line 1304 of file itembase.c.
Definition at line 1316 of file itembase.c.
Definition at line 3622 of file itembase.c.
override void SpawnItemOnLocation::OnWetLevelChanged | ( | EWetnessLevel | newLevel, |
EWetnessLevel | oldLevel | ||
) |
Definition at line 3632 of file itembase.c.
void SpawnItemOnLocation::Open | ( | ) |
Implementations only.
Definition at line 2 of file cannedfood.c.
Definition at line 4629 of file itembase.c.
void SpawnItemOnLocation::PerformDamageSystemReinit | ( | ) |
Definition at line 4432 of file itembase.c.
void SpawnItemOnLocation::PlayAttachSound | ( | string | slot_type | ) |
Plays sound on item attach. Be advised, the config structure may slightly change in 1.11 update to allow for more complex use.
Definition at line 4366 of file itembase.c.
void SpawnItemOnLocation::PlayDeployFinishSound | ( | ) |
Definition at line 4336 of file itembase.c.
void SpawnItemOnLocation::PlayDeployLoopSoundEx | ( | ) |
Definition at line 4303 of file itembase.c.
void SpawnItemOnLocation::PlayDeploySound | ( | ) |
Definition at line 4324 of file itembase.c.
void SpawnItemOnLocation::PlayDetachSound | ( | string | slot_type | ) |
Definition at line 4402 of file itembase.c.
void SpawnItemOnLocation::PlayPlaceSound | ( | ) |
Definition at line 4348 of file itembase.c.
protected void SpawnItemOnLocation::PreLoadSoundAttachmentType | ( | ) |
Attachment Sound Type getting from config file.
Definition at line 4238 of file itembase.c.
Definition at line 4529 of file itembase.c.
void SpawnItemOnLocation::ProcessItemTemperature | ( | float | delta, |
bool | hasParent, | ||
bool | hasRootAsPlayer, | ||
ItemBase | refParentIB | ||
) |
Definition at line 4487 of file itembase.c.
void SpawnItemOnLocation::ProcessItemWetness | ( | float | delta, |
bool | hasParent, | ||
bool | hasRootAsPlayer, | ||
ItemBase | refParentIB | ||
) |
Definition at line 4462 of file itembase.c.
void SpawnItemOnLocation::ProcessItemWetnessAndTemperature | ( | float | delta, |
bool | hasParent, | ||
bool | hasRootAsPlayer, | ||
ItemBase | refParentIB | ||
) |
Definition at line 4506 of file itembase.c.
bool SpawnItemOnLocation::ReadVarsFromCTX | ( | ParamsReadContext | ctx, |
int | version = -1 |
||
) |
Definition at line 2761 of file itembase.c.
void SpawnItemOnLocation::RefreshPhysics | ( | ) |
void SpawnItemOnLocation::RegisterOverheatingParticle | ( | Particle | p, |
float | min_heat_coef, | ||
float | max_heat_coef, | ||
int | particle_id, | ||
Object | parent, | ||
vector | local_pos, | ||
vector | local_ori | ||
) |
Definition at line 578 of file itembase.c.
void SpawnItemOnLocation::RemoveAction | ( | typename actionName | ) |
Definition at line 349 of file itembase.c.
override void SpawnItemOnLocation::RemoveAgent | ( | int | agent_id | ) |
Definition at line 3841 of file itembase.c.
override void SpawnItemOnLocation::RemoveAllAgents | ( | ) |
Definition at line 3850 of file itembase.c.
override void SpawnItemOnLocation::RemoveAllAgentsExcept | ( | int | agents_to_keep_mask | ) |
Definition at line 3855 of file itembase.c.
void SpawnItemOnLocation::RemoveItemVariable | ( | int | variable | ) |
Removes variable from variable mask, making it appear as though the variable has never been changed from default.
Definition at line 3427 of file itembase.c.
void SpawnItemOnLocation::RemoveLightSourceItem | ( | ) |
Definition at line 4607 of file itembase.c.
bool SpawnItemOnLocation::Repair | ( | PlayerBase | player, |
ItemBase | item_repair_kit, | ||
float | specialty_weight | ||
) |
Definition at line 2383 of file itembase.c.
void SpawnItemOnLocation::SaveAgents | ( | ParamsWriteContext | ctx | ) |
Definition at line 3929 of file itembase.c.
void SpawnItemOnLocation::SaveVariables | ( | ParamsWriteContext | ctx | ) |
Definition at line 2875 of file itembase.c.
Definition at line 2618 of file itembase.c.
void SpawnItemOnLocation::SetActions | ( | ) |
Definition at line 302 of file itembase.c.
void SpawnItemOnLocation::SetCanBeMovedOverride | ( | bool | setting | ) |
Definition at line 2412 of file itembase.c.
void SpawnItemOnLocation::SetCEBasedQuantity | ( | ) |
Definition at line 790 of file itembase.c.
Definition at line 3678 of file itembase.c.
Definition at line 3713 of file itembase.c.
void SpawnItemOnLocation::SetIsBeingPlaced | ( | bool | is_being_placed | ) |
Definition at line 951 of file itembase.c.
void SpawnItemOnLocation::SetIsDeploySound | ( | bool | is_deploy_sound | ) |
Definition at line 4293 of file itembase.c.
void SpawnItemOnLocation::SetIsHologram | ( | bool | is_hologram | ) |
Definition at line 977 of file itembase.c.
void SpawnItemOnLocation::SetIsPlaceSound | ( | bool | is_place_sound | ) |
Definition at line 4283 of file itembase.c.
Definition at line 3749 of file itembase.c.
bool SpawnItemOnLocation::SetQuantity | ( | float | value, |
bool | destroy_config = true , |
||
bool | destroy_forced = false , |
||
bool | allow_client = false , |
||
bool | clamp_to_stack_max = true |
||
) |
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted.
Definition at line 3159 of file itembase.c.
void SpawnItemOnLocation::SetQuantityMax | ( | ) |
Definition at line 3226 of file itembase.c.
void SpawnItemOnLocation::SetQuantityNormalized | ( | float | value, |
bool | destroy_config = true , |
||
bool | destroy_forced = false |
||
) |
Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500)
Definition at line 3239 of file itembase.c.
override void SpawnItemOnLocation::SetQuantityToMinimum | ( | ) |
Definition at line 3232 of file itembase.c.
void SpawnItemOnLocation::SetResultOfSplit | ( | bool | value | ) |
Definition at line 2029 of file itembase.c.
override void SpawnItemOnLocation::SetTakeable | ( | bool | pState | ) |
Definition at line 4226 of file itembase.c.
Definition at line 3499 of file itembase.c.
override void SpawnItemOnLocation::SetTemperatureMax | ( | ) |
Definition at line 3520 of file itembase.c.
Definition at line 4700 of file itembase.c.
void SpawnItemOnLocation::SetVariableMask | ( | int | variable | ) |
Definition at line 3417 of file itembase.c.
Definition at line 3573 of file itembase.c.
override void SpawnItemOnLocation::SetWetMax | ( | ) |
Definition at line 3597 of file itembase.c.
void SpawnItemOnLocation::SetZoneDamageCEInit | ( | ) |
Sets zone damages to match randomized global health set by CE (CE spawn only)
Definition at line 4444 of file itembase.c.
void SpawnItemOnLocation::SoundSynchRemote | ( | ) |
Definition at line 4266 of file itembase.c.
void SpawnItemOnLocation::SoundSynchRemoteReset | ( | ) |
Definition at line 4259 of file itembase.c.
class ItemBase extends InventoryItem SpawnItemOnLocation | ( | string | object_name, |
notnull InventoryLocation | loc, | ||
bool | full_quantity | ||
) |
Definition at line 4680 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMax | ( | EntityAI | destination_entity, |
int | slot_id, | ||
PlayerBase | player | ||
) |
Definition at line 1532 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxCargo | ( | EntityAI | destination_entity, |
int | idx, | ||
int | row, | ||
int | col | ||
) |
Definition at line 1691 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxCargoClient | ( | EntityAI | destination_entity, |
int | idx, | ||
int | row, | ||
int | col | ||
) |
Definition at line 1630 of file itembase.c.
Definition at line 1509 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxHands | ( | PlayerBase | player | ) |
Definition at line 1739 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxHandsClient | ( | PlayerBase | player | ) |
Definition at line 1715 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocation | ( | notnull InventoryLocation | dst | ) |
Definition at line 1655 of file itembase.c.
void SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocationClient | ( | notnull InventoryLocation | dst | ) |
Definition at line 1609 of file itembase.c.
ItemBase SpawnItemOnLocation::SplitIntoStackMaxToInventoryLocationEx | ( | notnull InventoryLocation | dst | ) |
Definition at line 1660 of file itembase.c.
void SpawnItemOnLocation::SplitItem | ( | PlayerBase | player | ) |
Definition at line 1797 of file itembase.c.
void SpawnItemOnLocation::SplitItemToInventoryLocation | ( | notnull InventoryLocation | dst | ) |
Definition at line 1764 of file itembase.c.
void SpawnItemOnLocation::StartOverheating | ( | ItemBase | weapon = null , |
string | ammoType = "" , |
||
ItemBase | muzzle_owner = null , |
||
ItemBase | suppressor = null , |
||
string | config_to_search = "" |
||
) |
Definition at line 559 of file itembase.c.
void SpawnItemOnLocation::StopDeployLoopSoundEx | ( | ) |
Definition at line 4315 of file itembase.c.
void SpawnItemOnLocation::StopItemDynamicPhysics | ( | ) |
Definition at line 4426 of file itembase.c.
void SpawnItemOnLocation::StopOverheating | ( | ItemBase | weapon = null , |
string | ammoType = "" , |
||
ItemBase | muzzle_owner = null , |
||
ItemBase | suppressor = null , |
||
string | config_to_search = "" |
||
) |
Definition at line 572 of file itembase.c.
void SpawnItemOnLocation::TransferAgents | ( | int | agents | ) |
transfer agents from another item
Definition at line 3869 of file itembase.c.
void SpawnItemOnLocation::TransferModifiers | ( | PlayerBase | reciever | ) |
appears to be deprecated, legacy code
Definition at line 2567 of file itembase.c.
void SpawnItemOnLocation::UnlockFromParent | ( | ) |
Unlocks this item from its attachment slot of its parent.
Definition at line 837 of file itembase.c.
void SpawnItemOnLocation::UpdateAllOverheatingParticles | ( | ) |
Definition at line 600 of file itembase.c.
void SpawnItemOnLocation::UpdateOverheating | ( | ItemBase | weapon = null , |
string | ammoType = "" , |
||
ItemBase | muzzle_owner = null , |
||
ItemBase | suppressor = null , |
||
string | config_to_search = "" |
||
) |
Definition at line 565 of file itembase.c.
protected bool SpawnItemOnLocation::UsesGlobalDeploy | ( | ) |
Definition at line 269 of file itembase.c.
void SpawnItemOnLocation::WriteVarsToCTX | ( | ParamsWriteContext | ctx | ) |
Definition at line 2722 of file itembase.c.
void SpawnItemOnLocation::~ItemBase | ( | ) |
Definition at line 713 of file itembase.c.
bool can_this_be_combined = false |
Definition at line 62 of file itembase.c.
bool m_ActionsInitialize |
Definition at line 4 of file itembase.c.
PluginAdminLog m_AdminLog |
Definition at line 115 of file itembase.c.
private int m_AttachedAgents |
Definition at line 89 of file itembase.c.
protected bool m_CanBeDigged |
Definition at line 67 of file itembase.c.
bool m_CanBeMovedOverride |
Definition at line 60 of file itembase.c.
bool m_CanPlayImpactSound = true |
Definition at line 42 of file itembase.c.
bool m_CanShowQuantity |
Definition at line 65 of file itembase.c.
bool m_CanThisBeSplit = false |
Definition at line 63 of file itembase.c.
ref Timer m_CheckOverheating |
Definition at line 105 of file itembase.c.
int m_Cleanness |
Definition at line 36 of file itembase.c.
int m_CleannessInit |
Definition at line 37 of file itembase.c.
int m_CleannessMax |
Definition at line 39 of file itembase.c.
int m_CleannessMin |
Definition at line 38 of file itembase.c.
int m_ColorComponentA |
Definition at line 77 of file itembase.c.
int m_ColorComponentB |
Definition at line 76 of file itembase.c.
int m_ColorComponentG |
Definition at line 75 of file itembase.c.
int m_ColorComponentR |
Definition at line 74 of file itembase.c.
ref TIntArray m_ContinuousActions |
Definition at line 84 of file itembase.c.
int m_Count |
Definition at line 21 of file itembase.c.
protected bool m_IsResultOfSplit protected EffectSound m_DeployLoopSoundEx |
distinguish if item has been created as new or it came from splitting (server only flag)
Definition at line 70 of file itembase.c.
bool m_FixDamageSystemInit = false |
Definition at line 61 of file itembase.c.
bool m_HasQuantityBar |
Definition at line 66 of file itembase.c.
protected ref TStringArray m_HeadHidingSelections |
Definition at line 111 of file itembase.c.
float m_HeatIsolation |
Definition at line 46 of file itembase.c.
protected bool m_HideSelectionsBySlot |
Definition at line 112 of file itembase.c.
int m_ImpactSoundSurfaceHash |
Definition at line 44 of file itembase.c.
float m_ImpactSpeed |
Definition at line 43 of file itembase.c.
TInputActionMap m_InputActionMap |
Definition at line 3 of file itembase.c.
ref TIntArray m_InteractActions |
Definition at line 85 of file itembase.c.
bool m_IsBeingPlaced |
Definition at line 52 of file itembase.c.
bool m_IsDeploySound |
Definition at line 55 of file itembase.c.
bool m_IsHologram |
Definition at line 53 of file itembase.c.
bool m_IsOverheatingEffectActive |
Definition at line 103 of file itembase.c.
bool m_IsPlaceSound |
Definition at line 54 of file itembase.c.
bool m_IsSoundSynchRemote |
Definition at line 57 of file itembase.c.
bool m_IsStoreLoad = false |
Definition at line 64 of file itembase.c.
bool m_IsTakeable |
Definition at line 56 of file itembase.c.
float m_ItemAttachOffset |
Definition at line 48 of file itembase.c.
int m_ItemBehaviour = -1 |
Definition at line 50 of file itembase.c.
bool m_ItemBeingDroppedPhys |
Definition at line 59 of file itembase.c.
float m_ItemModelLength |
Definition at line 47 of file itembase.c.
ItemBase m_LightSourceItem |
Definition at line 81 of file itembase.c.
protected ref EffectSound m_LockingSound |
Definition at line 123 of file itembase.c.
protected string m_LockSoundSet = "" |
Definition at line 124 of file itembase.c.
protected int m_LockType |
Definition at line 122 of file itembase.c.
int m_MaxOverheatingValue = 0 |
Definition at line 107 of file itembase.c.
Definition at line 98 of file itembase.c.
float m_OverheatingDecayInterval = 1 |
Definition at line 108 of file itembase.c.
ref array<ref OverheatingParticle> m_OverheatingParticles |
Definition at line 109 of file itembase.c.
float m_OverheatingShots |
Definition at line 104 of file itembase.c.
ref Timer m_PhysDropTimer |
Definition at line 118 of file itembase.c.
int m_QuickBarBonus = 0 |
Definition at line 51 of file itembase.c.
bool m_RecipesInitialized |
Definition at line 7 of file itembase.c.
int m_ShotsToStartOverheating = 0 |
Definition at line 106 of file itembase.c.
ref TIntArray m_SingleUseActions |
Definition at line 83 of file itembase.c.
string m_SoundAttType |
Definition at line 72 of file itembase.c.
protected EffectSound m_SoundDeploy |
Definition at line 127 of file itembase.c.
protected EffectSound m_SoundDeployFinish |
Definition at line 128 of file itembase.c.
protected EffectSound m_SoundPlace |
Definition at line 126 of file itembase.c.
float m_StoreLoadedQuantity = float.LOWEST |
Definition at line 23 of file itembase.c.
bool m_ThrowItemOnDrop |
Definition at line 58 of file itembase.c.
int m_VariablesMask |
Definition at line 13 of file itembase.c.
int m_VarLiquidType |
Definition at line 49 of file itembase.c.
float m_VarQuantity |
Definition at line 16 of file itembase.c.
int m_VarQuantityInit |
Definition at line 18 of file itembase.c.
int m_VarQuantityMax |
Definition at line 20 of file itembase.c.
int m_VarQuantityMin |
Definition at line 19 of file itembase.c.
float m_VarQuantityPrev |
Definition at line 17 of file itembase.c.
float m_VarStackMax |
Definition at line 22 of file itembase.c.
float m_VarTemperature |
Definition at line 25 of file itembase.c.
float m_VarTemperatureInit |
Definition at line 26 of file itembase.c.
float m_VarTemperatureMax |
Definition at line 28 of file itembase.c.
float m_VarTemperatureMin |
Definition at line 27 of file itembase.c.
float m_VarWet |
Definition at line 30 of file itembase.c.
float m_VarWetInit |
Definition at line 32 of file itembase.c.
float m_VarWetMax |
Definition at line 34 of file itembase.c.
float m_VarWetMin |
Definition at line 33 of file itembase.c.
float m_VarWetPrev |
Definition at line 31 of file itembase.c.
bool m_WantPlayImpactSound |
Definition at line 41 of file itembase.c.