|
| enum | InventoryMode {
Default
,
Trade
,
Loot
,
Stash
,
Warehouse
} |
| |
| enum | InventoryItemType {
None = 0x0
,
Weapon = 0x1
,
Shield = 0x2
,
HeadArmor = 0x4
,
BodyArmor = 0x8
,
LegArmor = 0x10
,
HandArmor = 0x20
,
Horse = 0x40
,
HorseHarness = 0x80
,
Goods = 0x100
,
Book = 0x200
,
Animal = 0x400
,
Cape = 0x800
,
Banner = 0x1000
,
HorseCategory = Horse | HorseHarness
,
Armors = HeadArmor | BodyArmor | LegArmor | HandArmor | Cape
,
Equipable = Weapon | Shield | HeadArmor | BodyArmor | LegArmor | HandArmor | Horse | HorseHarness | Cape | Banner
,
All = Weapon | BodyArmor | Shield | HeadArmor | Goods | Horse | HorseHarness | LegArmor | HandArmor | Book | Animal | Cape
} |
| |
| enum | InventoryCategoryType {
None = -1
,
All = 0
,
Armors = 1
,
Weapon
,
Shield
,
HorseCategory
,
Goods
,
CategoryTypeAmount
} |
| |
|
| static InventoryState | GetActiveInventoryState () |
| |
| static void | PlayerAcceptTradeOffer () |
| |
| static void | CloseScreen (bool fromCancel) |
| |
| static void | OpenScreenAsInventoryOfSubParty (MobileParty rightParty, MobileParty leftParty, Action doneLogicExtrasDelegate) |
| |
| static void | OpenScreenAsInventoryForCraftedItemDecomposition (MobileParty party, CharacterObject character, Action doneLogicExtrasDelegate) |
| |
| static void | OpenScreenAsInventoryOf (MobileParty party, CharacterObject character) |
| |
| static void | OpenScreenAsInventoryOf (PartyBase rightParty, PartyBase leftParty) |
| |
| static void | OpenScreenAsInventoryOf (PartyBase rightParty, PartyBase leftParty, CharacterObject character, TextObject leftRosterName=null, InventoryLogic.CapacityData capacityData=null, Action doneLogicExtrasDelegate=null) |
| |
| static void | OpenScreenAsInventory (Action doneLogicExtrasDelegate=null) |
| |
| static void | OpenCampaignBattleLootScreen () |
| |
| static void | OpenScreenAsLoot (Dictionary< PartyBase, ItemRoster > itemRostersToLoot) |
| |
| static void | OpenScreenAsStash (ItemRoster stash) |
| |
| static void | OpenScreenAsWarehouse (ItemRoster stash, InventoryLogic.CapacityData otherSideCapacity) |
| |
| static void | OpenScreenAsReceiveItems (ItemRoster items, TextObject leftRosterName, Action doneLogicDelegate=null) |
| |
| static void | OpenTradeWithCaravanOrAlleyParty (MobileParty caravan, InventoryCategoryType merchantItemType=InventoryCategoryType.None) |
| |
| static void | ActivateTradeWithCurrentSettlement () |
| |
| static void | OpenScreenAsTrade (ItemRoster leftRoster, SettlementComponent settlementComponent, InventoryCategoryType merchantItemType=InventoryCategoryType.None, Action doneLogicExtrasDelegate=null) |
| |
| static InventoryItemType | GetInventoryItemTypeOfItem (ItemObject item) |
| |