1. How can I get the available slots in a container/inventory and then lock them.
     
  2. This one should lead to forward to an own solution:
    Code:
    // ItemContainer
    public bool IsFull()
    {
    return this.itemList.Count >= this.capacity;
    }
    Also the container flags can solve lock needs:
    Code:
    // ItemContainer.Flag
    public const ItemContainer.Flag IsLocked = 16;
    
     
  3. Is it possible to get the slot number which is empty then only lock that slot?
     
  4. Nope..you cannot lock specific slots..you can only re-arrange items and limit the slots afterwards...then the visual "free" are locked.