public override void LoadDataInternal() { stylesheet = MainData.CurrentStylesheet; slot = GetSlot(); if (slot.IsLocked) { OnLocked(); } else if (slot.IsEmpty) { OnEmpty(); } else { OnFull(); } }
protected override void LoadDataInternal() { stylesheet = Main.StaticData.UI.Stylesheet; lockSpritePreset.String = "Lock"; slot = GetSlot(); if (slot.IsLocked) { OnLocked(); } else if (slot.IsEmpty) { OnEmpty(); } else { OnFull(); } }
public UnlockableSlot(UnlockableSlot other) { isEmpty = other.IsEmpty; isLocked = other.IsLocked; }