mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
387 lines
15 KiB
C#
387 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: GridFightGameShopInfo.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 GridFightGameShopInfo.proto</summary>
|
|
public static partial class GridFightGameShopInfoReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for GridFightGameShopInfo.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GridFightGameShopInfoReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChtHcmlkRmlnaHRHYW1lU2hvcEluZm8ucHJvdG8aHEdyaWRGaWdodFNob3BH",
|
|
"b29kc0luZm8ucHJvdG8aIUdyaWRGaWdodFNob3BSYW5kb21SdWxlSW5mby5w",
|
|
"cm90byLgAQoVR3JpZEZpZ2h0R2FtZVNob3BJbmZvEhkKEXNob3BfcmVmcmVz",
|
|
"aF9jb3N0GAYgASgNEh8KF3Nob3BfZnJlZV9yZWZyZXNoX2NvdW50GAsgASgN",
|
|
"EjAKD3Nob3BfZ29vZHNfbGlzdBgIIAMoCzIXLkdyaWRGaWdodFNob3BHb29k",
|
|
"c0luZm8SQQobZ3JpZF9maWdodF9zaG9wX3JhbmRvbV9ydWxlGA0gASgLMhwu",
|
|
"R3JpZEZpZ2h0U2hvcFJhbmRvbVJ1bGVJbmZvEhYKDnNob3BfaXNfbG9ja2Vk",
|
|
"GA4gASgIQh6qAhtFZ2dMaW5rLkRhbmhlbmdTZXJ2ZXIuUHJvdG9iBnByb3Rv",
|
|
"Mw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfoReflection.Descriptor, global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfoReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightGameShopInfo), global::EggLink.DanhengServer.Proto.GridFightGameShopInfo.Parser, new[]{ "ShopRefreshCost", "ShopFreeRefreshCount", "ShopGoodsList", "GridFightShopRandomRule", "ShopIsLocked" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GridFightGameShopInfo : pb::IMessage<GridFightGameShopInfo>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GridFightGameShopInfo> _parser = new pb::MessageParser<GridFightGameShopInfo>(() => new GridFightGameShopInfo());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GridFightGameShopInfo> 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.GridFightGameShopInfoReflection.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 GridFightGameShopInfo() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightGameShopInfo(GridFightGameShopInfo other) : this() {
|
|
shopRefreshCost_ = other.shopRefreshCost_;
|
|
shopFreeRefreshCount_ = other.shopFreeRefreshCount_;
|
|
shopGoodsList_ = other.shopGoodsList_.Clone();
|
|
gridFightShopRandomRule_ = other.gridFightShopRandomRule_ != null ? other.gridFightShopRandomRule_.Clone() : null;
|
|
shopIsLocked_ = other.shopIsLocked_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GridFightGameShopInfo Clone() {
|
|
return new GridFightGameShopInfo(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "shop_refresh_cost" field.</summary>
|
|
public const int ShopRefreshCostFieldNumber = 6;
|
|
private uint shopRefreshCost_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ShopRefreshCost {
|
|
get { return shopRefreshCost_; }
|
|
set {
|
|
shopRefreshCost_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "shop_free_refresh_count" field.</summary>
|
|
public const int ShopFreeRefreshCountFieldNumber = 11;
|
|
private uint shopFreeRefreshCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public uint ShopFreeRefreshCount {
|
|
get { return shopFreeRefreshCount_; }
|
|
set {
|
|
shopFreeRefreshCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "shop_goods_list" field.</summary>
|
|
public const int ShopGoodsListFieldNumber = 8;
|
|
private static readonly pb::FieldCodec<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> _repeated_shopGoodsList_codec
|
|
= pb::FieldCodec.ForMessage(66, global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo.Parser);
|
|
private readonly pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> shopGoodsList_ = new pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::EggLink.DanhengServer.Proto.GridFightShopGoodsInfo> ShopGoodsList {
|
|
get { return shopGoodsList_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "grid_fight_shop_random_rule" field.</summary>
|
|
public const int GridFightShopRandomRuleFieldNumber = 13;
|
|
private global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo gridFightShopRandomRule_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo GridFightShopRandomRule {
|
|
get { return gridFightShopRandomRule_; }
|
|
set {
|
|
gridFightShopRandomRule_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "shop_is_locked" field.</summary>
|
|
public const int ShopIsLockedFieldNumber = 14;
|
|
private bool shopIsLocked_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ShopIsLocked {
|
|
get { return shopIsLocked_; }
|
|
set {
|
|
shopIsLocked_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GridFightGameShopInfo);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GridFightGameShopInfo other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ShopRefreshCost != other.ShopRefreshCost) return false;
|
|
if (ShopFreeRefreshCount != other.ShopFreeRefreshCount) return false;
|
|
if(!shopGoodsList_.Equals(other.shopGoodsList_)) return false;
|
|
if (!object.Equals(GridFightShopRandomRule, other.GridFightShopRandomRule)) return false;
|
|
if (ShopIsLocked != other.ShopIsLocked) 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 (ShopRefreshCost != 0) hash ^= ShopRefreshCost.GetHashCode();
|
|
if (ShopFreeRefreshCount != 0) hash ^= ShopFreeRefreshCount.GetHashCode();
|
|
hash ^= shopGoodsList_.GetHashCode();
|
|
if (gridFightShopRandomRule_ != null) hash ^= GridFightShopRandomRule.GetHashCode();
|
|
if (ShopIsLocked != false) hash ^= ShopIsLocked.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 (ShopRefreshCost != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ShopRefreshCost);
|
|
}
|
|
shopGoodsList_.WriteTo(output, _repeated_shopGoodsList_codec);
|
|
if (ShopFreeRefreshCount != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(ShopFreeRefreshCount);
|
|
}
|
|
if (gridFightShopRandomRule_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(GridFightShopRandomRule);
|
|
}
|
|
if (ShopIsLocked != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(ShopIsLocked);
|
|
}
|
|
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 (ShopRefreshCost != 0) {
|
|
output.WriteRawTag(48);
|
|
output.WriteUInt32(ShopRefreshCost);
|
|
}
|
|
shopGoodsList_.WriteTo(ref output, _repeated_shopGoodsList_codec);
|
|
if (ShopFreeRefreshCount != 0) {
|
|
output.WriteRawTag(88);
|
|
output.WriteUInt32(ShopFreeRefreshCount);
|
|
}
|
|
if (gridFightShopRandomRule_ != null) {
|
|
output.WriteRawTag(106);
|
|
output.WriteMessage(GridFightShopRandomRule);
|
|
}
|
|
if (ShopIsLocked != false) {
|
|
output.WriteRawTag(112);
|
|
output.WriteBool(ShopIsLocked);
|
|
}
|
|
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 (ShopRefreshCost != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopRefreshCost);
|
|
}
|
|
if (ShopFreeRefreshCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopFreeRefreshCount);
|
|
}
|
|
size += shopGoodsList_.CalculateSize(_repeated_shopGoodsList_codec);
|
|
if (gridFightShopRandomRule_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GridFightShopRandomRule);
|
|
}
|
|
if (ShopIsLocked != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(GridFightGameShopInfo other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ShopRefreshCost != 0) {
|
|
ShopRefreshCost = other.ShopRefreshCost;
|
|
}
|
|
if (other.ShopFreeRefreshCount != 0) {
|
|
ShopFreeRefreshCount = other.ShopFreeRefreshCount;
|
|
}
|
|
shopGoodsList_.Add(other.shopGoodsList_);
|
|
if (other.gridFightShopRandomRule_ != null) {
|
|
if (gridFightShopRandomRule_ == null) {
|
|
GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
|
|
}
|
|
GridFightShopRandomRule.MergeFrom(other.GridFightShopRandomRule);
|
|
}
|
|
if (other.ShopIsLocked != false) {
|
|
ShopIsLocked = other.ShopIsLocked;
|
|
}
|
|
_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 48: {
|
|
ShopRefreshCost = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
shopGoodsList_.AddEntriesFrom(input, _repeated_shopGoodsList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
ShopFreeRefreshCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (gridFightShopRandomRule_ == null) {
|
|
GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
|
|
}
|
|
input.ReadMessage(GridFightShopRandomRule);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ShopIsLocked = input.ReadBool();
|
|
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 48: {
|
|
ShopRefreshCost = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 66: {
|
|
shopGoodsList_.AddEntriesFrom(ref input, _repeated_shopGoodsList_codec);
|
|
break;
|
|
}
|
|
case 88: {
|
|
ShopFreeRefreshCount = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 106: {
|
|
if (gridFightShopRandomRule_ == null) {
|
|
GridFightShopRandomRule = new global::EggLink.DanhengServer.Proto.GridFightShopRandomRuleInfo();
|
|
}
|
|
input.ReadMessage(GridFightShopRandomRule);
|
|
break;
|
|
}
|
|
case 112: {
|
|
ShopIsLocked = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|