DayZ 1.24
|
Protected Attributes | |
bool | m_CanBeDigged |
EffectSound | m_DeployLoopSoundEx |
distinguish if item has been created as new or it came from splitting (server only flag) | |
string | m_SoundAttType |
int | m_ColorComponentR |
int | m_ColorComponentG |
int | m_ColorComponentB |
int | m_ColorComponentA |
ItemBase | m_LightSourceItem |
ref TIntArray | m_SingleUseActions |
ref TIntArray | m_ContinuousActions |
ref TIntArray | m_InteractActions |
ref TStringArray | m_HeadHidingSelections |
bool | m_HideSelectionsBySlot |
PluginAdminLog | m_AdminLog |
ref Timer | m_PhysDropTimer |
ref array< int > | m_CompatibleLocks = new array<int> |
int | m_LockType |
ref EffectSound | m_LockingSound |
string | m_LockSoundSet = "" |
EffectSound | m_SoundPlace |
EffectSound | m_SoundDeploy |
EffectSound | m_SoundDeployFinish |
Private Member Functions | |
void | TransferModifiers (PlayerBase reciever) |
appears to be deprecated, legacy code | |
Static Private Attributes | |
static ref map< typename, ref TInputActionMap > | m_ItemTypeActionsMap = new map<typename, ref TInputActionMap> |
static int | m_DebugActionsMask |
static ref map< int, ref array< ref WeaponParticlesOnFire > > | m_OnFireEffect |
static ref map< int, ref array< ref WeaponParticlesOnBulletCasingEject > > | m_OnBulletCasingEjectEffect |
static ref map< string, int > | m_WeaponTypeToID |
static int | m_LastRegisteredWeaponID = 0 |
Definition at line 13 of file ItemBase.c.
|
inlineprotected |
Definition at line 726 of file ItemBase.c.
References SEffectManager::DestroyEffect(), GetGame(), GetPlayer(), m_DeployLoopSoundEx, m_LockingSound, and EffectSound::SoundStop().
|
inlineprotected |
Definition at line 324 of file ItemBase.c.
References Debug::ActionLog(), LogManager::IsActionLogEnable(), Debug::Log(), Debug::LogError(), m_ActionsInitialize, and m_InputActionMap.
Definition at line 780 of file ItemBase.c.
Adds a light source child.
Definition at line 4615 of file ItemBase.c.
References m_LightSourceItem.
|
inlineprotected |
add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted
Definition at line 3234 of file ItemBase.c.
References GetQuantity(), and SetQuantity().
Definition at line 3528 of file ItemBase.c.
References GetTemperature(), and SetTemperature().
Definition at line 3605 of file ItemBase.c.
Definition at line 3081 of file ItemBase.c.
References float::LOWEST, LOWEST, m_FixDamageSystemInit, m_StoreLoadedQuantity, PerformDamageSystemReinit(), and SetQuantity().
|
inlineprotected |
Definition at line 3705 of file ItemBase.c.
|
inlineprotected |
Definition at line 1969 of file ItemBase.c.
References can_this_be_combined, GetQuantity(), GetQuantityMax(), GetType(), IsFullQuantity(), slotName, and GameConstants::STATE_RUINED.
|
inlineprotected |
Definition at line 2378 of file ItemBase.c.
|
inlineprotected |
Definition at line 2383 of file ItemBase.c.
|
inlineprotected |
|
inlineprotected |
Definition at line 3110 of file ItemBase.c.
|
inlineprotected |
|
inlineprotected |
Definition at line 936 of file ItemBase.c.
Definition at line 1514 of file ItemBase.c.
References GetQuantity(), and m_CanThisBeSplit.
|
inlineprotected |
Definition at line 4674 of file ItemBase.c.
|
inlineprotected |
Definition at line 4547 of file ItemBase.c.
Definition at line 4011 of file ItemBase.c.
References IsOpen().
|
inlineprotected |
Definition at line 2359 of file ItemBase.c.
|
inlineprotected |
Definition at line 2353 of file ItemBase.c.
|
inlineprotected |
Definition at line 4566 of file ItemBase.c.
|
inlineprotected |
Definition at line 4560 of file ItemBase.c.
|
inlineprotected |
Definition at line 985 of file ItemBase.c.
Definition at line 953 of file ItemBase.c.
References g_Game, and ItemBase::IsPlayerInside().
|
inlineprotected |
Definition at line 4373 of file ItemBase.c.
References IsBeingPlaced(), and IsSoundSynchRemote().
|
inlineprotected |
Definition at line 4553 of file ItemBase.c.
Definition at line 4034 of file ItemBase.c.
Definition at line 4020 of file ItemBase.c.
|
inlineprotected |
Definition at line 4058 of file ItemBase.c.
Definition at line 4049 of file ItemBase.c.
Definition at line 1337 of file ItemBase.c.
Definition at line 1361 of file ItemBase.c.
|
inlineprotected |
Definition at line 526 of file ItemBase.c.
References IsOverheatingEffectActive(), m_MaxOverheatingValue, m_OverheatingShots, m_ShotsToStartOverheating, StartOverheating(), StopOverheating(), and UpdateOverheating().
Definition at line 3453 of file ItemBase.c.
References GetGame().
|
protected |
Definition at line 2071 of file ItemBase.c.
References AddQuantity(), ItemBase::CanBeCombined(), ComputeQuantityUsedEx(), GetQuantity(), ItemBase::OnCombine(), and Math::Round().
|
inlineprotected |
Definition at line 862 of file ItemBase.c.
References GameInventory::c_InventoryReservationTimeoutShortMS, ScriptInputUserData::CanStoreInputUserData(), CombineItems(), GetGame(), INPUT_UDT_ITEM_MANIPULATION, and IsCombineAll().
|
inlineprotected |
Definition at line 2047 of file ItemBase.c.
References ComputeQuantityUsedEx().
|
inlineprotected |
Definition at line 2052 of file ItemBase.c.
References GetQuantity(), and GetQuantityMax().
Definition at line 3841 of file ItemBase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 3500 of file ItemBase.c.
References GetGame(), HasQuantity(), and SetQuantityNormalized().
Definition at line 4609 of file ItemBase.c.
Definition at line 1497 of file ItemBase.c.
References Math::RandomInt().
Definition at line 1478 of file ItemBase.c.
References GetItem(), and Math::RandomInt().
Definition at line 2671 of file ItemBase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_IsStoreLoad, m_StoreLoadedQuantity, Math::Round(), SetCleanness(), SetLiquidType(), SetQuantity(), SetTemperature(), SetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_TEMPERATURE, and VARIABLE_WET.
|
inlineprotected |
Definition at line 1413 of file ItemBase.c.
References ExplodeAmmo(), GetGame(), GetTemperature(), and Math::RandomInt().
Definition at line 1259 of file ItemBase.c.
References ItemBase::OnInventoryExit().
|
inlineprotected |
drops content of container when ruined in fireplace
Definition at line 1869 of file ItemBase.c.
References GetGame(), IsResultOfSplit(), m_Cleanness, SetCleanness(), SetResultOfSplit(), and GameConstants::STATE_RUINED.
|
inlineprotected |
Definition at line 1437 of file ItemBase.c.
References component, DamageItemAttachments(), DamageItemInCargo(), ItemBase::IsClothing(), ItemBase::IsItemTent(), and Math::RandomInt().
|
inlineprotected |
Definition at line 1037 of file ItemBase.c.
References InventoryLocation::Copy(), GetGame(), and m_ThrowItemOnDrop.
item is able to explode in fire
Definition at line 1293 of file ItemBase.c.
References ItemBase::CanExplodeInFire(), Explode(), ExplodeAmmo(), GetTemperature(), and GameConstants::ITEM_TEMPERATURE_TO_EXPLODE_MIN.
Definition at line 3097 of file ItemBase.c.
References GetRemotelyActivatedItemBehaviour(), and m_FixDamageSystemInit.
Called when entity is being created as new by CE/ Debug.
Definition at line 3990 of file ItemBase.c.
References SetCEBasedQuantity(), and SetZoneDamageCEInit().
Definition at line 1161 of file ItemBase.c.
References vector::Distance(), GetPosition, m_CanPlayImpactSound, m_ImpactSoundSurfaceHash, m_ImpactSpeed, and m_WantPlayImpactSound.
|
inlineprotected |
Definition at line 1400 of file ItemBase.c.
References CALL_CATEGORY_SYSTEM, and Math::RandomFloat().
|
inlineprotected |
Definition at line 304 of file ItemBase.c.
References InitializeActions(), m_ActionsInitialize, and m_InputActionMap.
If we need a different (handheld)item action widget displayed, the logic goes in here.
Definition at line 4637 of file ItemBase.c.
Definition at line 3888 of file ItemBase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 4422 of file ItemBase.c.
gets item's color variable as components
Definition at line 3735 of file ItemBase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, and m_ColorComponentR.
|
inlineprotected |
Returns item's PROCEDURAL color as formated string, i.e. "#(argb,8,8,3)color(0.15,0.15,0.15,1.0,CO)".
Definition at line 3749 of file ItemBase.c.
References GetColor().
|
inlineprotected |
Re-sets DamageSystem changes.
Definition at line 718 of file ItemBase.c.
|
inlineprotected |
Definition at line 2126 of file ItemBase.c.
References IsLiquidContainer(), and SAT_DEBUG_ACTION.
Definition at line 765 of file ItemBase.c.
|
protected |
|
protected |
|
inlineprotected |
how long it takes to deploy this item in seconds
Definition at line 4231 of file ItemBase.c.
References UATimeSpent::DEFAULT_DEPLOY.
Definition at line 675 of file ItemBase.c.
Definition at line 3568 of file ItemBase.c.
|
inlineprotected |
Definition at line 3474 of file ItemBase.c.
|
inlineprotected |
Definition at line 924 of file ItemBase.c.
|
inlineprotected |
Definition at line 680 of file ItemBase.c.
Definition at line 4427 of file ItemBase.c.
References m_HeadHidingSelections.
|
inlineprotected |
|
inlineprotected |
Definition at line 3558 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 669 of file ItemBase.c.
|
inlineprotected |
Definition at line 3682 of file ItemBase.c.
|
inlineprotected |
Definition at line 3673 of file ItemBase.c.
|
inlineprotected |
Definition at line 2403 of file ItemBase.c.
|
protected |
|
inlineprotected |
Definition at line 4625 of file ItemBase.c.
References m_LightSourceItem.
|
inlineprotected |
|
inlineprotected |
Definition at line 3771 of file ItemBase.c.
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inlineprotected |
Returns global muzzle ID. If not found, then it gets automatically registered.
Definition at line 695 of file ItemBase.c.
References GetType(), m_LastRegisteredWeaponID, and m_WeaponTypeToID.
|
inlineprotected |
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Definition at line 3393 of file ItemBase.c.
References Class::CastTo().
|
inlineprotected |
Definition at line 605 of file ItemBase.c.
References m_MaxOverheatingValue, m_OverheatingShots, and m_ShotsToStartOverheating.
|
inlineprotected |
Definition at line 505 of file ItemBase.c.
References m_OverheatingShots.
|
protected |
|
inlineprotected |
Definition at line 3951 of file ItemBase.c.
References DEF_BIOLOGICAL, DEF_CHEMICAL, GetGame(), GetQuantity(), GetType(), HasQuantity(), and IsDamageDestroyed().
|
inlineprotected |
Definition at line 3275 of file ItemBase.c.
References InventorySlots::GetStackMaxForSlotId(), m_VarQuantityMax, and m_VarStackMax.
|
inlineprotected |
|
inlineprotected |
Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, value 2500 will result in 0.5)
Definition at line 3261 of file ItemBase.c.
References GetQuantityMax(), GetQuantityMin(), Math::InverseLerp(), and m_VarQuantity.
|
inlineprotected |
Definition at line 2105 of file ItemBase.c.
References GetPlugin(), and SAT_CRAFTING.
|
inlineprotected |
Definition at line 3349 of file ItemBase.c.
References GetSingleInventoryItemWeightEx().
Definition at line 3340 of file ItemBase.c.
Definition at line 3577 of file ItemBase.c.
Definition at line 3297 of file ItemBase.c.
References InventorySlots::GetStackMaxForSlotId(), m_VarQuantityMax, and m_VarStackMax.
Obsolete, use GetWeightEx instead.
Definition at line 3413 of file ItemBase.c.
References GetWet(), and m_CanThisBeSplit.
returns an array of possible finishers
Definition at line 4631 of file ItemBase.c.
Definition at line 2585 of file ItemBase.c.
References CachedObjectsArrays::ARRAY_FLOAT, and SerializeNumericalVars().
Definition at line 3354 of file ItemBase.c.
References GetEnergy(), GetQuantity(), and m_CanThisBeSplit.
Definition at line 3615 of file ItemBase.c.
References m_VarWet.
|
inlineprotected |
Definition at line 3650 of file ItemBase.c.
References m_VarWet.
|
inlineprotected |
Definition at line 4437 of file ItemBase.c.
Definition at line 770 of file ItemBase.c.
|
inlineprotected |
Definition at line 2372 of file ItemBase.c.
|
inlineprotected |
Returns true if this item has a muzzle (weapons, suppressors)
Definition at line 686 of file ItemBase.c.
|
inlineprotected |
Definition at line 3324 of file ItemBase.c.
References GetQuantityMax(), and GetQuantityMin().
|
inlineprotected |
|
inlineprotected |
Definition at line 4525 of file ItemBase.c.
|
inlineprotected |
Definition at line 510 of file ItemBase.c.
References CALL_CATEGORY_SYSTEM, CheckOverheating(), m_CheckOverheating, m_MaxOverheatingValue, m_OverheatingDecayInterval, and m_OverheatingShots.
|
inlineprotected |
Definition at line 292 of file ItemBase.c.
References m_InputActionMap, m_ItemTypeActionsMap, ItemBase::SetActions(), and Type.
|
inlineprotected |
Definition at line 195 of file ItemBase.c.
References can_this_be_combined, GetHeatIsolationInit(), GetItemAttachOffset(), GetItemModelLength(), GetLiquidTypeInit(), GetQuantityMin(), GetTemperatureMax(), GetTemperatureMin(), GetWetMax(), GetWetMin(), HasQuantity(), m_CanBeDigged, m_CanBeMovedOverride, m_CanShowQuantity, m_CanThisBeSplit, m_Cleanness, m_CleannessInit, m_CleannessMax, m_CleannessMin, m_CompatibleLocks, m_Count, m_HasQuantityBar, m_HeatIsolation, m_ImpactSpeed, m_IsBeingPlaced, m_IsDeploySound, m_IsHologram, m_IsPlaceSound, m_IsSoundSynchRemote, m_IsTakeable, m_ItemAttachOffset, m_ItemBehaviour, m_ItemModelLength, m_LockSoundSet, m_LockType, m_VarLiquidType, m_VarQuantity, m_VarQuantityInit, m_VarQuantityMax, m_VarQuantityMin, m_VarStackMax, m_VarTemperature, m_VarTemperatureInit, m_VarTemperatureMax, m_VarTemperatureMin, m_VarWet, m_VarWetInit, m_VarWetMax, m_VarWetMin, m_WantPlayImpactSound, and UsesGlobalDeploy().
Definition at line 3873 of file ItemBase.c.
References m_AttachedAgents.
Definition at line 959 of file ItemBase.c.
References m_IsBeingPlaced.
|
inlineprotected |
Definition at line 907 of file ItemBase.c.
|
inlineprotected |
Definition at line 3743 of file ItemBase.c.
References IsVariableSet(), and VARIABLE_COLOR.
|
inlineprotected |
Definition at line 2032 of file ItemBase.c.
References ComputeQuantityUsed().
DEPRECATED in use, but returns correct values nontheless. Check performed elsewhere.
Definition at line 4470 of file ItemBase.c.
|
inlineprotected |
Definition at line 4225 of file ItemBase.c.
|
inlineprotected |
Definition at line 4311 of file ItemBase.c.
References m_IsDeploySound.
|
inlineprotected |
|
inlineprotected |
Definition at line 943 of file ItemBase.c.
|
inlineprotected |
Definition at line 3334 of file ItemBase.c.
References GetQuantity(), and GetQuantityMax().
Definition at line 4195 of file ItemBase.c.
References m_ItemBehaviour.
Definition at line 975 of file ItemBase.c.
References m_IsHologram.
Definition at line 2365 of file ItemBase.c.
Definition at line 2502 of file ItemBase.c.
|
inlineprotected |
|
inlineprotected |
Definition at line 902 of file ItemBase.c.
|
inlineprotected |
Definition at line 896 of file ItemBase.c.
References GetLiquidType(), and HasQuantity().
|
inlineprotected |
Definition at line 912 of file ItemBase.c.
Definition at line 4205 of file ItemBase.c.
References m_ItemBehaviour.
|
inlineprotected |
Definition at line 4006 of file ItemBase.c.
|
inlineprotected |
|
inlineprotected |
Definition at line 4301 of file ItemBase.c.
References m_IsPlaceSound.
|
inlineprotected |
Definition at line 948 of file ItemBase.c.
|
inlineprotected |
Definition at line 2037 of file ItemBase.c.
Definition at line 3656 of file ItemBase.c.
|
inlineprotected |
Definition at line 4286 of file ItemBase.c.
References m_IsSoundSynchRemote.
Definition at line 4245 of file ItemBase.c.
References m_IsTakeable.
Definition at line 4215 of file ItemBase.c.
References m_ItemBehaviour.
'true' if this variable has ever been changed from default
Definition at line 3446 of file ItemBase.c.
References m_VariablesMask.
|
inlineprotected |
Definition at line 144 of file ItemBase.c.
References GetGame(), GetMuzzleID(), GetPlugin(), HasMuzzle(), ItemBase::InitItemVariables(), LoadParticleConfigOnFire(), LoadParticleConfigOnOverheating(), m_ActionsInitialize, m_AdminLog, m_ContinuousActions, m_HeadHidingSelections, m_HideSelectionsBySlot, m_InteractActions, m_QuickBarBonus, m_ShotsToStartOverheating, m_SingleUseActions, Math::Max(), and PreLoadSoundAttachmentType().
|
inlineprotected |
Definition at line 641 of file ItemBase.c.
References m_OverheatingParticles.
Definition at line 2508 of file ItemBase.c.
|
inlineprotected |
Definition at line 3935 of file ItemBase.c.
References m_AttachedAgents.
Definition at line 380 of file ItemBase.c.
References GetGame(), GetType(), m_OnBulletCasingEjectEffect, and m_OnFireEffect.
Definition at line 449 of file ItemBase.c.
References Error(), GetGame(), GetType(), m_MaxOverheatingValue, m_OnOverheatingEffect, m_OverheatingDecayInterval, and m_ShotsToStartOverheating.
|
inlineprotected |
Definition at line 2911 of file ItemBase.c.
References ItemVariableFlags::FLOAT, CachedObjectsParams::PARAM1_INT, and ReadVarsFromCTX().
|
inlineprotected |
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 837 of file ItemBase.c.
Send message to owner player in yellow color.
void
Definition at line 2456 of file ItemBase.c.
Send message to owner player in green color.
void
Definition at line 2474 of file ItemBase.c.
Send message to owner player in red color.
void
Definition at line 2492 of file ItemBase.c.
Send message to owner player in grey color.
void
Definition at line 2438 of file ItemBase.c.
|
inlineprotected |
Definition at line 2168 of file ItemBase.c.
References AddQuantity(), AddTemperature(), AddWet(), GetGame(), GetLiquidType(), GetPlugin(), GetQuantityMax(), GetWetMax(), InsertAgent(), PluginItemDiagnostic(), RemoveAgent(), SetLiquidType(), SetQuantity(), and SetQuantityMax().
Called when this item is activated by other.
|
protected |
DEPRECATED use OnActivatedByItem below Called when this item is activated from a trip wire that was stepped on.
|
protected |
Called on server side when some attachment's quantity is changed. Call super.OnAttachmentQuantityChanged(item); first when overriding this event.
Definition at line 1858 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 1864 of file ItemBase.c.
References OnAttachmentQuantityChanged().
Definition at line 4572 of file ItemBase.c.
References CanDecay(), CanHaveTemperature(), CanHaveWetness(), CanProcessDecay(), g_Game, HierarchyCheck(), ProcessDecay(), ProcessItemTemperature(), and ProcessItemWetness().
Definition at line 2097 of file ItemBase.c.
Definition at line 1191 of file ItemBase.c.
References ItemBase::RefreshPhysics().
|
inlineprotected |
Definition at line 973 of file ItemBase.c.
Definition at line 3492 of file ItemBase.c.
References ConvertEnergyToQuantity().
Definition at line 3485 of file ItemBase.c.
References ConvertEnergyToQuantity().
|
inlineprotected |
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
Definition at line 3783 of file ItemBase.c.
References m_CanPlayImpactSound.
|
inlineprotected |
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
Definition at line 3796 of file ItemBase.c.
|
inlineprotected |
Definition at line 1196 of file ItemBase.c.
|
protected |
|
inlineprotected |
Definition at line 1201 of file ItemBase.c.
Definition at line 1030 of file ItemBase.c.
|
inlineprotected |
Definition at line 548 of file ItemBase.c.
References CALL_CATEGORY_GAMEPLAY, CheckOverheating(), m_CheckOverheating, m_MaxOverheatingValue, m_OverheatingDecayInterval, and m_OverheatingShots.
|
inlineprotected |
Definition at line 3824 of file ItemBase.c.
References GetGame(), m_AdminLog, and SetIsDeploySound().
Called on server side when this item's quantity is changed. Call super.OnQuantityChanged(); first when overriding this event.
Definition at line 1846 of file ItemBase.c.
Definition at line 1907 of file ItemBase.c.
References GameInventory::c_InventoryReservationTimeoutShortMS, CanBeSplit(), ScriptInputUserData::CanStoreInputUserData(), GetDayZGame(), GetGame(), GetPlayer(), GetType(), INPUT_UDT_ITEM_MANIPULATION, and SplitItem().
|
inlineprotected |
Definition at line 2528 of file ItemBase.c.
References SEffectManager::DestroyEffect(), GetPosition, ItemBase::GetWrittenNoteData(), EffectSound::IsSoundPlaying(), m_LockingSound, and SEffectManager::PlaySound().
|
inlineprotected |
Definition at line 2954 of file ItemBase.c.
References Class::CastTo(), ItemBase::GetDamageSystemVersionChange(), GetRemotelyActivatedItemBehaviour(), LoadAgents(), LoadVariables(), m_FixDamageSystemInit, m_IsStoreLoad, and MAX.
|
inlineprotected |
Definition at line 3053 of file ItemBase.c.
References GetRemotelyActivatedItemBehaviour(), SaveAgents(), and SaveVariables().
|
inlineprotected |
Definition at line 2604 of file ItemBase.c.
References ItemVariableFlags::FLOAT, and ReadVarsFromCTX().
Definition at line 3117 of file ItemBase.c.
References CanPlayDeployLoopSound(), dBodyIsDynamic(), GetGame(), IsDeploySound(), m_CanThisBeSplit, m_DeployLoopSoundEx, m_ImpactSoundSurfaceHash, m_ImpactSpeed, m_Initialized, m_VarQuantity, m_VarQuantityPrev, m_VarWet, m_VarWetPrev, m_WantPlayImpactSound, MENU_INVENTORY, OnWetChanged(), PlayDeployLoopSoundEx(), PlayDeploySound(), and StopDeployLoopSoundEx().
Definition at line 1317 of file ItemBase.c.
References GetQuantityMin(), InventorySlots::GetSlotName(), HasQuantity(), m_VarQuantityMax, and PlayAttachSound().
Definition at line 1329 of file ItemBase.c.
References GetQuantityMin(), HasQuantity(), and m_VarQuantityMax.
Definition at line 3635 of file ItemBase.c.
References OnWetLevelChanged().
|
inlineprotected |
Definition at line 3645 of file ItemBase.c.
|
protected |
Implementations only.
Definition at line 4642 of file ItemBase.c.
References RemotelyActivatedItemBehaviour::GeneratePersistentID(), and GetGame().
|
inlineprotected |
Definition at line 4445 of file ItemBase.c.
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 4379 of file ItemBase.c.
References GetGame(), GetPosition, GetType(), and SEffectManager::PlaySound().
|
inlinestaticprotected |
Definition at line 4114 of file ItemBase.c.
References m_OnBulletCasingEjectEffect.
|
inlineprotected |
Definition at line 4349 of file ItemBase.c.
References ItemBase::GetDeployFinishSoundset(), GetGame(), GetPosition, Debug::Log(), m_SoundDeployFinish, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
|
inlineprotected |
Definition at line 4316 of file ItemBase.c.
References GetGame(), ItemBase::GetLoopDeploySoundset(), GetPosition, Debug::Log(), m_DeployLoopSoundEx, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
|
inlineprotected |
Definition at line 4337 of file ItemBase.c.
References ItemBase::GetDeploySoundset(), GetGame(), GetPosition, Debug::Log(), m_SoundDeploy, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Definition at line 4415 of file ItemBase.c.
|
inlinestaticprotected |
Definition at line 4094 of file ItemBase.c.
References m_OnFireEffect.
|
inlinestaticprotected |
Definition at line 4134 of file ItemBase.c.
|
inlineprotected |
Definition at line 4361 of file ItemBase.c.
References GetGame(), ItemBase::GetPlaceSoundset(), GetPosition, Debug::Log(), m_SoundPlace, SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
|
inlineprotected |
Attachment Sound Type getting from config file.
Definition at line 4251 of file ItemBase.c.
References m_SoundAttType.
Definition at line 4542 of file ItemBase.c.
|
inlineprotected |
Definition at line 4500 of file ItemBase.c.
References AddTemperature(), GetTemperature(), GetTemperatureMin(), IsFireplace(), and GameConstants::TEMPERATURE_RATE_COOLING_INSIDE.
|
inlineprotected |
Definition at line 4475 of file ItemBase.c.
References AddWet(), GetDryingIncrement(), m_VarWet, m_VarWetMax, m_VarWetMin, GameConstants::STATE_SOAKING_WET, GameConstants::WETNESS_RATE_WETTING_INSIDE, and GameConstants::WETNESS_RATE_WETTING_LIQUID.
|
inlineprotected |
Definition at line 4519 of file ItemBase.c.
References ProcessItemTemperature(), and ProcessItemWetness().
|
inlineprotected |
Definition at line 2774 of file ItemBase.c.
References CachedObjectsArrays::ARRAY_FLOAT, DeSerializeNumericalVars(), m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_IsStoreLoad, m_StoreLoadedQuantity, CachedObjectsParams::PARAM1_FLOAT, CachedObjectsParams::PARAM1_INT, SetCleanness(), SetLiquidType(), SetQuantity(), SetTemperature(), SetWet(), VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_TEMPERATURE, and VARIABLE_WET.
|
protected |
|
inlineprotected |
Definition at line 591 of file ItemBase.c.
References m_OverheatingParticles, and particle_id.
|
inlineprotected |
Definition at line 362 of file ItemBase.c.
References GetGame(), GetPlayer(), and m_InputActionMap.
Definition at line 3854 of file ItemBase.c.
References ContainsAgent(), and m_AttachedAgents.
Definition at line 3863 of file ItemBase.c.
References m_AttachedAgents.
Definition at line 3868 of file ItemBase.c.
References m_AttachedAgents.
Definition at line 785 of file ItemBase.c.
Removes variable from variable mask, making it appear as though the variable has never been changed from default.
Definition at line 3440 of file ItemBase.c.
References m_VariablesMask.
|
inlineprotected |
Definition at line 4620 of file ItemBase.c.
References m_LightSourceItem.
|
inlineprotected |
|
inlineprotected |
Definition at line 3942 of file ItemBase.c.
References m_AttachedAgents.
|
inlineprotected |
Definition at line 2888 of file ItemBase.c.
References ItemVariableFlags::FLOAT, m_VariablesMask, and WriteVarsToCTX().
Definition at line 2631 of file ItemBase.c.
References IsVariableSet(), m_Cleanness, m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_VariablesMask, m_VarLiquidType, m_VarQuantity, m_VarTemperature, m_VarWet, VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_TEMPERATURE, and VARIABLE_WET.
|
inlineprotected |
Definition at line 315 of file ItemBase.c.
References AddAction().
Definition at line 2425 of file ItemBase.c.
References m_CanBeMovedOverride.
|
inlineprotected |
Definition at line 803 of file ItemBase.c.
References COMP_TYPE_ENERGY_MANAGER, HasQuantity(), Math::RandomFloatInclusive(), and SetQuantityNormalized().
Definition at line 3691 of file ItemBase.c.
References Math::Clamp(), IsServerCheck(), m_Cleanness, m_CleannessMax, m_CleannessMin, SetVariableMask(), and VARIABLE_CLEANNESS.
Definition at line 3726 of file ItemBase.c.
References m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, SetVariableMask(), and VARIABLE_COLOR.
Definition at line 775 of file ItemBase.c.
Definition at line 964 of file ItemBase.c.
References m_IsBeingPlaced, and ItemBase::OnEndPlacement().
Definition at line 4306 of file ItemBase.c.
References m_IsDeploySound.
Definition at line 990 of file ItemBase.c.
References m_IsHologram.
Definition at line 4296 of file ItemBase.c.
References m_IsPlaceSound.
Definition at line 3762 of file ItemBase.c.
References IsServerCheck(), m_VarLiquidType, SetVariableMask(), and VARIABLE_LIQUIDTYPE.
|
inlineprotected |
Set item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted.
Definition at line 3172 of file ItemBase.c.
References Math::Clamp(), GetLiquidType(), GetQuantityMax(), GetQuantityMin(), HasQuantity(), IsLiquidContainer(), IsServerCheck(), Debug::LogError(), LOWEST, m_StoreLoadedQuantity, m_VarQuantity, OnQuantityChanged(), RemoveAllAgents(), SetVariableMask(), and VARIABLE_QUANTITY.
|
inlineprotected |
Definition at line 3239 of file ItemBase.c.
References GetQuantityMax(), and SetQuantity().
|
inlineprotected |
Sets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config(for Min 0 and Max 5000, setting 0.5 will result in value 2500)
Definition at line 3252 of file ItemBase.c.
References Math::Clamp(), GetQuantityMax(), GetQuantityMin(), Math::Lerp(), Math::Round(), and SetQuantity().
Definition at line 3245 of file ItemBase.c.
References GetQuantityMin(), and SetQuantity().
Definition at line 2042 of file ItemBase.c.
Definition at line 4239 of file ItemBase.c.
References m_IsTakeable.
|
inlineprotected |
Definition at line 3512 of file ItemBase.c.
References Math::Clamp(), GetTemperatureMax(), GetTemperatureMin(), IsServerCheck(), m_VarTemperature, SetVariableMask(), and VARIABLE_TEMPERATURE.
Definition at line 3533 of file ItemBase.c.
References m_VarTemperatureMax, and SetTemperature().
Definition at line 3430 of file ItemBase.c.
References GetGame(), and m_VariablesMask.
Definition at line 3586 of file ItemBase.c.
References Math::Clamp(), GetWetMax(), GetWetMin(), IsServerCheck(), m_VarWet, OnWetChanged(), SetVariableMask(), and VARIABLE_WET.
Definition at line 3610 of file ItemBase.c.
References m_VarWetMax, and SetWet().
|
inlineprotected |
Sets zone damages to match randomized global health set by CE (CE spawn only)
Definition at line 4457 of file ItemBase.c.
|
inlineprotected |
Definition at line 4279 of file ItemBase.c.
References m_IsSoundSynchRemote.
|
inlineprotected |
Definition at line 4272 of file ItemBase.c.
References m_IsSoundSynchRemote.
|
inlineprotected |
Definition at line 1545 of file ItemBase.c.
References AddQuantity(), ECE_IN_INVENTORY, ECE_PLACE_ON_SURFACE, GetGame(), GetQuantity(), GetTargetQuantityMax(), GetType(), InventorySlots::IsSlotIdValid(), RF_DEFAULT, and SetQuantity().
|
inlineprotected |
Definition at line 1704 of file ItemBase.c.
References AddQuantity(), GetQuantity(), and GetTargetQuantityMax().
|
inlineprotected |
Definition at line 1643 of file ItemBase.c.
References ScriptInputUserData::CanStoreInputUserData(), GetGame(), INPUT_UDT_ITEM_MANIPULATION, and SplitIntoStackMaxCargo().
|
inlineprotected |
Definition at line 1522 of file ItemBase.c.
References ScriptInputUserData::CanStoreInputUserData(), GetGame(), GetPlayer(), INPUT_UDT_ITEM_MANIPULATION, and SplitIntoStackMax().
|
inlineprotected |
Definition at line 1752 of file ItemBase.c.
References AddQuantity(), GetQuantity(), GetTargetQuantityMax(), and GetType().
|
inlineprotected |
Definition at line 1728 of file ItemBase.c.
References ScriptInputUserData::CanStoreInputUserData(), GetGame(), INPUT_UDT_ITEM_MANIPULATION, and SplitIntoStackMaxHands().
|
inlineprotected |
Definition at line 1668 of file ItemBase.c.
References SplitIntoStackMaxToInventoryLocationEx().
|
inlineprotected |
Definition at line 1622 of file ItemBase.c.
References ScriptInputUserData::CanStoreInputUserData(), GetGame(), INPUT_UDT_ITEM_MANIPULATION, and SplitIntoStackMaxToInventoryLocation().
|
inlineprotected |
Definition at line 1673 of file ItemBase.c.
References AddQuantity(), ECE_IN_INVENTORY, GetQuantity(), GetTargetQuantityMax(), GameInventory::LocationCreateEntity(), and RF_DEFAULT.
|
inlineprotected |
Definition at line 1810 of file ItemBase.c.
References AddQuantity(), CanBeSplit(), Math::Floor(), GetQuantity(), and GetType().
|
inlineprotected |
Definition at line 1777 of file ItemBase.c.
References AddQuantity(), CanBeSplit(), ECE_IN_INVENTORY, Math::Floor(), GetQuantity(), GetType(), GameInventory::LocationCreateEntity(), and RF_DEFAULT.
|
inlineprotected |
|
inlineprotected |
Definition at line 4328 of file ItemBase.c.
References GetGame(), m_DeployLoopSoundEx, EffectSound::SetSoundFadeOut(), and EffectSound::SoundStop().
|
inlineprotected |
Definition at line 4439 of file ItemBase.c.
References m_ItemBeingDroppedPhys.
|
inlineprotected |
Definition at line 585 of file ItemBase.c.
References m_IsOverheatingEffectActive.
|
inlinestaticprotected |
Definition at line 4174 of file ItemBase.c.
Definition at line 790 of file ItemBase.c.
References AddDebugActionsMask(), HasDebugActionsMask(), and RemoveDebugActionsMask().
transfer agents from another item
Definition at line 3882 of file ItemBase.c.
References m_AttachedAgents.
|
private |
appears to be deprecated, legacy code
Definition at line 2580 of file ItemBase.c.
References DeSerializeNumericalVars().
|
inlineprotected |
Unlocks this item from its attachment slot of its parent.
Definition at line 850 of file ItemBase.c.
|
inlineprotected |
Definition at line 613 of file ItemBase.c.
References GetOverheatingCoef(), and m_OverheatingParticles.
|
inlineprotected |
Definition at line 578 of file ItemBase.c.
References KillAllOverheatingParticles(), and UpdateAllOverheatingParticles().
|
inlinestaticprotected |
Definition at line 4154 of file ItemBase.c.
|
inlineprotected |
Definition at line 282 of file ItemBase.c.
|
inlineprotected |
Definition at line 2735 of file ItemBase.c.
References IsVariableSet(), m_Cleanness, m_ColorComponentA, m_ColorComponentB, m_ColorComponentG, m_ColorComponentR, m_VariablesMask, m_VarLiquidType, m_VarQuantity, m_VarTemperature, m_VarWet, VARIABLE_CLEANNESS, VARIABLE_COLOR, VARIABLE_LIQUIDTYPE, VARIABLE_QUANTITY, VARIABLE_TEMPERATURE, and VARIABLE_WET.
Definition at line 75 of file ItemBase.c.
|
private |
Definition at line 17 of file ItemBase.c.
|
protected |
Definition at line 128 of file ItemBase.c.
|
private |
Definition at line 102 of file ItemBase.c.
|
protected |
Definition at line 80 of file ItemBase.c.
|
private |
Definition at line 73 of file ItemBase.c.
Definition at line 55 of file ItemBase.c.
|
private |
Definition at line 78 of file ItemBase.c.
Definition at line 76 of file ItemBase.c.
Definition at line 118 of file ItemBase.c.
|
private |
Definition at line 49 of file ItemBase.c.
|
private |
Definition at line 50 of file ItemBase.c.
|
private |
Definition at line 52 of file ItemBase.c.
|
private |
Definition at line 51 of file ItemBase.c.
|
protected |
Definition at line 90 of file ItemBase.c.
|
protected |
Definition at line 89 of file ItemBase.c.
|
protected |
Definition at line 88 of file ItemBase.c.
|
protected |
Definition at line 87 of file ItemBase.c.
Definition at line 134 of file ItemBase.c.
Definition at line 97 of file ItemBase.c.
|
private |
Definition at line 34 of file ItemBase.c.
|
staticprivate |
Definition at line 19 of file ItemBase.c.
|
protected |
distinguish if item has been created as new or it came from splitting (server only flag)
Definition at line 83 of file ItemBase.c.
Definition at line 74 of file ItemBase.c.
|
private |
Definition at line 79 of file ItemBase.c.
|
protected |
Definition at line 124 of file ItemBase.c.
|
private |
Definition at line 59 of file ItemBase.c.
|
protected |
Definition at line 125 of file ItemBase.c.
|
private |
Definition at line 57 of file ItemBase.c.
|
private |
Definition at line 56 of file ItemBase.c.
|
private |
Definition at line 16 of file ItemBase.c.
Definition at line 98 of file ItemBase.c.
|
private |
Definition at line 65 of file ItemBase.c.
|
private |
Definition at line 68 of file ItemBase.c.
|
private |
Definition at line 66 of file ItemBase.c.
|
private |
Definition at line 116 of file ItemBase.c.
|
private |
Definition at line 67 of file ItemBase.c.
|
private |
Definition at line 70 of file ItemBase.c.
Definition at line 77 of file ItemBase.c.
|
private |
Definition at line 69 of file ItemBase.c.
|
private |
Definition at line 61 of file ItemBase.c.
|
private |
Definition at line 63 of file ItemBase.c.
|
private |
Definition at line 72 of file ItemBase.c.
|
private |
Definition at line 60 of file ItemBase.c.
|
staticprivate |
Definition at line 15 of file ItemBase.c.
|
staticprivate |
Definition at line 113 of file ItemBase.c.
|
protected |
Definition at line 94 of file ItemBase.c.
|
protected |
Definition at line 136 of file ItemBase.c.
|
protected |
Definition at line 137 of file ItemBase.c.
|
protected |
Definition at line 135 of file ItemBase.c.
|
private |
Definition at line 120 of file ItemBase.c.
|
staticprivate |
Definition at line 110 of file ItemBase.c.
Definition at line 109 of file ItemBase.c.
|
private |
Definition at line 111 of file ItemBase.c.
|
private |
Definition at line 121 of file ItemBase.c.
|
private |
Definition at line 122 of file ItemBase.c.
|
private |
Definition at line 117 of file ItemBase.c.
Definition at line 131 of file ItemBase.c.
|
private |
Definition at line 64 of file ItemBase.c.
|
private |
Definition at line 20 of file ItemBase.c.
|
private |
Definition at line 119 of file ItemBase.c.
Definition at line 96 of file ItemBase.c.
|
protected |
Definition at line 85 of file ItemBase.c.
|
protected |
Definition at line 140 of file ItemBase.c.
|
protected |
Definition at line 141 of file ItemBase.c.
|
protected |
Definition at line 139 of file ItemBase.c.
|
private |
Definition at line 36 of file ItemBase.c.
|
private |
Definition at line 71 of file ItemBase.c.
|
private |
Definition at line 26 of file ItemBase.c.
|
private |
Definition at line 62 of file ItemBase.c.
|
private |
Definition at line 29 of file ItemBase.c.
|
private |
Definition at line 31 of file ItemBase.c.
|
private |
Definition at line 33 of file ItemBase.c.
|
private |
Definition at line 32 of file ItemBase.c.
|
private |
Definition at line 30 of file ItemBase.c.
|
private |
Definition at line 35 of file ItemBase.c.
|
private |
Definition at line 38 of file ItemBase.c.
|
private |
Definition at line 39 of file ItemBase.c.
|
private |
Definition at line 41 of file ItemBase.c.
|
private |
Definition at line 40 of file ItemBase.c.
|
private |
Definition at line 43 of file ItemBase.c.
|
private |
Definition at line 45 of file ItemBase.c.
|
private |
Definition at line 47 of file ItemBase.c.
|
private |
Definition at line 46 of file ItemBase.c.
|
private |
Definition at line 44 of file ItemBase.c.
|
private |
Definition at line 54 of file ItemBase.c.
Definition at line 112 of file ItemBase.c.