// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: StartChallengeScRsp.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 StartChallengeScRsp.proto public static partial class StartChallengeScRspReflection { #region Descriptor /// File descriptor for StartChallengeScRsp.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static StartChallengeScRspReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChlTdGFydENoYWxsZW5nZVNjUnNwLnByb3RvGhJDdXJDaGFsbGVuZ2UucHJv", "dG8aEExpbmV1cEluZm8ucHJvdG8aGENoYWxsZW5nZVN0YWdlSW5mby5wcm90", "bxoPU2NlbmVJbmZvLnByb3RvIrIBChNTdGFydENoYWxsZW5nZVNjUnNwEiQK", "DWN1cl9jaGFsbGVuZ2UYCCABKAsyDS5DdXJDaGFsbGVuZ2USGQoFc2NlbmUY", "DyABKAsyCi5TY2VuZUluZm8SDwoHcmV0Y29kZRgGIAEoDRInCgpzdGFnZV9p", "bmZvGA0gASgLMhMuQ2hhbGxlbmdlU3RhZ2VJbmZvEiAKC2xpbmV1cF9saXN0", "GAcgAygLMgsuTGluZXVwSW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVy", "LlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.CurChallengeReflection.Descriptor, global::EggLink.DanhengServer.Proto.LineupInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.ChallengeStageInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.SceneInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.StartChallengeScRsp), global::EggLink.DanhengServer.Proto.StartChallengeScRsp.Parser, new[]{ "CurChallenge", "Scene", "Retcode", "StageInfo", "LineupList" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class StartChallengeScRsp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StartChallengeScRsp()); 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.StartChallengeScRspReflection.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 StartChallengeScRsp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StartChallengeScRsp(StartChallengeScRsp other) : this() { curChallenge_ = other.curChallenge_ != null ? other.curChallenge_.Clone() : null; scene_ = other.scene_ != null ? other.scene_.Clone() : null; retcode_ = other.retcode_; stageInfo_ = other.stageInfo_ != null ? other.stageInfo_.Clone() : null; lineupList_ = other.lineupList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public StartChallengeScRsp Clone() { return new StartChallengeScRsp(this); } /// Field number for the "cur_challenge" field. public const int CurChallengeFieldNumber = 8; private global::EggLink.DanhengServer.Proto.CurChallenge curChallenge_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.CurChallenge CurChallenge { get { return curChallenge_; } set { curChallenge_ = value; } } /// Field number for the "scene" field. public const int SceneFieldNumber = 15; private global::EggLink.DanhengServer.Proto.SceneInfo scene_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.SceneInfo Scene { get { return scene_; } set { scene_ = 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 "stage_info" field. public const int StageInfoFieldNumber = 13; private global::EggLink.DanhengServer.Proto.ChallengeStageInfo stageInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ChallengeStageInfo StageInfo { get { return stageInfo_; } set { stageInfo_ = value; } } /// Field number for the "lineup_list" field. public const int LineupListFieldNumber = 7; private static readonly pb::FieldCodec _repeated_lineupList_codec = pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.LineupInfo.Parser); private readonly pbc::RepeatedField lineupList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LineupList { get { return lineupList_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as StartChallengeScRsp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(StartChallengeScRsp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(CurChallenge, other.CurChallenge)) return false; if (!object.Equals(Scene, other.Scene)) return false; if (Retcode != other.Retcode) return false; if (!object.Equals(StageInfo, other.StageInfo)) return false; if(!lineupList_.Equals(other.lineupList_)) 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 (curChallenge_ != null) hash ^= CurChallenge.GetHashCode(); if (scene_ != null) hash ^= Scene.GetHashCode(); if (Retcode != 0) hash ^= Retcode.GetHashCode(); if (stageInfo_ != null) hash ^= StageInfo.GetHashCode(); hash ^= lineupList_.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 (Retcode != 0) { output.WriteRawTag(48); output.WriteUInt32(Retcode); } lineupList_.WriteTo(output, _repeated_lineupList_codec); if (curChallenge_ != null) { output.WriteRawTag(66); output.WriteMessage(CurChallenge); } if (stageInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(StageInfo); } if (scene_ != null) { output.WriteRawTag(122); output.WriteMessage(Scene); } 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 (Retcode != 0) { output.WriteRawTag(48); output.WriteUInt32(Retcode); } lineupList_.WriteTo(ref output, _repeated_lineupList_codec); if (curChallenge_ != null) { output.WriteRawTag(66); output.WriteMessage(CurChallenge); } if (stageInfo_ != null) { output.WriteRawTag(106); output.WriteMessage(StageInfo); } if (scene_ != null) { output.WriteRawTag(122); output.WriteMessage(Scene); } 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 (curChallenge_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurChallenge); } if (scene_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scene); } if (Retcode != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode); } if (stageInfo_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(StageInfo); } size += lineupList_.CalculateSize(_repeated_lineupList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(StartChallengeScRsp other) { if (other == null) { return; } if (other.curChallenge_ != null) { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } CurChallenge.MergeFrom(other.CurChallenge); } if (other.scene_ != null) { if (scene_ == null) { Scene = new global::EggLink.DanhengServer.Proto.SceneInfo(); } Scene.MergeFrom(other.Scene); } if (other.Retcode != 0) { Retcode = other.Retcode; } if (other.stageInfo_ != null) { if (stageInfo_ == null) { StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo(); } StageInfo.MergeFrom(other.StageInfo); } lineupList_.Add(other.lineupList_); _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 48: { Retcode = input.ReadUInt32(); break; } case 58: { lineupList_.AddEntriesFrom(input, _repeated_lineupList_codec); break; } case 66: { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } input.ReadMessage(CurChallenge); break; } case 106: { if (stageInfo_ == null) { StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo(); } input.ReadMessage(StageInfo); break; } case 122: { if (scene_ == null) { Scene = new global::EggLink.DanhengServer.Proto.SceneInfo(); } input.ReadMessage(Scene); 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 48: { Retcode = input.ReadUInt32(); break; } case 58: { lineupList_.AddEntriesFrom(ref input, _repeated_lineupList_codec); break; } case 66: { if (curChallenge_ == null) { CurChallenge = new global::EggLink.DanhengServer.Proto.CurChallenge(); } input.ReadMessage(CurChallenge); break; } case 106: { if (stageInfo_ == null) { StageInfo = new global::EggLink.DanhengServer.Proto.ChallengeStageInfo(); } input.ReadMessage(StageInfo); break; } case 122: { if (scene_ == null) { Scene = new global::EggLink.DanhengServer.Proto.SceneInfo(); } input.ReadMessage(Scene); break; } } } } #endif } #endregion } #endregion Designer generated code