Esempio n. 1
0
        private static void Host_OnHostEvent(object sender, BrokenMessageArgs e)
        {
            if (e.Category == HostEvents.LoadingPluginComplete)
            {
                Console.WriteLine("Plugin loaded: " + e.Message);
            }

            if (e.Category == HostEvents.LoadingAllPluginComplete)
            {
                Console.WriteLine("All plugins loaded");
            }
        }
Esempio n. 2
0
 public void BroadcastAsHost(BrokenMessageArgs messageArguments)
 {
     OnHostEvent?.Invoke(this, messageArguments);
 }
Esempio n. 3
0
 public void BroadcastMessage(object sender, BrokenMessageArgs messageArguments)
 {
     OnPluginEvent?.Invoke(sender, messageArguments);
 }