class ReplaceItemWithNewLambdaBaseSource
View all 41 descendants
- BreakLongWoodenStick
- ChainedDropAndKillPlayerLambda
- DropEquipAndDestroyRootLambda
- EmptySeedsPackLambda
- MoveEquipToExistingItemAndDestroyOldRootLambda
- ReplaceDetonatorItemLambda
- ReplaceItemWithNewLambda
- ActionCollectBloodTargetLambda
- TurnItemIntoItemLambda
- ColourClothesLambda
- CoverHeadOfTargetPlayerLambda
- FireplaceToIndoorOvenLambda
- FireplaceToIndoorsLambda
- FoldBandanaToSlotLambda
- OpenAndSwitchLambda
- PaintItemLambda
- RepackLambda
- ReplaceEdibleWithNewLambda
- ReplaceWheelLambda
- ReplaceWithNewReciveCargoLambda
- RestrainTargetPlayerLambda
- SyringeLambda
- TanLeatherLambda
- TurnItemIntoItemLambdaAnimSysNotifyLambda
- UnfoldBandanaLambda
- UnfoldEntityLambda
- UngagSelfLambda
- TakeFireplaceFromBarrelLambda
- TakeFireplaceFromIndoorLambda
- TakeOvenFromIndoorLambda
- TorchLambda
- UnboxLambda
- UnrestrainSelfPlayer
base class for transformation operations (creating one item from another)
Constructors 1
Members 6
EntityAI m_OldItemShow 15 more
, ReplaceDetonatorItemOnDisarmLambda.OnAbort(), ReplaceDetonatorItemOnDisarmLambda.OnSuccess(), CanExecuteLambda(), CreateNewEntity(), DeleteOldEntity(), DumpToString(), Execute(), PrepareLocations(), RemoveNetworkObjectInfo(), ReplaceItemWithNewLambdaBase(), UndoRemoveNetworkObjectInfo(), ReplaceWheelLambda.CanExecuteLambda(), TakeFireplaceFromBarrelLambda.CreateNetworkObjectInfo(), TurnItemIntoItemLambda.VerifyItemTypeBySlotType(), and UngagSelfLambda.UngagSelfLambda()string m_NewItemTypeprotected ref InventoryLocation m_OldLocationprotected ref InventoryLocation m_NewLocationprotected bool m_RemoveFromLocationPassed = falseprivate bool m_RemoveNetworkObjectInfoPassed = falseMethods 17
void OverrideNewLocation(InventoryLocation newLocation)Show 9 more
, ChainedDropAndKillPlayerLambda.ChainedDropAndKillPlayerLambda(), CoverHeadOfTargetPlayerLambda.CoverHeadOfTargetPlayerLambda(), DestroyItemInCorpsesHandsAndCreateNewOnGndLambda.DestroyItemInCorpsesHandsAndCreateNewOnGndLambda(), FireplaceToIndoorOvenLambda.FireplaceToIndoorOvenLambda(), FireplaceToIndoorsLambda.FireplaceToIndoorsLambda(), FoldBandanaToSlotLambda.FoldBandanaToSlotLambda(), RepackLambda.RepackLambda(), RestrainTargetPlayerLambda.RestrainTargetPlayerLambda(), and UngagSelfLambda.UngagSelfLambda()void VerifyItemTypeBySlotType()protected bool WantCreateNewEntity()protected bool PrepareLocations()Step A. - prepare inventory locations
Show 16 more
, Error(), GameInventory.GetCurrentInventoryLocation(), InventoryLocation.GetDir(), EntityAI.GetInventory(), InventoryLocation.GetParent(), InventoryLocation.GetPos(), InventoryLocation.GetType(), hndDebugPrint(), LogManager.IsInventoryHFSMLogEnable(), Math3D.MatrixIdentity4(), InventoryLocation.SetGround(), InventoryLocation.SetGroundEx(), m_NewItemType, m_NewLocation, m_OldItem, and m_OldLocationprotected void RemoveOldItemFromLocation()Step B. - free location for new item @NOTE this operation does not delete the object, only removes it from inventory location
Show 3 more
, Print(), m_OldLocation, and m_RemoveFromLocationPassedprotected void UndoRemoveOldItemFromLocation()Show 2 more
, Print(), and m_OldLocationprotected void RemoveNetworkObjectInfo()Step C. - remove network part of the object @NOTE this operation does not delete the object, only removes its network part (and deletes it on client)
protected void UndoRemoveNetworkObjectInfo()protected EntityAI CreateNewEntity()Step D. - create new entity (LOCAL) with specified type
@NOTE: if (!m_NewLocation || m_NewItemType.Empty) ==> this function does not create a new entity
Show 17 more
, CGame.CreateObjectEx(), Object.GetOrientation(), InventoryLocation.GetParent(), InventoryLocation.GetPos(), InventoryLocation.GetSlot(), InventoryLocation.GetType(), hndDebugPrint(), LogManager.IsInventoryHFSMLogEnable(), GameInventory.LocationCreateEntity(), GameInventory.LocationCreateLocalEntity(), InventoryLocation.SetAttachment(), Object.SetOrientation(), VerifyItemTypeBySlotType(), WantCreateNewEntity(), m_NewItemType, m_NewLocation, and m_OldItemStep E. copy properties from old object to the created one
@NOTE: This is supposed to be overriden in derived classes
Show 9 more
, MoveEquipToExistingItemAndDestroyOldRootLambda.CopyOldPropertiesToNew(), ReplaceDetonatorItemLambda.CopyOldPropertiesToNew(), ReplaceItemWithNewLambda.CopyOldPropertiesToNew(), Execute(), TakeFireplaceFromBarrelLambda.CopyOldPropertiesToNew(), TakeFireplaceFromIndoorLambda.CopyOldPropertiesToNew(), TakeOvenFromIndoorLambda.CopyOldPropertiesToNew(), TorchLambda.CopyOldPropertiesToNew(), and UnboxLambda.CopyOldPropertiesToNew()protected void DeleteOldEntity()Step F. - deletes physically old item
Show 1 more
, m_OldItemprotected void CreateNetworkObjectInfo(EntityAI new_item)Step G. - create NetworkObjectInfo for new item
@NOTE: new_item can be null if the lambda did not create any item (intentionaly)
protected void OnSuccess(EntityAI new_item)Step H. - notification on finish
@NOTE: new_item can be null if the lambda did not create any item (intentionaly)
protected void OnAbort()Step Out - notification on abort
@NOTE: new_item can be null if the lambda did not create any item (intentionaly)
void Execute(HumanInventoryWithFSM fsm_to_notify = null)Show 25 more
, CreateNewEntity(), DeleteOldEntity(), InventoryLocation.DumpToStringNullSafe(), Error(), HumanInventory.GetManOwner(), CGame.GetTime(), new HandEventHumanCommandActionAborted(), hndDebugPrint(), LogManager.IsInventoryHFSMLogEnable(), OnAbort(), OnSuccess(), PrepareLocations(), Print(), HumanInventoryWithFSM.ProcessHandAbortEvent(), RemoveNetworkObjectInfo(), RemoveOldItemFromLocation(), UndoRemoveNetworkObjectInfo(), UndoRemoveOldItemFromLocation(), WantCreateNewEntity(), m_NewItemType, m_NewLocation, m_OldItem, m_OldLocation, m_RemoveFromLocationPassed, and m_RemoveNetworkObjectInfoPassedstring DumpToString()