// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetBasicInfoScRsp.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace EggLink.DanhengServer.Proto { /// Holder for reflection information generated from GetBasicInfoScRsp.proto public static partial class GetBasicInfoScRspReflection { #region Descriptor /// File descriptor for GetBasicInfoScRsp.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static GetBasicInfoScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChdHZXRCYXNpY0luZm9TY1JzcC5wcm90bxoXUGxheWVyU2V0dGluZ0luZm8u", "cHJvdG8inwIKEUdldEJhc2ljSW5mb1NjUnNwEhUKDWlzX2dlbmRlcl9zZXQY", "CCABKAgSGQoRbmV4dF9yZWNvdmVyX3RpbWUYDiABKAMSDgoGZ2VuZGVyGAog", "ASgNEg8KB3JldGNvZGUYBiABKA0SIgoad2Vla19jb2Nvb25fZmluaXNoZWRf", "Y291bnQYDyABKA0SHgoWbGFzdF9zZXRfbmlja25hbWVfdGltZRgLIAEoAxIW", "Cg5leGNoYW5nZV90aW1lcxgCIAEoDRIvChNwbGF5ZXJfc2V0dGluZ19pbmZv", "GAMgASgLMhIuUGxheWVyU2V0dGluZ0luZm8SGQoRZ2FtZXBsYXlfYmlydGhk", "YXkYByABKA0SDwoHY3VyX2RheRgJIAEoDUIeqgIbRWdnTGluay5EYW5oZW5n", "U2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.PlayerSettingInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp), global::EggLink.DanhengServer.Proto.GetBasicInfoScRsp.Parser, new[]{ "IsGenderSet", "NextRecoverTime", "Gender", "Retcode", "WeekCocoonFinishedCount", "LastSetNicknameTime", "ExchangeTimes", "PlayerSettingInfo", "GameplayBirthday", "CurDay" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class GetBasicInfoScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetBasicInfoScRsp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::EggLink.DanhengServer.Proto.GetBasicInfoScRspReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBasicInfoScRsp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBasicInfoScRsp(GetBasicInfoScRsp other) : this() { isGenderSet_ = other.isGenderSet_; nextRecoverTime_ = other.nextRecoverTime_; gender_ = other.gender_; retcode_ = other.retcode_; weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_; lastSetNicknameTime_ = other.lastSetNicknameTime_; exchangeTimes_ = other.exchangeTimes_; playerSettingInfo_ = other.playerSettingInfo_ != null ? other.playerSettingInfo_.Clone() : null; gameplayBirthday_ = other.gameplayBirthday_; curDay_ = other.curDay_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GetBasicInfoScRsp Clone() { return new GetBasicInfoScRsp(this); } /// Field number for the "is_gender_set" field. public const int IsGenderSetFieldNumber = 8; private bool isGenderSet_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsGenderSet { get { return isGenderSet_; } set { isGenderSet_ = value; } } /// Field number for the "next_recover_time" field. public const int NextRecoverTimeFieldNumber = 14; private long nextRecoverTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long NextRecoverTime { get { return nextRecoverTime_; } set { nextRecoverTime_ = value; } } /// Field number for the "gender" field. public const int GenderFieldNumber = 10; private uint gender_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Gender { get { return gender_; } set { gender_ = value; } } /// Field number for the "retcode" field. public const int RetcodeFieldNumber = 6; private uint retcode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Retcode { get { return retcode_; } set { retcode_ = value; } } /// Field number for the "week_cocoon_finished_count" field. public const int WeekCocoonFinishedCountFieldNumber = 15; private uint weekCocoonFinishedCount_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint WeekCocoonFinishedCount { get { return weekCocoonFinishedCount_; } set { weekCocoonFinishedCount_ = value; } } /// Field number for the "last_set_nickname_time" field. public const int LastSetNicknameTimeFieldNumber = 11; private long lastSetNicknameTime_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long LastSetNicknameTime { get { return lastSetNicknameTime_; } set { lastSetNicknameTime_ = value; } } /// Field number for the "exchange_times" field. public const int ExchangeTimesFieldNumber = 2; private uint exchangeTimes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint ExchangeTimes { get { return exchangeTimes_; } set { exchangeTimes_ = value; } } /// Field number for the "player_setting_info" field. public const int PlayerSettingInfoFieldNumber = 3; private global::EggLink.DanhengServer.Proto.PlayerSettingInfo playerSettingInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.PlayerSettingInfo PlayerSettingInfo { get { return playerSettingInfo_; } set { playerSettingInfo_ = value; } } /// Field number for the "gameplay_birthday" field. public const int GameplayBirthdayFieldNumber = 7; private uint gameplayBirthday_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GameplayBirthday { get { return gameplayBirthday_; } set { gameplayBirthday_ = value; } } /// Field number for the "cur_day" field. public const int CurDayFieldNumber = 9; private uint curDay_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint CurDay { get { return curDay_; } set { curDay_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GetBasicInfoScRsp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GetBasicInfoScRsp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (IsGenderSet != other.IsGenderSet) return false; if (NextRecoverTime != other.NextRecoverTime) return false; if (Gender != other.Gender) return false; if (Retcode != other.Retcode) return false; if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) return false; if (LastSetNicknameTime != other.LastSetNicknameTime) return false; if (ExchangeTimes != other.ExchangeTimes) return false; if (!object.Equals(PlayerSettingInfo, other.PlayerSettingInfo)) return false; if (GameplayBirthday != other.GameplayBirthday) return false; if (CurDay != other.CurDay) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; if (IsGenderSet != false) hash ^= IsGenderSet.GetHashCode(); if (NextRecoverTime != 0L) hash ^= NextRecoverTime.GetHashCode(); if (Gender != 0) hash ^= Gender.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.GetHashCode(); if (LastSetNicknameTime != 0L) hash ^= LastSetNicknameTime.GetHashCode(); if (ExchangeTimes != 0) hash ^= ExchangeTimes.GetHashCode(); if (playerSettingInfo_ != null) hash ^= PlayerSettingInfo.GetHashCode(); if (GameplayBirthday != 0) hash ^= GameplayBirthday.GetHashCode(); if (CurDay != 0) hash ^= CurDay.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override string ToString() { return pb::JsonFormatter.ToDiagnosticString(this); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else if (ExchangeTimes != 0) { output.WriteRawTag(16); output.WriteUInt32(ExchangeTimes); } if (playerSettingInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(PlayerSettingInfo); } if (Retcode != 0) { output.WriteRawTag(48); output.WriteUInt32(Retcode); } if (GameplayBirthday != 0) { output.WriteRawTag(56); output.WriteUInt32(GameplayBirthday); } if (IsGenderSet != false) { output.WriteRawTag(64); output.WriteBool(IsGenderSet); } if (CurDay != 0) { output.WriteRawTag(72); output.WriteUInt32(CurDay); } if (Gender != 0) { output.WriteRawTag(80); output.WriteUInt32(Gender); } if (LastSetNicknameTime != 0L) { output.WriteRawTag(88); output.WriteInt64(LastSetNicknameTime); } if (NextRecoverTime != 0L) { output.WriteRawTag(112); output.WriteInt64(NextRecoverTime); } if (WeekCocoonFinishedCount != 0) { output.WriteRawTag(120); output.WriteUInt32(WeekCocoonFinishedCount); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (ExchangeTimes != 0) { output.WriteRawTag(16); output.WriteUInt32(ExchangeTimes); } if (playerSettingInfo_ != null) { output.WriteRawTag(26); output.WriteMessage(PlayerSettingInfo); } if (Retcode != 0) { output.WriteRawTag(48); output.WriteUInt32(Retcode); } if (GameplayBirthday != 0) { output.WriteRawTag(56); output.WriteUInt32(GameplayBirthday); } if (IsGenderSet != false) { output.WriteRawTag(64); output.WriteBool(IsGenderSet); } if (CurDay != 0) { output.WriteRawTag(72); output.WriteUInt32(CurDay); } if (Gender != 0) { output.WriteRawTag(80); output.WriteUInt32(Gender); } if (LastSetNicknameTime != 0L) { output.WriteRawTag(88); output.WriteInt64(LastSetNicknameTime); } if (NextRecoverTime != 0L) { output.WriteRawTag(112); output.WriteInt64(NextRecoverTime); } if (WeekCocoonFinishedCount != 0) { output.WriteRawTag(120); output.WriteUInt32(WeekCocoonFinishedCount); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; if (IsGenderSet != false) { size += 1 + 1; } if (NextRecoverTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(NextRecoverTime); } if (Gender != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Gender); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } if (WeekCocoonFinishedCount != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount); } if (LastSetNicknameTime != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastSetNicknameTime); } if (ExchangeTimes != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ExchangeTimes); } if (playerSettingInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerSettingInfo); } if (GameplayBirthday != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameplayBirthday); } if (CurDay != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurDay); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GetBasicInfoScRsp other) { if (other == null) { return; } if (other.IsGenderSet != false) { IsGenderSet = other.IsGenderSet; } if (other.NextRecoverTime != 0L) { NextRecoverTime = other.NextRecoverTime; } if (other.Gender != 0) { Gender = other.Gender; } if (other.Retcode != 0) { Retcode = other.Retcode; } if (other.WeekCocoonFinishedCount != 0) { WeekCocoonFinishedCount = other.WeekCocoonFinishedCount; } if (other.LastSetNicknameTime != 0L) { LastSetNicknameTime = other.LastSetNicknameTime; } if (other.ExchangeTimes != 0) { ExchangeTimes = other.ExchangeTimes; } if (other.playerSettingInfo_ != null) { if (playerSettingInfo_ == null) { PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo(); } PlayerSettingInfo.MergeFrom(other.PlayerSettingInfo); } if (other.GameplayBirthday != 0) { GameplayBirthday = other.GameplayBirthday; } if (other.CurDay != 0) { CurDay = other.CurDay; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 16: { ExchangeTimes = input.ReadUInt32(); break; } case 26: { if (playerSettingInfo_ == null) { PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo(); } input.ReadMessage(PlayerSettingInfo); break; } case 48: { Retcode = input.ReadUInt32(); break; } case 56: { GameplayBirthday = input.ReadUInt32(); break; } case 64: { IsGenderSet = input.ReadBool(); break; } case 72: { CurDay = input.ReadUInt32(); break; } case 80: { Gender = input.ReadUInt32(); break; } case 88: { LastSetNicknameTime = input.ReadInt64(); break; } case 112: { NextRecoverTime = input.ReadInt64(); break; } case 120: { WeekCocoonFinishedCount = input.ReadUInt32(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 16: { ExchangeTimes = input.ReadUInt32(); break; } case 26: { if (playerSettingInfo_ == null) { PlayerSettingInfo = new global::EggLink.DanhengServer.Proto.PlayerSettingInfo(); } input.ReadMessage(PlayerSettingInfo); break; } case 48: { Retcode = input.ReadUInt32(); break; } case 56: { GameplayBirthday = input.ReadUInt32(); break; } case 64: { IsGenderSet = input.ReadBool(); break; } case 72: { CurDay = input.ReadUInt32(); break; } case 80: { Gender = input.ReadUInt32(); break; } case 88: { LastSetNicknameTime = input.ReadInt64(); break; } case 112: { NextRecoverTime = input.ReadInt64(); break; } case 120: { WeekCocoonFinishedCount = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code