![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
adds automatic QuickBar handling More...
Private Member Functions | |
| void | ReplaceItemWithNewLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
| override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| override void | OnSuccess (EntityAI new_item) |
| override void | OnSuccess (EntityAI new_item) |
| void | SetTransferParams (bool transfer_agents=true, bool transfer_variables=true, bool transfer_health=true, bool exclude_quantity=false, float quantity_override=-1) |
| void | TurnItemIntoItemLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
| override void | VerifyItemTypeBySlotType () |
| if attaching from att.slot to att.slot, skips the change to "ground" version. Allows for correct property transfers. | |
| Private Member Functions inherited from ReplaceItemWithNewLambdaBase | |
| bool | CanExecuteLambda () |
| void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| void | CreateNetworkObjectInfo (EntityAI new_item) |
| EntityAI | CreateNewEntity () |
| Step D. | |
| void | DeleteOldEntity () |
| Step F. | |
| string | DumpToString () |
| void | Execute (HumanInventoryWithFSM fsm_to_notify=null) |
| void | OnAbort () |
| Step Out - notification on abort. | |
| void | OnSuccess (EntityAI new_item) |
| bool | PrepareLocations () |
| Step A. | |
| void | RemoveNetworkObjectInfo () |
| Step C. | |
| void | RemoveOldItemFromLocation () |
| Step B. | |
| void | UndoRemoveNetworkObjectInfo () |
| void | UndoRemoveOldItemFromLocation () |
| bool | WantCreateNewEntity () |
Private Attributes | |
| bool | m_ExcludeQuantity |
| int | m_IndexQB |
| PlayerBase | m_Player |
| float | m_quantity_override |
| bool | m_TransferAgents |
| bool | m_TransferHealth |
| bool | m_TransferVariables |
| Private Attributes inherited from ReplaceItemWithNewLambdaBase | |
| ref InventoryLocation | m_NewLocation |
| ref InventoryLocation | m_OldLocation |
| bool | m_RemoveFromLocationPassed = false |
adds automatic QuickBar handling
Definition at line 1 of file miscgameplayfunctions.c.
|
inlineprivate |
Definition at line 9 of file replaceitemwithnewlambda.c.
Definition at line 23 of file miscgameplayfunctions.c.
References Debug::LogError(), m_ExcludeQuantity, m_Player, m_quantity_override, m_TransferAgents, m_TransferHealth, m_TransferVariables, Math::Max(), and ItemBase::SetQuantity().
Definition at line 23 of file replaceitemwithnewlambda.c.
|
inlineprivate |
Definition at line 81 of file miscgameplayfunctions.c.
References m_Player.
|
inlineprivate |
Definition at line 33 of file replaceitemwithnewlambda.c.
|
inlineprivate |
Definition at line 14 of file miscgameplayfunctions.c.
References m_ExcludeQuantity, m_quantity_override, m_TransferAgents, m_TransferHealth, and m_TransferVariables.
Referenced by TurnItemIntoItemLambda().
|
inlineprivate |
Definition at line 9 of file miscgameplayfunctions.c.
References SetTransferParams().
|
inlineprivate |
if attaching from att.slot to att.slot, skips the change to "ground" version. Allows for correct property transfers.
Definition at line 46 of file miscgameplayfunctions.c.
References InventorySlots::GetSlotIdFromString(), ReplaceItemWithNewLambdaBase::m_NewItemType, ReplaceItemWithNewLambdaBase::m_NewLocation, and ReplaceItemWithNewLambdaBase::m_OldItem.
|
private |
Definition at line 6 of file miscgameplayfunctions.c.
Referenced by CopyOldPropertiesToNew(), and SetTransferParams().
|
private |
Definition at line 7 of file replaceitemwithnewlambda.c.
Referenced by ReplaceItemWithNewLambda(), CopyOldPropertiesToNew(), and OnSuccess().
|
private |
Definition at line 6 of file replaceitemwithnewlambda.c.
Referenced by ReplaceItemWithNewLambda(), ActionCollectBloodTargetLambda::CopyOldPropertiesToNew(), CopyOldPropertiesToNew(), and OnSuccess().
|
private |
Definition at line 7 of file miscgameplayfunctions.c.
Referenced by CopyOldPropertiesToNew(), and SetTransferParams().
|
private |
Definition at line 3 of file miscgameplayfunctions.c.
Referenced by CopyOldPropertiesToNew(), and SetTransferParams().
|
private |
Definition at line 5 of file miscgameplayfunctions.c.
Referenced by CopyOldPropertiesToNew(), and SetTransferParams().
|
private |
Definition at line 4 of file miscgameplayfunctions.c.
Referenced by CopyOldPropertiesToNew(), and SetTransferParams().