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

Private Member Functions

void DeferredHandEvent (InventoryMode mode, HandEventBase e)
 
override bool ReserveInventory (HumanInventory inventory)
 
override void ClearInventoryReservation (HumanInventory inventory)
 

Private Attributes

ref HandEventBase m_event
 

Detailed Description

Definition at line 105 of file DayZPlayerInventory.c.

Constructor & Destructor Documentation

◆ DeferredHandEvent()

void DeferredHandEvent::DeferredHandEvent ( InventoryMode mode,
HandEventBase e )
inlineprivate

Definition at line 108 of file DayZPlayerInventory.c.

109 {
110 m_mode = mode;
111 m_event = e;
112 }
InventoryMode m_mode
ref HandEventBase m_event

References m_event, and DeferredEvent::m_mode.

Member Function Documentation

◆ ClearInventoryReservation()

override void DeferredHandEvent::ClearInventoryReservation ( HumanInventory inventory)
inlineprivate

Definition at line 119 of file DayZPlayerInventory.c.

120 {
121 m_event.ClearInventoryReservation();
122 }

References m_event.

◆ ReserveInventory()

override bool DeferredHandEvent::ReserveInventory ( HumanInventory inventory)
inlineprivate

Definition at line 114 of file DayZPlayerInventory.c.

115 {
116 return m_event.ReserveInventory();
117 }

References m_event.

Member Data Documentation

◆ m_event

ref HandEventBase DeferredHandEvent::m_event
private

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