diff options
| author | Michael <[email protected]> | 2017-07-17 14:34:59 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-17 14:34:59 -0400 |
| commit | a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db (patch) | |
| tree | d974220621e6cfcfe745c2825149ca370e3a7aab /ShiftOS.Frontend/HackableProvider.cs | |
| parent | e929a9f5105c00b0a3a2b4e75a876bbb95bbfa7b (diff) | |
| download | shiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.tar.gz shiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.tar.bz2 shiftos_thereturn-a0ee79dbcd26a8f07d493a7e993cbaf0d02e44db.zip | |
Hacking, barebones fskimmer, double clicking
Diffstat (limited to 'ShiftOS.Frontend/HackableProvider.cs')
| -rw-r--r-- | ShiftOS.Frontend/HackableProvider.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/HackableProvider.cs b/ShiftOS.Frontend/HackableProvider.cs new file mode 100644 index 0000000..1c57f37 --- /dev/null +++ b/ShiftOS.Frontend/HackableProvider.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ShiftOS.Objects; +using ShiftOS.Engine; +using Newtonsoft.Json; + +namespace ShiftOS.Frontend +{ + public class HackableProvider : IHackableProvider + { + public Hackable[] GetHackables() + { + return JsonConvert.DeserializeObject<Hackable[]>(Properties.Resources.Hackables); + } + + public byte[] GetLootFromResource(string resId) + { + return new byte[] { 0xDE, 0xAD, 0xBE, 0xEF }; //nyi + } + + public LootInfo[] GetLootInfo() + { + return JsonConvert.DeserializeObject<LootInfo[]>(Properties.Resources.LootInfo); + } + } +} |
