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

Abstracted event, not to be used, only inherited. More...

Private Member Functions

override bool AcquireInventoryJunctureFromServer (notnull Man player)
override bool AcquireInventoryJunctureFromServer (notnull Man player)
override bool AcquireInventoryJunctureFromServer (notnull Man player)
override bool AcquireInventoryJunctureFromServer (notnull Man player)
override bool CanPerformEvent ()
override bool CanPerformEvent ()
override bool CanPerformEvent ()
override bool CanPerformEventEx (InventoryValidation validation)
void CheckAndExecuteForceStandUp ()
override bool CheckRequest ()
override bool CheckRequest ()
override bool CheckRequest ()
override bool CheckRequest ()
override bool CheckRequestSrc ()
override bool CheckRequestSrc ()
override bool CheckRequestSrc ()
override bool CheckRequestSrc ()
override void ClearInventoryReservation ()
override string DumpToString ()
override string DumpToString ()
override string DumpToString ()
override InventoryLocation GetDst ()
override InventoryLocation GetDst ()
override InventoryLocation GetDst ()
override InventoryLocation GetDst ()
override InventoryLocation GetDst ()
override InventoryLocation GetSecondDst ()
override InventoryLocation GetSecondSrc ()
override EntityAI GetSecondSrcEntity ()
void HandAnimEventChanged (Man p=null, InventoryLocation src=null)
void HandEvengReplaceWithNewBase (Man p=null, InventoryLocation src=null, ReplaceItemWithNewLambdaBase lambda=NULL)
void HandEventCreated (Man p=null, InventoryLocation src=null)
void HandEventDestroy (Man p=null, InventoryLocation src=null)
void HandEventDestroyed (Man p=null, InventoryLocation src=null)
void HandEventHumanCommandActionAborted (Man p=null, InventoryLocation src=null)
void HandEventHumanCommandActionFinished (Man p=null, InventoryLocation src=null)
void HandEventMoveTo (Man p=null, InventoryLocation src=null, InventoryLocation dst=null)
 destination for item in hands
void HandEventReplaced (Man p=null, InventoryLocation src=null)
void HandEventSwap (Man p=null, InventoryLocation src=null, InventoryLocation src2=null, InventoryLocation dst=null, InventoryLocation dst2=null)
void HandEventTake (Man p=null, InventoryLocation src=null)
override bool IsServerSideOnly ()
override bool IsServerSideOnly ()
override void ReadFromContext (ParamsReadContext ctx)
override void ReadFromContext (ParamsReadContext ctx)
override void ReadFromContext (ParamsReadContext ctx)
override bool ReserveInventory ()
override void WriteToContext (ParamsWriteContext ctx)
override void WriteToContext (ParamsWriteContext ctx)
override void WriteToContext (ParamsWriteContext ctx)

Private Attributes

int m_Animation2ID = -1
 destination for old item that was in hands
ref InventoryLocation m_Dst
ref InventoryLocation m_Dst2
 src of old item in hands
ref ReplaceItemWithNewLambdaBase m_Lambda
ref InventoryLocation m_Src2
 destination for new item (i.e. hands)
string m_Type

Detailed Description

Abstracted event, not to be used, only inherited.

represents event that triggers transition from state to state

triggered when animation action aborts

triggered when animation action finishes

Definition at line 211 of file hand_events.c.

Member Function Documentation

◆ AcquireInventoryJunctureFromServer() [1/4]

override bool AcquireInventoryJunctureFromServer ( notnull Man player)
inlineprivate

Definition at line 683 of file hand_events.c.

References m_Dst, m_Dst2, m_Src, m_Src2, and TryAcquireTwoInventoryJuncturesFromServer().

◆ AcquireInventoryJunctureFromServer() [2/4]

override bool AcquireInventoryJunctureFromServer ( notnull Man player)
inlineprivate

◆ AcquireInventoryJunctureFromServer() [3/4]

override bool AcquireInventoryJunctureFromServer ( notnull Man player)
inlineprivate

◆ AcquireInventoryJunctureFromServer() [4/4]

override bool AcquireInventoryJunctureFromServer ( notnull Man player)
inlineprivate

◆ CanPerformEvent() [1/3]

◆ CanPerformEvent() [2/3]

◆ CanPerformEvent() [3/3]

override bool CanPerformEvent ( )
inlineprivate

◆ CanPerformEventEx()

◆ CheckAndExecuteForceStandUp()

void CheckAndExecuteForceStandUp ( )
inlineprivate

Definition at line 693 of file hand_events.c.

References m_Player, m_Src, and m_Src2.

◆ CheckRequest() [1/4]

◆ CheckRequest() [2/4]

override bool CheckRequest ( )
inlineprivate

◆ CheckRequest() [3/4]

override bool CheckRequest ( )
inlineprivate

◆ CheckRequest() [4/4]

override bool CheckRequest ( )
inlineprivate

◆ CheckRequestSrc() [1/4]

◆ CheckRequestSrc() [2/4]

◆ CheckRequestSrc() [3/4]

◆ CheckRequestSrc() [4/4]

◆ ClearInventoryReservation()

override void ClearInventoryReservation ( )
inlineprivate

Definition at line 718 of file hand_events.c.

References m_Dst, m_Dst2, and m_Player.

Referenced by OnInventoryJunctureFailureFromServer(), and ValidateHandEvent().

◆ DumpToString() [1/3]

override string DumpToString ( )
inlineprivate

◆ DumpToString() [2/3]

