DayZ 1.24
Loading...
Searching...
No Matches
ActionTakeFireplaceFromBarrel.c File Reference

Go to the source code of this file.

Classes

class  ActionTakeFireplaceFromBarrel
 

Functions

void TakeFireplaceFromBarrelLambda (EntityAI old_item, string new_item_type, PlayerBase player)
 
void RemoveOldItemFromLocation ()
 
void UndoRemoveOldItemFromLocation ()
 
override void CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item)
 
void DeleteOldEntity ()
 
void CreateNetworkObjectInfo (EntityAI new_item)
 

Variables

ActionTakeFireplaceFromBarrel m_Player
 

Function Documentation

◆ CopyOldPropertiesToNew()

override void CopyOldPropertiesToNew ( notnull EntityAI old_item,
EntityAI new_item )
protected

Definition at line 67 of file ActionTakeFireplaceFromBarrel.c.

68 {
69 super.CopyOldPropertiesToNew(old_item, new_item);
70
72 }
ActionTakeFireplaceFromBarrel m_Player

References m_Player.

◆ CreateNetworkObjectInfo()

void CreateNetworkObjectInfo ( EntityAI new_item)
protected

Definition at line 79 of file ActionTakeFireplaceFromBarrel.c.

80 {
81 super.CreateNetworkObjectInfo(new_item);
82 GetGame().RemoteObjectTreeCreate(m_OldItem); // re-create network for old item
83 }
proto native CGame GetGame()

References GetGame().

◆ DeleteOldEntity()

void DeleteOldEntity ( )
protected

Definition at line 74 of file ActionTakeFireplaceFromBarrel.c.

75 {
76 // intentional no-operation
77 }

◆ RemoveOldItemFromLocation()

void RemoveOldItemFromLocation ( )
protected

Definition at line 57 of file ActionTakeFireplaceFromBarrel.c.

58 {
59 // intentional no-operation
60 m_RemoveFromLocationPassed = true; // but indicate the operation to be success
61 }

◆ TakeFireplaceFromBarrelLambda()

void TakeFireplaceFromBarrelLambda ( EntityAI old_item,
string new_item_type,
PlayerBase player )

Definition at line 52 of file ActionTakeFireplaceFromBarrel.c.

53 {
55 }

References m_Player.

Referenced by ActionTakeFireplaceFromBarrel::OnExecuteServer().

◆ UndoRemoveOldItemFromLocation()

void UndoRemoveOldItemFromLocation ( )
protected

Definition at line 62 of file ActionTakeFireplaceFromBarrel.c.

63 {
64 // undo nothing
65 }

Variable Documentation

◆ m_Player