adds automatic QuickBar handling Подробнее...
Закрытые члены | |
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) |
![]() | |
bool | WantCreateNewEntity () |
bool | CanExecuteLambda () |
bool | PrepareLocations () |
Step A. - prepare inventory locations. | |
void | RemoveOldItemFromLocation () |
Step B. - free location for new item @NOTE this operation does not delete the object, only removes it from inventory location. | |
void | UndoRemoveOldItemFromLocation () |
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) | |
void | UndoRemoveNetworkObjectInfo () |
EntityAI | CreateNewEntity () |
Step D. - create new entity (LOCAL) with specified type. | |
void | CopyOldPropertiesToNew (notnull EntityAI old_item, EntityAI new_item) |
Step E. copy properties from old object to the created one. | |
void | DeleteOldEntity () |
Step F. - deletes physically old item. | |
void | CreateNetworkObjectInfo (EntityAI new_item) |
Step G. - create NetworkObjectInfo for new item. | |
void | OnSuccess (EntityAI new_item) |
Step H. - notification on finish. | |
void | OnAbort () |
Step Out - notification on abort. | |
void | Execute (HumanInventoryWithFSM fsm_to_notify=null) |
string | DumpToString () |
Закрытые данные | |
bool | m_TransferAgents |
bool | m_TransferVariables |
bool | m_TransferHealth |
bool | m_ExcludeQuantity |
float | m_quantity_override |
PlayerBase | m_Player |
int | m_IndexQB |
![]() | |
ref InventoryLocation | m_OldLocation |
ref InventoryLocation | m_NewLocation |
bool | m_RemoveFromLocationPassed = false |
adds automatic QuickBar handling
См. определение в файле MiscGameplayFunctions.c строка 1