override string DumpToString ( )
inlineprivate

◆ DumpToString() [3/3]

◆ GetDst() [1/5]

override InventoryLocation GetDst ( )
inlineprivate

Definition at line 806 of file hand_events.c.

References GetSrcEntity(), m_Player, and InventoryLocation::SetHands().

◆ GetDst() [2/5]

override InventoryLocation GetDst ( )
inlineprivate

Definition at line 600 of file hand_events.c.

References m_Dst.

◆ GetDst() [3/5]

override InventoryLocation GetDst ( )
inlineprivate

Definition at line 348 of file hand_events.c.

References m_Dst.

◆ GetDst() [4/5]

override InventoryLocation GetDst ( )
inlineprivate

Definition at line 291 of file hand_events.c.

References m_Dst.

◆ GetDst() [5/5]

◆ GetSecondDst()

override InventoryLocation GetSecondDst ( )
inlineprivate

Definition at line 610 of file hand_events.c.

References m_Dst2.

Referenced by ValidateHandEvent().

◆ GetSecondSrc()

override InventoryLocation GetSecondSrc ( )
inlineprivate

Definition at line 605 of file hand_events.c.

References m_Src2.

Referenced by ValidateHandEvent().

◆ GetSecondSrcEntity()

override EntityAI GetSecondSrcEntity ( )
inlineprivate

Definition at line 615 of file hand_events.c.

References m_Src2.

Referenced by ValidateHandEvent().

◆ HandAnimEventChanged()

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

Definition at line 844 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEvengReplaceWithNewBase()

void HandEvengReplaceWithNewBase ( Man p = null,
InventoryLocation src = null,
ReplaceItemWithNewLambdaBase lambda = NULL )
inlineprivate

Definition at line 789 of file hand_events.c.

References m_EventID, and m_Lambda.

◆ HandEventCreated()

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

Definition at line 776 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventDestroy()

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

Definition at line 769 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventDestroyed()

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

Definition at line 781 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventHumanCommandActionAborted()

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

Definition at line 867 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventHumanCommandActionFinished()

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

Definition at line 861 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventMoveTo()

void HandEventMoveTo ( Man p = null,
InventoryLocation src = null,
InventoryLocation dst = null )
inlineprivate

destination for item in hands

Definition at line 277 of file hand_events.c.

References m_Dst, and m_EventID.

Referenced by HandEventFactory().

◆ HandEventReplaced()

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

Definition at line 837 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ HandEventSwap()

void HandEventSwap ( Man p = null,
InventoryLocation src = null,
InventoryLocation src2 = null,
InventoryLocation dst = null,
InventoryLocation dst2 = null )
inlineprivate

Definition at line 568 of file hand_events.c.

References m_Dst, m_Dst2, m_EventID, and m_Src2.

Referenced by HandEventFactory().

◆ HandEventTake()

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

Definition at line 213 of file hand_events.c.

References m_EventID.

Referenced by HandEventFactory().

◆ IsServerSideOnly() [1/2]

override bool IsServerSideOnly ( )
inlineprivate

Definition at line 804 of file hand_events.c.

◆ IsServerSideOnly() [2/2]

override bool IsServerSideOnly ( )
inlineprivate

◆ ReadFromContext() [1/3]

override void ReadFromContext ( ParamsReadContext ctx)
inlineprivate

Definition at line 791 of file hand_events.c.

References Error(), m_Type, and Serializer::Read().

◆ ReadFromContext() [2/3]

override void ReadFromContext ( ParamsReadContext ctx)
inlineprivate

Definition at line 576 of file hand_events.c.

References m_Animation2ID, m_Dst, m_Dst2, m_Src2, and Serializer::Read().

◆ ReadFromContext() [3/3]

override void ReadFromContext ( ParamsReadContext ctx)
inlineprivate

Definition at line 279 of file hand_events.c.

References m_Dst, and InventoryLocation::ReadFromContext().

Referenced by CreateHandEventFromContext().

◆ ReserveInventory()

override bool ReserveInventory ( )
inlineprivate

◆ WriteToContext() [1/3]

override void WriteToContext ( ParamsWriteContext ctx)
inlineprivate

Definition at line 797 of file hand_events.c.

References Error(), m_Type, and Serializer::Write().

◆ WriteToContext() [2/3]

override void WriteToContext ( ParamsWriteContext ctx)
inlineprivate

Definition at line 590 of file hand_events.c.

References m_Animation2ID, m_Dst, m_Dst2, m_Src2, and Serializer::Write().

◆ WriteToContext() [3/3]

override void WriteToContext ( ParamsWriteContext ctx)
inlineprivate

Definition at line 285 of file hand_events.c.

References m_Dst.

Referenced by InventoryInputUserData::SerializeHandEvent(), and SyncHandEventToRemote().

Field Documentation

◆ m_Animation2ID

int m_Animation2ID = -1
private

destination for old item that was in hands

Definition at line 566 of file hand_events.c.

Referenced by ReadFromContext(), and WriteToContext().

◆ m_Dst

◆ m_Dst2

◆ m_Lambda

ref ReplaceItemWithNewLambdaBase m_Lambda
private

Definition at line 787 of file hand_events.c.

Referenced by DumpToString(), and HandEvengReplaceWithNewBase().

◆ m_Src2

◆ m_Type

string m_Type
private

Definition at line 786 of file hand_events.c.

Referenced by ReadFromContext(), and WriteToContext().


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