blob: 1c57f37c547703cb2b67c3fe812aab5fefe22a6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
}
}
}
|