mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
29 lines
735 B
C#
29 lines
735 B
C#
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);
|
|
}
|
|
}
|
|
}
|