Files
DanhengServer-OpenSource/Proto/ReplaceLineupCsReq.cs
2025-11-29 21:57:27 +08:00

451 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ReplaceLineupCsReq.proto
// </auto-generated>
#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 {
/// <summary>Holder for reflection information generated from ReplaceLineupCsReq.proto</summary>
public static partial class ReplaceLineupCsReqReflection {
#region Descriptor
/// <summary>File descriptor for ReplaceLineupCsReq.proto</summary>
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",
"c1JlcRINCgVpbmRleBgKIAEoDRITCgtsZWFkZXJfc2xvdBgFIAEoDRIQCghw",
"bGFuZV9pZBgBIAEoDRIrChFleHRyYV9saW5ldXBfdHlwZRgLIAEoDjIQLkV4",
"dHJhTGluZXVwVHlwZRIaChJnYW1lX3N0b3J5X2xpbmVfaWQYAyABKA0SEgoK",
"aXNfdmlydHVhbBgCIAEoCBIpChBsaW5ldXBfc2xvdF9saXN0GAkgAygLMg8u",
"TGluZXVwU2xvdERhdGFCHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"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[]{ "Index", "LeaderSlot", "PlaneId", "ExtraLineupType", "GameStoryLineId", "IsVirtual", "LineupSlotList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ReplaceLineupCsReq : pb::IMessage<ReplaceLineupCsReq>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ReplaceLineupCsReq> _parser = new pb::MessageParser<ReplaceLineupCsReq>(() => new ReplaceLineupCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ReplaceLineupCsReq> 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() {
index_ = other.index_;
leaderSlot_ = other.leaderSlot_;
planeId_ = other.planeId_;
extraLineupType_ = other.extraLineupType_;
gameStoryLineId_ = other.gameStoryLineId_;
isVirtual_ = other.isVirtual_;
lineupSlotList_ = other.lineupSlotList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ReplaceLineupCsReq Clone() {
return new ReplaceLineupCsReq(this);
}
/// <summary>Field number for the "index" field.</summary>
public const int IndexFieldNumber = 10;
private uint index_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Index {
get { return index_; }
set {
index_ = value;
}
}
/// <summary>Field number for the "leader_slot" field.</summary>
public const int LeaderSlotFieldNumber = 5;
private uint leaderSlot_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint LeaderSlot {
get { return leaderSlot_; }
set {
leaderSlot_ = value;
}
}
/// <summary>Field number for the "plane_id" field.</summary>
public const int PlaneIdFieldNumber = 1;
private uint planeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint PlaneId {
get { return planeId_; }
set {
planeId_ = value;
}
}
/// <summary>Field number for the "extra_lineup_type" field.</summary>
public const int ExtraLineupTypeFieldNumber = 11;
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;
}
}
/// <summary>Field number for the "game_story_line_id" field.</summary>
public const int GameStoryLineIdFieldNumber = 3;
private uint gameStoryLineId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GameStoryLineId {
get { return gameStoryLineId_; }
set {
gameStoryLineId_ = value;
}
}
/// <summary>Field number for the "is_virtual" field.</summary>
public const int IsVirtualFieldNumber = 2;
private bool isVirtual_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsVirtual {
get { return isVirtual_; }
set {
isVirtual_ = value;
}
}
/// <summary>Field number for the "lineup_slot_list" field.</summary>
public const int LineupSlotListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.LineupSlotData> _repeated_lineupSlotList_codec
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.LineupSlotData.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupSlotData> lineupSlotList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupSlotData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.LineupSlotData> LineupSlotList {
get { return lineupSlotList_; }
}
[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 (Index != other.Index) return false;
if (LeaderSlot != other.LeaderSlot) return false;
if (PlaneId != other.PlaneId) return false;
if (ExtraLineupType != other.ExtraLineupType) return false;
if (GameStoryLineId != other.GameStoryLineId) return false;
if (IsVirtual != other.IsVirtual) return false;
if(!lineupSlotList_.Equals(other.lineupSlotList_)) 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 (Index != 0) hash ^= Index.GetHashCode();
if (LeaderSlot != 0) hash ^= LeaderSlot.GetHashCode();
if (PlaneId != 0) hash ^= PlaneId.GetHashCode();
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) hash ^= ExtraLineupType.GetHashCode();
if (GameStoryLineId != 0) hash ^= GameStoryLineId.GetHashCode();
if (IsVirtual != false) hash ^= IsVirtual.GetHashCode();
hash ^= lineupSlotList_.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 (PlaneId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PlaneId);
}
if (IsVirtual != false) {
output.WriteRawTag(16);
output.WriteBool(IsVirtual);
}
if (GameStoryLineId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GameStoryLineId);
}
if (LeaderSlot != 0) {
output.WriteRawTag(40);
output.WriteUInt32(LeaderSlot);
}
lineupSlotList_.WriteTo(output, _repeated_lineupSlotList_codec);
if (Index != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Index);
}
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
output.WriteRawTag(88);
output.WriteEnum((int) ExtraLineupType);
}
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 (PlaneId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(PlaneId);
}
if (IsVirtual != false) {
output.WriteRawTag(16);
output.WriteBool(IsVirtual);
}
if (GameStoryLineId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GameStoryLineId);
}
if (LeaderSlot != 0) {
output.WriteRawTag(40);
output.WriteUInt32(LeaderSlot);
}
lineupSlotList_.WriteTo(ref output, _repeated_lineupSlotList_codec);
if (Index != 0) {
output.WriteRawTag(80);
output.WriteUInt32(Index);
}
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
output.WriteRawTag(88);
output.WriteEnum((int) ExtraLineupType);
}
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 (Index != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Index);
}
if (LeaderSlot != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LeaderSlot);
}
if (PlaneId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlaneId);
}
if (ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExtraLineupType);
}
if (GameStoryLineId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GameStoryLineId);
}
if (IsVirtual != false) {
size += 1 + 1;
}
size += lineupSlotList_.CalculateSize(_repeated_lineupSlotList_codec);
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.Index != 0) {
Index = other.Index;
}
if (other.LeaderSlot != 0) {
LeaderSlot = other.LeaderSlot;
}
if (other.PlaneId != 0) {
PlaneId = other.PlaneId;
}
if (other.ExtraLineupType != global::EggLink.DanhengServer.Proto.ExtraLineupType.LineupNone) {
ExtraLineupType = other.ExtraLineupType;
}
if (other.GameStoryLineId != 0) {
GameStoryLineId = other.GameStoryLineId;
}
if (other.IsVirtual != false) {
IsVirtual = other.IsVirtual;
}
lineupSlotList_.Add(other.lineupSlotList_);
_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 8: {
PlaneId = input.ReadUInt32();
break;
}
case 16: {
IsVirtual = input.ReadBool();
break;
}
case 24: {
GameStoryLineId = input.ReadUInt32();
break;
}
case 40: {
LeaderSlot = input.ReadUInt32();
break;
}
case 74: {
lineupSlotList_.AddEntriesFrom(input, _repeated_lineupSlotList_codec);
break;
}
case 80: {
Index = input.ReadUInt32();
break;
}
case 88: {
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
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 8: {
PlaneId = input.ReadUInt32();
break;
}
case 16: {
IsVirtual = input.ReadBool();
break;
}
case 24: {
GameStoryLineId = input.ReadUInt32();
break;
}
case 40: {
LeaderSlot = input.ReadUInt32();
break;
}
case 74: {
lineupSlotList_.AddEntriesFrom(ref input, _repeated_lineupSlotList_codec);
break;
}
case 80: {
Index = input.ReadUInt32();
break;
}
case 88: {
ExtraLineupType = (global::EggLink.DanhengServer.Proto.ExtraLineupType) input.ReadEnum();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code