mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
282 lines
13 KiB
C#
282 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightGameItemsInfo.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 GridFightGameItemsInfo.proto</summary>
|
|
public static partial class GridFightGameItemsInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightGameItemsInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightGameItemsInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChxHcmlkRmlnaHRHYW1lSXRlbXNJbmZvLnByb3RvGhxHcmlkRmlnaHRFcXVp",
|
|
"cG1lbnRJbmZvLnByb3RvGhtHcmlkR2FtZUZvcmdlSXRlbUluZm8ucHJvdG8a",
|
|
"HUdyaWRGaWdodENvbnN1bWFibGVJbmZvLnByb3RvIs0BChZHcmlkRmlnaHRH",
|
|
"YW1lSXRlbXNJbmZvEjwKGmdyaWRfZmlnaHRfY29uc3VtYWJsZV9saXN0GAwg",
|
|
"AygLMhguR3JpZEZpZ2h0Q29uc3VtYWJsZUluZm8SOQoZZ3JpZF9nYW1lX2Zv",
|
|
"cmdlX2l0ZW1fbGlzdBgBIAMoCzIWLkdyaWRHYW1lRm9yZ2VJdGVtSW5mbxI6",
|
|
"ChlncmlkX2ZpZ2h0X2VxdWlwbWVudF9saXN0GA8gAygLMhcuR3JpZEZpZ2h0",
|
|
"RXF1aXBtZW50SW5mb0IeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlByb3Rv",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightEquipmentInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridGameForgeItemInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightConsumableInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo), global::EggLink.DanhengServer.Proto.GridFightGameItemsInfo.Parser, new[]{ "GridFightConsumableList", "GridGameForgeItemList", "GridFightEquipmentList" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightGameItemsInfo : pb::IMessage<GridFightGameItemsInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightGameItemsInfo> _parser = new pb::MessageParser<GridFightGameItemsInfo>(() => new GridFightGameItemsInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightGameItemsInfo> 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.GridFightGameItemsInfoReflection.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 GridFightGameItemsInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightGameItemsInfo(GridFightGameItemsInfo other) : this() {
|
|
gridFightConsumableList_ = other.gridFightConsumableList_.Clone();
|
|
gridGameForgeItemList_ = other.gridGameForgeItemList_.Clone();
|
|
gridFightEquipmentList_ = other.gridFightEquipmentList_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightGameItemsInfo Clone() {
|
|
return new GridFightGameItemsInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_fight_consumable_list" field.</summary>
|
|
public const int GridFightConsumableListFieldNumber = 12;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightConsumableInfo> _repeated_gridFightConsumableList_codec
|
|
= pb::FieldCodec.ForMessage(98, global::EggLink.DanhengServer.Proto.GridFightConsumableInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightConsumableInfo> gridFightConsumableList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightConsumableInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightConsumableInfo> GridFightConsumableList {
|
|
get { return gridFightConsumableList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_game_forge_item_list" field.</summary>
|
|
public const int GridGameForgeItemListFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridGameForgeItemInfo> _repeated_gridGameForgeItemList_codec
|
|
= pb::FieldCodec.ForMessage(10, 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_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_fight_equipment_list" field.</summary>
|
|
public const int GridFightEquipmentListFieldNumber = 15;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightEquipmentInfo> _repeated_gridFightEquipmentList_codec
|
|
= pb::FieldCodec.ForMessage(122, global::EggLink.DanhengServer.Proto.GridFightEquipmentInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightEquipmentInfo> gridFightEquipmentList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightEquipmentInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightEquipmentInfo> GridFightEquipmentList {
|
|
get { return gridFightEquipmentList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightGameItemsInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightGameItemsInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!gridFightConsumableList_.Equals(other.gridFightConsumableList_)) return false;
|
|
if(!gridGameForgeItemList_.Equals(other.gridGameForgeItemList_)) return false;
|
|
if(!gridFightEquipmentList_.Equals(other.gridFightEquipmentList_)) 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 ^= gridFightConsumableList_.GetHashCode();
|
|
hash ^= gridGameForgeItemList_.GetHashCode();
|
|
hash ^= gridFightEquipmentList_.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
|
|
gridGameForgeItemList_.WriteTo(output, _repeated_gridGameForgeItemList_codec);
|
|
gridFightConsumableList_.WriteTo(output, _repeated_gridFightConsumableList_codec);
|
|
gridFightEquipmentList_.WriteTo(output, _repeated_gridFightEquipmentList_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) {
|
|
gridGameForgeItemList_.WriteTo(ref output, _repeated_gridGameForgeItemList_codec);
|
|
gridFightConsumableList_.WriteTo(ref output, _repeated_gridFightConsumableList_codec);
|
|
gridFightEquipmentList_.WriteTo(ref output, _repeated_gridFightEquipmentList_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 += gridFightConsumableList_.CalculateSize(_repeated_gridFightConsumableList_codec);
|
|
size += gridGameForgeItemList_.CalculateSize(_repeated_gridGameForgeItemList_codec);
|
|
size += gridFightEquipmentList_.CalculateSize(_repeated_gridFightEquipmentList_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightGameItemsInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
gridFightConsumableList_.Add(other.gridFightConsumableList_);
|
|
gridGameForgeItemList_.Add(other.gridGameForgeItemList_);
|
|
gridFightEquipmentList_.Add(other.gridFightEquipmentList_);
|
|
_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: {
|
|
gridGameForgeItemList_.AddEntriesFrom(input, _repeated_gridGameForgeItemList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
gridFightConsumableList_.AddEntriesFrom(input, _repeated_gridFightConsumableList_codec);
|
|
break;
|
|
}
|
|
case 122: {
|
|
gridFightEquipmentList_.AddEntriesFrom(input, _repeated_gridFightEquipmentList_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 10: {
|
|
gridGameForgeItemList_.AddEntriesFrom(ref input, _repeated_gridGameForgeItemList_codec);
|
|
break;
|
|
}
|
|
case 98: {
|
|
gridFightConsumableList_.AddEntriesFrom(ref input, _repeated_gridFightConsumableList_codec);
|
|
break;
|
|
}
|
|
case 122: {
|
|
gridFightEquipmentList_.AddEntriesFrom(ref input, _repeated_gridFightEquipmentList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|