public FFXIVApplication(FFXIVMain ffxiv) : base(new LightEventConfig { Name = "FFXIV", AppID = "39210", ID = "ffxiv", Event = new GameEvent_Generic(), GameStateType = typeof(FFXIV.GSI.GameState_FFXIV), ProfileType = typeof(FFXIVProfile), SettingsType = typeof(FirstTimeApplicationSettings), OverviewControlType = typeof(Control_FFXIV), ProcessNames = new [] { "ffxiv_dx11.exe" } }) { FFXIVMain = ffxiv; FFXIVMain.MemoryRead += FfxivMain_MemoryRead; AllowLayer <FFXIVActionLayerHandler>(); AllowLayer <FFXIVKeyBindLayerHandler>(); }
public PluginMain() { ffxiv = new FFXIVMain(); }