|
|
@@ -1050,6 +1050,176 @@ namespace ETModel {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public partial class C2M_Reload : pb::IMessage {
|
|
|
+ private static readonly pb::MessageParser<C2M_Reload> _parser = new pb::MessageParser<C2M_Reload>(() => (C2M_Reload)MessagePool.Instance.Fetch(typeof(C2M_Reload)));
|
|
|
+ public static pb::MessageParser<C2M_Reload> Parser { get { return _parser; } }
|
|
|
+
|
|
|
+ private int rpcId_;
|
|
|
+ public int RpcId {
|
|
|
+ get { return rpcId_; }
|
|
|
+ set {
|
|
|
+ rpcId_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string account_ = "";
|
|
|
+ public string Account {
|
|
|
+ get { return account_; }
|
|
|
+ set {
|
|
|
+ account_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string password_ = "";
|
|
|
+ public string Password {
|
|
|
+ get { return password_; }
|
|
|
+ set {
|
|
|
+ password_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
+ if (Account.Length != 0) {
|
|
|
+ output.WriteRawTag(10);
|
|
|
+ output.WriteString(Account);
|
|
|
+ }
|
|
|
+ if (Password.Length != 0) {
|
|
|
+ output.WriteRawTag(18);
|
|
|
+ output.WriteString(Password);
|
|
|
+ }
|
|
|
+ if (RpcId != 0) {
|
|
|
+ output.WriteRawTag(208, 5);
|
|
|
+ output.WriteInt32(RpcId);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public int CalculateSize() {
|
|
|
+ int size = 0;
|
|
|
+ if (RpcId != 0) {
|
|
|
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
|
|
|
+ }
|
|
|
+ if (Account.Length != 0) {
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Account);
|
|
|
+ }
|
|
|
+ if (Password.Length != 0) {
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Password);
|
|
|
+ }
|
|
|
+ return size;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ account_ = "";
|
|
|
+ password_ = "";
|
|
|
+ rpcId_ = 0;
|
|
|
+ uint tag;
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
+ switch(tag) {
|
|
|
+ default:
|
|
|
+ input.SkipLastField();
|
|
|
+ break;
|
|
|
+ case 10: {
|
|
|
+ Account = input.ReadString();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 18: {
|
|
|
+ Password = input.ReadString();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 720: {
|
|
|
+ RpcId = input.ReadInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public partial class M2C_Reload : pb::IMessage {
|
|
|
+ private static readonly pb::MessageParser<M2C_Reload> _parser = new pb::MessageParser<M2C_Reload>(() => (M2C_Reload)MessagePool.Instance.Fetch(typeof(M2C_Reload)));
|
|
|
+ public static pb::MessageParser<M2C_Reload> Parser { get { return _parser; } }
|
|
|
+
|
|
|
+ private int rpcId_;
|
|
|
+ public int RpcId {
|
|
|
+ get { return rpcId_; }
|
|
|
+ set {
|
|
|
+ rpcId_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private int error_;
|
|
|
+ public int Error {
|
|
|
+ get { return error_; }
|
|
|
+ set {
|
|
|
+ error_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private string message_ = "";
|
|
|
+ public string Message {
|
|
|
+ get { return message_; }
|
|
|
+ set {
|
|
|
+ message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
+ if (RpcId != 0) {
|
|
|
+ output.WriteRawTag(208, 5);
|
|
|
+ output.WriteInt32(RpcId);
|
|
|
+ }
|
|
|
+ if (Error != 0) {
|
|
|
+ output.WriteRawTag(216, 5);
|
|
|
+ output.WriteInt32(Error);
|
|
|
+ }
|
|
|
+ if (Message.Length != 0) {
|
|
|
+ output.WriteRawTag(226, 5);
|
|
|
+ output.WriteString(Message);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public int CalculateSize() {
|
|
|
+ int size = 0;
|
|
|
+ if (RpcId != 0) {
|
|
|
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId);
|
|
|
+ }
|
|
|
+ if (Error != 0) {
|
|
|
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error);
|
|
|
+ }
|
|
|
+ if (Message.Length != 0) {
|
|
|
+ size += 2 + pb::CodedOutputStream.ComputeStringSize(Message);
|
|
|
+ }
|
|
|
+ return size;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ rpcId_ = 0;
|
|
|
+ error_ = 0;
|
|
|
+ message_ = "";
|
|
|
+ uint tag;
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
+ switch(tag) {
|
|
|
+ default:
|
|
|
+ input.SkipLastField();
|
|
|
+ break;
|
|
|
+ case 720: {
|
|
|
+ RpcId = input.ReadInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 728: {
|
|
|
+ Error = input.ReadInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 738: {
|
|
|
+ Message = input.ReadString();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
}
|