Beispiel #1
0
 /// <summary>
 ///     Invokes the <see cref="Initialize" /> event.
 /// </summary>
 /// <param name="e">The instance of the <see cref="ServerInitializedEventArgs" /> class.</param>
 internal void OnInitialize(ServerInitializedEventArgs e)
 {
     this.Initialize?.Invoke(this, e);
 }
Beispiel #2
0
 private void ServerInitialize(object sender, ServerInitializedEventArgs e)
 {
     Console.WriteLine("DemoPlugin loaded");
     Console.WriteLine(e.Server.Description);
     Console.WriteLine(e.Server.Time);
 }