Files
DanhengServer-OpenSource/Proto/GridFightFormationInfo.cs
2025-09-27 13:58:04 +08:00

338 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightFormationInfo.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 GridFightFormationInfo.proto</summary>
public static partial class GridFightFormationInfoReflection {
#region Descriptor
/// <summary>File descriptor for GridFightFormationInfo.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightFormationInfoReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChxHcmlkRmlnaHRGb3JtYXRpb25JbmZvLnByb3RvGhdHcmlkRmlnaHRSb2xl",
"SW5mby5wcm90byKCAQoWR3JpZEZpZ2h0Rm9ybWF0aW9uSW5mbxITCgtGSEtC",
"Sk5DTUVLRhgOIAEoCRIvChNmb3JtYXRpb25fcm9sZV9saXN0GA0gAygLMhIu",
"R3JpZEZpZ2h0Um9sZUluZm8SDAoEbmFtZRgBIAEoCRIUCgxkaWNlX3Nsb3Rf",
"aWQYAyABKA1CHqoCG0VnZ0xpbmsuRGFuaGVuZ1NlcnZlci5Qcm90b2IGcHJv",
"dG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightRoleInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightFormationInfo), global::EggLink.DanhengServer.Proto.GridFightFormationInfo.Parser, new[]{ "FHKBJNCMEKF", "FormationRoleList", "Name", "DiceSlotId" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightFormationInfo : pb::IMessage<GridFightFormationInfo>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<GridFightFormationInfo> _parser = new pb::MessageParser<GridFightFormationInfo>(() => new GridFightFormationInfo());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<GridFightFormationInfo> 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.GridFightFormationInfoReflection.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 GridFightFormationInfo() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightFormationInfo(GridFightFormationInfo other) : this() {
fHKBJNCMEKF_ = other.fHKBJNCMEKF_;
formationRoleList_ = other.formationRoleList_.Clone();
name_ = other.name_;
diceSlotId_ = other.diceSlotId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightFormationInfo Clone() {
return new GridFightFormationInfo(this);
}
/// <summary>Field number for the "FHKBJNCMEKF" field.</summary>
public const int FHKBJNCMEKFFieldNumber = 14;
private string fHKBJNCMEKF_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FHKBJNCMEKF {
get { return fHKBJNCMEKF_; }
set {
fHKBJNCMEKF_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "formation_role_list" field.</summary>
public const int FormationRoleListFieldNumber = 13;
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightRoleInfo> _repeated_formationRoleList_codec
= pb::FieldCodec.ForMessage(106, global::EggLink.DanhengServer.Proto.GridFightRoleInfo.Parser);
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightRoleInfo> formationRoleList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightRoleInfo>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightRoleInfo> FormationRoleList {
get { return formationRoleList_; }
}
/// <summary>Field number for the "name" field.</summary>
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");
}
}
/// <summary>Field number for the "dice_slot_id" field.</summary>
public const int DiceSlotIdFieldNumber = 3;
private uint diceSlotId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DiceSlotId {
get { return diceSlotId_; }
set {
diceSlotId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GridFightFormationInfo);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightFormationInfo other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FHKBJNCMEKF != other.FHKBJNCMEKF) return false;
if(!formationRoleList_.Equals(other.formationRoleList_)) return false;
if (Name != other.Name) return false;
if (DiceSlotId != other.DiceSlotId) 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 (FHKBJNCMEKF.Length != 0) hash ^= FHKBJNCMEKF.GetHashCode();
hash ^= formationRoleList_.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (DiceSlotId != 0) hash ^= DiceSlotId.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);
}
if (DiceSlotId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DiceSlotId);
}
formationRoleList_.WriteTo(output, _repeated_formationRoleList_codec);
if (FHKBJNCMEKF.Length != 0) {
output.WriteRawTag(114);
output.WriteString(FHKBJNCMEKF);
}
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);
}
if (DiceSlotId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(DiceSlotId);
}
formationRoleList_.WriteTo(ref output, _repeated_formationRoleList_codec);
if (FHKBJNCMEKF.Length != 0) {
output.WriteRawTag(114);
output.WriteString(FHKBJNCMEKF);
}
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 (FHKBJNCMEKF.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FHKBJNCMEKF);
}
size += formationRoleList_.CalculateSize(_repeated_formationRoleList_codec);
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (DiceSlotId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GridFightFormationInfo other) {
if (other == null) {
return;
}
if (other.FHKBJNCMEKF.Length != 0) {
FHKBJNCMEKF = other.FHKBJNCMEKF;
}
formationRoleList_.Add(other.formationRoleList_);
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.DiceSlotId != 0) {
DiceSlotId = other.DiceSlotId;
}
_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 24: {
DiceSlotId = input.ReadUInt32();
break;
}
case 106: {
formationRoleList_.AddEntriesFrom(input, _repeated_formationRoleList_codec);
break;
}
case 114: {
FHKBJNCMEKF = input.ReadString();
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 24: {
DiceSlotId = input.ReadUInt32();
break;
}
case 106: {
formationRoleList_.AddEntriesFrom(ref input, _repeated_formationRoleList_codec);
break;
}
case 114: {
FHKBJNCMEKF = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code