DayZ 1.24
Loading...
Searching...
No Matches
ReplaceDetonatorItemLambda Class Reference
Inheritance diagram for ReplaceDetonatorItemLambda:
[legend]
Collaboration diagram for ReplaceDetonatorItemLambda:
[legend]

Private Member Functions

override void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 
- Private Member Functions inherited from ReplaceItemWithNewLambdaBase
bool WantCreateNewEntity ()
 
bool CanExecuteLambda ()
 
bool PrepareLocations ()
 Step A. - prepare inventory locations.
 
void RemoveOldItemFromLocation ()
 Step B. - free location for new item @NOTE this operation does not delete the object, only removes it from inventory location.
 
void UndoRemoveOldItemFromLocation ()
 
void RemoveNetworkObjectInfo ()
 Step C. - remove network part of the object @NOTE this operation does not delete the object, only removes its network part (and deletes it on client)
 
void UndoRemoveNetworkObjectInfo ()
 
EntityAI CreateNewEntity ()
 Step D. - create new entity (LOCAL) with specified type.
 
void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 Step E. copy properties from old object to the created one.
 
void DeleteOldEntity ()
 Step F. - deletes physically old item.
 
void CreateNetworkObjectInfo (EntityAI new_item)
 Step G. - create NetworkObjectInfo for new item.
 
void OnSuccess (EntityAI new_item)
 Step H. - notification on finish.
 
void OnAbort ()
 Step Out - notification on abort.
 
void Execute (HumanInventoryWithFSM fsm_to_notify=null)
 
string DumpToString ()
 

Additional Inherited Members

- Private Attributes inherited from ReplaceItemWithNewLambdaBase
ref InventoryLocation m_OldLocation
 
ref InventoryLocation m_NewLocation
 
bool m_RemoveFromLocationPassed = false
 

Detailed Description

Definition at line 250 of file RemoteDetonator.c.

Member Function Documentation

◆ CopyOldPropertiesToNew()

override void ReplaceDetonatorItemLambda::CopyOldPropertiesToNew ( notnull EntityAI old_item,
EntityAI new_item )
inlineprivate

Definition at line 252 of file RemoteDetonator.c.

253 {
254 super.CopyOldPropertiesToNew(old_item, new_item);
255
256 MiscGameplayFunctions.TransferItemProperties(old_item, new_item);
257 }

The documentation for this class was generated from the following file: