Exemplo n.º 1
0
        public Event_SkypeOverlay()
        {
            Config = new LightEventConfig
            {
                ID            = "skype.exe",
                GameStateType = typeof(State_SkypeOverlay),
                Type          = LightEventType.Overlay
            };

            if (Global.Configuration.skype_overlay_settings.enabled)
            {
                try
                {
                    ProcessStartInfo startInfo = new ProcessStartInfo();
                    startInfo.FileName = System.IO.Path.Combine(Global.ExecutingDirectory, "Aurora-SkypeIntegration.exe");
                    Process.Start(startInfo);
                }
                catch (Exception exc)
                {
                    Global.logger.LogLine("Could not start Skype Integration. Error: " + exc, Logging_Level.Error);
                }
            }
        }
Exemplo n.º 2
0
 public GameEvent_Aurora_Wrapper(LightEventConfig config) : base(config)
 {
 }