Beispiel #1
0
 public DataEquiptmentContainer(ContainerSettings containerSettings) : base(containerSettings)
 {
 }
Beispiel #2
0
        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)
 {
 }