public override void Start()
        {
            this.Config.Structures = UpdateStructuresAsync().Result;
            this.opcodeList        = this.Config.Structures.Select(x => x.Opcode);

            this.ffxivPluginNetworkReceivedDelegate = new NetworkReceivedDelegate(NetworkReceived);
            this.ffxivPluginZoneChangedDelegate     = new ZoneChangedDelegate(ZoneChanged);

            SetupTimers();
            StartTimers();
            LogInfo("DFA: Started.");
        }
Exemple #2
0
        // ACT에 어셈블리 등록
        private void RegisterActAssemblies()
        {
            var pub = new Publish();

            var pin = ActGlobals.oFormActMain.ActPlugins.FirstOrDefault(x => x.pluginFile.Name.Equals("ACT.DFAssist.dll"));

            Settings.PluginPath = pin?.pluginFile.DirectoryName;

            // 설정 경로
            Settings.Path = Path.Combine(ActGlobals.oFormActMain.AppDataFolder.FullName, "Config", "ACT.DFAssist.config.xml");

            // FFXIV 플러그인용
            _fpgNetworkReceiveDelegete = new NetworkReceivedDelegate(OnFFXIVNetworkReceived);
            //_fpgZoneChangeDelegate = new ZoneChangedDelegate(OnFFXIVZoneChanged);
        }