Files
DanhengServer-OpenSource/Proto/GridFightGameTeamInfo.cs
2025-12-14 11:26:01 +08:00

281 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightGameTeamInfo.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 GridFightGameTeamInfo.proto</summary>
public static partial class GridFightGameTeamInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridFightGameTeamInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightGameTeamInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChtHcmlkRmlnaHRHYW1lVGVhbUluZm8ucHJvdG8aFkdyaWRHYW1lUm9sZUlu",
"Zm8ucHJvdG8aG0dyaWRHYW1lRm9yZ2VJdGVtSW5mby5wcm90bxoVR3JpZEdh",
"bWVOcGNJbmZvLnByb3RvIrABChVHcmlkRmlnaHRHYW1lVGVhbUluZm8SLgoT",
"Z3JpZF9nYW1lX3JvbGVfbGlzdBgHIAMoCzIRLkdyaWRHYW1lUm9sZUluZm8S",
"LAoSZ3JpZF9nYW1lX25wY19saXN0GAkgAygLMhAuR3JpZEdhbWVOcGNJbmZv",
"EjkKGWdyaWRfZ2FtZV9mb3JnZV9pdGVtX2xpc3QYDSADKAsyFi5HcmlkR2Ft",
"ZUZvcmdlSXRlbUluZm9CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90",
"b2IGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridGameRoleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameForgeItemInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameNpcInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo), global::EggLink.DanhengServer.Proto.GridFightGameTeamInfo.Parser, new[]{ "GridGameRoleList", "GridGameNpcList", "GridGameForgeItemList" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightGameTeamInfo : pb::IMessage<GridFightGameTeamInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightGameTeamInfo> _parser = new pb::MessageParser<GridFightGameTeamInfo>(() => new GridFightGameTeamInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightGameTeamInfo> 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.GridFightGameTeamInfoReflection.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 GridFightGameTeamInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightGameTeamInfo(GridFightGameTeamInfo other) : this() {
gridGameRoleList_ = other.gridGameRoleList_.Clone();
gridGameNpcList_ = other.gridGameNpcList_.Clone();
gridGameForgeItemList_ = other.gridGameForgeItemList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightGameTeamInfo Clone() {
return new GridFightGameTeamInfo(this);
}
/// <summary>Field number for the "grid_game_role_list" field.</summary>
public const int GridGameRoleListFieldNumber = 7;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridGameRoleInfo> _repeated_gridGameRoleList_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.GridGameRoleInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameRoleInfo> gridGameRoleList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameRoleInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameRoleInfo> GridGameRoleList {
get { return gridGameRoleList_; }
}
/// <summary>Field number for the "grid_game_npc_list" field.</summary>
public const int GridGameNpcListFieldNumber = 9;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridGameNpcInfo> _repeated_gridGameNpcList_codec
= pb::FieldCodec.ForMessage(74, global::EggLink.DanhengServer.Proto.GridGameNpcInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameNpcInfo> gridGameNpcList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameNpcInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameNpcInfo> GridGameNpcList {
get { return gridGameNpcList_; }
}
/// <summary>Field number for the "grid_game_forge_item_list" field.</summary>
public const int GridGameForgeItemListFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo> _repeated_gridGameForgeItemList_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo> gridGameForgeItemList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo> GridGameForgeItemList {
get { return gridGameForgeItemList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightGameTeamInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightGameTeamInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!gridGameRoleList_.Equals(other.gridGameRoleList_)) return false;
if(!gridGameNpcList_.Equals(other.gridGameNpcList_)) return false;
if(!gridGameForgeItemList_.Equals(other.gridGameForgeItemList_)) 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;
hash ^= gridGameRoleList_.GetHashCode();
hash ^= gridGameNpcList_.GetHashCode();
hash ^= gridGameForgeItemList_.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
gridGameRoleList_.WriteTo(output, _repeated_gridGameRoleList_codec);
gridGameNpcList_.WriteTo(output, _repeated_gridGameNpcList_codec);
gridGameForgeItemList_.WriteTo(output, _repeated_gridGameForgeItemList_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) {
gridGameRoleList_.WriteTo(ref output, _repeated_gridGameRoleList_codec);
gridGameNpcList_.WriteTo(ref output, _repeated_gridGameNpcList_codec);
gridGameForgeItemList_.WriteTo(ref output, _repeated_gridGameForgeItemList_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;
size += gridGameRoleList_.CalculateSize(_repeated_gridGameRoleList_codec);
size += gridGameNpcList_.CalculateSize(_repeated_gridGameNpcList_codec);
size += gridGameForgeItemList_.CalculateSize(_repeated_gridGameForgeItemList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightGameTeamInfo other) {
if (other == null) {
return;
}
gridGameRoleList_.Add(other.gridGameRoleList_);
gridGameNpcList_.Add(other.gridGameNpcList_);
gridGameForgeItemList_.Add(other.gridGameForgeItemList_);
_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 58: {
gridGameRoleList_.AddEntriesFrom(input, _repeated_gridGameRoleList_codec);
break;
}
case 74: {
gridGameNpcList_.AddEntriesFrom(input, _repeated_gridGameNpcList_codec);
break;
}
case 106: {
gridGameForgeItemList_.AddEntriesFrom(input, _repeated_gridGameForgeItemList_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 58: {
gridGameRoleList_.AddEntriesFrom(ref input, _repeated_gridGameRoleList_codec);
break;
}
case 74: {
gridGameNpcList_.AddEntriesFrom(ref input, _repeated_gridGameNpcList_codec);
break;
}
case 106: {
gridGameForgeItemList_.AddEntriesFrom(ref input, _repeated_gridGameForgeItemList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code