Beispiel #1
0
 public Inventory(Player owner)
 {
     this._owner = owner;
     this._equipment = new Equipment(owner);
     this._inventoryGrid = new InventoryGrid(owner, owner.Attributes[GameAttribute.Backpack_Slots]/10, 10);
     this._stashGrid = new InventoryGrid(owner, owner.Attributes[GameAttribute.Shared_Stash_Slots]/7, 7, (int) EquipmentSlotId.Stash);
 }
Beispiel #2
0
 public Inventory(Player owner)
 {
     this._owner = owner;
     this.Items = new Dictionary<uint, Item>();
     this._equipment = new Equipment(owner);
     this._inventoryStash = new Stash(owner, 6, 10);
 }
Beispiel #3
0
 public Inventory(Player owner)
 {
     this._owner = owner;
     this.Items = new Dictionary<uint, Item>();
     this._equipment = new Equipment(owner);
     this._inventoryGrid = new InventoryGrid(owner, owner.Attributes[GameAttribute.Backpack_Slots]/10, 10);
     this._stashGrid = new InventoryGrid(owner, owner.Attributes[GameAttribute.Shared_Stash_Slots] / 7, 7, (int)EquipmentSlotId.Stash);
     this._skillSocketRunes = new uint[6];
 }