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

Go to the source code of this file.

Classes

class  HFSMBase< HandStateBase, HandEventBase, HandActionBase, HandGuardBase >
 

Typedefs

typedef FSMTransition< HandStateBase, HandEventBase, HandActionBase, HandGuardBaseHandTransition
 

Functions

void hndDebugPrint (string s)
 
void hndDebugSpam (string s)
 
void hndDebugSpamALot (string s)
 

Typedef Documentation

◆ HandTransition

Function Documentation

◆ hndDebugPrint()

void hndDebugPrint ( string s)

Definition at line 1 of file HandFSM.c.

2{
3#ifdef INV_DEBUG
4 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
5#else
6 //Print("" + s); // comment/uncomment to hide/see debug logs
7#endif
8}
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...

References PrintToRPT().

Referenced by ReplaceItemWithNewLambdaBase::CopyOldPropertiesToNew(), ReplaceItemWithNewLambdaBase::CreateNetworkObjectInfo(), ReplaceItemWithNewLambdaBase::CreateNewEntity(), ReplaceItemWithNewLambdaBase::DeleteOldEntity(), HumanInventory::DropEntity(), ReplaceItemWithNewLambdaBase::Execute(), Execute(), HumanInventory::ForceSwapEntities(), HandGuardBase::GuardCondition(), HandleHandEvent(), HandleInventory(), HumanInventoryWithFSM::Init(), Init(), HumanInventory::LocalDestroyEntity(), HandStateBase::OnAbort(), HumanInventory::OnEntityInHandsCreated(), HumanInventory::OnEntityInHandsDestroyed(), HandStateBase::OnEntry(), HandStateBase::OnExit(), OnHandsEnteredStableState(), OnHandsExitedStableState(), OnHandsStateChanged(), ReplaceItemWithNewLambdaBase::OnSuccess(), ReplaceItemWithNewLambdaBase::PrepareLocations(), HumanInventory::RedirectToHandEvent(), HumanInventory::ReplaceItemInElsewhereWithNewinHandsImpl(), HumanInventory::ReplaceItemInHandsWithNewImpl(), SelectAnimationOfForceSwapInHands(), SelectAnimationOfMoveFromHands(), SelectAnimationOfTakeToHands(), HumanInventory::SwapEntities(), SyncHandEventToRemote(), HumanInventory::TakeEntityAsAttachmentEx(), HumanInventory::TakeEntityToCargoEx(), HumanInventory::TakeEntityToInventory(), HumanInventory::TakeToDst(), and HumanInventory::ThrowEntity().

◆ hndDebugSpam()

void hndDebugSpam ( string s)

Definition at line 9 of file HandFSM.c.

10{
11#ifdef INV_DEBUG_SPAM
12 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
13#else
14 //Print("" + s); // comment/uncomment to hide/see debug logs
15#endif
16}

References PrintToRPT().

Referenced by OnHandEventForRemote(), and HumanInventoryWithFSM::ProcessHandAbortEvent().

◆ hndDebugSpamALot()

void hndDebugSpamALot ( string s)

Definition at line 17 of file HandFSM.c.

18{
19#ifdef INV_DEBUG_SPAM_FREQ
20 PrintToRPT("" + s); // comment/uncomment to hide/see debug logs
21#else
22 //Print("" + s); // comment/uncomment to hide/see debug logs
23#endif
24}

References PrintToRPT().

Referenced by HandleInventory().