// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: ReplaceLineupCsReq.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 ReplaceLineupCsReq.proto public static partial class ReplaceLineupCsReqReflection { #region Descriptor /// File descriptor for ReplaceLineupCsReq.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ReplaceLineupCsReqReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChhSZXBsYWNlTGluZXVwQ3NSZXEucHJvdG8aFUV4dHJhTGluZXVwVHlwZS5w", "cm90bxoUTGluZXVwU2xvdERhdGEucHJvdG8i0gEKElJlcGxhY2VMaW5ldXBD", "c1JlcRIaChJnYW1lX3N0b3J5X2xpbmVfaWQYDCABKA0SEAoIcGxhbmVfaWQY", "AyABKA0SEwoLbGVhZGVyX3Nsb3QYByABKA0SEgoKaXNfdmlydHVhbBgEIAEo", "CBIpChBsaW5ldXBfc2xvdF9saXN0GA4gAygLMg8uTGluZXVwU2xvdERhdGES", "KwoRZXh0cmFfbGluZXVwX3R5cGUYCiABKA4yEC5FeHRyYUxpbmV1cFR5cGUS", "DQoFaW5kZXgYAiABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90", "b2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.ExtraLineupTypeReflection.Descriptor, global::EggLink.DanhengServer.Proto.LineupSlotDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.ReplaceLineupCsReq), global::EggLink.DanhengServer.Proto.ReplaceLineupCsReq.Parser, new[]{ "GameStoryLineId", "PlaneId", "LeaderSlot", "IsVirtual", "LineupSlotList", "ExtraLineupType", "Index" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ReplaceLineupCsReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplaceLineupCsReq()); 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.ReplaceLineupCsReqReflection.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 ReplaceLineupCsReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReplaceLineupCsReq(ReplaceLineupCsReq other) : this() { gameStoryLineId_ = other.gameStoryLineId_; planeId_ = other.planeId_; leaderSlot_ = other.leaderSlot_; isVirtual_ = other.isVirtual_; lineupSlotList_ = other.lineupSlotList_.Clone(); extraLineupType_ = other.extraLineupType_; index_ = other.index_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ReplaceLineupCsReq Clone() { return new ReplaceLineupCsReq(this); } /// Field number for the "game_story_line_id" field. public const int GameStoryLineIdFieldNumber = 12; private uint gameStoryLineId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GameStoryLineId { get { return gameStoryLineId_; } set { gameStoryLineId_ = value; } } /// Field number for the "plane_id" field. public const int PlaneIdFieldNumber = 3; private uint planeId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint PlaneId { get { return planeId_; } set { planeId_ = value; } } /// Field number for the "leader_slot" field. public const int LeaderSlotFieldNumber = 7; private uint leaderSlot_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint LeaderSlot { get { return leaderSlot_; } set { leaderSlot_ = value; } } /// Field number for the "is_virtual" field. public const int IsVirtualFieldNumber = 4; private bool isVirtual_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsVirtual { get { return isVirtual_; } set { isVirtual_ = value; } } /// Field number for the "lineup_slot_list" field. public const int LineupSlotListFieldNumber = 14; private static readonly pb::FieldCodec _repeated_lineupSlotList_codec = pb::FieldCodec.ForMessage(114, global::EggLink.DanhengServer.Proto.LineupSlotData.Parser); private readonly pbc::RepeatedField lineupSlotList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField LineupSlotList { get { return lineupSlotList_; } } /// Field number for the "extra_lineup_type" field. public const int ExtraLineupTypeFieldNumber = 10; private global::EggLink.DanhengServer.Proto.ExtraLineupType extraLineupType_ = global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::EggLink.DanhengServer.Proto.ExtraLineupType ExtraLineupType { get { return extraLineupType_; } set { extraLineupType_ = value; } } /// Field number for the "index" field. public const int IndexFieldNumber = 2; private uint index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Index { get { return index_; } set { index_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ReplaceLineupCsReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ReplaceLineupCsReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GameStoryLineId != other.GameStoryLineId) return false; if (PlaneId != other.PlaneId) return false; if (LeaderSlot != other.LeaderSlot) return false; if (IsVirtual != other.IsVirtual) return false; if(!lineupSlotList_.Equals(other.lineupSlotList_)) return false; if (ExtraLineupType != other.ExtraLineupType) return false; if (Index != other.Index) 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 (GameStoryLineId != 0) hash ^= GameStoryLineId.GetHashCode(); if (PlaneId != 0) hash ^= PlaneId.GetHashCode(); if (LeaderSlot != 0) hash ^= LeaderSlot.GetHashCode(); if (IsVirtual != false) hash ^= IsVirtual.GetHashCode(); hash ^= lineupSlotList_.GetHashCode(); if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode(); if (Index != 0) hash ^= Index.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 (Index != 0) { output.WriteRawTag(16); output.WriteUInt32(Index); } if (PlaneId != 0) { output.WriteRawTag(24); output.WriteUInt32(PlaneId); } if (IsVirtual != false) { output.WriteRawTag(32); output.WriteBool(IsVirtual); } if (LeaderSlot != 0) { output.WriteRawTag(56); output.WriteUInt32(LeaderSlot); } if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { output.WriteRawTag(80); output.WriteEnum((int) ExtraLineupType); } if (GameStoryLineId != 0) { output.WriteRawTag(96); output.WriteUInt32(GameStoryLineId); } lineupSlotList_.WriteTo(output, _repeated_lineupSlotList_codec); 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 (Index != 0) { output.WriteRawTag(16); output.WriteUInt32(Index); } if (PlaneId != 0) { output.WriteRawTag(24); output.WriteUInt32(PlaneId); } if (IsVirtual != false) { output.WriteRawTag(32); output.WriteBool(IsVirtual); } if (LeaderSlot != 0) { output.WriteRawTag(56); output.WriteUInt32(LeaderSlot); } if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { output.WriteRawTag(80); output.WriteEnum((int) ExtraLineupType); } if (GameStoryLineId != 0) { output.WriteRawTag(96); output.WriteUInt32(GameStoryLineId); } lineupSlotList_.WriteTo(ref output, _repeated_lineupSlotList_codec); 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 (GameStoryLineId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStoryLineId); } if (PlaneId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId); } if (LeaderSlot != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeaderSlot); } if (IsVirtual != false) { size += 1 + 1; } size += lineupSlotList_.CalculateSize(_repeated_lineupSlotList_codec); if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType); } if (Index != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ReplaceLineupCsReq other) { if (other == null) { return; } if (other.GameStoryLineId != 0) { GameStoryLineId = other.GameStoryLineId; } if (other.PlaneId != 0) { PlaneId = other.PlaneId; } if (other.LeaderSlot != 0) { LeaderSlot = other.LeaderSlot; } if (other.IsVirtual != false) { IsVirtual = other.IsVirtual; } lineupSlotList_.Add(other.lineupSlotList_); if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { ExtraLineupType = other.ExtraLineupType; } if (other.Index != 0) { Index = other.Index; } _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: { Index = input.ReadUInt32(); break; } case 24: { PlaneId = input.ReadUInt32(); break; } case 32: { IsVirtual = input.ReadBool(); break; } case 56: { LeaderSlot = input.ReadUInt32(); break; } case 80: { ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum(); break; } case 96: { GameStoryLineId = input.ReadUInt32(); break; } case 114: { lineupSlotList_.AddEntriesFrom(input, _repeated_lineupSlotList_codec); 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: { Index = input.ReadUInt32(); break; } case 24: { PlaneId = input.ReadUInt32(); break; } case 32: { IsVirtual = input.ReadBool(); break; } case 56: { LeaderSlot = input.ReadUInt32(); break; } case 80: { ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum(); break; } case 96: { GameStoryLineId = input.ReadUInt32(); break; } case 114: { lineupSlotList_.AddEntriesFrom(ref input, _repeated_lineupSlotList_codec); break; } } } } #endif } #endregion } #endregion Designer generated code