diff options
Diffstat (limited to 'ShiftOS.Objects/Hacking')
| -rw-r--r-- | ShiftOS.Objects/Hacking/Loot.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ShiftOS.Objects/Hacking/Loot.cs b/ShiftOS.Objects/Hacking/Loot.cs new file mode 100644 index 0000000..47c91e4 --- /dev/null +++ b/ShiftOS.Objects/Hacking/Loot.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Objects +{ + public class Loot + { + public string FriendlyName { get; set; } + public string LootName { get; set; } + public int Rarity { get; set; } + public string PointTo { get; set; } + + public string ID + { + get + { + return LootName.ToLower().Replace(" ", "_"); + } + } + + public override string ToString() + { + return $"{FriendlyName} ({LootName})"; + } + } + +} |
