예제 #1
0
 public void SendAuthenticationResponse(SecretNetworkResponseType response)
 {
     OutMessage.Reset();
     OutMessage.AddByte((byte)SecretNetworkPacketType.Authentication);
     OutMessage.AddByte((byte)response);
     if (response != SecretNetworkResponseType.Success)
     {
         OutMessage.DisconnectAfterMessage = true;
     }
     Send(OutMessage);
 }