bool IDataSender.RegistFinishReq(Guid request_id, RegistFinishReq req) { Datagram datagram = new Datagram { DataType = DatagramType.Login, MessageType = LoginMessageType.RegistFinishReq, RequestID = request_id, Datas = req.ToByteArray() }; return(Send(datagram)); }