![]() |
Dayz Explorer 1.28.160049
|
Protected Member Functions | |
| float | ConvertNonlethalDamage (float damage, DamageType damageType) |
| float | ConvertNonlethalDamage (float damage) |
| DEPRECATED - for legacy purposes. | |
| DamageZoneMap | GetEntityDamageZoneMap () |
| map< int, string > | GetEntityDamageDisplayNameMap () |
| bool | CanDisplayWeight () |
| 'displayWeight' in item config | |
| void | Log (string msg, string fnc_name="n/a") |
| Log. | |
| void | LogWarning (string msg, string fnc_name="n/a") |
| LogWarning. | |
| void | LogError (string msg, string fnc_name="n/a") |
| LogError. | |
| bool | HasFlammableMaterial () |
| Override this method to return TRUE when this item has or can provide fire. Evaluated on server and client. | |
| bool | CanBeIgnitedBy (EntityAI igniter=NULL) |
| Override this method so it checks whenever this item can be ignited right now or not. Evaluated on Server and Client. | |
| bool | CanIgniteItem (EntityAI ignite_target=NULL) |
| 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 () |
| 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. | |
| bool | IsTargetIgnitionSuccessful (EntityAI item_target) |
| Final evaluation just before the target item is actually ignited. Evaluated on Server. | |
| bool | IsThisIgnitionSuccessful (EntityAI item_source=NULL) |
| Final evaluation just before this item is actually ignited from fire source. Evaluated on Server. | |
| void | OnPlacementStarted (Man player) |
| void | OnHologramBeingPlaced (Man player) |
| void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| void | OnPlacementCancelled (Man player) |
| bool | CanBePlaced (Man player, vector position) |
| string | CanBePlacedFailMessage (Man player, vector position) |
| 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 | |
| bool | IsSplitable () |
| returns just the configured 'canBeSplit' bool | |
| bool | CanBeSplit () |
| returns current splitability | |
| bool | HasAnyCargo () |
| is this container empty or not, checks only cargo | |
| array< EntityAI > | GetAttachmentsWithCargo () |
| array< EntityAI > | GetAttachmentsWithAttachments () |
| 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) |
| void | InsertAgent (int agent, float count=1) |
| override bool | IsEntityAI () |
| bool | IsInventoryVisible () |
| bool | IsPlayer () |
| bool | IsAnimal () |
| bool | IsZombie () |
| bool | IsZombieMilitary () |
| bool | IsIgnoredByConstruction () |
| bool | CanBeTargetedByAI (EntityAI ai) |
| bool | CanBeBackstabbed () |
| override void | Delete () |
| Delete this object in next frame. | |
| void | DeleteOnClient () |
| void | DeleteSafe () |
| void | DeleteSave () |
| bool | IsSetForDeletion () |
| override bool | CanBeActionTarget () |
| void | SetPrepareToDelete () |
| bool | IsPreparedToDelete () |
| void | CheckForDestroy () |
| bool | IsPrepareToDelete () |
| bool | TryDelete () |
| void | OnBeforeTryDelete () |
| proto native EntityAI | GetHierarchyRoot () |
| Returns root of current hierarchy (for example: if this entity is in Backpack on gnd, returns Backpack) | |
| 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) | |
| int | GetHierarchyLevel (int lvl=0) |
| void | OnInventoryInit () |
| void | EEInit () |
| Called upon object creation. | |
| void | EEDelete (EntityAI parent) |
| Called right before object deleting. | |
| override void | OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType) |
| void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
| void | OnChildItemRemoved (InventoryItem item) |
| void | OnChildItemReceived (InventoryItem item) |
| void | OnItemAttachmentSlotChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| void | EEItemLocationChanged (notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc) |
| void | EEParentedTo (EntityAI parent) |
| Called from 'IEntity.AddChild'. | |
| void | EEParentedFrom (EntityAI parent) |
| Called from 'IEntity.RemoveChild' or 'IEntity.AddChild' when hierarchy changes. | |
| void | EEInventoryIn (Man newParentMan, EntityAI diz, EntityAI newParent) |
| void | EEInventoryOut (Man oldParentMan, EntityAI diz, EntityAI newParent) |
| void | EEAmmoChanged () |
| void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| void | 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. | |
| void | AttemptDestructionBehaviour (int oldLevel, int newLevel, string zone) |
| void | SetTakeable (bool pState) |
| void | EEKilled (Object killer) |
| called on server when the entity is killed | |
| 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) |
| void | EEHitByRemote (int damageType, EntityAI source, int component, string dmgZone, string ammo, vector modelPos) |
| void | EEItemAttached (EntityAI item, string slot_name) |
| void | SwitchItemSelectionTexture (EntityAI item, string slot_name) |
| void | SwitchItemSelectionTextureEx (EItemManipulationContext context, Param par=null) |
| void | EEItemDetached (EntityAI item, string slot_name) |
| 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 () |
| ScriptInvoker | GetOnSetLock () |
| ScriptInvoker | GetOnReleaseLock () |
| ScriptInvoker | GetOnAttachmentSetLock () |
| 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. | |
| void | 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'. | |
| 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'. | |
| bool | CanReceiveAttachment (EntityAI attachment, int slotId) |
| calls this->CanReceiveAttachment(attachment) | |
| bool | CanLoadAttachment (EntityAI attachment) |
| bool | CanPutAsAttachment (EntityAI parent) |
| calls this->CanPutAsAttachment(parent) | |
| bool | CanSwitchDuringAttach (EntityAI parent) |
| bool | CanReleaseAttachment (EntityAI attachment) |
| calls this->CanReleaseAttachment(attachment) | |
| bool | CanDetachAttachment (EntityAI parent) |
| calls this->CanDetachAttachment(parent) | |
| bool | CanBeFSwaped () |
| bool | CanCombineAttachment (notnull EntityAI e, int slot, bool stack_max_limit=false) |
| bool | CanBeCombined (EntityAI other_item, bool reservation_check=true, bool stack_max_limit=false) |
| void | CombineItemsEx (EntityAI entity2, bool use_stack_max=false) |
| void | SplitIntoStackMaxEx (EntityAI destination_entity, int slot_id) |
| void | CombineItemsClient (EntityAI entity2, bool use_stack_max=false) |
| void | SplitIntoStackMaxClient (EntityAI destination_entity, int slot_id) |
| bool | CanReceiveItemIntoCargo (EntityAI item) |
| calls this->CanReceiveItemIntoCargo(item) | |
| bool | CanLoadItemIntoCargo (EntityAI item) |
| calls this->CanLoadItemIntoCargo(item), is called on server start when loading in the storage | |
| bool | CanPutInCargo (EntityAI parent) |
| calls this->CanPutInCargo(parent) | |
| bool | CanSwapItemInCargo (EntityAI child_entity, EntityAI new_entity) |
| calls this->CanSwapItemInCargo(child_entity, new_entity) | |
| bool | CanReleaseCargo (EntityAI cargo) |
| calls this->CanReleaseCargo(cargo) | |
| bool | CanRemoveFromCargo (EntityAI parent) |
| calls this->CanRemoveFromCargo(parent) | |
| bool | CanReceiveItemIntoHands (EntityAI item_to_hands) |
| calls this->CanReceiveItemIntoHands(item_to_hands) | |
| bool | AreChildrenAccessible () |
| bool | IsBeingPlaced () |
| override bool | IsHologram () |
| bool | CanSaveItemInHands (EntityAI item_in_hands) |
| bool | CanPutIntoHands (EntityAI parent) |
| calls this->CanPutIntoHands(parent) | |
| bool | CanReleaseFromHands (EntityAI handheld) |
| calls this->CanReleaseFromHands(handheld) | |
| bool | CanRemoveFromHands (EntityAI parent) |
| calls this->CanRemoveFromHands(parent) | |
| bool | CanDisplayAttachmentSlot (string slot_name) |
| bool | CanDisplayAttachmentSlot (int slot_id) |
| bool | CanDisplayAnyAttachmentSlot () |
| bool | CanDisplayAttachmentCategory (string category_name) |
| bool | CanDisplayCargo () |
| bool | CanAssignToQuickbar () |
| bool | CanAssignAttachmentsToQuickbar () |
| bool | IgnoreOutOfReachCondition () |
| void | OnWasAttached (EntityAI parent, int slot_id) |
| void | OnWasDetached (EntityAI parent, int slot_id) |
| void | OnCargoChanged () |
| bool | IsTakeable () |
| proto native GameInventory | GetInventory () |
| proto native void | CreateAndInitInventory () |
| proto native void | DestroyInventory () |
| int | GetSlotsCountCorrect () |
| EntityAI | FindAttachmentBySlotName (string slot_name) |
| bool | IsSlotReserved (int slotID) |
| bool | IsLockedInSlot () |
| 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) |
| bool | PredictiveTakeEntityToCargo (notnull EntityAI item) |
| Put item into into cargo. | |
| bool | LocalTakeEntityToCargo (notnull EntityAI item) |
| bool | ServerTakeEntityToCargo (notnull EntityAI item) |
| bool | PredictiveTakeEntityToTargetCargo (notnull EntityAI target, notnull EntityAI item) |
| bool | LocalTakeEntityToTargetCargo (notnull EntityAI target, notnull EntityAI item) |
| bool | ServerTakeEntityToTargetCargo (notnull EntityAI target, notnull EntityAI item) |
| bool | PredictiveTakeEntityToCargoEx (notnull EntityAI item, int idx, int row, int col) |
| Put item into into cargo on specific cargo location. | |
| bool | LocalTakeEntityToCargoEx (notnull EntityAI item, int idx, int row, int col) |
| bool | PredictiveTakeEntityToTargetCargoEx (notnull CargoBase cargo, notnull EntityAI item, int row, int col) |
| bool | LocalTakeEntityToTargetCargoEx (notnull CargoBase cargo, notnull EntityAI item, int row, int col) |
| bool | ServerTakeEntityToTargetCargoEx (notnull CargoBase cargo, notnull EntityAI item, int row, int col) |
| bool | PredictiveTakeEntityAsAttachmentEx (notnull EntityAI item, int slot) |
| 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 | LocalTakeEntityAsAttachmentEx (notnull EntityAI item, int slot) |
| bool | ServerTakeEntityAsAttachmentEx (notnull EntityAI item, int slot) |
| bool | PredictiveTakeEntityToTargetAttachmentEx (notnull EntityAI target, notnull EntityAI item, int slot) |
| bool | LocalTakeEntityToTargetAttachmentEx (notnull EntityAI target, notnull EntityAI item, int slot) |
| bool | ServerTakeEntityToTargetAttachmentEx (notnull EntityAI target, notnull EntityAI item, int slot) |
| bool | PredictiveTakeEntityToTargetAttachment (notnull EntityAI target, notnull EntityAI item) |
| bool | LocalTakeEntityToTargetAttachment (notnull EntityAI target, notnull EntityAI item) |
| bool | ServerTakeEntityToTargetAttachment (notnull EntityAI target, notnull EntityAI item) |
| bool | PredictiveTakeToDst (notnull InventoryLocation src, notnull InventoryLocation dst) |
| bool | LocalTakeToDst (notnull InventoryLocation src, notnull InventoryLocation dst) |
| bool | ServerTakeToDst (notnull InventoryLocation src, notnull InventoryLocation dst) |
| bool | PredictiveTakeEntityAsAttachment (notnull EntityAI item) |
| Put item into as attachment. | |
| bool | LocalTakeEntityAsAttachment (notnull EntityAI item) |
| bool | ServerTakeEntityAsAttachment (notnull EntityAI item) |
| bool | PredictiveDropEntity (notnull EntityAI item) |
| bool | LocalDropEntity (notnull EntityAI item) |
| bool | ServerDropEntity (notnull EntityAI item) |
| EntityAI | GetAttachmentByType (typename type) |
| Get attached entity by type. | |
| EntityAI | GetAttachmentByConfigTypeName (string type) |
| Get attached entity by config type name. | |
| bool | CanDropEntity (notnull EntityAI item) |
| Returns if item can be dropped out from this entity. | |
| EntityAI | SpawnInInventoryOrGroundPos (string object_name, GameInventory inv, vector pos) |
| EntityAI | SpawnEntityOnGroundPos (string object_name, vector pos) |
| EntityAI | SpawnEntityOnGround (string object_name, vector mat[4]) |
| bool | CanSwapEntities (EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination) |
| void | SetWet (float value, bool allow_client=false) |
| void | AddWet (float value) |
| void | SetWetMax () |
| float | GetWet () |
| float | GetWetMax () |
| float | GetWetMin () |
| float | GetWetInit () |
| bool | HasWetness () |
| void | OnWetChanged (float newVal, float oldVal) |
| void | OnWetLevelChanged (EWetnessLevel newLevel, EWetnessLevel oldLevel) |
| EWetnessLevel | GetWetLevel () |
| bool | HasQuantity () |
| bool | SetQuantity (float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true) |
| float | GetQuantity () |
| void | SetQuantityNormalized (float value, bool destroy_config=true, bool destroy_forced=false) |
| float | GetQuantityNormalized () |
| int | GetQuantityMax () |
| int | GetQuantityMin () |
| void | SetQuantityToMinimum () |
| int | GetTargetQuantityMax (int attSlotID=-1) |
| int | GetQuickBarBonus () |
| bool | UseConfigInitTemperature () |
| void | InitTemperature () |
| void | SetTemperatureDirect (float value, bool allow_client=false) |
| void | SetTemperature (float value, bool allow_client=false) |
| not really deprecated, but missing context info from TemperatureData. Default values used instead. | |
| void | AddTemperature (float value) |
| void | SetTemperatureEx (TemperatureData data) |
| sets temperature, handles base overheating and freezing state progression logics | |
| void | RefreshTemperatureAccess (TemperatureData data) |
| refreshes access without setting temperature, keeps the source locked in | |
| void | InterpolateTempData (TemperatureDataInterpolated data) |
| void | SetTemperatureMax () |
| presumably for debug purposes? | |
| float | GetTemperature () |
| float | GetTemperatureInit () |
| float | GetTemperatureMin () |
| float | GetTemperatureMax () |
| bool | GetCookingTargetTemperature (out float temperature) |
| 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) | |
| float | GetTemperatureFreezeThreshold () |
| float | GetTemperatureThawThreshold () |
| float | GetTemperatureFreezeTime () |
| float | GetTemperatureThawTime () |
| float | GetFreezeThawProgress () |
| on server only | |
| bool | IsFreezeThawProgressFinished () |
| on server only | |
| void | SetFreezeThawProgress (float val) |
| 0->1 when freezing, 1->0 when thawing | |
| bool | CanFreeze () |
| bool | GetIsFrozen () |
| void | SetFrozen (bool frozen) |
| void | HandleFreezingProgression (float deltaHeat, TemperatureData data) |
| void | 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 () |
| void | SetItemOverheatProgress (float val, float deltaTime=0) |
| void | OnItemOverheatStart () |
| override to implement desired overheat behavior on entity | |
| void | OnItemOverheat (float deltaTime) |
| void | OnItemOverheatEnd () |
| note, that the deltaTime could be reverse-calculated and not totally accurate | |
| void | HandleItemOverheating (float deltaHeat, TemperatureData data) |
| void | SetLiquidType (int value, bool allow_client=false) |
| int | GetLiquidType () |
| void | SetColor (int r, int g, int b, int a) |
| void | GetColor (out int r, out int g, out int b, out int a) |
| void | SetStoreLoad (bool value) |
| bool | IsStoreLoad () |
| void | SetStoreLoadedQuantity (float value) |
| float | GetStoreLoadedQuantity () |
| void | SetCleanness (int value, bool allow_client=false) |
| int | GetCleanness () |
| bool | IsServerCheck (bool allow_client) |
| HiddenSelectionsData | GetHiddenSelectionsData () |
| int | GetHiddenSelectionIndex (string selection) |
| Returns index of the string found in cfg array 'hiddenSelections'. If it's not found then it returns -1. | |
| 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) |
| proto native void | RegisterNetSyncVariableBool (string variableName) |
| registers bool variable synchronized over network | |
| proto native void | RegisterNetSyncVariableBoolSignal (string variableName) |
| when bool variable is true, it's sent to clients and become false again | |
| proto native void | RegisterNetSyncVariableInt (string variableName, int minValue=0, int maxValue=0) |
| registers int variable synchronized over network | |
| proto native void | RegisterNetSyncVariableFloat (string variableName, float minValue=0, float maxValue=0, int precision=1) |
| registers float variable synchronized over network | |
| 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 | |
| proto native void | UpdateNetSyncVariableInt (string variableName, float minValue=0, float maxValue=0) |
| proto native void | UpdateNetSyncVariableFloat (string variableName, float minValue=0, float maxValue=0, int precision=1) |
| proto native void | SwitchLight (bool isOn) |
| proto native void | SetSimpleHiddenSelectionState (int index, bool state) |
| Simple hidden selection state; 0 == hidden. | |
| proto native bool | IsSimpleHiddenSelectionVisible (int index) |
| proto native void | SetObjectTexture (int index, string texture_name) |
| Change texture in hiddenSelections. | |
| proto native owned string | GetObjectTexture (int index) |
| proto native void | SetObjectMaterial (int index, string mat_name) |
| Change material in hiddenSelections. | |
| proto native owned string | GetObjectMaterial (int index) |
| 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). | |
| bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| Called when data is loaded from persistence (on server side). | |
| 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. | |
| bool | IsVariableSet (int variable) |
| 'true' if this variable has ever been changed from default | |
| void | SetVariableMask (int variable) |
| void | RemoveItemVariable (int variable) |
| Removes variable from variable mask, making it appear as though the variable has never been changed from default. | |
| void | TransferVariablesFloat (array< float > float_vars) |
| array< float > | GetVariablesFloat () |
| void | SaveVariables (ParamsWriteContext ctx) |
| bool | LoadVariables (ParamsReadContext ctx, int version=-1) |
| void | WriteVarsToCTX (ParamsWriteContext ctx) |
| Writes to storage CTX. | |
| bool | ReadVarsFromCTX (ParamsReadContext ctx, int version=-1) |
| Reads from storage CTX. | |
| void | SerializeNumericalVars (array< float > floats_out) |
| void | DeSerializeNumericalVars (array< float > floats) |
| proto native void | SetAITargetCallbacks (AbstractAITargetCallbacks callbacks) |
| override void | EOnFrame (IEntity other, float timeSlice) |
| string | GetDebugText () |
| void | GetDebugButtonNames (out string button1, out string button2, out string button3, out string button4) |
| void | OnDebugButtonPressClient (int button_index) |
| void | OnDebugButtonPressServer (int button_index) |
| Shape | DebugBBoxDraw () |
| void | DebugBBoxSetColor (int color) |
| void | DebugBBoxDelete () |
| Shape | DebugDirectionDraw (float distance=1) |
| 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. | |
| proto void | GetPersistentID (out int b1, out int b2, out int b3, out int b4) |
| 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. | |
| override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
| float | GetWetWeightModifier () |
| float | GetConfigWeightModified () |
| int | GetWeight () |
| void | ClearWeightDirty () |
| void | SetWeightDirty () |
| float | GetInventoryAndCargoWeight (bool forceRecalc=false) |
| float | GetWeightSpecialized (bool forceRecalc=false) |
| returns 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 | |
| float | GetWeightEx (bool forceRecalc=false) |
| 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 | |
| void | UpdateWeight (WeightUpdateType updateType=WeightUpdateType.FULL, float weightAdjustment=0) |
| float | GetSingleInventoryItemWeightEx () |
| void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
| bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
| 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) | |
| array< string > | GetSuitableFinisherHitComponents () |
| 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) | |
| bool | IsOneHandedBehaviour () |
| returns item behaviour of item (more in ItemBase) | |
| bool | IsTwoHandedBehaviour () |
| returns item behaviour of item (more in ItemBase) | |
| string | ChangeIntoOnAttach (string slot) |
| string | ChangeIntoOnDetach () |
| bool | CanHaveTemperature () |
| returns true used on selected items that have a temperature effect and can processes temperature changes | |
| bool | IsSelfAdjustingTemperature () |
| void | OnCEUpdate () |
| Central economy calls this function whenever going over all the entities. | |
| void | ProcessVariables () |
| void | OnDebugSpawnEx (DebugSpawnParams params) |
| void | OnDebugSpawn () |
| override EntityAI | ProcessMeleeItemDamage (int mode=0) |
| float | GetLiquidThroughputCoef () |
| Returns liquid throughput coeficient. | |
| string | GetInvulnerabilityTypeString () |
| void | ProcessInvulnerabilityCheck (string servercfg_param) |
| void | SetBayonetAttached (bool pState, int slot_idx=-1) |
| bool | HasBayonetAttached () |
| int | GetBayonetAttachmentIdx () |
| void | SetButtstockAttached (bool pState, int slot_idx=-1) |
| bool | HasButtstockAttached () |
| int | GetButtstockAttachmentIdx () |
| void | SetInvisibleRecursive (bool invisible, EntityAI parent=null, array< int > attachments=null) |
| void | SoundHardTreeFallingPlay () |
| void | SoundSoftTreeFallingPlay () |
| void | SoundHardBushFallingPlay () |
| void | SoundSoftBushFallingPlay () |
| void | RegisterTransportHit (Transport transport) |
| bool | GetInventoryHandAnimation (notnull InventoryLocation loc, out int value) |
| bool | TranslateSlotFromSelection (string selection_name, out int slot_id) |
| 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. | |
| bool | IsValveTurnable (int pValveIndex) |
| int | GetTurnableValveIndex (int pComponentIndex) |
| void | ExecuteActionsConnectedToValve (int pValveIndex) |
| set< int > | GetAttachmentExclusionInitSlotValue (int slotId) |
| override this to modify slot behavior for specific items, or just set 'm_AttachmentExclusionMaskGlobal' value for simple items | |
| void | InitLegacyConfigExclusionValues () |
| bool | InitLegacyExclusionCheck () |
| void | InitLegacySlotExclusionValuesImplicit () |
| adding base one-directional relations between headgear, masks, eyewear, and headstraps (exception) | |
| void | InitLegacySlotExclusionValuesDerived () |
| void | InitGlobalExclusionValues () |
| override to init part of the mask, independent of slot-specific behavior | |
| void | AddSingleExclusionValueGlobal (EAttExclusions value) |
| to help with item staging exclusions | |
| void | ClearSingleExclusionValueGlobal (EAttExclusions value) |
| to help with item staging exclusions | |
| void | SetAttachmentExclusionMaskGlobal (set< int > values) |
| void | SetAttachmentExclusionMaskSlot (int slotId, set< int > values) |
| sets values for specific slot | |
| bool | IsExclusionFlagPresent (set< int > values) |
| checks 'this' if the incoming flag is present for the current state (slot behavior and others) | |
| bool | IsExclusionFlagPresentRecursive (set< int > values, int targetSlot) |
| Gets flag from what is effectively an owner. | |
| bool | CheckExclusionAccessCondition (int occupiedSlot, int targetSlot, set< int > value, inout set< int > adjustedValue) |
| void | AdjustExclusionAccessCondition (int occupiedSlot, int testedSlot, set< int > value, inout set< int > adjustedValue) |
| if we want to filter | |
| bool | CheckExclusionAccessPropagation (int occupiedSlot, int targetSlot, set< int > value, inout set< int > adjustedValue) |
| special propagation contition | |
| 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. | |
| bool | CheckAttachmentReceiveExclusion (EntityAI attachment, int slotId) |
| checks specifically for att. exclusion conflicts before att. receive | |
| bool | IsManagingArrows () |
| ArrowManagerBase | GetArrowManager () |
| void | SetFromProjectile (ProjectileStoppedInfo info) |
| void | ClearInventory () |
| bool | IsSkinned () |
| Skinning. | |
| void | SetAsSkinned () |
| bool | CanBeSkinnedWith (EntityAI tool) |
| float | GetSkinningBloodInfectionChance (eAgents type) |
| void | CacheSkinningBloodInfectionChance (eAgents type) |
| ComponentEnergyManager | GetCompEM () |
| 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. | |
| 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. | |
| void | OnSwitchOff () |
| Energy manager event: Called when the device is switched OFF. | |
| 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() !!! | |
Static Protected Member Functions | |
| static EWetnessLevel | GetWetLevelInternal (float wetness) |
|
protected |
to help with item staging exclusions
Definition at line 4385 of file entityai.c.
|
protected |
Definition at line 2291 of file entityai.c.
|
protected |
|
protected |
if we want to filter
Definition at line 4572 of file entityai.c.
|
protected |
if we want to filter propagation specifically; DO NOT override unless you know what you are doing.
Definition at line 4594 of file entityai.c.
|
protected |
Called when entity is being loaded from DB or Storage (after all children loaded)
Definition at line 1371 of file entityai.c.
|
protected |
Definition at line 1621 of file entityai.c.
Definition at line 1043 of file entityai.c.
|
protected |
Definition at line 513 of file entityai.c.
|
protected |
Definition at line 1762 of file entityai.c.
|
protected |
Definition at line 1754 of file entityai.c.
|
protected |
Definition at line 807 of file entityai.c.
|
protected |
Definition at line 756 of file entityai.c.
|
protected |
Definition at line 1502 of file entityai.c.
|
protected |
Definition at line 1489 of file entityai.c.
Override this method so it checks whenever this item can be ignited right now or not. Evaluated on Server and Client.
Definition at line 534 of file entityai.c.
Definition at line 618 of file entityai.c.
Method which returns message why object can't be placed at given position.
Definition at line 624 of file entityai.c.
Definition at line 496 of file entityai.c.
|
protected |
returns current splitability
Definition at line 660 of file entityai.c.
Definition at line 744 of file entityai.c.
|
protected |
Definition at line 1494 of file entityai.c.
calls this->CanDetachAttachment(parent)
Definition at line 1484 of file entityai.c.
|
protected |
Definition at line 1718 of file entityai.c.
| category_name->name | of the attachment category that will or won't be displayed |
Definition at line 1738 of file entityai.c.
Definition at line 1710 of file entityai.c.
Definition at line 1700 of file entityai.c.
|
protected |
Definition at line 1746 of file entityai.c.
|
protected |
'displayWeight' in item config
Definition at line 461 of file entityai.c.
Returns if item can be dropped out from this entity.
Definition at line 2088 of file entityai.c.
|
protected |
Definition at line 2486 of file entityai.c.
|
protected |
returns true used on selected items that have a temperature effect and can processes temperature changes
Definition at line 3801 of file entityai.c.
Override this method and check if the given item can be ignited right now by this one. Evaluated on Server and Client.
Definition at line 540 of file entityai.c.
|
protected |
Overheat time CAN be 0, GameConstants.TEMPERATURE_TIME_OVERHEAT_MIN is ignored if so.
Definition at line 2604 of file entityai.c.
Definition at line 1436 of file entityai.c.
calls this->CanLoadItemIntoCargo(item), is called on server start when loading in the storage
Definition at line 1536 of file entityai.c.
calls this->CanPutAsAttachment(parent)
| [in] | parent | target entity this is trying to attach to |
Definition at line 1448 of file entityai.c.
calls this->CanPutInCargo(parent)
Definition at line 1547 of file entityai.c.
calls this->CanPutIntoHands(parent)
Definition at line 1669 of file entityai.c.
calls this->CanReceiveAttachment(attachment)
Definition at line 1424 of file entityai.c.
calls this->CanReceiveItemIntoCargo(item)
Definition at line 1522 of file entityai.c.
calls this->CanReceiveItemIntoHands(item_to_hands)
Definition at line 1616 of file entityai.c.
calls this->CanReleaseAttachment(attachment)
Definition at line 1464 of file entityai.c.
calls this->CanReleaseCargo(cargo)
Definition at line 1572 of file entityai.c.
calls this->CanReleaseFromHands(handheld)
Definition at line 1680 of file entityai.c.
calls this->CanRemoveFromCargo(parent)
Definition at line 1583 of file entityai.c.
calls this->CanRemoveFromHands(parent)
Definition at line 1691 of file entityai.c.
Definition at line 1658 of file entityai.c.
|
protected |
Definition at line 2129 of file entityai.c.
calls this->CanSwapItemInCargo(child_entity, new_entity)
Definition at line 1558 of file entityai.c.
Definition at line 1454 of file entityai.c.
Definition at line 3797 of file entityai.c.
|
protected |
Definition at line 3798 of file entityai.c.
checks specifically for att. exclusion conflicts before att. receive
Definition at line 4600 of file entityai.c.
|
protected |
Definition at line 4550 of file entityai.c.
|
protected |
special propagation contition
Definition at line 4578 of file entityai.c.
|
protected |
Definition at line 830 of file entityai.c.
|
protected |
Roof check for entity, limited by time (anti-spam solution)
|
protected |
|
protected |
to help with item staging exclusions
Definition at line 4392 of file entityai.c.
|
protected |
Definition at line 3508 of file entityai.c.
Definition at line 1511 of file entityai.c.
DEPRECATED - for legacy purposes.
Definition at line 445 of file entityai.c.
|
protected |
Definition at line 439 of file entityai.c.
|
protected |
|
protected |
Definition at line 1098 of file entityai.c.
|
protected |
Definition at line 3288 of file entityai.c.
|
protected |
Definition at line 3278 of file entityai.c.
|
protected |
Definition at line 3283 of file entityai.c.
|
protected |
Definition at line 3303 of file entityai.c.
Definition at line 3293 of file entityai.c.
|
protected |
Definition at line 3298 of file entityai.c.
|
protected |
Delete this object in next frame.
void Definition at line 769 of file entityai.c.
|
protected |
Definition at line 775 of file entityai.c.
|
protected |
Definition at line 781 of file entityai.c.
|
protected |
Definition at line 797 of file entityai.c.
Definition at line 3207 of file entityai.c.
|
protected |
|
protected |
Definition at line 554 of file entityai.c.
|
protected |
Do the roof check when placing this?
Definition at line 630 of file entityai.c.
|
protected |
Definition at line 1016 of file entityai.c.
|
protected |
Definition at line 1194 of file entityai.c.
|
protected |
Definition at line 1214 of file entityai.c.
|
protected |
Definition at line 1204 of file entityai.c.
|
protected |
Called right before object deleting.
Definition at line 927 of file entityai.c.
Definition at line 1021 of file entityai.c.
|
protected |
Definition at line 1111 of file entityai.c.
|
protected |
Definition at line 1121 of file entityai.c.
|
protected |
Called upon object creation.
Definition at line 895 of file entityai.c.
Definition at line 1003 of file entityai.c.
Definition at line 1006 of file entityai.c.
Definition at line 1127 of file entityai.c.
Definition at line 1162 of file entityai.c.
|
protected |
Definition at line 955 of file entityai.c.
|
protected |
called on server when the entity is killed
Definition at line 1072 of file entityai.c.
|
protected |
Called when entity is part of "connected system" and being restored after load.
Definition at line 1333 of file entityai.c.
|
protected |
Called when entity is being created as new by CE/ Debug.
Definition at line 1366 of file entityai.c.
|
protected |
Called from 'IEntity.RemoveChild' or 'IEntity.AddChild' when hierarchy changes.
Definition at line 999 of file entityai.c.
|
protected |
Called from 'IEntity.AddChild'.
Definition at line 994 of file entityai.c.
Definition at line 3235 of file entityai.c.
|
protected |
Definition at line 1808 of file entityai.c.
|
protected |
Definition at line 706 of file entityai.c.
|
protected |
Definition at line 4644 of file entityai.c.
Get attached entity by config type name.
Definition at line 2075 of file entityai.c.
Get attached entity by type.
Definition at line 2061 of file entityai.c.
override this to modify slot behavior for specific items, or just set 'm_AttachmentExclusionMaskGlobal' value for simple items
Definition at line 4198 of file entityai.c.
|
protected |
returns sound type of attachment (used for clothing and weapons on DayZPlayerImplement, paired with Anim*Type enum from DayZAnimEvents)
Definition at line 3774 of file entityai.c.
Definition at line 687 of file entityai.c.
Definition at line 682 of file entityai.c.
|
protected |
Definition at line 3963 of file entityai.c.
|
protected |
Definition at line 3967 of file entityai.c.
|
protected |
Definition at line 2717 of file entityai.c.
Definition at line 2692 of file entityai.c.
|
protected |
Use this to access Body Staging component on dead character. Returns NULL if the given object lacks such component.
Definition at line 3353 of file entityai.c.
|
protected |
energy manager 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.
Definition at line 3363 of file entityai.c.
|
protected |
Definition at line 3485 of file entityai.c.
specifically for cooking system, to get heat source target temperatures
Definition at line 2434 of file entityai.c.
|
protected |
Definition at line 1088 of file entityai.c.
|
protected |
Definition at line 3600 of file entityai.c.
|
protected |
Definition at line 3273 of file entityai.c.
|
protected |
Definition at line 3249 of file entityai.c.
|
protected |
returns default hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
returns Global so it is obvious you need to configure that properly on entity
Definition at line 3741 of file entityai.c.
|
protected |
Definition at line 3761 of file entityai.c.
|
protected |
returns default hit position component name for the Entity (overriden by type if needed - used mainly as support for impact particles)
Definition at line 3749 of file entityai.c.
|
protected |
Get economy item profile (if assigned, otherwise null)
Definition at line 455 of file entityai.c.
|
protected |
Definition at line 450 of file entityai.c.
|
protected |
on server only
Definition at line 2469 of file entityai.c.
|
protected |
Returns temperature change speed multiplier for this item and all its children (multiplicative interaction)
Definition at line 2443 of file entityai.c.
Returns index of the string found in cfg array 'hiddenSelections'. If it's not found then it returns -1.
Definition at line 2749 of file entityai.c.
|
protected |
Returns the hiddenSelectionsTextures array from the object's config.
Definition at line 2758 of file entityai.c.
|
protected |
Definition at line 2743 of file entityai.c.
|
protected |
Returns the hiddenSelectionsMaterials array from the object's config.
Definition at line 2776 of file entityai.c.
|
protected |
Returns the hiddenSelectionsTextures array from the object's config.
Definition at line 2767 of file entityai.c.
Definition at line 881 of file entityai.c.
|
protected |
Returns direct parent of current entity.
|
protected |
Returns root of current hierarchy (for example: if this entity is in Backpack on gnd, returns Backpack)
|
protected |
Returns root of current hierarchy cast to Man.
|
protected |
Returns hit component for the Entity (overriden for each Type - PlayerBase, DayZInfected, DayZAnimal, etc.)
returns Global so it is obvious you need to configure that properly on entity
Definition at line 3733 of file entityai.c.
|
protected |
Definition at line 3535 of file entityai.c.
|
protected |
Definition at line 4107 of file entityai.c.
|
protected |
Definition at line 3933 of file entityai.c.
|
protected |
Definition at line 2491 of file entityai.c.
|
protected |
Definition at line 2626 of file entityai.c.
|
protected |
if undefined, max temperature used as default
Definition at line 2610 of file entityai.c.
|
protected |
any configured value >= 0 will simulate overheating
Definition at line 2616 of file entityai.c.
|
protected |
Get remaining economy lifetime (seconds)
|
protected |
Get max economy lifetime per instance - default is from DB (seconds)
|
protected |
Returns liquid throughput coeficient.
Definition at line 3928 of file entityai.c.
|
protected |
Definition at line 2685 of file entityai.c.
|
protected |
value is related to EMeleeTargetType
Definition at line 3768 of file entityai.c.
|
protected |
Definition at line 1291 of file entityai.c.
|
protected |
Definition at line 1284 of file entityai.c.
|
protected |
Definition at line 1298 of file entityai.c.
|
protected |
Definition at line 1235 of file entityai.c.
|
protected |
Definition at line 1221 of file entityai.c.
|
protected |
Definition at line 1228 of file entityai.c.
|
protected |
Definition at line 1256 of file entityai.c.
|
protected |
Definition at line 1249 of file entityai.c.
|
protected |
Definition at line 1242 of file entityai.c.
|
protected |
Definition at line 1305 of file entityai.c.
|
protected |
Definition at line 1277 of file entityai.c.
|
protected |
Definition at line 1270 of file entityai.c.
|
protected |
Definition at line 1263 of file entityai.c.
|
protected |
Returns blocks of bits of persistence id of this entity. This id stays the same even after server restart.
|
protected |
Definition at line 2200 of file entityai.c.
|
protected |
Definition at line 2212 of file entityai.c.
|
protected |
Definition at line 2217 of file entityai.c.
|
protected |
Definition at line 2207 of file entityai.c.
|
protected |
Definition at line 2229 of file entityai.c.
|
protected |
Remotely controlled devices helpers.
|
protected |
Definition at line 3598 of file entityai.c.
Definition at line 504 of file entityai.c.
|
protected |
Definition at line 1800 of file entityai.c.
|
protected |
Definition at line 2709 of file entityai.c.
Definition at line 3755 of file entityai.c.
Definition at line 2224 of file entityai.c.
|
protected |
Definition at line 2413 of file entityai.c.
|
protected |
Definition at line 2448 of file entityai.c.
|
protected |
Definition at line 2458 of file entityai.c.
|
protected |
Definition at line 2418 of file entityai.c.
|
protected |
Definition at line 2428 of file entityai.c.
|
protected |
Definition at line 2423 of file entityai.c.
|
protected |
Definition at line 2453 of file entityai.c.
|
protected |
Definition at line 2463 of file entityai.c.
|
protected |
Definition at line 4124 of file entityai.c.
|
protected |
Definition at line 4134 of file entityai.c.
Definition at line 3107 of file entityai.c.
|
protected |
Returns item preview index !!!! IF OVERRIDING with more dynamic events call GetOnViewIndexChanged() in constructor on client !!!!
Definition at line 3687 of file entityai.c.
|
protected |
Definition at line 3503 of file entityai.c.
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
Definition at line 3570 of file entityai.c.
returns 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
Definition at line 3563 of file entityai.c.
|
protected |
Definition at line 2140 of file entityai.c.
|
protected |
Definition at line 2155 of file entityai.c.
|
protected |
|
staticprotected |
Definition at line 2172 of file entityai.c.
|
protected |
Definition at line 2145 of file entityai.c.
|
protected |
Definition at line 2150 of file entityai.c.
|
protected |
Definition at line 3480 of file entityai.c.
|
protected |
Definition at line 2512 of file entityai.c.
|
protected |
Definition at line 2654 of file entityai.c.
|
protected |
is this container empty or not, checks only cargo
Definition at line 666 of file entityai.c.
|
protected |
Definition at line 3962 of file entityai.c.
|
protected |
Definition at line 3966 of file entityai.c.
|
protected |
If this item has class EnergyManager in its config then it returns true. Otherwise returns false.
Definition at line 3374 of file entityai.c.
|
protected |
Override this method to return TRUE when this item has or can provide fire. Evaluated on server and client.
Definition at line 528 of file entityai.c.
|
protected |
Definition at line 2193 of file entityai.c.
|
protected |
Turnable Valve behaviour.
|
protected |
Definition at line 2160 of file entityai.c.
|
protected |
used as script-side override of distance for specific height checks
Definition at line 636 of file entityai.c.
|
protected |
used as script-side override of start pos for specific height checks
Definition at line 642 of file entityai.c.
|
protected |
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'.
Definition at line 1383 of file entityai.c.
|
protected |
Hides selection of the given name. Must be configed in config.cpp and models.cfg.
Definition at line 3309 of file entityai.c.
|
protected |
Definition at line 1770 of file entityai.c.
|
protected |
Reset economy lifetime to default (seconds)
|
protected |
Reset economy lifetime to default across entity hierarchy all the way to the topmost entity.
Definition at line 3343 of file entityai.c.
|
protected |
override to init part of the mask, independent of slot-specific behavior
|
protected |
Definition at line 4205 of file entityai.c.
|
protected |
Definition at line 4217 of file entityai.c.
|
protected |
Definition at line 4298 of file entityai.c.
|
protected |
adding base one-directional relations between headgear, masks, eyewear, and headstraps (exception)
Definition at line 4245 of file entityai.c.
|
protected |
Definition at line 2241 of file entityai.c.
|
protected |
Definition at line 2399 of file entityai.c.
|
protected |
Definition at line 724 of file entityai.c.
|
protected |
Definition at line 559 of file entityai.c.
|
protected |
Definition at line 1648 of file entityai.c.
|
protected |
Definition at line 564 of file entityai.c.
|
protected |
is this container empty or not, checks both cargo and attachments
Definition at line 648 of file entityai.c.
|
protected |
Definition at line 712 of file entityai.c.
checks 'this' if the incoming flag is present for the current state (slot behavior and others)
Definition at line 4511 of file entityai.c.
Gets flag from what is effectively an owner.
Definition at line 4528 of file entityai.c.
|
protected |
on server only
Definition at line 2475 of file entityai.c.
|
protected |
returns item behaviour of item (more in ItemBase)
Definition at line 3780 of file entityai.c.
|
protected |
Definition at line 1653 of file entityai.c.
|
protected |
Override this method and make it so it returns whenever this item is on fire right now or not. Evaluated on Server and Client.
Definition at line 546 of file entityai.c.
|
protected |
Definition at line 739 of file entityai.c.
|
protected |
Definition at line 714 of file entityai.c.
|
protected |
Definition at line 2621 of file entityai.c.
|
protected |
Definition at line 1846 of file entityai.c.
|
protected |
Definition at line 4639 of file entityai.c.
|
protected |
returns item behaviour of item (more in ItemBase)
Definition at line 3786 of file entityai.c.
|
protected |
|
protected |
Definition at line 719 of file entityai.c.
|
protected |
Definition at line 824 of file entityai.c.
|
protected |
Definition at line 838 of file entityai.c.
|
protected |
Definition at line 693 of file entityai.c.
|
protected |
Definition at line 3806 of file entityai.c.
Definition at line 2724 of file entityai.c.
|
protected |
Definition at line 802 of file entityai.c.
|
protected |
Skinning.
Definition at line 485 of file entityai.c.
Definition at line 1820 of file entityai.c.
|
protected |
returns just the configured 'canBeSplit' bool
Definition at line 654 of file entityai.c.
|
protected |
Definition at line 2703 of file entityai.c.
|
protected |
Definition at line 1791 of file entityai.c.
Final evaluation just before the target item is actually ignited. Evaluated on Server.
Definition at line 600 of file entityai.c.
Final evaluation just before this item is actually ignited from fire source. Evaluated on Server.
Definition at line 606 of file entityai.c.
|
protected |
returns item behaviour of item (more in ItemBase)
Definition at line 3792 of file entityai.c.
|
protected |
Universal Temperature Sources Helpers.
Definition at line 4119 of file entityai.c.
'true' if this variable has ever been changed from default
Definition at line 3082 of file entityai.c.
|
protected |
Definition at line 729 of file entityai.c.
|
protected |
Definition at line 734 of file entityai.c.
|
protected |
Definition at line 1093 of file entityai.c.
|
protected |
Definition at line 3132 of file entityai.c.
Definition at line 2048 of file entityai.c.
Definition at line 2034 of file entityai.c.
Definition at line 1967 of file entityai.c.
Definition at line 1903 of file entityai.c.
|
protected |
Definition at line 1937 of file entityai.c.
|
protected |
Definition at line 1870 of file entityai.c.
|
protected |
Definition at line 1999 of file entityai.c.
|
protected |
Definition at line 1983 of file entityai.c.
|
protected |
Definition at line 1919 of file entityai.c.
|
protected |
Definition at line 1949 of file entityai.c.
|
protected |
Definition at line 1885 of file entityai.c.
|
protected |
Definition at line 2015 of file entityai.c.
Log.
Definition at line 467 of file entityai.c.
LogError.
Definition at line 479 of file entityai.c.
LogWarning.
Definition at line 473 of file entityai.c.
|
protected |
Definition at line 3614 of file entityai.c.
|
protected |
Called when some attachment of this parent is ruined. Called on server and client side.
|
protected |
|
protected |
Called when an item fails to get loaded into the inventory of an entity and gets dropped.
Definition at line 1376 of file entityai.c.
|
protected |
Definition at line 1789 of file entityai.c.
|
protected |
Central economy calls this function whenever going over all the entities.
Definition at line 3823 of file entityai.c.
|
protected |
Definition at line 951 of file entityai.c.
|
protected |
Definition at line 950 of file entityai.c.
|
protected |
Called when the health gets to the min value, 'oldLevel' is previous health level, 'oldLevel' -1 means this entity was just spawned.
|
protected |
Definition at line 3274 of file entityai.c.
|
protected |
Definition at line 3275 of file entityai.c.
|
protected |
Definition at line 3864 of file entityai.c.
|
protected |
Definition at line 3859 of file entityai.c.
|
protected |
Energy manager event: Called when energy was added on this device. ALWAYS CALL super.OnEnergyAdded() !!!
Definition at line 3415 of file entityai.c.
|
protected |
Energy manager event: Called when energy was consumed on this device. ALWAYS CALL super.OnEnergyConsumed() !!!
Definition at line 3412 of file entityai.c.
|
protected |
Definition at line 936 of file entityai.c.
|
protected |
|
protected |
|
protected |
|
protected |
Executed on Server when this item ignites some target item.
Definition at line 576 of file entityai.c.
|
protected |
Executed on Server when this item failed to ignite target item.
Definition at line 588 of file entityai.c.
|
protected |
Executed on Server when some item ignited this one.
Definition at line 582 of file entityai.c.
|
protected |
Executed on Server when some item failed to ignite this one.
Definition at line 594 of file entityai.c.
|
protected |
Energy manager event: Object's initialization. Energy Manager is fully initialized by this point.
Definition at line 3409 of file entityai.c.
|
protected |
Definition at line 889 of file entityai.c.
|
protected |
Energy manager event: Called when this device is plugged into some energy source.
Definition at line 3397 of file entityai.c.
|
protected |
Energy manager event: Called when this device is UNPLUGGED from the energy source.
Definition at line 3400 of file entityai.c.
|
protected |
Definition at line 953 of file entityai.c.
Definition at line 949 of file entityai.c.
|
protected |
|
protected |
note, that the deltaTime could be reverse-calculated and not totally accurate
|
protected |
override to implement desired overheat behavior on entity
|
protected |
Called when this item enters cargo of some container.
Definition at line 1314 of file entityai.c.
|
protected |
Called when this item moves within cargo of some container.
Definition at line 1327 of file entityai.c.
|
protected |
Energy manager event: When something is UNPLUGGED from this device.
Definition at line 3406 of file entityai.c.
|
protected |
Energy manager event: When something is plugged into this device.
Definition at line 3403 of file entityai.c.
|
protected |
|
protected |
|
protected |
|
protected |
Called when this item exits cargo of some container.
Definition at line 1321 of file entityai.c.
|
protected |
Definition at line 3418 of file entityai.c.
|
protected |
Called when data is loaded from persistence (on server side).
Definition at line 2942 of file entityai.c.
|
protected |
Engine calls this function to collect data from entity to store for persistence (on server side).
Definition at line 2878 of file entityai.c.
|
protected |
Energy manager event: Called when the device is switched OFF.
Definition at line 3394 of file entityai.c.
|
protected |
Energy manager event: Called when the device is switched on.
Definition at line 3391 of file entityai.c.
|
protected |
Called on clients after receiving synchronization data from server.
Definition at line 3027 of file entityai.c.
Definition at line 1779 of file entityai.c.
|
protected |
|
protected |
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.
Definition at line 3385 of file entityai.c.
|
protected |
Energy manager event: Called only once when this device starts doing its work.
Definition at line 3382 of file entityai.c.
|
protected |
Energy manager event: Called when the device stops working (was switched OFF or ran out of energy)
Definition at line 3388 of file entityai.c.
|
protected |
|
protected |
Should return false if you want to disable hologram rotation.
Definition at line 570 of file entityai.c.
|
protected |
Definition at line 2043 of file entityai.c.
Put item into as attachment.
Definition at line 2027 of file entityai.c.
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.
Definition at line 1960 of file entityai.c.
Put item into into cargo.
Definition at line 1896 of file entityai.c.
|
protected |
Put item into into cargo on specific cargo location.
Definition at line 1930 of file entityai.c.
|
protected |
Put item anywhere into this entity (as attachment or into cargo, recursively)
Definition at line 1863 of file entityai.c.
|
protected |
Definition at line 1992 of file entityai.c.
|
protected |
Definition at line 1976 of file entityai.c.
|
protected |
Definition at line 1912 of file entityai.c.
|
protected |
Definition at line 1942 of file entityai.c.
|
protected |
Definition at line 1878 of file entityai.c.
|
protected |
Definition at line 2008 of file entityai.c.
|
protected |
Definition at line 3938 of file entityai.c.
Definition at line 3920 of file entityai.c.
|
protected |
Definition at line 3835 of file entityai.c.
|
protected |
Reads from storage CTX.
Definition at line 3165 of file entityai.c.
|
protected |
refreshes access without setting temperature, keeps the source locked in
Definition at line 2388 of file entityai.c.
|
protected |
registers bool variable synchronized over network
| [in] | variableName | which variable should be synchronized |
|
protected |
when bool variable is true, it's sent to clients and become false again
| [in] | variableName | which variable should be synchronized |
|
protected |
registers float variable synchronized over network
| [in] | variableName | which variable should be synchronized |
| [in] | minValue | minimal value used for quantization (when minValue == maxValue, no quatization is done) |
| [in] | maxValue | maximal value used for quantization (when minValue == maxValue, no quatization is done) |
| [in] | precision | precision in number of digits after decimal point |
|
protected |
registers int variable synchronized over network
| [in] | variableName | which variable should be synchronized |
| [in] | minValue | minimal value used for quantization (when minValue == maxValue, no quatization is done) |
| [in] | maxValue | maximal value used for quantization (when minValue == maxValue, no quatization is done) |
|
protected |
registers object variable synchronized over network, only synchronizes if network id is assigned. Doesn't handle object despawn on client
| [in] | variableName | which variable should be synchronized |
|
protected |
Definition at line 4034 of file entityai.c.
|
protected |
|
protected |
|
protected |
|
protected |
Removes variable from variable mask, making it appear as though the variable has never been changed from default.
Definition at line 3097 of file entityai.c.
|
protected |
Definition at line 1083 of file entityai.c.
|
protected |
Definition at line 3114 of file entityai.c.
Definition at line 3193 of file entityai.c.
Definition at line 2053 of file entityai.c.
Definition at line 2038 of file entityai.c.
Definition at line 1971 of file entityai.c.
Definition at line 1907 of file entityai.c.
|
protected |
Definition at line 1874 of file entityai.c.
|
protected |
Definition at line 2003 of file entityai.c.
|
protected |
Definition at line 1987 of file entityai.c.
|
protected |
Definition at line 1923 of file entityai.c.
|
protected |
Definition at line 1953 of file entityai.c.
|
protected |
Definition at line 1889 of file entityai.c.
|
protected |
Definition at line 2019 of file entityai.c.
|
protected |
|
protected |
Definition at line 490 of file entityai.c.
|
protected |
Definition at line 4399 of file entityai.c.
sets values for specific slot
Definition at line 4406 of file entityai.c.
Definition at line 3961 of file entityai.c.
Definition at line 3965 of file entityai.c.
|
protected |
0->1 when freezing, 1->0 when thawing
Definition at line 2481 of file entityai.c.
|
protected |
Definition at line 4649 of file entityai.c.
|
protected |
Definition at line 2496 of file entityai.c.
|
protected |
Definition at line 3969 of file entityai.c.
Definition at line 2631 of file entityai.c.
|
protected |
Set (override) remaining economy lifetime (seconds)
|
protected |
Set (override) max economy lifetime per entity instance (seconds)
Change material in hiddenSelections.
Change texture in hiddenSelections.
|
protected |
Definition at line 4148 of file entityai.c.
|
protected |
|
protected |
Definition at line 819 of file entityai.c.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 698 of file entityai.c.
Simple hidden selection state; 0 == hidden.
|
protected |
|
protected |
|
protected |
Sets object synchronization dirty flag, which signalize that object wants to be synchronized (take effect only in MP on server side)
|
protected |
not really deprecated, but missing context info from TemperatureData. Default values used instead.
Definition at line 2279 of file entityai.c.
Definition at line 2264 of file entityai.c.
|
protected |
sets temperature, handles base overheating and freezing state progression logics
CanFreeze
Definition at line 2298 of file entityai.c.
|
protected |
presumably for debug purposes?
Definition at line 2407 of file entityai.c.
|
protected |
Definition at line 4129 of file entityai.c.
|
protected |
Definition at line 3087 of file entityai.c.
|
protected |
Sets item preview index.
Definition at line 3676 of file entityai.c.
|
protected |
Definition at line 3514 of file entityai.c.
|
protected |
|
protected |
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'.
Definition at line 1401 of file entityai.c.
|
protected |
Shows selection of the given name. Must be configed in config.hpp and models.cfg.
Definition at line 3318 of file entityai.c.
|
protected |
Definition at line 4022 of file entityai.c.
|
protected |
Definition at line 4010 of file entityai.c.
|
protected |
Definition at line 4028 of file entityai.c.
|
protected |
Definition at line 4016 of file entityai.c.
Definition at line 2120 of file entityai.c.
Definition at line 2109 of file entityai.c.
|
protected |
Definition at line 2093 of file entityai.c.
|
protected |
|
protected |
Definition at line 3102 of file entityai.c.
Definition at line 4113 of file entityai.c.
|
protected |
Definition at line 843 of file entityai.c.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 2236 of file entityai.c.
|
protected |
Writes to storage CTX.
Definition at line 3152 of file entityai.c.
|
protected |
Definition at line 129 of file entityai.c.
|
protected |
Definition at line 123 of file entityai.c.
|
protected |
Definition at line 131 of file entityai.c.
|
protected |
Definition at line 162 of file entityai.c.
Definition at line 137 of file entityai.c.
|
protected |
Definition at line 160 of file entityai.c.
|
protected |
Definition at line 161 of file entityai.c.
|
protected |
Definition at line 189 of file entityai.c.
|
protected |
Definition at line 187 of file entityai.c.
|
protected |
Definition at line 191 of file entityai.c.
|
protected |
Definition at line 173 of file entityai.c.
|
protected |
Definition at line 169 of file entityai.c.
|
protected |
Definition at line 171 of file entityai.c.
|
protected |
Definition at line 179 of file entityai.c.
|
protected |
Definition at line 177 of file entityai.c.
|
protected |
Definition at line 175 of file entityai.c.
|
protected |
Definition at line 193 of file entityai.c.
|
protected |
Definition at line 185 of file entityai.c.
|
protected |
Definition at line 183 of file entityai.c.
|
protected |
Definition at line 181 of file entityai.c.
|
protected |
Definition at line 164 of file entityai.c.
Definition at line 136 of file entityai.c.
|
protected |
Definition at line 132 of file entityai.c.
Definition at line 106 of file entityai.c.
|
protected |
Definition at line 158 of file entityai.c.
Definition at line 138 of file entityai.c.
|
protected |
Definition at line 139 of file entityai.c.
|
protected |
Definition at line 134 of file entityai.c.
|
protected |
Definition at line 156 of file entityai.c.
|
protected |
Definition at line 144 of file entityai.c.
|
protected |
Definition at line 147 of file entityai.c.
|
protected |
Definition at line 151 of file entityai.c.
|
protected |
Definition at line 153 of file entityai.c.
|
protected |
Definition at line 148 of file entityai.c.
|
protected |
Definition at line 150 of file entityai.c.
|
protected |
Definition at line 149 of file entityai.c.
|
protected |
Definition at line 155 of file entityai.c.
|
protected |
Definition at line 152 of file entityai.c.
|
protected |
Definition at line 154 of file entityai.c.
|
protected |
view index Item 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).
Definition at line 3673 of file entityai.c.