コード例 #1
0
 public DataEquiptmentContainer(ContainerSettings containerSettings) : base(containerSettings)
 {
 }
コード例 #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;
        }
コード例 #3
0
 //protected int MaxNumOfPrimaryWeapons = 1;
 public DataWeaponWheelContainer(ContainerSettings containerSettings)
     : base(containerSettings)
 {
 }