Beispiel #1
0
        protected override void OnRun()
        {
            Console.WriteLine("Let's go!");

            var loginMessage = new AccountLoginMessage();

            ServiceProvider.GetRequiredService <NetworkMessageHandlerService>().Handle(null, loginMessage);
        }
 public static void HandleLogin(NetworkClient client, AccountLoginMessage alm)
 {
     Console.WriteLine("Hola senior !");
 }