예제 #1
0
        public void SendError(LauncherErrorCode errorCode, string msg)
        {
            //send out notification of file transfer
            PacketOut Out = new PacketOut((byte)Opcodes.LCR_ERROR);

            Out.WriteInt32((int)errorCode);
            Out.WriteString(msg);
            SendTCPRaw(Out);
        }
예제 #2
0
 private static bool IsError(LauncherErrorCode errorCode)
 {
     return((int)errorCode < 0);
 }