// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: LineupInfo.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 LineupInfo.proto public static partial class LineupInfoReflection { #region Descriptor /// File descriptor for LineupInfo.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static LineupInfoReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "ChBMaW5ldXBJbmZvLnByb3RvGhJMaW5ldXBBdmF0YXIucHJvdG8aFUV4dHJh", "TGluZXVwVHlwZS5wcm90byLHAgoKTGluZXVwSW5mbxITCgtsZWFkZXJfc2xv", "dBgLIAEoDRIrChFleHRyYV9saW5ldXBfdHlwZRgGIAEoDjIQLkV4dHJhTGlu", "ZXVwVHlwZRIhChlzdG9yeV9saW5lX2F2YXRhcl9pZF9saXN0GA0gAygNEgsK", "A3N1cxgCIAMoDRITCgtOR0dQSEdQRE1GRBgJIAMoDRIiCgthdmF0YXJfbGlz", "dBgFIAMoCzINLkxpbmV1cEF2YXRhchIQCghwbGFuZV9pZBgDIAEoDRIMCgRu", "YW1lGAEgASgJEhoKEmdhbWVfc3RvcnlfbGluZV9pZBgMIAEoDRIOCgZtYXhf", "bXAYDiABKA0SCgoCbXAYBCABKA0SEwoLTVBIQk1GS0tBQU0YDyABKAgSDQoF", "aW5kZXgYByABKA0SEgoKaXNfdmlydHVhbBgKIAEoCEIeqgIbRWdnTGluay5E", "YW5oZW5nU2VydmVyLlByb3RvYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.LineupAvatarReflection.Descriptor, global::EggLink.DanhengServer.Proto.ExtraLineupTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.LineupInfo), global::EggLink.DanhengServer.Proto.LineupInfo.Parser, new[]{ "LeaderSlot", "ExtraLineupType", "StoryLineAvatarIdList", "Sus", "NGGPHGPDMFD", "AvatarList", "PlaneId", "Name", "GameStoryLineId", "MaxMp", "Mp", "MPHBMFKKAAM", "Index", "IsVirtual" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class LineupInfo : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineupInfo()); 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.LineupInfoReflection.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 LineupInfo() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LineupInfo(LineupInfo other) : this() { leaderSlot_ = other.leaderSlot_; extraLineupType_ = other.extraLineupType_; storyLineAvatarIdList_ = other.storyLineAvatarIdList_.Clone(); sus_ = other.sus_.Clone(); nGGPHGPDMFD_ = other.nGGPHGPDMFD_.Clone(); avatarList_ = other.avatarList_.Clone(); planeId_ = other.planeId_; name_ = other.name_; gameStoryLineId_ = other.gameStoryLineId_; maxMp_ = other.maxMp_; mp_ = other.mp_; mPHBMFKKAAM_ = other.mPHBMFKKAAM_; index_ = other.index_; isVirtual_ = other.isVirtual_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public LineupInfo Clone() { return new LineupInfo(this); } /// Field number for the "leader_slot" field. public const int LeaderSlotFieldNumber = 11; 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 "extra_lineup_type" field. public const int ExtraLineupTypeFieldNumber = 6; 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 "story_line_avatar_id_list" field. public const int StoryLineAvatarIdListFieldNumber = 13; private static readonly pb::FieldCodec _repeated_storyLineAvatarIdList_codec = pb::FieldCodec.ForUInt32(106); private readonly pbc::RepeatedField storyLineAvatarIdList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField StoryLineAvatarIdList { get { return storyLineAvatarIdList_; } } /// Field number for the "sus" field. public const int SusFieldNumber = 2; private static readonly pb::FieldCodec _repeated_sus_codec = pb::FieldCodec.ForUInt32(18); private readonly pbc::RepeatedField sus_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Sus { get { return sus_; } } /// Field number for the "NGGPHGPDMFD" field. public const int NGGPHGPDMFDFieldNumber = 9; private static readonly pb::FieldCodec _repeated_nGGPHGPDMFD_codec = pb::FieldCodec.ForUInt32(74); private readonly pbc::RepeatedField nGGPHGPDMFD_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField NGGPHGPDMFD { get { return nGGPHGPDMFD_; } } /// Field number for the "avatar_list" field. public const int AvatarListFieldNumber = 5; private static readonly pb::FieldCodec _repeated_avatarList_codec = pb::FieldCodec.ForMessage(42, global::EggLink.DanhengServer.Proto.LineupAvatar.Parser); private readonly pbc::RepeatedField avatarList_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AvatarList { get { return avatarList_; } } /// 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 "name" field. public const int NameFieldNumber = 1; private string name_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Name { get { return name_; } set { name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// 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 "max_mp" field. public const int MaxMpFieldNumber = 14; private uint maxMp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint MaxMp { get { return maxMp_; } set { maxMp_ = value; } } /// Field number for the "mp" field. public const int MpFieldNumber = 4; private uint mp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Mp { get { return mp_; } set { mp_ = value; } } /// Field number for the "MPHBMFKKAAM" field. public const int MPHBMFKKAAMFieldNumber = 15; private bool mPHBMFKKAAM_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool MPHBMFKKAAM { get { return mPHBMFKKAAM_; } set { mPHBMFKKAAM_ = value; } } /// Field number for the "index" field. public const int IndexFieldNumber = 7; private uint index_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint Index { get { return index_; } set { index_ = value; } } /// Field number for the "is_virtual" field. public const int IsVirtualFieldNumber = 10; private bool isVirtual_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsVirtual { get { return isVirtual_; } set { isVirtual_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as LineupInfo); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(LineupInfo other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (LeaderSlot != other.LeaderSlot) return false; if (ExtraLineupType != other.ExtraLineupType) return false; if(!storyLineAvatarIdList_.Equals(other.storyLineAvatarIdList_)) return false; if(!sus_.Equals(other.sus_)) return false; if(!nGGPHGPDMFD_.Equals(other.nGGPHGPDMFD_)) return false; if(!avatarList_.Equals(other.avatarList_)) return false; if (PlaneId != other.PlaneId) return false; if (Name != other.Name) return false; if (GameStoryLineId != other.GameStoryLineId) return false; if (MaxMp != other.MaxMp) return false; if (Mp != other.Mp) return false; if (MPHBMFKKAAM != other.MPHBMFKKAAM) return false; if (Index != other.Index) return false; if (IsVirtual != other.IsVirtual) 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 (LeaderSlot != 0) hash ^= LeaderSlot.GetHashCode(); if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode(); hash ^= storyLineAvatarIdList_.GetHashCode(); hash ^= sus_.GetHashCode(); hash ^= nGGPHGPDMFD_.GetHashCode(); hash ^= avatarList_.GetHashCode(); if (PlaneId != 0) hash ^= PlaneId.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (GameStoryLineId != 0) hash ^= GameStoryLineId.GetHashCode(); if (MaxMp != 0) hash ^= MaxMp.GetHashCode(); if (Mp != 0) hash ^= Mp.GetHashCode(); if (MPHBMFKKAAM != false) hash ^= MPHBMFKKAAM.GetHashCode(); if (Index != 0) hash ^= Index.GetHashCode(); if (IsVirtual != false) hash ^= IsVirtual.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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } sus_.WriteTo(output, _repeated_sus_codec); if (PlaneId != 0) { output.WriteRawTag(24); output.WriteUInt32(PlaneId); } if (Mp != 0) { output.WriteRawTag(32); output.WriteUInt32(Mp); } avatarList_.WriteTo(output, _repeated_avatarList_codec); if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { output.WriteRawTag(48); output.WriteEnum((int) ExtraLineupType); } if (Index != 0) { output.WriteRawTag(56); output.WriteUInt32(Index); } nGGPHGPDMFD_.WriteTo(output, _repeated_nGGPHGPDMFD_codec); if (IsVirtual != false) { output.WriteRawTag(80); output.WriteBool(IsVirtual); } if (LeaderSlot != 0) { output.WriteRawTag(88); output.WriteUInt32(LeaderSlot); } if (GameStoryLineId != 0) { output.WriteRawTag(96); output.WriteUInt32(GameStoryLineId); } storyLineAvatarIdList_.WriteTo(output, _repeated_storyLineAvatarIdList_codec); if (MaxMp != 0) { output.WriteRawTag(112); output.WriteUInt32(MaxMp); } if (MPHBMFKKAAM != false) { output.WriteRawTag(120); output.WriteBool(MPHBMFKKAAM); } 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 (Name.Length != 0) { output.WriteRawTag(10); output.WriteString(Name); } sus_.WriteTo(ref output, _repeated_sus_codec); if (PlaneId != 0) { output.WriteRawTag(24); output.WriteUInt32(PlaneId); } if (Mp != 0) { output.WriteRawTag(32); output.WriteUInt32(Mp); } avatarList_.WriteTo(ref output, _repeated_avatarList_codec); if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { output.WriteRawTag(48); output.WriteEnum((int) ExtraLineupType); } if (Index != 0) { output.WriteRawTag(56); output.WriteUInt32(Index); } nGGPHGPDMFD_.WriteTo(ref output, _repeated_nGGPHGPDMFD_codec); if (IsVirtual != false) { output.WriteRawTag(80); output.WriteBool(IsVirtual); } if (LeaderSlot != 0) { output.WriteRawTag(88); output.WriteUInt32(LeaderSlot); } if (GameStoryLineId != 0) { output.WriteRawTag(96); output.WriteUInt32(GameStoryLineId); } storyLineAvatarIdList_.WriteTo(ref output, _repeated_storyLineAvatarIdList_codec); if (MaxMp != 0) { output.WriteRawTag(112); output.WriteUInt32(MaxMp); } if (MPHBMFKKAAM != false) { output.WriteRawTag(120); output.WriteBool(MPHBMFKKAAM); } 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 (LeaderSlot != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeaderSlot); } if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType); } size += storyLineAvatarIdList_.CalculateSize(_repeated_storyLineAvatarIdList_codec); size += sus_.CalculateSize(_repeated_sus_codec); size += nGGPHGPDMFD_.CalculateSize(_repeated_nGGPHGPDMFD_codec); size += avatarList_.CalculateSize(_repeated_avatarList_codec); if (PlaneId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (GameStoryLineId != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStoryLineId); } if (MaxMp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxMp); } if (Mp != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Mp); } if (MPHBMFKKAAM != false) { size += 1 + 1; } if (Index != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index); } if (IsVirtual != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(LineupInfo other) { if (other == null) { return; } if (other.LeaderSlot != 0) { LeaderSlot = other.LeaderSlot; } if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) { ExtraLineupType = other.ExtraLineupType; } storyLineAvatarIdList_.Add(other.storyLineAvatarIdList_); sus_.Add(other.sus_); nGGPHGPDMFD_.Add(other.nGGPHGPDMFD_); avatarList_.Add(other.avatarList_); if (other.PlaneId != 0) { PlaneId = other.PlaneId; } if (other.Name.Length != 0) { Name = other.Name; } if (other.GameStoryLineId != 0) { GameStoryLineId = other.GameStoryLineId; } if (other.MaxMp != 0) { MaxMp = other.MaxMp; } if (other.Mp != 0) { Mp = other.Mp; } if (other.MPHBMFKKAAM != false) { MPHBMFKKAAM = other.MPHBMFKKAAM; } if (other.Index != 0) { Index = other.Index; } if (other.IsVirtual != false) { IsVirtual = other.IsVirtual; } _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 10: { Name = input.ReadString(); break; } case 18: case 16: { sus_.AddEntriesFrom(input, _repeated_sus_codec); break; } case 24: { PlaneId = input.ReadUInt32(); break; } case 32: { Mp = input.ReadUInt32(); break; } case 42: { avatarList_.AddEntriesFrom(input, _repeated_avatarList_codec); break; } case 48: { ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum(); break; } case 56: { Index = input.ReadUInt32(); break; } case 74: case 72: { nGGPHGPDMFD_.AddEntriesFrom(input, _repeated_nGGPHGPDMFD_codec); break; } case 80: { IsVirtual = input.ReadBool(); break; } case 88: { LeaderSlot = input.ReadUInt32(); break; } case 96: { GameStoryLineId = input.ReadUInt32(); break; } case 106: case 104: { storyLineAvatarIdList_.AddEntriesFrom(input, _repeated_storyLineAvatarIdList_codec); break; } case 112: { MaxMp = input.ReadUInt32(); break; } case 120: { MPHBMFKKAAM = input.ReadBool(); 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 10: { Name = input.ReadString(); break; } case 18: case 16: { sus_.AddEntriesFrom(ref input, _repeated_sus_codec); break; } case 24: { PlaneId = input.ReadUInt32(); break; } case 32: { Mp = input.ReadUInt32(); break; } case 42: { avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec); break; } case 48: { ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum(); break; } case 56: { Index = input.ReadUInt32(); break; } case 74: case 72: { nGGPHGPDMFD_.AddEntriesFrom(ref input, _repeated_nGGPHGPDMFD_codec); break; } case 80: { IsVirtual = input.ReadBool(); break; } case 88: { LeaderSlot = input.ReadUInt32(); break; } case 96: { GameStoryLineId = input.ReadUInt32(); break; } case 106: case 104: { storyLineAvatarIdList_.AddEntriesFrom(ref input, _repeated_storyLineAvatarIdList_codec); break; } case 112: { MaxMp = input.ReadUInt32(); break; } case 120: { MPHBMFKKAAM = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code