示例#1
0
        /// <inheritdoc />
        protected override void OnClientConnected(LoginClient client)
        {
            this._logger.LogInformation($"New client connected from {client.RemoteEndPoint}.");

            CommonPacketFactory.SendWelcome(client, client.SessionId);
        }
示例#2
0
 /// <inheritdoc />
 protected override void OnClientConnected(WorldClient client)
 {
     client.InitializeClient(this);
     this._logger.LogInformation("New client connected from {0}.", client.RemoteEndPoint);
     CommonPacketFactory.SendWelcome(client, client.SessionId);
 }