public DataEquiptmentContainer(ContainerSettings containerSettings) : base(containerSettings) { }
public Action <int> OnItemStoredChanged; //slotIndex // public DataInventoryContainer(int numOfSlots, ItemType[] allowedItemTypes, string containerId) // { // this._containerId = containerId; // CreateSlots(numOfSlots); // _allowedItemTypes = allowedItemTypes; // } //todo keep container index updated accordingly. public DataInventoryContainer(ContainerSettings containerSettings) { _containerId = containerSettings.Identifier; CreateSlots(containerSettings.NumberOfSlots); _allowedItemTypes = containerSettings.AllowedItemTypes; }
//protected int MaxNumOfPrimaryWeapons = 1; public DataWeaponWheelContainer(ContainerSettings containerSettings) : base(containerSettings) { }