XIACE/Inventory Class
- コンストラクタ
- Inventory inventory = new Inventory(System.Diagnotics.Process proc);
- コンストラクタ
- Inventory inventory = new Inventory(int Pid);
定義済み構造体
struct InventoryItem {
short id; // ItemID
short count; // 数
short order; // 並び
};
プロパティ (read-only)
メソッド
- byte GetInventoryCount()
- 鞄のアイテム数
- byte GetInventoryMax()
- 鞄の最大アイテム数(許容数)
- byte GetSafeboxMax()
- 金庫の最大アイテム数(許容数)
- byte GetStorageMax()
- 収納の最大アイテム数(許容数)
- byte GetLockerMax()
- ロッカーの最大アイテム数(許容数)
- byte GetItemCountByIndex(short index)
- 鞄のindexで指定されるアイテムの数
- InventoryItem GetInventoryItem(short index)
- 鞄のアイテム情報を取得
- InventoryItem GetSafeboxItem(short index)
- 金庫のアイテム情報を取得
- InventoryItem GetStorageItem(short index)
- 収納のアイテム情報を取得
- InventoryItem GetLockerItem(short index)
- ロッカーのアイテム情報を取得
- string GetItemNameById(short id)
- ItemIDからアイテム名を取得 (メモリにあるのしかとれない=鞄金庫収納ロッカーにあればOK?)
- string GetEquippedItemName(eEquipSlot slot)
- 装備してるアイテム名
- byte GetEquippedItemCount(eEquipSlot slot)
- 装備しているアイテムの所持数