mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
335 lines
14 KiB
C#
335 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightForgeGoodsInfo.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 GridFightForgeGoodsInfo.proto</summary>
|
|
public static partial class GridFightForgeGoodsInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightForgeGoodsInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightForgeGoodsInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ch1HcmlkRmlnaHRGb3JnZUdvb2RzSW5mby5wcm90bxocR3JpZEZpZ2h0Rm9y",
|
|
"Z2VSb2xlSW5mby5wcm90bxohR3JpZEZpZ2h0Rm9yZ2VFcXVpcG1lbnRJbmZv",
|
|
"LnByb3RvIpoBChdHcmlkRmlnaHRGb3JnZUdvb2RzSW5mbxI8ChRlcXVpcG1l",
|
|
"bnRfZ29vZHNfaW5mbxgHIAEoCzIcLkdyaWRGaWdodEZvcmdlRXF1aXBtZW50",
|
|
"SW5mb0gAEjIKD3JvbGVfZ29vZHNfaW5mbxgIIAEoCzIXLkdyaWRGaWdodEZv",
|
|
"cmdlUm9sZUluZm9IAEINCgtBRVBKQ0ROSExBRUIeqgIbRWdnTGluay5EYW5o",
|
|
"ZW5nU2VydmVyLlByb3RvYgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightForgeGoodsInfo), global::EggLink.DanhengServer.Proto.GridFightForgeGoodsInfo.Parser, new[]{ "EquipmentGoodsInfo", "RoleGoodsInfo" }, new[]{ "AEPJCDNHLAE" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightForgeGoodsInfo : pb::IMessage<GridFightForgeGoodsInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightForgeGoodsInfo> _parser = new pb::MessageParser<GridFightForgeGoodsInfo>(() => new GridFightForgeGoodsInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightForgeGoodsInfo> 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.GridFightForgeGoodsInfoReflection.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 GridFightForgeGoodsInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightForgeGoodsInfo(GridFightForgeGoodsInfo other) : this() {
|
|
switch (other.AEPJCDNHLAECase) {
|
|
case AEPJCDNHLAEOneofCase.EquipmentGoodsInfo:
|
|
EquipmentGoodsInfo = other.EquipmentGoodsInfo.Clone();
|
|
break;
|
|
case AEPJCDNHLAEOneofCase.RoleGoodsInfo:
|
|
RoleGoodsInfo = other.RoleGoodsInfo.Clone();
|
|
break;
|
|
}
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightForgeGoodsInfo Clone() {
|
|
return new GridFightForgeGoodsInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "equipment_goods_info" field.</summary>
|
|
public const int EquipmentGoodsInfoFieldNumber = 7;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo EquipmentGoodsInfo {
|
|
get { return aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo ? (global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo) aEPJCDNHLAE_ : null; }
|
|
set {
|
|
aEPJCDNHLAE_ = value;
|
|
aEPJCDNHLAECase_ = value == null ? AEPJCDNHLAEOneofCase.None : AEPJCDNHLAEOneofCase.EquipmentGoodsInfo;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "role_goods_info" field.</summary>
|
|
public const int RoleGoodsInfoFieldNumber = 8;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo RoleGoodsInfo {
|
|
get { return aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo ? (global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo) aEPJCDNHLAE_ : null; }
|
|
set {
|
|
aEPJCDNHLAE_ = value;
|
|
aEPJCDNHLAECase_ = value == null ? AEPJCDNHLAEOneofCase.None : AEPJCDNHLAEOneofCase.RoleGoodsInfo;
|
|
}
|
|
}
|
|
|
|
private object aEPJCDNHLAE_;
|
|
/// <summary>Enum of possible cases for the "AEPJCDNHLAE" oneof.</summary>
|
|
public enum AEPJCDNHLAEOneofCase {
|
|
None = 0,
|
|
EquipmentGoodsInfo = 7,
|
|
RoleGoodsInfo = 8,
|
|
}
|
|
private AEPJCDNHLAEOneofCase aEPJCDNHLAECase_ = AEPJCDNHLAEOneofCase.None;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public AEPJCDNHLAEOneofCase AEPJCDNHLAECase {
|
|
get { return aEPJCDNHLAECase_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void ClearAEPJCDNHLAE() {
|
|
aEPJCDNHLAECase_ = AEPJCDNHLAEOneofCase.None;
|
|
aEPJCDNHLAE_ = null;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightForgeGoodsInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightForgeGoodsInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(EquipmentGoodsInfo, other.EquipmentGoodsInfo)) return false;
|
|
if (!object.Equals(RoleGoodsInfo, other.RoleGoodsInfo)) return false;
|
|
if (AEPJCDNHLAECase != other.AEPJCDNHLAECase) 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 (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) hash ^= EquipmentGoodsInfo.GetHashCode();
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) hash ^= RoleGoodsInfo.GetHashCode();
|
|
hash ^= (int) aEPJCDNHLAECase_;
|
|
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 (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(EquipmentGoodsInfo);
|
|
}
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(RoleGoodsInfo);
|
|
}
|
|
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 (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) {
|
|
output.WriteRawTag(58);
|
|
output.WriteMessage(EquipmentGoodsInfo);
|
|
}
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) {
|
|
output.WriteRawTag(66);
|
|
output.WriteMessage(RoleGoodsInfo);
|
|
}
|
|
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 (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EquipmentGoodsInfo);
|
|
}
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RoleGoodsInfo);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightForgeGoodsInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
switch (other.AEPJCDNHLAECase) {
|
|
case AEPJCDNHLAEOneofCase.EquipmentGoodsInfo:
|
|
if (EquipmentGoodsInfo == null) {
|
|
EquipmentGoodsInfo = new global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo();
|
|
}
|
|
EquipmentGoodsInfo.MergeFrom(other.EquipmentGoodsInfo);
|
|
break;
|
|
case AEPJCDNHLAEOneofCase.RoleGoodsInfo:
|
|
if (RoleGoodsInfo == null) {
|
|
RoleGoodsInfo = new global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo();
|
|
}
|
|
RoleGoodsInfo.MergeFrom(other.RoleGoodsInfo);
|
|
break;
|
|
}
|
|
|
|
_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: {
|
|
global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo();
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) {
|
|
subBuilder.MergeFrom(EquipmentGoodsInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
EquipmentGoodsInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 66: {
|
|
global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo();
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) {
|
|
subBuilder.MergeFrom(RoleGoodsInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RoleGoodsInfo = subBuilder;
|
|
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: {
|
|
global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightForgeEquipmentInfo();
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.EquipmentGoodsInfo) {
|
|
subBuilder.MergeFrom(EquipmentGoodsInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
EquipmentGoodsInfo = subBuilder;
|
|
break;
|
|
}
|
|
case 66: {
|
|
global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo subBuilder = new global::EggLink.DanhengServer.Proto.GridFightForgeRoleInfo();
|
|
if (aEPJCDNHLAECase_ == AEPJCDNHLAEOneofCase.RoleGoodsInfo) {
|
|
subBuilder.MergeFrom(RoleGoodsInfo);
|
|
}
|
|
input.ReadMessage(subBuilder);
|
|
RoleGoodsInfo = subBuilder;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|