|
PC Stable Documentation
|
|

adds automatic QuickBar handling More...
Private Member Functions | |
| void | TurnItemIntoItemLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
| void | SetTransferParams (bool transfer_agents=true, bool transfer_variables=true, bool transfer_health=true, bool exclude_quantity=false, float quantity_override=-1) |
| override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| override void | VerifyItemTypeBySlotType () |
| if attaching from att.slot to att.slot, skips the change to "ground" version. Allows for correct property transfers. | |
| override void | OnSuccess (EntityAI new_item) |
| void | ReplaceItemWithNewLambda (EntityAI old_item, string new_item_type, PlayerBase player) |
| override void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
| override void | OnSuccess (EntityAI new_item) |
Private Attributes | |
| bool | m_TransferAgents |
| bool | m_TransferVariables |
| bool | m_TransferHealth |
| bool | m_ExcludeQuantity |
| float | m_quantity_override |
| PlayerBase | m_Player |
| int | m_IndexQB |
adds automatic QuickBar handling
|
inlineprivate |
References Debug::LogError(), m_Player, Math::Max(), and ItemBase::SetQuantity().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
if attaching from att.slot to att.slot, skips the change to "ground" version. Allows for correct property transfers.
References InventorySlots::GetSlotIdFromString().
|
private |
|
private |
Referenced by CopyOldPropertiesToNew(), OnSuccess(), and ReplaceItemWithNewLambda().
|
private |
|
private |
|
private |
|
private |
|
private |