public void SendMailDeleteAllC2S() { currentMailInfo = null; EmailDelC2S message = new EmailDelC2S(); message.isDelAll = true; byte[] data = ProtobufUtils.Serialize(message); NetworkManager.SendRequest(ServerType.SocialServer, MsgCode.EmailDelMessage, data); }
public void SendMailDeleteC2S() { EmailDelC2S message = new EmailDelC2S(); message.emailId = info.emailId; message.isDelAll = false; byte[] data = ProtobufUtils.Serialize(message); NetworkManager.SendRequest(ServerType.SocialServer, MsgCode.EmailDelMessage, data); }