Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HandEventRemove Class Reference

Private Member Functions

override bool CanPerformEventEx (InventoryValidation validation)
override bool CheckRequestEx (InventoryValidation validation)
vector GetForce ()
void HandEventDrop (Man p=null, InventoryLocation src=null)
void HandEventThrow (Man p=null, InventoryLocation src=null)
override void ReadFromContext (ParamsReadContext ctx)
override void ReadFromContext (ParamsReadContext ctx)
void SetForce (vector force)
override void WriteToContext (ParamsWriteContext ctx)
override void WriteToContext (ParamsWriteContext ctx)

Private Attributes

bool m_CanPerformDrop
vector m_Force
bool m_IsSet

Detailed Description

Definition at line 431 of file hand_events.c.

Member Function Documentation

◆ CanPerformEventEx()

override bool CanPerformEventEx ( InventoryValidation validation)
inlineprivate

On multiplayer client, if this is the initial call then we are waiting for the server to setup this event still

Singleplayer or server was initial caller

Definition at line 478 of file hand_events.c.

References g_Game, GetSrcEntity(), m_CanPerformDrop, InventoryValidation::m_IsJuncture, InventoryValidation::m_IsRemote, m_IsSet, InventoryValidation::m_Mode, m_Player, and GameInventory::SetGroundPosByOwner().

◆ CheckRequestEx()

override bool CheckRequestEx ( InventoryValidation validation)
inlineprivate

Check to see if this is the initial call from the server (but the event originated from a client)

Definition at line 460 of file hand_events.c.

References GetSrcEntity(), IsAuthoritative(), m_CanPerformDrop, InventoryValidation::m_IsJuncture, m_IsSet, InventoryValidation::m_Mode, m_Player, InventoryValidation::m_Reason, and GameInventory::SetGroundPosByOwner().

◆ GetForce()

vector GetForce ( )
inlineprivate

Definition at line 555 of file hand_events.c.

References m_Force.

◆ HandEventDrop()

void HandEventDrop ( Man p = null,
InventoryLocation src = null )
inlineprivate

Definition at line 433 of file hand_events.c.

References m_CanPerformDrop, m_EventID, and m_IsSet.

◆ HandEventThrow()

void HandEventThrow ( Man p = null,
InventoryLocation src = null )
inlineprivate

Definition at line 507 of file hand_events.c.

References Error(), GetSrcEntity(), and m_EventID.

◆ ReadFromContext() [1/2]

override void ReadFromContext ( ParamsReadContext ctx)
inlineprivate

Definition at line 527 of file hand_events.c.

References m_Force, Serializer::Read(), InventoryLocation::ReadFromContext(), x, and y.

◆ ReadFromContext() [2/2]

override void ReadFromContext ( ParamsReadContext ctx)
inlineprivate

◆ SetForce()

void SetForce ( vector force)
inlineprivate

Definition at line 554 of file hand_events.c.

References m_Force.

◆ WriteToContext() [1/2]

override void WriteToContext ( ParamsWriteContext ctx)
inlineprivate

Definition at line 543 of file hand_events.c.

References m_Force, and Serializer::Write().

◆ WriteToContext() [2/2]

override void WriteToContext ( ParamsWriteContext ctx)
inlineprivate

Field Documentation

◆ m_CanPerformDrop

bool m_CanPerformDrop
private

◆ m_Force

vector m_Force
private

Definition at line 557 of file hand_events.c.

Referenced by GetForce(), ReadFromContext(), SetForce(), and WriteToContext().

◆ m_IsSet

bool m_IsSet
private

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