PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
HandEventRemove Class Reference

Private Member Functions

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

Private Attributes

bool m_CanPerformDrop
 
vector m_Force
 

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

References GetDst(), GetGame(), GetSrcEntity(), InventoryValidation::m_IsJuncture, InventoryValidation::m_IsRemote, m_Player, InventoryValidation::m_Reason, 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)

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

◆ GetForce()

vector GetForce ( )
inlineprivate

References m_Force.

◆ HandEventDrop()

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

References m_EventID.

◆ HandEventThrow()

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

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

◆ ReadFromContext() [1/2]

override void ReadFromContext ( ParamsReadContext  ctx)
inlineprivate

◆ ReadFromContext() [2/2]

override void ReadFromContext ( ParamsReadContext  ctx)
inlineprivate

◆ SetForce()

void SetForce ( vector  force)
inlineprivate

◆ WriteToContext() [1/2]

override void WriteToContext ( ParamsWriteContext  ctx)
inlineprivate

◆ WriteToContext() [2/2]

override void WriteToContext ( ParamsWriteContext  ctx)
inlineprivate

References Serializer::Write().

Field Documentation

◆ m_CanPerformDrop

bool m_CanPerformDrop
private

◆ m_Force

vector m_Force
private

Referenced by GetForce().


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