21 value = Math.Clamp(value, 0, 10);
28 if (componentFrame !=
null) {
29 Vector3 position = componentFrame.Position +
new Vector3(0f, 0.5f, 0f);
39 base.Load(valuesDictionary, idToEntityMap);
44 base.Save(valuesDictionary, entityToIdMap);
virtual int GetMaxStacking(int value)
static void DropSlotItems(IInventory inventory, int slotIndex, Vector3 position, Vector3 velocity)
override int GetSlotCapacity(int slotIndex, int value)
const int ShortInventorySlotsCount
override int ActiveSlotIndex
override int VisibleSlotsCount
override void Load(ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void Save(ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
static int ExtractContents(int value)
ValuesDictionary ValuesDictionary
Vector3 GetForwardVector()