feat: add DataManager, remote opcodes etc.

This commit is contained in:
goat 2020-01-30 22:47:47 +09:00
parent 829f9fb0cb
commit 27265244ec
3 changed files with 65 additions and 16 deletions

View file

@ -7,6 +7,7 @@ using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Dalamud.Data;
using Dalamud.DiscordBot;
using Dalamud.Game;
using Dalamud.Game.Chat;
@ -52,6 +53,8 @@ namespace Dalamud {
public readonly InterfaceManager InterfaceManager;
public readonly DataManager Data;
private readonly string assemblyVersion = Assembly.GetAssembly(typeof(ChatHandlers)).GetName().Version.ToString();
public Dalamud(DalamudStartInfo info) {
@ -76,6 +79,10 @@ namespace Dalamud {
ChatHandlers = new ChatHandlers(this);
NetworkHandlers = new NetworkHandlers(this, this.Configuration.OptOutMbCollection);
this.Data = new DataManager();
//Task.Run(() => );
this.Data.Initialize();
this.ClientState = new ClientState(this, info, this.SigScanner, this.targetModule);
this.BotManager = new DiscordBotManager(this, this.Configuration.DiscordFeatureConfig);