void PacketProcess_LoginResponse(byte[] bodyData) { var responsePkt = new LoginResPacket(); responsePkt.FromBytes(bodyData); DevLog.Write($"로그인 결과: {(ERROR_CODE)responsePkt.Result}"); }
void PacketProcess_LobbyLoginRes(byte[] bodyData) { var responsePkt = new LoginResPacket(); responsePkt.Decode(bodyData); DevLog.Write($"로그인 결과: {(ERROR_CODE)responsePkt.Result}"); if ((ERROR_CODE)responsePkt.Result == ERROR_CODE.NONE) { labelStatus.Text = "로비에 로그인 완료"; } }