Пример #1
0
 /// <summary>
 /// Check whether the item can be set inside the slot based on item type
 /// </summary>
 /// <param name="itemType">The type of the item</param>
 /// <returns>True if it can, otherwise false</returns>
 public bool CanSet(SlotType itemType)
 {
     return(itemType.HasFlag2(Type));
 }