Beispiel #1
0
        private static InventoryPouch8 GetTreasurePouch(byte[] itemsBlock)
        {
            var pouch = new InventoryPouch8(InventoryType.MailItems, Pouch_Treasure_SWSH, 999, 0, 20);

            pouch.GetPouch(itemsBlock);
            return(pouch);
        }
Beispiel #2
0
        private InventoryPouch8 GetBallPouch(byte[] ballBlock)
        {
            var pouch = new InventoryPouch8(InventoryType.Balls, Pouch_Ball_SWSH, 999, 0, 28);

            pouch.GetPouch(ballBlock);
            return(pouch);
        }
Beispiel #3
0
        private InventoryPouch8 GetItemPouch(byte[] data, InventoryType type, ushort[] items, int maxCount, int offset, int length)
        {
            var pouch = new InventoryPouch8(type, items, maxCount, offset, length);

            pouch.GetPouch(data);
            return(pouch);
        }