class EntityAISource
EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
View all 1,897 descendants
- AdvancedCommunication
- Building
- AnniversaryMusicSource
- AnniversarySpotLight
- BuildingBase
- House
- Land_Underground_WaterReservoir
- Land_Underground_WaterReservoir_Water
- DayZCreature
- DayZCreatureAI
- DayZAnimal
- DayZInfected
- ZombieBase
- ZombieFemaleBase
- ZmbF_BlueCollarFat_Base
- ZmbF_CitizenANormal_Base
- ZmbF_CitizenANormal_LT_Base
- ZmbF_CitizenBSkinny_Base
- ZmbF_Clerk_Normal_Base
- ZmbF_Clerk_Normal_LT_Base
- ZmbF_ClerkFat_Base
- ZmbF_DoctorSkinny_Base
- ZmbF_HikerSkinny_Base
- ZmbF_JoggerSkinny_Base
- ZmbF_JournalistNormal_Base
- ZmbF_JournalistNormal_LT_Base
- ZmbF_MechanicNormal_Base
- ZmbF_MilkMaidOld_Base
- ZmbF_MilkMaidOld_LT_Base
- ZmbF_NurseFat_Base
- ZmbF_ParamedicNormal_Base
- ZmbF_PatientOld_Base
- ZmbF_PoliceWomanNormal_Base
- ZmbF_Runner_Base
- ZmbF_ShortSkirt_Base
- ZmbF_ShortSkirt_LT_Base
- ZmbF_SkaterYoung_Base
- ZmbF_SkaterYoung_LT_Base
- ZmbF_SurvivorNormal_Base
- ZmbF_SurvivorNormal_LT_Base
- ZmbF_usSoldier_normal_Base
- ZmbF_VillagerOld_Base
- ZmbF_VillagerOld_LT_Base
- ZombieMaleBase
- ZmbM__Runner_Base
- ZmbM_CitizenASkinny_Base
- ZmbM_CitizenASkinny_LT_Base
- ZmbM_CitizenBFat_Base
- ZmbM_ClerkFat_Base
- ZmbM_ClerkFat_LT_Base
- ZmbM_CommercialPilotOld_Base
- ZmbM_CommercialPilotOld_LT_Base
- ZmbM_ConstrWorkerNormal_Base
- ZmbM_DoctorFat_Base
- ZmbM_FarmerFat_Base
- ZmbM_FarmerFat_LT_Base
- ZmbM_FirefighterNormal_Base
- ZmbM_FishermanOld_Base
- ZmbM_Gamedev_Base
- ZmbM_HandymanNormal_Base
- ZmbM_HeavyIndustryWorker_Base
- ZmbM_HermitSkinny_Base
- ZmbM_HikerSkinny_Base
- ZmbM_HunterOld_Base
- ZmbM_Jacket_Base
- ZmbM_Jacket_LT_Base
- ZmbM_JoggerSkinny_Base
- ZmbM_JournalistSkinny_Base
- ZmbM_MechanicSkinny_Base
- ZmbM_MotobikerFat_Base
- ZmbM_Mummy
- ZmbM_NBC_Grey
- ZmbM_NBC_White
- ZmbM_NBC_Yellow
- ZmbM_OffshoreWorker_Base
- ZmbM_ParamedicNormal_Base
- ZmbM_PatientSkinny_Base
- ZmbM_PatrolNormal_Base
- ZmbM_PolicemanFat_Base
- ZmbM_PolicemanSpecForce_Base
- ZmbM_priestPopSkinny_Base
- ZmbM_PrisonerSkinny_Base
- ZmbM_SkaterYoung_Base
- ZmbM_SkaterYoung_LT_Base
- ZmbM_Soldier_Base
- ZmbM_SoldierNormal_Base
- ZmbM_SurvivorDean_Base
- ZmbM_usSoldier_normal_Base
- ZmbM_VillagerOld_Base
- ZmbM_VillagerOld_LT_Base
- ZombieFemaleBase
- ZombieBase
- DayZCreatureAI
- EffecterBase
- InventoryItem
- FemaleFeet_Base
- FemaleHands_Base
- FemaleLegs_Base
- FemaleTorso_Base
- ItemBase
- BaitBase
- BandageDressing
- BarbedWire
- Bark_ColorBase
- BaseBuildingBase
- Battery9V
- BatteryCharger
- BatteryD
- BloodContainerBase
- Blowtorch
- Bone
- BrakeFluid
- BurlapStrip
- ButaneCanister
- CableReel
- CamoNet
- CamoNetShelter
- CattleProd
- Chemlight_ColorBase
- Clothing_Base
- Clothing
- Armband_ColorBase
- Backpack_Base
- AliceBag_ColorBase
- ArmyPouch_ColorBase
- AssaultBag_ColorBase
- Attack2Bag_ColorBase
- CanvasBag_ColorBase
- ChildBag_ColorBase
- CourierBag
- CoyoteBag_ColorBase
- DryBag_ColorBase
- DrysackBag_ColorBase
- DuffelBagSmall_ColorBase
- FurCourierBag
- FurImprovisedBag
- GhillieBushrag_ColorBase
- GhillieSuit_ColorBase
- GhillieTop_ColorBase
- HuntingBag
- ImprovisedBag
- LargeTentBackPack
- LeatherSack_ColorBase
- MountainBag_ColorBase
- SlingBag_ColorBase
- SmershBag
- TaloonBag_ColorBase
- TortillaBag
- Bandana_ColorBase
- Belt_Base
- Glasses_Base
- Gloves_Base
- HeadGear_Base
- BaseballCap_ColorBase
- BeanieHat_ColorBase
- BoonieHat_ColorBase
- BudenovkaHat_ColorBase
- BurlapSackCover
- Chainmail_Coif
- ChristmasHeadband_ColorBase
- CowboyHat_ColorBase
- FlatCap_ColorBase
- GhillieHood_ColorBase
- HeadCover_Improvised
- Headdress_Colorbase
- Headdress_Fox
- HelmetBase
- BallisticHelmet_ColorBase
- ConstructionHelmet_ColorBase
- DarkMotoHelmet_ColorBase
- DirtBikeHelmet_ColorBase
- FirefightersHelmet_ColorBase
- GorkaHelmet
- GreatHelm
- HockeyHelmet_ColorBase
- Mich2001Helmet
- MotoHelmet_ColorBase
- NorseHelm
- PumpkinHelmet
- SkateHelmet_ColorBase
- Ssh68Helmet
- T56TankerHelmet_Colorbase
- WeldingMask
- ZSh3PilotHelmet
- LeafCrown_Colorbase
- LeatherHat_ColorBase
- MedicalScrubsHat_ColorBase
- MilitaryBeret_ColorBase
- MilitaryCap_ColorBase
- MorozkoHat
- NBCHood
- NBCHoodBase
- OfficerHat
- OKZKCap_ColorBase
- PetushokHat_ColorBase
- PilotkaCap
- PoliceCap
- PrisonerCap
- RadarCap_ColorBase
- SantasHat
- SherpaHat_ColorBase
- SnowstormUshanka_ColorBase
- TankerHelmet
- Ushanka_ColorBase
- WinterCoif_ColorBase
- WitchHat
- WitchHood_ColorBase
- WitchHoodCoif_ColorBase
- ZmijovkaCap_ColorBase
- Headtorch_ColorBase
- KnifeHolster
- LeatherMoccasinsShoes_Natural
- Mask_Base
- Pants_Base
- BDUPants
- Breeches_ColorBase
- CanvasPants_ColorBase
- CanvasPantsMidi_ColorBase
- CargoPants_ColorBase
- Chainmail_Leggings
- FirefightersPants_ColorBase
- GorkaPants_ColorBase
- HunterPants_ColorBase
- Jeans_ColorBase
- JumpsuitPants_ColorBase
- LeatherPants_ColorBase
- LegsCover_Improvised
- MedicalScrubsPants_ColorBase
- NavyUniformPants
- NBCPantsBase
- OMKPants_ColorBase
- ParamedicPants_ColorBase
- PolicePants
- PolicePantsOrel
- PrisonUniformPants
- ShortJeans_ColorBase
- Skirt_ColorBase
- SlacksPants_ColorBase
- TrackSuitPants_ColorBase
- TTSKOPants
- USMCPants_ColorBase
- Shemag_ColorBase
- Shoes_Base
- AthleticShoes_ColorBase
- Ballerinas_ColorBase
- ColdOperationBoots_ColorBase
- CombatBoots_ColorBase
- DressShoes_ColorBase
- FeetCover_Improvised
- HikingBoots_ColorBase
- HikingBootsLow_ColorBase
- JoggingShoes_ColorBase
- JungleBoots_ColorBase
- LeatherShoes_ColorBase
- MedievalBoots
- MilitaryBoots_ColorBase
- NBCBootsBase
- Sneakers_ColorBase
- TraditionalBoots_ColorBase
- TTSKOBoots
- Wellies_ColorBase
- WorkingBoots_ColorBase
- Splint_Applied
- Top_Base
- BDUJacket
- Blouse_ColorBase
- BomberJacket_ColorBase
- BushlatPoliceJacket_ColorBase
- Chainmail
- ChernarusSportShirt
- DenimJacket
- DownJacket_ColorBase
- FirefighterJacket_ColorBase
- GorkaEJacket_ColorBase
- GulagJacket_ColorBase
- HikingJacket_ColorBase
- Hoodie_ColorBase
- HuntingJacket_ColorBase
- JumpsuitJacket_ColorBase
- LabCoat
- LeatherJacket_ColorBase
- LeatherShirt_ColorBase
- M65Jacket_ColorBase
- ManSuit_ColorBase
- MedicalScrubsShirt_ColorBase
- MilitarySweater_ColorBase
- MiniDress_ColorBase
- NavyUniformJacket
- NBCJacketBase
- NurseDress_ColorBase
- OMKJacket_ColorBase
- ParamedicJacket_ColorBase
- PilotJacket_ColorBase
- PoliceJacket
- PoliceJacketOrel
- PrisonUniformJacket
- QuiltedJacket_ColorBase
- Raincoat_ColorBase
- RidersJacket_ColorBase
- Shirt_ColorBase
- Sweater_ColorBase
- TacticalShirt_ColorBase
- TelnyashkaShirt
- TorsoCover_Improvised
- TrackSuitJacket_ColorBase
- TShirt_ColorBase
- TTsKOJacket_ColorBase
- USMCJacket_ColorBase
- WinterMilitaryCoat_ColorBase
- WomanSuit_ColorBase
- WoolCoat_ColorBase
- Vest_Base
- WitchHood
- Clothing
- CombinationLock
- Container_Base
- Defibrillator
- DuctTape
- DummyItem
- Edible_Base
- Apple
- BakedBeansCan
- BakedBeansCan_Opened
- Banana
- BearSteakMeat
- Bitterlings
- BoarSteakMeat
- Bottle_Base
- BoxCerealCrunchin
- BrisketSpread
- BrisketSpread_Opened
- Candycane_Colorbase
- CaninaBerry
- Cannabis
- Carp
- CarpFilletMeat
- CharcoalTablets
- ChelatingTablets
- ChickenBreastMeat
- CowSteakMeat
- CrabCan
- CrabCan_Opened
- DeadChicken_ColorBase
- DeadFox
- DeadRabbit
- DeerSteakMeat
- DisinfectantAlcohol
- DisinfectantSpray
- DogFoodCan
- DogFoodCan_Opened
- FoxSteakMeat
- GoatSteakMeat
- GreenBellPepper
- Guts
- Honey
- HumanSteakMeat
- IodineTincture
- Kiwi
- Lard
- Lunchmeat
- Lunchmeat_Opened
- Mackerel
- MackerelFilletMeat
- Marmalade
- MouflonSteakMeat
- MushroomBase
- Orange
- PainkillerTablets
- Pajka
- Pajka_Opened
- Pate
- Pate_Opened
- PeachesCan
- PeachesCan_Opened
- Pear
- PigSteakMeat
- Plum
- PorkCan
- PorkCan_Opened
- Potato
- PowderedMilk
- Pumpkin
- PurificationTablets
- RabbitLegMeat
- RedCaviar
- ReindeerSteakMeat
- Rice
- SambucusBerry
- Sardines
- SardinesCan
- SardinesCan_Opened
- SheepSteakMeat
- Shrimp
- SlicedPumpkin
- SmallGuts
- Snack_ColorBase
- SodaCan_ColorBase
- SpaghettiCan
- SpaghettiCan_Opened
- SteelheadTrout
- SteelheadTroutFilletMeat
- TacticalBaconCan
- TacticalBaconCan_Opened
- TetracyclineAntibiotics
- Tomato
- TunaCan
- TunaCan_Opened
- UnknownFoodCan
- UnknownFoodCan_Opened
- VitaminBottle
- WalleyePollock
- WalleyePollockFilletMeat
- WolfSteakMeat
- Worm
- Zagorky_ColorBase
- Zucchini
- EngineBelt
- EngineOil
- ExplosivesBase
- FarmingHoe
- FieldShovel
- FireplaceBase
- Firewood
- FishingHookBase
- FishingRod_Base
- FishingRod_Base_New
- Flag_Base
- Flag_Altis
- Flag_APA
- Flag_BabyDeer
- Flag_Bear
- Flag_Bohemia
- Flag_BrainZ
- Flag_Cannibals
- Flag_CDF
- Flag_Chedaki
- Flag_CHEL
- Flag_Chernarus
- Flag_CMC
- Flag_Crook
- Flag_DayZ
- Flag_HunterZ
- Flag_Livonia
- Flag_LivoniaArmy
- Flag_LivoniaPolice
- Flag_NAPA
- Flag_NSahrani
- Flag_Pirates
- Flag_Refuge
- Flag_Rex
- Flag_Rooster
- Flag_RSTA
- Flag_Snake
- Flag_SSahrani
- Flag_TEC
- Flag_UEC
- Flag_White
- Flag_Wolf
- Flag_Zagorky
- Flag_Zenit
- FlammableBase
- Flashbang
- Flashlight
- GardenBase
- GardenLime
- GasMask_Filter
- GiftWrapPaper
- GlowPlug
- GP5GasMask_Filter
- GrozaGL_LowerReceiver
- HandDrillKit
- Head
- HeadlightH7
- Heatpack
- Inventory_Base
- AK_PlasticHndgrd
- AK_RailHndgrd
- AK_WoodHndgrd
- AK74_Hndgrd
- AntiChemInjector
- AntiPestsSpray
- AtlasBipod
- BarbedBaseballBat
- BaseballBat
- BloodTestKit
- BrassKnuckles_ColorBase
- BurlapSack
- ButtstockBase
- Candle
- CanOpener
- Cassette
- ChickenFeather
- CigarettePack_ColorBase
- ClearSyringe
- ClockBase
- Crowbar
- DoorTestCamera
- EasterEgg
- ElectronicRepairKit
- Epinephrine
- EpoxyPutty
- Fabric
- FireExtinguisher
- FireworksBase
- FryingPan
- GorkaHelmetVisor
- Hammer
- HandcuffKeys
- Handcuffs
- HandSaw
- HayHook
- HescoBox
- Iceaxe
- InjectionVial
- LeatherSewingKit
- LongWoodenStick
- LugWrench
- M249_Hndgrd
- M249_RisHndgrd
- M4_MPHndgrd
- M4_PlasticHndgrd
- M4_RISHndgrd
- Mace
- MeatTenderizer
- MessTin
- Morphine
- Mosin_Bayonet
- MP5_PlasticHndgrd
- MP5_RailHndgrd
- NailedBaseballBat
- Nails
- Paddle
- Pen_ColorBase
- Pipe
- PipeWrench
- PlantMaterial
- Red9Bttstck
- RemoteDetonator
- Rope
- SalineBag
- SalineBagIV
- ScientificBriefcaseKeys
- SeedBase
- SeedPackBase
- SewingKit
- SKS_Bayonet
- SledgeHammer
- Spear
- Splint
- StartKitIV
- WeaponCleaningKit
- Whetstone
- Wrench
- XmasBaseballBat
- XmasLights
- KitBase
- LargeGasCanister
- LargeGasCannister
- Matchbox
- MediumGasCanister
- MediumGasCannister
- MetalPlate
- MetalWire
- Nail
- Netting
- Paper
- ParticleTest
- Pelt_Base
- PetrolLighter
- Pickaxe
- PileOfWoodenPlanks
- Pitchfork
- PlantBase
- PortableGasLamp
- PortableGasStove
- PowerGeneratorBase
- Rag
- Raycaster
- Refridgerator
- RestrainingToolLocked
- Roadflare
- Shovel
- SmallGasCanister
- SmallGasCannister
- SmallStone
- SodaCan_Empty
- SparkPlug
- Spotlight
- Spraycan_ColorBase
- Stone
- StunBaton
- SuppresorBase
- Switchable_Base
- TannedLeather
- TelescopicBaton
- TentBase
- Thermometer
- TireRepairKit
- ToolBase
- TrapBase
- TrapSpawnBase
- TripodBase
- TruckExhaust
- UndergroundStash
- VehicleBattery
- WindscreenBox
- WoodenLog
- WoodenPlank
- WoodenStick
- WorldContainer_Base
- MaleFeet_Base
- MaleHands_Base
- MaleLegs_Base
- MaleTorso_Base
- Pawn
- ScriptedEntity
All members, including inherited
Constructors 2
void EntityAI()Show 17 more
, CreateComponent(), DayZGame.GetCallQueue(), Object.GetType(), new HiddenSelectionsData(), InitDamageZoneDisplayNameMapping(), InitDamageZoneMapping(), InitItemVariables(), RegisterNetSyncVariableBool(), RegisterNetSyncVariableFloat(), RegisterNetSyncVariableInt(), m_AttachmentsWithAttachments, m_AttachmentsWithCargo, m_BloodInfectionChanceCached, m_CanDisplayWeight, m_ElapsedSinceLastUpdate, m_HiddenSelectionsData, and m_LastUpdatedTimevoid ~EntityAI()Constants 2
const int DEAD_REPLACE_DELAY = 250const int DELETE_CHECK_DELAY = 100Members 64
bool m_DeathSyncSentbool m_KilledByHeadshotbool m_PreparedToDelete = falsebool m_RefresherViable = falsebool m_WeightDirty = 1protected bool m_RoofAbove = falseown masks for different slots <slot,mask>. Kept on instance to better respond to various state changes
Show 1 more
, SetAttachmentExclusionMaskSlot()additional mask values and simple item values. Independent of slot-specific behavior!
additional mask values and simple item values
ref DestructionEffectBase m_DestructionBehaviourObjref KillerData m_KillerDataprivate ref HiddenSelectionsData m_HiddenSelectionsDataShow 3 more
, GetHiddenSelectionsData(), GetHiddenSelectionsMaterials(), and GetHiddenSelectionsTextures()Show 2 more
, EntityAI(), and GetAttachmentsWithCargo()Show 2 more
, EntityAI(), and GetAttachmentsWithAttachments()ref InventoryLocation m_OldLocationprotected ref DamageZoneMap m_DamageZoneMapvalues are localization keys as strings, use 'Widget.TranslateString' method to get the localized one
float m_Weightfloat m_WeightExfloat m_ConfigWeight = ConfigGetInt("weight")protected bool m_CanDisplayWeightprivate float m_LastUpdatedTimeCE update time
protected float m_ElapsedSinceLastUpdateCE update time
Show 2 more
, ItemBase.ProcessVariables(), and TerritoryFlag.OnCEUpdate()protected float m_PreviousRoofTestTime = 0protected UTemperatureSource m_UniversalTemperatureSourcebool m_PendingDelete = falsebool m_Initialized = falsebool m_TransportHitRegistered = falseShow 1 more
, ZombieBase.EEHitBy()vector m_TransportHitVelocityint m_VariablesMaskthis holds information about which vars have been changed from their default values
float m_VarTemperatureShow 2 more
, SetTemperatureDirect(), and SetTemperatureEx()float m_VarTemperatureInitfloat m_VarTemperatureMinfloat m_VarTemperatureMaxfloat m_VarTemperatureFreezeThresholdfloat m_VarTemperatureThawThresholdfloat m_VarTemperatureFreezeTimefloat m_VarTemperatureThawTimefloat m_VarTemperatureOverheatTimefloat m_VarHeatPermeabilityCoefprotected ref TemperatureAccessComponent m_TACprotected bool m_IsFrozenShow 2 more
, SetFrozen(), and SetTemperatureEx()protected bool m_IsFrozenLocalprotected float m_FreezeThawProgressShow 2 more
, IsFreezeThawProgressFinished(), and SetFreezeThawProgress()protected float m_OverheatProgressShow 1 more
, SetItemOverheatProgress()protected ref ScriptInvoker m_OnItemAttachedprotected ref ScriptInvoker m_OnItemDetachedprotected ref ScriptInvoker m_OnItemAddedIntoCargoprotected ref ScriptInvoker m_OnItemRemovedFromCargoprotected ref ScriptInvoker m_OnItemMovedInCargoprotected ref ScriptInvoker m_OnItemFlippedprotected ref ScriptInvoker m_OnViewIndexChangedprotected ref ScriptInvoker m_OnSetLockprotected ref ScriptInvoker m_OnReleaseLockprotected ref ScriptInvoker m_OnAttachmentSetLockprotected ref ScriptInvoker m_OnAttachmentReleaseLockprotected ref ScriptInvoker m_OnHitByInvokerprotected ref ScriptInvoker m_OnKilledInvokercache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
private ref ComponentsBank m_ComponentsBankShow 3 more
, EOnFrame(), GetComponent(), and HasComponent()This reference is necesarry due to synchronization, since it's impossible to synchronize values from a component :(
int m_ViewIndex = 0Item view index is used to setup which camera will be used in item view widget in inventory. With this index you can setup various camera angles for different item states (e.g. fireplace, weapons).
Methods 479
void InitItemVariables()Show 22 more
, Object.ConfigIsExisting(), GetTemperatureMax(), GetTemperatureMin(), CGame.IsClient(), CGame.IsMultiplayer(), CGame.IsServer(), RegisterNetSyncVariableBool(), RegisterNetSyncVariableFloat(), new TemperatureAccessComponent(), float.LOWEST, m_FreezeThawProgress, m_TAC, m_VarHeatPermeabilityCoef, m_VarTemperatureFreezeThreshold, m_VarTemperatureFreezeTime, m_VarTemperatureInit, m_VarTemperatureMax, m_VarTemperatureMin, m_VarTemperatureOverheatTime, m_VarTemperatureThawThreshold, m_VarTemperatureThawTime, and float.MAXvoid DeferredInit()bool IsInitialized()int GetHideIconMask()should the item's icon be hidden in any part of the inventory?
CreateComponent
GetComponent
DeleteComponent
ECachedEquipmentItemCategory GetCachedEquipmentCategory()string GetDestructionBehaviour()bool IsDestructionBehaviour()IsComponentExist
Show 1 more
, ItemBase.SetCEBasedQuantity()void MaxLifetimeRefreshCalc()Calculates if the max lifetime is higher than refresher frequency (i.e. gets kept alive by refresher)
bool IsRefresherSignalingViable()override void SetDebugItem()DEVELOPERvoid InitDamageZoneMapping()Initializes script-side map of damage zones and their components (named selections in models)
void InitDamageZoneDisplayNameMapping()Initialize map of damage zone display names for more optimized retrieval
protected float ConvertNonlethalDamage(float damage, DamageType damageType)DEPRECATED - for legacy purposes
DamageZoneMap GetEntityDamageZoneMap()bool CanDisplayWeight()'displayWeight' in item config
LogWarning
LogError
bool IsSkinned()void SetAsSkinned()protected void CacheSkinningBloodInfectionChance(eAgents type)Show 5 more
, string.Format(), Object.GetType(), map.Set(), string.ToLower(), and m_BloodInfectionChanceCachedShow 2 more
, DeadRabbit.DeadRabbit(), and SurvivorBase.SurvivorBase()bool HasFlammableMaterial()Override this method to return TRUE when this item has or can provide fire. Evaluated on server and client.
Override this method so it checks whenever this item can be ignited right now or not. Evaluated on Server and Client.
Override this method and check if the given item can be ignited right now by this one. Evaluated on Server and Client.
bool IsIgnited()Override this method and make it so it returns whenever this item is on fire right now or not. Evaluated on Server and Client.
bool DisassembleOnLastDetach()bool IsBasebuildingKit()bool IsCookware()Show 12 more
, Cooking.ProcessItemToCook(), Fireplace.EEItemAttached(), Fireplace.EEItemDetached(), FireplaceBase.AddDamageToItemByFireEx(), FireplaceBase.EEItemAttached(), FireplaceBase.OnAttachmentRuined(), FireplaceBase.StopCooling(), FireplaceIndoor.EEItemDetached(), OvenIndoor.EEItemDetached(), PortableGasStove.EEItemAttached(), PortableGasStove.EEItemDetached(), and PortableGasStove.RemoveCookingAudioVisuals()bool PlacementCanBeRotated()Should return false if you want to disable hologram rotation
void OnIgnitedTarget(EntityAI target_item)Executed on Server when this item ignites some target item
void OnIgnitedThis(EntityAI fire_source)Executed on Server when some item ignited this one
void OnIgnitedTargetFailed(EntityAI target_item)Executed on Server when this item failed to ignite target item
void OnIgnitedThisFailed(EntityAI fire_source)Executed on Server when some item failed to ignite this one
Final evaluation just before the target item is actually ignited. Evaluated on Server.
Final evaluation just before this item is actually ignited from fire source. Evaluated on Server.
void OnPlacementStarted(Man player)void OnHologramBeingPlaced(Man player)void OnPlacementCancelled(Man player)Method which returns message why object can't be placed at given position
bool DoPlacingHeightCheck()Do the roof check when placing this?
float HeightCheckOverride()used as script-side override of distance for specific height checks
float HeightStartCheckOverride()used as script-side override of start pos for specific height checks
bool IsEmpty()is this container empty or not, checks both cargo and attachments
Show 34 more
, AttachHolsterPouch.CanDo(), AttachPouch.CanDo(), AttachPouchesHolster.CanDo(), CivilianBelt.CanPutInCargo(), CraftArmbandFlag.CanDo(), CraftArmbandRaincoat.CanDo(), CraftBow.CanDo(), CraftCamoNetShelter.CanDo(), CraftChristmasLightsHeadband.CanDo(), CraftCookingStand.CanDo(), CraftDrysackBag.CanDo(), CraftFeathers.CanDo(), CraftFishingRod.CanDo(), CraftImprovisedBag.CanDo(), CraftImprovisedExplosive.CanDo(), CraftImprovisedLeatherBag.CanDo(), CraftRag.CanDo(), CraftWitchHoodCoif.CanDo(), DeCraftCarrierComplete.CanDo(), DeCraftCarrierHolster.CanDo(), DeCraftCarrierPouches.CanDo(), DeCraftCourierBag.CanDo(), DeCraftFishingRod.CanDo(), DeCraftImprovisedBag.CanDo(), DeCraftImprovisedLeatherBag.CanDo(), DeCraftLeatherCourierBag.CanDo(), DeCraftLeatherSack.CanDo(), HipPack_ColorBase.CanPutInCargo(), LeatherBelt_ColorBase.CanPutInCargo(), MilitaryBelt.CanPutInCargo(), PokeHolesBarrel.CanDo(), RopeBelt.CanPutInCargo(), SplitBroom.CanDo(), and SplitLongWoodenStick.CanDo()bool IsSplitable()returns just the configured 'canBeSplit' bool
bool CanBeSplit()returns current splitability
bool IsRoofAbove()void SetRoofAbove(bool state)void CheckForRoofLimited(float timeTresholdMS = 3000)Roof check for entity, limited by time (anti-spam solution)
int GetAgents()void RemoveAgent(int agent_id)void RemoveAllAgents()void RemoveAllAgentsExcept(int agent_to_keep)override bool IsEntityAI()bool IsInventoryVisible()bool IsPlayer()Show 10 more
, DayZInfected.EEHitBy(), DayZPlayerImplement.EEHitBy(), Headtorch_ColorBase.AttachLightOnHead(), Headtorch_ColorBase.CreateHeadtorchLight(), Headtorch_ColorBase.OnWasDetached(), MouthRag.OnWasAttached(), PluginAdminLog.PlayerHitBy(), PluginDeveloper.SpawnEntityInInventory(), SyncEvents.SendEntityKilled(), and TrapBase.OnItemLocationChanged()bool IsAnimal()Show 2 more
, EntityPlacementCallback.OnQuery(), and PluginAdminLog.PlayerHitBy()bool IsZombie()Show 13 more
, BleedingSourcesManagerServer.ProcessHit(), Clothing.CanLoadItemIntoCargoClothingConditions(), Clothing.SmershException(), InitTemperature(), UseConfigInitTemperature(), EntityPlacementCallback.OnQuery(), Headtorch_ColorBase.AttachLightOnHead(), Headtorch_ColorBase.CheckParent(), Headtorch_ColorBase.CreateHeadtorchLight(), Headtorch_ColorBase.OnWasDetached(), PluginAdminLog.PlayerHitBy(), Transport.IsIgnoredObject(), and VicinityItemManager.ExcludeFromContainer_Phase1()bool IsZombieMilitary()bool IsIgnoredByConstruction()Show 1 more
, Object.IsMan()bool CanBeBackstabbed()override void Delete()Delete this object in next frame
Returns: void
ItemBase item = g_Game.GetPlayer().CreateInInventory("GrenadeRGD5");
item.Delete();void DeleteOnClient()void DeleteSafe()Show 4 more
, Object.IsAlive(), CGame.IsMultiplayer(), CGame.IsServer(), and Man.JunctureDeleteItem()Show 20 more
, BaitBase.EEItemLocationChanged(), BurlapSackCover.EEItemLocationChanged(), CatchingContextFishingRodAction.RemoveItemSafe(), CatchingContextTrapsBase.ReduceBaitQty(), CatchingContextTrapsBase.RemoveBait(), CraftSplint.Do(), EmoteManager.ClearSurrenderState(), EmoteManager.Update(), EmoteSurrender.EmoteStartOverride(), DeathUpdate(), DeleteSave(), TryDelete(), FireplaceBase.DestroyFireplace(), GiftBox_Base.EEHealthLevelChanged(), ImprovisedExplosive.OnActivatedByItem(), MouthRag.EEItemLocationChanged(), ReplaceItemWithNewLambdaBase.DeleteOldEntity(), SEffectManager.DestroyEffecterParticleServer(), SurrenderDummyItem.OnItemLocationChanged(), and TrapBase.DeleteTrigger()void DeleteSave()bool IsSetForDeletion()Show 1 more
, m_PendingDeleteShow 16 more
, ActionTakeArrowToHands.ActionCondition(), ActionTakeItemToHands.ActionCondition(), BroomBase.CanTransformIntoStick(), CatchingContextFishingRodAction.InitItemValues(), CatchingContextFishingRodAction.SpawnAndSetupCatch(), CatchingContextFishingRodAction.TryBaitLoss(), CatchingContextFishingRodAction.TryDamageItems(), CatchingContextFishingRodAction.TryHookLoss(), CatchingContextTrapsBase.InitItemValues(), EmoteManager.CanPlayEmote(), CanBeActionTarget(), Fireplace.ContactEvent(), FlammableBase.CanTransformIntoStick(), Inventory.UpdateConsoleToolbar(), ScriptConsoleVicinityTab.OnSelectAction(), and UndergroundTriggerCarrier.~UndergroundTriggerCarrier()override bool CanBeActionTarget()void SetPrepareToDelete()void CheckForDestroy()Show 1 more
, DELETE_CHECK_DELAYbool IsPrepareToDelete()bool TryDelete()Show 5 more
, CGame.HasInventoryJunctureItem(), IsPrepareToDelete(), Debug.Log(), OnBeforeTryDelete(), and DELETE_CHECK_DELAYvoid OnBeforeTryDelete()proto native EntityAI GetHierarchyRoot()Returns root of current hierarchy (for example: if this entity is in Backpack on gnd, returns Backpack)
Show 26 more
, Attachments.UpdateInterval(), BaitBase.EEItemLocationChanged(), CatchingResultBase.RollChanceSeeded(), Cooking.AddTemperatureToItem(), DayZPlayerInventory.PlayerCheckRequestDst(), DayZPlayerInventory.PlayerCheckRequestSrc(), DayZPlayerInventory.PlayerCheckSwapItemsRequest(), EmptySeedsPackLambda.OnSuccess(), CheckAttachmentReceiveExclusion(), InitTemperature(), ProcessVariables(), FlammableBase.GetUniversalTemperatureSourcePosition(), GPSReceiver.OnWorkStart(), GPSReceiver.OnWorkStop(), Icon.DoubleClick(), Icon.MouseClick(), ItemBase.OnRightClick(), ItemBase.ProcessItemTemperature(), ItemBase.SetQuantity(), ItemGPS.OnWasAttached(), ItemGPS.OnWasDetached(), MiscGameplayFunctions.ThrowEntityFromInventory(), Spotlight.OnInitEnergy(), UnboxLambda.OnSuccess(), UngagSelfLambda.UngagSelfLambda(), and VicinityContainer.UpdateInterval()proto native Man GetHierarchyRootPlayer()Returns root of current hierarchy cast to Man
proto native EntityAI GetHierarchyParent()Returns direct parent of current entity
proto native CEItemProfile GetEconomyProfile()Get economy item profile (if assigned, otherwise null)
Show 1 more
, PlayerBase.EEKilled()void EEInit()Called upon object creation
Show 14 more
, array.Clear(), GameInventory.EEInit(), GameInventory.GetAttachmentFromIndex(), GameInventory.GetAttachmentSlotsCount(), GameInventory.GetCargo(), GetInventory(), GetInventory(), InitTemperature(), array.Insert(), array.Insert(), CGame.IsServer(), MaxLifetimeRefreshCalc(), m_AttachmentsWithAttachments, and m_AttachmentsWithCargoShow 22 more
, Bonfire.EEInit(), CarScript.EEInit(), CarTent.EEInit(), CombinationLock.EEInit(), ContaminatedArea_Static.EEInit(), CrashBase.EEInit(), Edible_Base.EEInit(), FireplaceBase.EEInit(), FlammableBase.EEInit(), HotSpringTrigger.EEInit(), KitBase.EEInit(), LargeTent.EEInit(), MediumTent.EEInit(), Misc_TirePile_Burning_DE.EEInit(), PortableGasStove.EEInit(), PowerGeneratorBase.EEInit(), ShelterBase.EEInit(), SpookyArea.EEInit(), SpookyPlayerStalker.EEInit(), StaticObj_Roadblock_Wood_Small.EEInit(), VolcanicTrigger.EEInit(), and Weapon_Base.EEInit()void EEDelete(EntityAI parent)Called right before object deleting
Show 2 more
, m_EM, and m_PendingDeleteoverride void OnExplosionEffects(Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)void OnChildItemRemoved(InventoryItem item)void OnChildItemReceived(InventoryItem item)void OnItemAttachmentSlotChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)Show 14 more
, InventoryLocation.GetParent(), InventoryLocation.GetParent(), InventoryLocation.GetSlot(), InventoryLocation.GetSlot(), InventoryLocation.GetType(), InventoryLocation.GetType(), NotifyPlayerLoadChanged(), OnItemAttachmentSlotChanged(), CachedEquipmentStorageBase.OnItemCargoIn(), CachedEquipmentStorageBase.OnItemCargoOut(), Man.OnItemInHandsChanged(), OnItemLocationChanged(), OnWasAttached(), and OnWasDetached()void EEParentedFrom(EntityAI parent)Show 1 more
, m_LastUpdatedTimevoid EEAmmoChanged()Show 2 more
, OnDamageDestroyed(), and GameConstants.STATE_RUINEDvoid OnDamageDestroyed(int oldLevel)Called when the health gets to the min value, 'oldLevel' is previous health level, 'oldLevel' -1 means this entity was just spawned
Show 1 more
, EEHealthLevelChanged()void SetTakeable(bool pState)void EEKilled(Object killer)called on server when the entity is killed
Show 2 more
, ItemBase.EEKilled(), and Land_FuelStation_Feed.EEKilled()bool ReplaceOnDeath()string GetDeadItemName()bool KeepHealthOnReplace()void DeathUpdate()void OnAttachmentRuined(EntityAI attachment)Called when some attachment of this parent is ruined. Called on server and client side.
void EEHitBy(TotalDamageResult damageResult, int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos, float speedCoef)Show 2 more
, ItemBase.EEHitBy(), and Transport.EEHitBy()Show 20 more
, Man.GetCachedEquipment(), GameInventory.GetCargo(), GetCompEM(), ComponentsBank.GetComponent(), GetHierarchyRootPlayer(), GetInventory(), InventorySlots.GetSlotIdFromString(), array.Insert(), array.Insert(), ScriptInvoker.Invoke(), ComponentsBank.IsComponentAlreadyExist(), ComponentEnergyManager.OnAttachmentAdded(), CachedEquipmentStorageBase.OnItemAttached(), PropagateExclusionValueRecursive(), SetWeightDirty(), m_AttachmentsWithAttachments, m_AttachmentsWithCargo, m_ComponentsBank, m_EM, and m_OnItemAttachedShow 13 more
, FlammableBase.EEItemAttached(), GardenBase.EEItemAttached(), ImprovisedExplosive.EEItemAttached(), NVGoggles.EEItemAttached(), Plastic_Explosive.EEItemAttached(), PlayerBase.EEItemAttached(), PortableGasStove.EEItemAttached(), PowerGeneratorBase.EEItemAttached(), SmershVest.EEItemAttached(), TentBase.EEItemAttached(), TrapBase.EEItemAttached(), TrapSpawnBase.EEItemAttached(), and Weapon_Base.EEItemAttached()void SwitchItemSelectionTextureEx(EItemManipulationContext context, Param par = null)Show 19 more
, array.Find(), GetAttachmentExclusionMaskAll(), Man.GetCachedEquipment(), GetCompEM(), ComponentsBank.GetComponent(), GetHierarchyRootPlayer(), InventorySlots.GetSlotIdFromString(), ScriptInvoker.Invoke(), ComponentsBank.IsComponentAlreadyExist(), ComponentEnergyManager.OnAttachmentRemoved(), CachedEquipmentStorageBase.OnItemDetached(), array.RemoveItem(), array.RemoveItem(), SetWeightDirty(), m_AttachmentsWithAttachments, m_AttachmentsWithCargo, m_ComponentsBank, m_EM, and m_OnItemDetachedShow 16 more
, FireplaceIndoor.EEItemDetached(), FlammableBase.EEItemDetached(), GardenBase.EEItemDetached(), ImprovisedExplosive.EEItemDetached(), KitBase.EEItemDetached(), NVGoggles.EEItemDetached(), OvenIndoor.EEItemDetached(), Plastic_Explosive.EEItemDetached(), PlayerBase.EEItemDetached(), PortableGasStove.EEItemDetached(), PowerGeneratorBase.EEItemDetached(), SmershVest.EEItemDetached(), TentBase.EEItemDetached(), TrapBase.EEItemDetached(), TrapSpawnBase.EEItemDetached(), and Weapon_Base.EEItemDetached()void EECargoIn(EntityAI item)void EECargoOut(EntityAI item)void EECargoMove(EntityAI item)ScriptInvoker GetOnItemAttached()ScriptInvoker GetOnItemDetached()ScriptInvoker GetOnItemAddedIntoCargo()ScriptInvoker GetOnItemRemovedFromCargo()ScriptInvoker GetOnItemMovedInCargo()ScriptInvoker GetOnItemFlipped()ScriptInvoker GetOnViewIndexChanged()Show 5 more
, SlotsIcon.~SlotsIcon(), SlotsIcon.ClearRemainSelected(), SlotsIcon.Init(), TentBase.Pack(), and TentBase.Pitch()ScriptInvoker GetOnSetLock()ScriptInvoker GetOnReleaseLock()Show 9 more
, CargoContainer.SetLock(), HumanInventory.ClearUserReservedLocationAtIndexSynced(), HumanInventory.ClearUserReservedLocationSynced(), HumanInventory.RedirectToHandEvent(), HumanInventory.Update(), Icon.DropReceivedFromMain(), ItemBase.~ItemBase(), ItemBase.EEDelete(), and ItemBase.EEItemLocationChanged()ScriptInvoker GetOnAttachmentSetLock()Show 2 more
, PlayerContainer.~PlayerContainer(), and PlayerContainer.SetPlayer()ScriptInvoker GetOnAttachmentReleaseLock()ScriptInvoker GetOnHitByInvoker()ScriptInvoker GetOnKilledInvoker()void OnMovedInsideCargo(EntityAI container)Called when this item enters cargo of some container
void OnRemovedFromCargo(EntityAI container)Called when this item exits cargo of some container
void OnMovedWithinCargo(EntityAI container)Called when this item moves within cargo of some container
void EEOnAfterLoad()Called when entity is part of "connected system" and being restored after load
Show 10 more
, ComponentEnergyManager.GetEnergySourceStorageIDb3(), ComponentEnergyManager.GetEnergySourceStorageIDb4(), CGame.GetEntityByPersitentID(), GetInventory(), GetInventory(), ComponentEnergyManager.GetRestorePlugState(), GameInventory.HasAttachment(), GameInventory.HasAttachment(), ComponentEnergyManager.PlugThisInto(), and m_EMvoid EEOnCECreate()Called when entity is being created as new by CE/ Debug
void AfterStoreLoad()Called when entity is being loaded from DB or Storage (after all children loaded)
void OnBinLoadItemsDropped()Called when an item fails to get loaded into the inventory of an entity and gets dropped
void HideAllSelections()Sets all animation values to 1, making them INVISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
Show 2 more
, Object.GetType(), and HideSelection()void ShowAllSelections()Sets all animation values to 0, making them VISIBLE if they are configured in models.cfg in such way. These selections must also be defined in the entity's config class in 'AnimationSources'.
Show 2 more
, Object.GetType(), and ShowSelection()calls this->CanReceiveAttachment(attachment)
Returns: true if action allowed
calls this->CanLoadAsAttachment(attachment), is called on server start when loading in the storage
Returns: true if action allowed
calls this->CanPutAsAttachment(parent)
- in
parent targetentity this is trying to attach to
Returns: true if action allowed
calls this->CanReleaseAttachment(attachment)
Returns: true if action allowed
Show 10 more
, ActionDetachFromTarget_SpecificSlotsCategory.FindSlotIdToDetach(), ActionPackGift.ActionCondition(), ActionRepositionPluggedItem.ActionCondition(), ActionTakeItem.ActionCondition(), ActionTakeItemToHands.ActionCondition(), AttachmentCategoriesRow.RefreshSlot(), Boat_01_ColorBase.CanReleaseAttachment(), CarScript.CanReleaseAttachment(), ItemBase.CanReleaseAttachment(), and PlayerBase.CanReleaseAttachment()calls this->CanDetachAttachment(parent)
Returns: true if action allowed
bool CanBeFSwaped()calls this->CanReceiveItemIntoCargo(item)
Returns: true if action allowed
calls this->CanLoadItemIntoCargo(item), is called on server start when loading in the storage
Returns: true if action allowed
calls this->CanPutInCargo(parent)
Returns: true if action allowed
calls this->CanSwapItemInCargo(child_entity, new_entity)
Returns: true if action allowed
calls this->CanReleaseCargo(cargo)
Returns: true if action allowed
calls this->CanRemoveFromCargo(parent)
Returns: true if action allowed
calls this->CanReceiveItemIntoHands(item_to_hands)
Returns: true if action allowed
bool AreChildrenAccessible()bool IsBeingPlaced()override bool IsHologram()calls this->CanPutIntoHands(parent)
Returns: true if action allowed
Show 19 more
, Barrel_ColorBase.CanPutIntoHands(), BatteryCharger.CanPutIntoHands(), CableReel.CanPutIntoHands(), CargoContainer.SelectItem(), ExplosivesBase.CanPutIntoHands(), FireplaceBase.CanPutIntoHands(), GardenBase.CanPutIntoHands(), HescoBox.CanPutIntoHands(), Inventory.UpdateConsoleToolbar(), ItemManager.EvaluateContainerDragabilityDefault(), PlantBase.CanPutIntoHands(), PortableGasStove.CanPutIntoHands(), PowerGeneratorBase.CanPutIntoHands(), SlotsContainer.SelectItem(), Spotlight.CanPutIntoHands(), TentBase.CanPutIntoHands(), TrapBase.CanPutIntoHands(), TrapSpawnBase.CanPutIntoHands(), and VehicleBattery.CanPutIntoHands()calls this->CanReleaseFromHands(handheld)
Returns: true if action allowed
calls this->CanRemoveFromHands(parent)
Returns: true if action allowed
slot_name- ->name of the attachment slot that will or won't be displayed
Returns: true if attachment icon can be displayed in UI (inventory)
Show 8 more
, ConstructionActionData.GetAttachmentSlotFromSelection(), CanDisplayAnyAttachmentSlot(), Fence.CanDisplayAttachmentSlot(), Fireplace.CanDisplayAttachmentSlot(), TrapSpawnBase.CanDisplayAttachmentSlot(), TripwireTrap.CanDisplayAttachmentSlot(), VehicleBattery.CanDisplayAttachmentSlot(), and Watchtower.CanDisplayAttachmentSlot()slot_id- ->id of the attachment slot that will or won't be displayed
Returns: true if attachment icon can be displayed in UI (inventory)
Show 8 more
, ConstructionActionData.GetAttachmentSlotFromSelection(), CanDisplayAnyAttachmentSlot(), Fence.CanDisplayAttachmentSlot(), Fireplace.CanDisplayAttachmentSlot(), TrapSpawnBase.CanDisplayAttachmentSlot(), TripwireTrap.CanDisplayAttachmentSlot(), VehicleBattery.CanDisplayAttachmentSlot(), and Watchtower.CanDisplayAttachmentSlot()bool CanDisplayAnyAttachmentSlot()Returns: true if any attachment slot can be shown
Show 1 more
, GetInventory()category_name- ->name of the attachment category that will or won't be displayed
Returns: true if attachment icon can be displayed in UI (inventory)
Show 8 more
, Boat_01_ColorBase.CanDisplayAttachmentCategory(), CivilianSedan.CanDisplayAttachmentCategory(), Fireplace.CanDisplayAttachmentCategory(), Hatchback_02.CanDisplayAttachmentCategory(), Offroad_02.CanDisplayAttachmentCategory(), OffroadHatchback.CanDisplayAttachmentCategory(), Sedan_02.CanDisplayAttachmentCategory(), and Watchtower.CanDisplayAttachmentCategory()bool CanDisplayCargo()Returns: true if cargo can be displayed in UI (inventory)
Show 16 more
, CargoContainer.UpdateHeaderText(), CivilianSedan.CanDisplayCargo(), ClosableContainer.UpdateRadialIcon(), ContainerWithCargo.IsDisplayable(), ContainerWithCargo.SetEntity(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.SetEntity(), ContainerWithCargoAndAttachments.UpdateInterval(), HandsContainer.ShowAtt(), HandsContainer.UpdateInterval(), Hatchback_02.CanDisplayCargo(), Offroad_02.CanDisplayCargo(), OffroadHatchback.CanDisplayCargo(), PlayerContainer.UpdateRadialIcon(), Sedan_02.CanDisplayCargo(), and ZombieContainer.UpdateRadialIcon()bool CanAssignToQuickbar()Returns: true if item can be assigned to quickbar safely
bool CanAssignAttachmentsToQuickbar()Returns: true if attached item can be assigned to quickbar safely
bool IgnoreOutOfReachCondition()Returns: if true, attachment condition for out of reach (inventory) will be ignored
Show 1 more
, SetInvisibleRecursive()void OnCargoChanged()bool IsTakeable()proto native GameInventory GetInventory()proto native void CreateAndInitInventory()proto native void DestroyInventory()int GetSlotsCountCorrect()Show 1 more
, InventorySlots.INVALIDbool IsLockedInSlot()Returns: true if entity is locked in attachment slot
Show 4 more
, GetInventory(), InventoryLocation.GetSlot(), GameInventory.GetSlotLock(), and new InventoryLocation()bool PredictiveTakeEntityToInventory(FindInventoryLocationType flags, notnull EntityAI item)Put item anywhere into this entity (as attachment or into cargo, recursively)
bool LocalTakeEntityToInventory(FindInventoryLocationType flags, notnull EntityAI item)bool ServerTakeEntityToInventory(FindInventoryLocationType flags, notnull EntityAI item)bool PredictiveTakeEntityToTargetInventory(notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)bool LocalTakeEntityToTargetInventory(notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)bool ServerTakeEntityToTargetInventory(notnull EntityAI target, FindInventoryLocationType flags, notnull EntityAI item)Put item into into cargo
Put item into into cargo on specific cargo location
Returns if item can be added as attachment on specific slot. Note that slot index IS NOT slot ID! Slot ID is defined in DZ/data/config.cpp
bool PredictiveTakeToDst(notnull InventoryLocation src, notnull InventoryLocation dst)bool LocalTakeToDst(notnull InventoryLocation src, notnull InventoryLocation dst)bool ServerTakeToDst(notnull InventoryLocation src, notnull InventoryLocation dst)Put item into as attachment
Get attached entity by type
Show 1 more
, Class.IsInherited()Show 23 more
, ActionCookOnStick.OnEndServer(), ActionDisarmExplosiveWithRemoteDetonator.ActionCondition(), ActionDisarmExplosiveWithRemoteDetonatorUnpaired.ActionCondition(), ActionDismantleOven.OnFinishProgressServer(), ActionDismantleStoneCircle.OnFinishProgressServer(), ActionPlugIn.GetAttachedDevice(), ActionPlugIntoFence.ActionCondition(), ActionPlugIntoFence.OnExecuteServer(), BatteryCharger.RefreshPhysics(), Cooking.GetFoodOnStick(), FireplaceBase.GetAttachedStonesCount(), FireplaceBase.HasStones(), FireplaceBase.IsItemAttachedQuantity(), FireplaceBase.IsItemTypeAttached(), FlammableBase.GetRag(), Magnum.OnAction(), Magnum_Base.HideBullet(), Magnum_Base.OnFire(), Magnum_Base.SetCylinderRotationAnimationPhase(), Magnum_Base.ShowBullet(), WeaponChambering_MultiMuzzleMagnum.OnExit(), WeaponEjectAllMuzzles.OnEntry(), and WeaponFireMagnum.OnEntry()Get attached entity by config type name
Show 1 more
, Object.IsKindOf()EntityAI SpawnInInventoryOrGroundPos(string object_name, GameInventory inv, vector pos)Show 1 more
, SpawnEntity()Show 24 more
, DayZPlayerUtils.HandleDropCartridge(), DayZPlayerUtils.SelectStoreCartridge(), Derringer_Base.OnDebugSpawn(), SpawnInInventoryOrGroundPos(), FenceKit.OnDebugSpawn(), FireplaceBase.OnDebugSpawn(), Flaregun.OnDebugSpawn(), Izh18_Base.OnDebugSpawn(), Izh18Shotgun_Base.OnDebugSpawn(), Izh43Shotgun_Base.OnDebugSpawn(), LongHorn_Base.OnDebugSpawn(), M79_Base.OnDebugSpawn(), Magnum_Base.OnDebugSpawn(), Mosin9130.OnDebugSpawn(), Mp133Shotgun_Base.OnDebugSpawn(), PortableGasStove.OnDebugSpawn(), R12_Base.OnDebugSpawn(), Repeater.OnDebugSpawn(), SawedoffMosin9130_Base.OnDebugSpawn(), ShelterKit.OnDebugSpawn(), SKS_Base.OnDebugSpawn(), TerritoryFlagKit.OnDebugSpawn(), WatchtowerKit.OnDebugSpawn(), and Winchester70_Base.OnDebugSpawn()bool CanSwapEntities(EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)void AddWet(float value)void SetWetMax()float GetWet()float GetWetMax()float GetWetMin()float GetWetInit()bool HasWetness()void OnWetLevelChanged(EWetnessLevel newLevel, EWetnessLevel oldLevel)EWetnessLevel GetWetLevel()static EWetnessLevel GetWetLevelInternal(float wetness)Show 1 more
, GameConstants.STATE_WETbool HasQuantity()float GetQuantity()float GetQuantityNormalized()int GetQuantityMax()int GetQuantityMin()void SetQuantityToMinimum()int GetQuickBarBonus()bool UseConfigInitTemperature()Show 2 more
, Object.IsMan(), and IsZombie()protected void InitTemperature()Show 3 more
, IsServerCheck(), SetVariableMask(), and m_VarTemperatureShow 13 more
, HandleFreezingProgression(), InitTemperature(), ReadVarsFromCTX(), SetTemperatureEx(), SetTemperatureMax(), FireplaceBase.AddWetnessToFireplace(), FireplaceBase.Cooling(), FireplaceBase.Heating(), Heatpack.OnWork(), Heatpack.OnWorkStart(), ItemBase.ReadVarsFromCTX(), PeelPotato.Do(), and PlayerBase.FixAllInventoryItems()not really deprecated, but missing context info from TemperatureData. Default values used instead.
Show 1 more
, UniversalTemperatureSourceLambdaFireplace.Execute()void AddTemperature(float value)void SetTemperatureEx(TemperatureData data)sets temperature, handles base overheating and freezing state progression logics
Show 21 more
, Class.Cast(), Math.Clamp(), GetItemOverheatThreshold(), GetTemperature(), GetTemperatureFreezeThreshold(), GetTemperatureMax(), GetTemperatureMin(), GetTemperatureThawThreshold(), HandleFreezingProgression(), HandleItemOverheating(), InterpolateTempData(), IsServerCheck(), Debug.Log(), SetTemperatureDirect(), TemperatureAccessComponent.TryAccessSource(), TemperatureData.m_AdjustedTarget, m_IsFrozen, m_LastFTChangeTime, m_PresumedTimeRemaining, m_TAC, and m_VarTemperatureShow 7 more
, Environment.SetProcessedItemTemperature(), FireplaceBase.AddTemperatureToItemByFire(), FireplaceBase.Cooling(), ItemBase.ProcessItemTemperature(), PortableGasStove.OnWork(), UniversalTemperatureSourceLambdaBaseImpl.UpdateVicinityTemperatureRecursive(), and UniversalTemperatureSourceLambdaBaseImpl.WarmAndCoolItemsInVicinity()void RefreshTemperatureAccess(TemperatureData data)refreshes access without setting temperature, keeps the source locked in
Show 1 more
, m_TACvoid InterpolateTempData(TemperatureDataInterpolated data)void SetTemperatureMax()presumably for debug purposes?
Show 2 more
, SetFrozen(), and SetTemperatureDirect()float GetTemperature()float GetTemperatureInit()float GetTemperatureMin()Show 2 more
, SetTemperatureDirect(), and SetTemperatureEx()float GetTemperatureMax()specifically for cooking system, to get heat source target temperatures
float GetHeatPermeabilityCoef()Returns temperature change speed multiplier for this item and all its children (multiplicative interaction)
Show 7 more
, Environment.ProcessItemsInHandsTemperature(), Environment.ProcessItemsTemperature(), FireplaceBase.AddTemperatureToItemByFire(), ItemBase.ProcessItemTemperature(), PortableGasStove.OnWork(), UniversalTemperatureSourceLambdaBaseImpl.UpdateVicinityTemperatureRecursive(), and UniversalTemperatureSourceLambdaBaseImpl.WarmAndCoolItemsInVicinity()float GetTemperatureFreezeThreshold()Show 2 more
, SetTemperatureMax(), and ItemBase.GetTemperatureFreezeThreshold()float GetTemperatureThawThreshold()float GetTemperatureFreezeTime()float GetTemperatureThawTime()bool IsFreezeThawProgressFinished()on server only
protected void SetFreezeThawProgress(float val)0->1 when freezing, 1->0 when thawing
bool CanFreeze()Show 2 more
, GetTemperatureMin(), and GetTemperatureThawThreshold()bool GetIsFrozen()void SetFrozen(bool frozen)Show 2 more
, SetSynchDirty(), and m_IsFrozenprotected void HandleFreezingProgression(float deltaHeat, TemperatureData data)Show 20 more
, GetTemperatureThawTime(), Math.Lerp(), Math.Max(), SetFreezeThawProgress(), SetFrozen(), SetTemperatureDirect(), m_FreezeThawProgress, TemperatureData.m_InterpolatedFraction, m_IsFrozen, m_LastFTChangeTime, m_PresumedTimeRemaining, TemperatureData.m_UpdateTimeCoef, TemperatureData.m_UpdateTimeInfo, GameConstants.TEMP_COEF_COOLING_GLOBAL, GameConstants.TEMPERATURE_FREEZETHAW_ACCELERATION_COEF, GameConstants.TEMPERATURE_FREEZETHAW_LEGACY_COEF, GameConstants.TEMPERATURE_RATE_AVERAGE_ABS, GameConstants.TEMPERATURE_SENSITIVITY_THRESHOLD, GameConstants.TEMPERATURE_TIME_FREEZE_MIN, and GameConstants.TEMPERATURE_TIME_THAW_MINvoid OnFreezeStateChangeClient()void OnFreezeStateChangeServer()bool CanItemOverheat()Overheat time CAN be 0, GameConstants.TEMPERATURE_TIME_OVERHEAT_MIN is ignored if so
float GetItemOverheatThreshold()if undefined, max temperature used as default
float GetItemOverheatTime()any configured value >= 0 will simulate overheating
bool IsItemOverheated()float GetItemOverheatProgress()Show 2 more
, OnItemOverheatStart(), and m_OverheatProgressprotected void OnItemOverheatStart()override to implement desired overheat behavior on entity
protected void OnItemOverheat(float deltaTime)note, that the deltaTime could be reverse-calculated and not totally accurate
protected void OnItemOverheatEnd()protected void HandleItemOverheating(float deltaHeat, TemperatureData data)int GetLiquidType()void SetStoreLoad(bool value)bool IsStoreLoad()void SetStoreLoadedQuantity(float value)float GetStoreLoadedQuantity()int GetCleanness()Show 4 more
, ItemBase.SetCleanness(), ItemBase.SetLiquidType(), ItemBase.SetQuantity(), and ItemBase.SetWet()HiddenSelectionsData GetHiddenSelectionsData()Returns index of the string found in cfg array 'hiddenSelections'. If it's not found then it returns -1.
Show 18 more
, ComponentEnergyManager.UpdateSelections(), ComponentEnergyManager.UpdateSocketSelections(), GPSReceiver.GetHiddenSelection(), Hologram.GetHiddenSelection(), ItemOptics.InitReddotData(), Land_Bilboard_Base.Land_Bilboard_Base(), Land_Buoy.DeferredInit(), Land_MooringBuoy.DeferredInit(), Land_Underground_Panel.UpdateLED(), Land_WarheadStorage_Main.UpdateDoorStateClient(), MetalWire.UpdateAllSelections(), PlayerBase.PreloadDecayTexture(), PlayerBase.UpdateCorpseStateVisual(), RemoteDetonator.UpdateLED(), XmasLights.HideOnItem(), XmasLights.TurnOffItem(), XmasLights.TurnOnItem(), and ZmbM_Mummy.ChangeVisual()override TStringArray GetHiddenSelections()Returns the hiddenSelectionsTextures array from the object's config
override TStringArray GetHiddenSelectionsTextures()Returns the hiddenSelectionsTextures array from the object's config
override TStringArray GetHiddenSelectionsMaterials()Returns the hiddenSelectionsMaterials array from the object's config
proto native void PlaceOnSurfaceRotated(out vector trans[4], vector pos, float dx = 0, float dz = 0, float fAngle = 0, bool align = false)applies correct rotation according to WRUtils::EntityPlacementRotation(type->GetRotationFlags())
- out
trans thetransform to apply the correct rotation on- in
pos positionto check- in
dx upvector x to align to- in
dz upvector z to align to- in
fAngle angleto position- in
align alignto surface
proto native void RegisterNetSyncVariableBool(string variableName)registers bool variable synchronized over network
- in
variableName whichvariable should be synchronized
Show 35 more
, Barrel_ColorBase.InitItemVariables(), BarrelHoles_ColorBase.BarrelHoles_ColorBase(), BaseBuildingBase.BaseBuildingBase(), BloodContainerBase.BloodContainerBase(), BoatScript.BoatScript(), Bottle_Base.Bottle_Base(), CarScript.CarScript(), CombinationLock.CombinationLock(), Compass.Compass(), EasterEgg.EasterEgg(), Edible_Base.Edible_Base(), EffectArea.EffectArea(), EntityAI(), InitItemVariables(), ExplosivesBase.ExplosivesBase(), Fence.Fence(), FireplaceBase.FireplaceBase(), FlammableBase.Init(), FryingPan.FryingPan(), GiftBox_Base.GiftBox_Base(), Grenade_Base.Grenade_Base(), ItemBase.InitItemVariables(), Land_Underground_Panel.Land_Underground_Panel(), Land_WarheadStorage_Main.Land_WarheadStorage_Main(), PlantBase.PlantBase(), PlayerBase.Init(), ScientificBriefcase.InitItemVariables(), Spotlight.Spotlight(), TelescopicBaton.TelescopicBaton(), TentBase.TentBase(), TerritoryFlag.TerritoryFlag(), Transport.Transport(), TrapBase.TrapBase(), TrapSpawnBase.TrapSpawnBase(), and ZombieBase.Init()proto native void RegisterNetSyncVariableBoolSignal(string variableName)when bool variable is true, it's sent to clients and become false again
- in
variableName whichvariable should be synchronized
Show 1 more
, ItemBase.InitItemVariables()proto native void RegisterNetSyncVariableInt(string variableName, int minValue = 0, int maxValue = 0)registers int variable synchronized over network
- in
variableName whichvariable should be synchronized- in
minValue minimalvalue used for quantization (when minValue == maxValue, no quatization is done)- in
maxValue maximalvalue used for quantization (when minValue == maxValue, no quatization is done)
Show 45 more
, BatteryCharger.BatteryCharger(), Bottle_Base.Bottle_Base(), CarScript.CarScript(), Chemlight_ColorBase.Chemlight_ColorBase(), ClaymoreMine.ClaymoreMine(), ClockBase.Init(), CombinationLock.CombinationLock(), ContaminatedArea_DynamicBase.ContaminatedArea_DynamicBase(), ContaminatedTrigger_Dynamic.ContaminatedTrigger_Dynamic(), EasterEgg.EasterEgg(), Edible_Base.Edible_Base(), EffectArea.EffectArea(), EffecterBase.EffecterBase(), EffectTrigger.EffectTrigger(), EntityAI(), Fence.Fence(), FireplaceBase.FireplaceBase(), FireplaceIndoor.FireplaceIndoor(), FireworksLauncher.FireworksLauncher(), FryingPan.FryingPan(), GardenBase.GardenBase(), GeyserTrigger.GeyserTrigger(), HescoBox.HescoBox(), ImprovisedExplosive.ImprovisedExplosive(), ItemBase.InitItemVariables(), ItemOptics.ItemOptics(), Land_Underground_EntranceBase.Land_Underground_EntranceBase(), Land_Underground_WaterReservoir.Init(), Land_WarheadStorage_Main.Land_WarheadStorage_Main(), Land_WarheadStorage_PowerStation.Land_WarheadStorage_PowerStation(), OvenIndoor.OvenIndoor(), ParticleEffecter.ParticleEffecter(), PlantBase.PlantBase(), Plastic_Explosive.Plastic_Explosive(), PlayerBase.Init(), PowerGeneratorBase.PowerGeneratorBase(), RemoteDetonatorTrigger.RemoteDetonatorTrigger(), Roadflare.Roadflare(), SmokeGrenadeBase.SmokeGrenadeBase(), TentBase.TentBase(), TrapSpawnBase.TrapSpawnBase(), TripwireTrap.TripwireTrap(), UndergroundTriggerCarrier.UndergroundTriggerCarrier(), VehicleBattery.VehicleBattery(), and ZombieBase.Init()proto native void RegisterNetSyncVariableFloat(string variableName, float minValue = 0, float maxValue = 0, int precision = 1)registers float variable synchronized over network
- in
variableName whichvariable should be synchronized- in
minValue minimalvalue used for quantization (when minValue == maxValue, no quatization is done)- in
maxValue maximalvalue used for quantization (when minValue == maxValue, no quatization is done)- in
precision precisionin number of digits after decimal point
proto native void RegisterNetSyncVariableObject(string variableName)registers object variable synchronized over network, only synchronizes if network id is assigned. Doesn't handle object despawn on client
- in
variableName whichvariable should be synchronized
proto native void SwitchLight(bool isOn)Simple hidden selection state; 0 == hidden
Show 10 more
, PlayerBase.AdjustBandana(), PlayerBase.AdjustShemag(), PlayerBase.UpdateHairSelectionVisibility(), PlayerBase.UpdateShoulderProxyVisibility(), PlayerBase.UpdateTranslatedSelections(), Weapon_Base.HideBullet(), Weapon_Base.HideMagazine(), Weapon_Base.HideWeaponBarrel(), Weapon_Base.ShowBullet(), and Weapon_Base.ShowMagazine()Change texture in hiddenSelections
Show 26 more
, Clothing.SwitchItemSelectionTextureEx(), ColourClothesLambda.CopyOldPropertiesToNew(), ComponentEnergyManager.UpdateSelections(), ComponentEnergyManager.UpdateSocketSelections(), FoodStage.UpdateVisualsEx(), GardenBase.SetSlotTextureDigged(), GardenBase.SetSlotTextureFertilized(), GPSReceiver.UpdateDisplayElevation(), GPSReceiver.UpdateDisplayPosition(), Hologram.RefreshVisual(), ItemMap.InitMapState(), ItemOptics.ShowReddot(), Land_Bilboard_Base.Land_Bilboard_Base(), Land_Underground_Panel.UpdateLED(), MetalWire.UpdateAllSelections(), PlantBase.ChangeInfestation(), PlayerBase.PreloadDecayTexture(), PlayerBase.UpdateCorpseStateVisual(), PluginLifespan.SetPlayerLifespanLevel(), PortableGasStove.RefreshFlameVisual(), RemoteDetonator.UpdateLED(), Roadflare.UpdateModelSelections(), XmasLights.HideOnItem(), XmasLights.TurnOffItem(), XmasLights.TurnOnItem(), and ZmbM_Mummy.ChangeVisual()Change material in hiddenSelections
proto native void SetRequiredSimulation(bool req)proto native bool IsRequiredSimulation()proto native bool IsPilotLight()proto native void SetPilotLight(bool isOn)void OnStoreSave(ParamsWriteContext ctx)Engine calls this function to collect data from entity to store for persistence (on server side).
void OnStoreSave(ParamsWriteContext ctx)
{
// dont forget to propagate this call trough class hierarchy!
super.OnStoreSave(ctx);
// write any data (using params) you want to store
int a = 5;
float b = 6.0;
ctx.Write(a);
ctx.Write(b);
}Show 1 more
, PlayerBase.OnStoreSave()bool OnStoreLoad(ParamsReadContext ctx, int version)Called when data is loaded from persistence (on server side).
void OnStoreLoad(ParamsReadContext ctx, int version)
{
// dont forget to propagate this call trough class hierarchy!
if ( !super.OnStoreLoad(ctx, version) )
return false;
// read data loaded from game database (format and order of reading must be the same as writing!)
int a;
if ( !ctx.Read(a) )
return false;
float b;
if ( !ctx.Read(b) )
return false;
return true;
}Show 1 more
, PlayerBase.OnStoreLoad()proto native void SetSynchDirty()Sets object synchronization dirty flag, which signalize that object wants to be synchronized (take effect only in MP on server side)
void OnVariablesSynchronized()Called on clients after receiving synchronization data from server.
Show 18 more
, GetCompEM(), ComponentEnergyManager.GetEnergySourceNetworkIDHigh(), ComponentEnergyManager.GetEnergySourceNetworkIDLow(), CGame.GetObjectByNetworkId(), ComponentEnergyManager.GetPreviousSwitchState(), Object.GetType(), CGame.IsDedicatedServer(), CGame.IsMultiplayer(), ComponentEnergyManager.IsSwitchedOn(), OnFreezeStateChangeClient(), ComponentEnergyManager.PlugThisInto(), ComponentEnergyManager.StartUpdates(), ComponentEnergyManager.SwitchOff(), ComponentEnergyManager.SwitchOn(), ComponentEnergyManager.UnplugThis(), m_EM, m_IsFrozen, and m_IsFrozenLocalShow 12 more
, CarScript.OnVariablesSynchronized(), ContaminatedArea_DynamicBase.OnVariablesSynchronized(), ContaminatedTrigger_Dynamic.OnVariablesSynchronized(), DayZPlayerImplement.OnVariablesSynchronized(), EffecterBase.Process(), GeyserTrigger.OnVariablesSynchronized(), ItemBase.OnVariablesSynchronized(), Land_Underground_EntranceBase.OnVariablesSynchronized(), Land_Underground_WaterReservoir.OnVariablesSynchronized(), Land_WarheadStorage_Main.OnVariablesSynchronized(), Land_WarheadStorage_PowerStation.OnVariablesSynchronized(), and UndergroundTriggerCarrier.OnVariablesSynchronized()'true' if this variable has ever been changed from default
Show 2 more
, ItemBase.SerializeNumericalVars(), and ItemBase.WriteVarsToCTX()void SetVariableMask(int variable)Show 3 more
, ItemBase.SetLiquidType(), ItemBase.SetQuantity(), and ItemBase.SetWet()void RemoveItemVariable(int variable)Removes variable from variable mask, making it appear as though the variable has never been changed from default
void SaveVariables(ParamsWriteContext ctx)Show 1 more
, m_VariablesMaskbool LoadVariables(ParamsReadContext ctx, int version = -1)void WriteVarsToCTX(ParamsWriteContext ctx)Writes to storage CTX
Show 2 more
, Serializer.Write(), and m_VariablesMaskbool ReadVarsFromCTX(ParamsReadContext ctx, int version = -1)Reads from storage CTX
Show 3 more
, IsVariableSet(), m_VariablesMask, and m_VarTemperatureShow 3 more
, SetFreezeThawProgress(), SetFrozen(), and SetTemperatureDirect()proto native void SetAITargetCallbacks(AbstractAITargetCallbacks callbacks)Show 1 more
, m_ComponentsBankstring GetDebugText()void OnDebugButtonPressClient(int button_index)void OnDebugButtonPressServer(int button_index)Shape DebugBBoxDraw()void DebugBBoxSetColor(int color)void DebugBBoxDelete()void DebugDirectionSetColor(int color)void DebugDirectionDelete()void HideSelection(string selection_name)Hides selection of the given name. Must be configed in config.cpp and models.cfg
void ShowSelection(string selection_name)Shows selection of the given name. Must be configed in config.hpp and models.cfg
Show 43 more
, BarbedWire.OnInventoryEnter(), BatteryCharger.OnInventoryEnter(), BatteryCharger.OnInventoryExit(), BatteryCharger.OnOwnSocketReleased(), BatteryCharger.OnOwnSocketTaken(), BatteryCharger.OnSwitchOff(), BatteryCharger.OnSwitchOn(), ClaymoreMine.UpdateVisuals(), ComponentEnergyManager.PlugInDevice(), ComponentEnergyManager.UnplugCordFromSocket(), ComponentEnergyManager.UnplugDevice(), ComponentEnergyManager.UpdateSelections(), ComponentEnergyManager.UpdateSocketSelections(), ShowAllSelections(), Flag_Base.Flag_Base(), Flag_Base.OnWasAttached(), Flag_Base.OnWasDetached(), GardenBase.SetSlotTextureDigged(), GardenBase.SetSlotTextureFertilized(), GardenBase.UpdateSlotTexture(), HescoBox.Fill(), HescoBox.Fold(), HescoBox.Unfold(), HuntingOptic.ShowSelection(), ItemMap.SetMapStateOpen(), ItemOptics.OnOpticExit(), KazuarOptic.UpdateSelectionVisibility(), Magnum_Base.ShowBullet(), MetalWire.UpdateAllSelections(), PileOfWoodenPlanks.UpdateSelections(), PlantBase.UpdatePlant(), PowerGeneratorBase.EEItemAttached(), Roadflare.OnInventoryEnter(), Roadflare.OnInventoryExit(), Roadflare.UpdateModelSelections(), SmershVest.EEItemAttached(), Spotlight.UpdateAllSelections(), StarlightOptic.UpdateSelectionVisibility(), TripodBase.OnDebugSpawn(), TripodBase.OnWasAttached(), TripodBase.OnWasDetached(), TripwireTrap.UpdateProxySelections(), and WeaponChambering_MultiMuzzleMagnum.OnExit()Returns blocks of bits of persistence id of this entity. This id stays the same even after server restart.
proto native void SetLifetime(float fLifeTime)Set (override) remaining economy lifetime (seconds)
proto native float GetLifetime()Get remaining economy lifetime (seconds)
proto native void IncreaseLifetime()Reset economy lifetime to default (seconds)
proto native void SetLifetimeMax(float fLifeTime)Set (override) max economy lifetime per entity instance (seconds)
proto native float GetLifetimeMax()Get max economy lifetime per instance - default is from DB (seconds)
void IncreaseLifetimeUp()Reset economy lifetime to default across entity hierarchy all the way to the topmost entity
ComponentBodyStaging GetCompBS()Use this to access Body Staging component on dead character. Returns NULL if the given object lacks such component.
ComponentEnergyManager GetCompEM()ENERGY MANAGER:Documentation: Confluence >> Camping & Squatting >> Electricity >> Energy Manager functionalities Use this to access Energy Manager component on your device. Returns NULL if the given object lacks such component.
bool HasEnergyManager()If this item has class EnergyManager in its config then it returns true. Otherwise returns false.
void OnWorkStart()Energy manager event: Called only once when this device starts doing its work
Show 1 more
, PortableGasStove.OnWorkStart()void OnWork(float consumed_energy)Energy manager event: Called every device update if its supposed to do some work. The update can be every second or at random, depending on its manipulation.
void OnWorkStop()Energy manager event: Called when the device stops working (was switched OFF or ran out of energy)
void OnSwitchOn()Energy manager event: Called when the device is switched on
Show 1 more
, Spotlight.OnSwitchOn()void OnSwitchOff()Energy manager event: Called when the device is switched OFF
Show 1 more
, Spotlight.OnSwitchOff()void OnIsPlugged(EntityAI source_device)Energy manager event: Called when this device is plugged into some energy source
void OnIsUnplugged(EntityAI last_energy_source)Energy manager event: Called when this device is UNPLUGGED from the energy source
void OnOwnSocketTaken(EntityAI device)Energy manager event: When something is plugged into this device
void OnOwnSocketReleased(EntityAI device)Energy manager event: When something is UNPLUGGED from this device
void OnInitEnergy()Energy manager event: Object's initialization. Energy Manager is fully initialized by this point.
void OnEnergyConsumed()Energy manager event: Called when energy was consumed on this device. ALWAYS CALL super.OnEnergyConsumed() !!!
void OnEnergyAdded()Energy manager event: Called when energy was added on this device. ALWAYS CALL super.OnEnergyAdded() !!!
override void OnRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)Show 4 more
, Object.OnRPC(), Serializer.Read(), ComponentBodyStaging.SetAsSkinnedClient(), and Param1.param1void FixEntity()DIAG_DEVELOPERShow 2 more
, OnAction(), and PlayerBase.ResetPlayer()float GetWetWeightModifier()float GetConfigWeightModified()Show 1 more
, WeightDebug.m_VerbosityFlagsint GetWeight()void SetWeightDirty()Show 3 more
, SetWeightDirty(), WeightDebug.m_VerbosityFlags, and m_WeightDirtyreturns weight of the entity in a way that's specific to the entity type and is internal to the weight system calculation, to obtain entity's weight, use the 'GetWeightEx' method instead
returns overall weight of the entity, 'forceRecalc = true' is meant to be used only when debugging, using it in gameplay code is higly inadvisable as it bypasses the weight caching and has adverse effect on performance
Show 6 more
, GetWeightSpecialized(), Print(), WeightDebugData.SetWeight(), WeightDebug.m_VerbosityFlags, m_WeightDirty, and m_WeightExfloat GetSingleInventoryItemWeightEx()void GetDebugActions(out TSelectableActionInfoArrayEx outputList)Show 1 more
, FadeColors.REDbool OnAction(int action_id, Man player, ParamsReadContext ctx)void SetViewIndex(int index)Sets item preview index
int GetViewIndex()Returns item preview index !!!! IF OVERRIDING with more dynamic events call GetOnViewIndexChanged() in constructor on client !!!!
Show 2 more
, new InventoryLocation(), and Object.MemoryPointExists()string GetHitComponentForAI()Returns hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
string GetDefaultHitComponent()returns default hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
string GetDefaultHitPositionComponent()returns default hit position component name for the Entity (overriden by type if needed - used mainly as support for impact particles)
vector GetDefaultHitPosition()int GetMeleeTargetType()value is related to EMeleeTargetType
string GetAttachmentSoundType()returns sound type of attachment (used for clothing and weapons on DayZPlayerImplement, paired with Anim*Type enum from DayZAnimEvents)
bool IsHeavyBehaviour()returns item behaviour of item (more in ItemBase)
Show 11 more
, ActionSwapItemToHands.Start(), ActionTakeArrowToHands.CreateAndSetupActionCallback(), ActionTakeItemToHands.CreateAndSetupActionCallback(), DayZPlayer.ForceStandUpForHeavyItems(), DayZPlayerImplement.CanPickupHeavyItem(), Inventory.OnCenterPanelDropReceived(), PlayerBase.CanPickupHeavyItem(), PlayerBase.EEItemIntoHands(), PlayerBase.IsSwapBetweenHandsAndGroundLargeItem(), PlayerBase.PredictiveForceSwapEntities(), and PlayerBase.PredictiveTakeEntityToHands()bool IsOneHandedBehaviour()returns item behaviour of item (more in ItemBase)
string ChangeIntoOnDetach()bool CanHaveTemperature()returns true used on selected items that have a temperature effect and can processes temperature changes
Show 24 more
, Edible_Base.EEItemLocationChanged(), Edible_Base.OnVariablesSynchronized(), CanFreeze(), EEInit(), InitItemVariables(), ProcessVariables(), RefreshTemperatureAccess(), SetTemperatureEx(), Environment.BodyPartHeatProperties(), Environment.ProcessItemHierarchyRecursive(), Environment.ProcessItemsInHandsTemperature(), Environment.ProcessItemsTemperature(), FireplaceBase.AddTemperatureToItemByFire(), Icon.CheckHasTemperature(), InspectMenuNew.UpdateItemInfoTemperature(), ItemBase.ProcessItemTemperature(), ItemBase.ProcessVariables(), ItemManager.SetIconTemperature(), ItemManager.SetTemperature(), PeelPotato.Do(), PortableGasStove.OnWork(), SlotsIcon.CheckHasTemperature(), UniversalTemperatureSourceLambdaBaseImpl.UpdateVicinityTemperatureRecursive(), and UniversalTemperatureSourceLambdaBaseImpl.WarmAndCoolItemsInVicinity()bool IsSelfAdjustingTemperature()void OnCEUpdate()Central economy calls this function whenever going over all the entities
void OnCEUpdate()
{
// dont forget to propagate this call trough class hierarchy! - always at the start of the function
super.OnCEUpdate();
// use m_ElapsedSinceLastUpdate for time-related purposes
}Show 1 more
, m_LastUpdatedTimeShow 1 more
, TerritoryFlag.OnCEUpdate()void ProcessVariables()Show 13 more
, GetHierarchyParent(), GetHierarchyRoot(), CGame.GetMission(), GetTemperature(), Mission.GetWorldData(), IsFreezeThawProgressFinished(), IsSelfAdjustingTemperature(), IsSelfAdjustingTemperature(), DayZGame.IsWorldWetTempUpdateEnabled(), SetTemperatureEx(), new TemperatureDataInterpolated(), m_ElapsedSinceLastUpdate, and GameConstants.TEMP_COEF_WORLDvoid OnDebugSpawnEx(DebugSpawnParams params)void OnDebugSpawn()float GetLiquidThroughputCoef()Returns liquid throughput coeficient
string GetInvulnerabilityTypeString()void ProcessInvulnerabilityCheck(string servercfg_param)Show 2 more
, CGame.IsServer(), and Object.SetAllowDamage()bool HasBayonetAttached()int GetBayonetAttachmentIdx()bool HasButtstockAttached()int GetButtstockAttachmentIdx()Show 11 more
, GameInventory.GetAttachmentSlotId(), GameInventory.GetAttachmentSlotId(), GameInventory.GetAttachmentSlotsCount(), GameInventory.GetAttachmentSlotsCount(), GetInventory(), GetInventory(), GetInventory(), array.Insert(), array.Insert(), Entity.OnInvisibleSet(), and Entity.SetInvisible()Show 1 more
, PlayerBase.HideClothing()void SoundHardTreeFallingPlay()void SoundSoftTreeFallingPlay()void SoundHardBushFallingPlay()void SoundSoftBushFallingPlay()void RegisterTransportHit(Transport transport)bool GetInventoryHandAnimation(notnull InventoryLocation loc, out int value)bool IsUniversalTemperatureSource()Universal Temperature Sources Helpers
UTemperatureSource GetUniversalTemperatureSource()void SetUniversalTemperatureSource(UTemperatureSource uts)vector GetUniversalTemperatureSourcePosition()RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour()Remotely controlled devices helpers
void PairRemote(notnull EntityAI trigger)void UnpairRemote()EntityAI GetPairDevice()void SetPersistentPairID(int id)bool HasTurnableValveBehavior()Turnable Valve behaviour
void ExecuteActionsConnectedToValve(int pValveIndex)private void InitAttachmentExclusionValues()private void InitInherentSlotExclusionMap()map stored on instance to better respond to various state changes
Show 3 more
, GameInventory.GetSlotIdCount(), SetAttachmentExclusionMaskSlot(), and InventorySlots.INVALIDoverride this to modify slot behavior for specific items, or just set 'm_AttachmentExclusionMaskGlobal' value for simple items
Show 15 more
, DarkMotoHelmet_ColorBase.GetAttachmentExclusionInitSlotValue(), InitInherentSlotExclusionMap(), InitLegacySlotExclusionValuesImplicit(), GreatHelm.GetAttachmentExclusionInitSlotValue(), Mask_Base.GetAttachmentExclusionInitSlotValue(), MotoHelmet_ColorBase.GetAttachmentExclusionInitSlotValue(), NorseHelm.GetAttachmentExclusionInitSlotValue(), OKZKCap_ColorBase.GetAttachmentExclusionInitSlotValue(), PumpkinHelmet.GetAttachmentExclusionInitSlotValue(), Shemag_ColorBase.GetAttachmentExclusionInitSlotValue(), SnowstormUshanka_ColorBase.GetAttachmentExclusionInitSlotValue(), T56TankerHelmet_Colorbase.GetAttachmentExclusionInitSlotValue(), WeldingMask.GetAttachmentExclusionInitSlotValue(), WinterCoif_ColorBase.GetAttachmentExclusionInitSlotValue(), and WitchHoodCoif_ColorBase.GetAttachmentExclusionInitSlotValue()protected void InitLegacyConfigExclusionValues()protected bool InitLegacyExclusionCheck()Show 3 more
, map.GetElement(), m_AttachmentExclusionMaskGlobal, and m_AttachmentExclusionSlotMapprotected void InitLegacySlotExclusionValuesImplicit()adding base one-directional relations between headgear, masks, eyewear, and headstraps (exception)
protected void InitLegacySlotExclusionValuesDerived()protected void InitGlobalExclusionValues()override to init part of the mask, independent of slot-specific behavior
Show 13 more
, InitAttachmentExclusionValues(), Glasses_Base.InitGlobalExclusionValues(), GorkaHelmetVisor.InitGlobalExclusionValues(), GuyFawkesMask.InitGlobalExclusionValues(), Headdress_Colorbase.InitGlobalExclusionValues(), Headtorch_ColorBase.InitGlobalExclusionValues(), HockeyMask.InitGlobalExclusionValues(), MaskBase.InitGlobalExclusionValues(), Mich2001Helmet.InitGlobalExclusionValues(), MimeMask_Male.InitGlobalExclusionValues(), NioshFaceMask.InitGlobalExclusionValues(), SantasBeard.InitGlobalExclusionValues(), and WolfMask.InitGlobalExclusionValues()protected void AddSingleExclusionValueGlobal(EAttExclusions value)to help with item staging exclusions
Show 14 more
, Glasses_Base.InitGlobalExclusionValues(), GorkaHelmetVisor.InitGlobalExclusionValues(), GuyFawkesMask.InitGlobalExclusionValues(), Headdress_Colorbase.InitGlobalExclusionValues(), Headtorch_ColorBase.InitGlobalExclusionValues(), HockeyMask.InitGlobalExclusionValues(), MaskBase.InitGlobalExclusionValues(), Mich2001Helmet.InitGlobalExclusionValues(), MimeMask_Male.InitGlobalExclusionValues(), NioshFaceMask.InitGlobalExclusionValues(), NVGHeadstrap.InitGlobalExclusionValues(), SantasBeard.InitGlobalExclusionValues(), SportGlasses_ColorBase.InitGlobalExclusionValues(), and WolfMask.InitGlobalExclusionValues()protected void ClearSingleExclusionValueGlobal(EAttExclusions value)to help with item staging exclusions
sets values for specific slot
Slot-specific, children (attachments), and additional (state etc.) masks combined
Show 1 more
, m_AttachmentExclusionMaskGlobalShow 1 more
, IsExclusionFlagPresent()Specific slot behavior
Global mask value, independent of slot-specific behavior!
Mask value coming from the item's attachments
checks if any attachment or item state would interfere with this being attached into a different slot (Headgear -> Mask)
checks 'this' if the incoming flag is present for the current state (slot behavior and others)
Show 2 more
, GameInventory.GetCurrentAttachmentSlotInfo(), and GetInventory()Gets flag from what is effectively an owner
protected bool CheckExclusionAccessCondition(int occupiedSlot, int targetSlot, set<int> value, inout set<int> adjustedValue)protected void AdjustExclusionAccessCondition(int occupiedSlot, int testedSlot, set<int> value, inout set<int> adjustedValue)if we want to filter
protected bool CheckExclusionAccessPropagation(int occupiedSlot, int targetSlot, set<int> value, inout set<int> adjustedValue)special propagation contition
protected void AdjustExclusionAccessPropagation(int occupiedSlot, int testedSlot, set<int> value, inout set<int> adjustedValue)if we want to filter propagation specifically; DO NOT override unless you know what you are doing.
checks specifically for att. exclusion conflicts before att. receive
Show 12 more
, GetAttachmentExclusionMaskAll(), GameInventory.GetCurrentInventoryLocation(), GetHierarchyRoot(), GetHierarchyRoot(), GetInventory(), GetInventory(), InventoryLocation.GetSlot(), InventoryLocation.GetType(), HasInternalExclusionConflicts(), new InventoryLocation(), IsExclusionFlagPresentRecursive(), and set.RemoveItems()bool IsManagingArrows()ArrowManagerBase GetArrowManager()Show 8 more
, ActionTakeArrowToHands.ActionCondition(), ActionTakeArrowToHands.GetDisplayInteractObject(), ActionTakeArrowToHands.InventoryReservation(), Bolt_Base.EEParentedFrom(), Bolt_Base.EEParentedTo(), FirearmActionLoadBullet.ActionCondition(), FirearmActionLoadBullet.GetDisplayInteractObject(), and FirearmActionLoadBullet.Start()void SetFromProjectile(ProjectileStoppedInfo info)void ClearInventory()protected void NotifyPlayerInventoryLoadChanged(EntityAI entity)void NotifyPlayerLoadChanged(EntityAI owner)void UpdateWeight(WeightUpdateType updateType = WeightUpdateType.FULL, float weightAdjustment = 0)