//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.shop.proto
//
#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 RPG.Network.Proto {
/// Holder for reflection information generated from cs.shop.proto
public static partial class CsShopReflection {
#region Descriptor
/// File descriptor for cs.shop.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsShopReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg1jcy5zaG9wLnByb3RvEgVwcm90bxoPY3MuY29tbW9uLnByb3RvIoYBCgRT",
"aG9wEhcKB3Nob3BfaWQYASABKA1SBnNob3BJZBIdCgpiZWdpbl90aW1lGAIg",
"ASgNUgliZWdpblRpbWUSGQoIZW5kX3RpbWUYAyABKA1SB2VuZFRpbWUSKwoK",
"Z29vZHNfbGlzdBgEIAMoCzIMLnByb3RvLkdvb2RzUglnb29kc0xpc3QieQoF",
"R29vZHMSGQoIZ29vZHNfaWQYASABKA1SB2dvb2RzSWQSGwoJYnV5X3RpbWVz",
"GAIgASgNUghidXlUaW1lcxIdCgpiZWdpbl90aW1lGAMgASgNUgliZWdpblRp",
"bWUSGQoIZW5kX3RpbWUYBCABKA1SB2VuZFRpbWUiLwoQR2V0U2hvcExpc3RD",
"c1JlcRIbCglzaG9wX3R5cGUYASABKA1SCHNob3BUeXBlInMKEEdldFNob3BM",
"aXN0U2NSc3ASGAoHcmV0Y29kZRgBIAEoDVIHcmV0Y29kZRIoCglzaG9wX2xp",
"c3QYAiADKAsyCy5wcm90by5TaG9wUghzaG9wTGlzdBIbCglzaG9wX3R5cGUY",
"AyABKA1SCHNob3BUeXBlImAKDUJ1eUdvb2RzQ3NSZXESFwoHc2hvcF9pZBgB",
"IAEoDVIGc2hvcElkEhkKCGdvb2RzX2lkGAIgASgNUgdnb29kc0lkEhsKCWdv",
"b2RzX251bRgDIAEoDVIIZ29vZHNOdW0iwAEKDUJ1eUdvb2RzU2NSc3ASGAoH",
"cmV0Y29kZRgBIAEoDVIHcmV0Y29kZRIXCgdzaG9wX2lkGAIgASgNUgZzaG9w",
"SWQSGQoIZ29vZHNfaWQYAyABKA1SB2dvb2RzSWQSJgoPZ29vZHNfYnV5X3Rp",
"bWVzGAQgASgNUg1nb29kc0J1eVRpbWVzEjkKEHJldHVybl9pdGVtX2xpc3QY",
"BSABKAsyDy5wcm90by5JdGVtTGlzdFIOcmV0dXJuSXRlbUxpc3QqhAEKC0Nt",
"ZFNob3BUeXBlEhMKD0NtZFNob3BUeXBlTm9uZRAAEhgKE0NtZEdldFNob3BM",
"aXN0Q3NSZXEQ3QsSGAoTQ21kR2V0U2hvcExpc3RTY1JzcBDeCxIVChBDbWRC",
"dXlHb29kc0NzUmVxEN8LEhUKEENtZEJ1eUdvb2RzU2NSc3AQ4AtiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CsCommonReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdShopType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Shop), global::RPG.Network.Proto.Shop.Parser, new[]{ "ShopId", "BeginTime", "EndTime", "GoodsList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.Goods), global::RPG.Network.Proto.Goods.Parser, new[]{ "GoodsId", "BuyTimes", "BeginTime", "EndTime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetShopListCsReq), global::RPG.Network.Proto.GetShopListCsReq.Parser, new[]{ "ShopType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.GetShopListScRsp), global::RPG.Network.Proto.GetShopListScRsp.Parser, new[]{ "Retcode", "ShopList", "ShopType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.BuyGoodsCsReq), global::RPG.Network.Proto.BuyGoodsCsReq.Parser, new[]{ "ShopId", "GoodsId", "GoodsNum" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.BuyGoodsScRsp), global::RPG.Network.Proto.BuyGoodsScRsp.Parser, new[]{ "Retcode", "ShopId", "GoodsId", "GoodsBuyTimes", "ReturnItemList" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdShopType {
[pbr::OriginalName("CmdShopTypeNone")] None = 0,
[pbr::OriginalName("CmdGetShopListCsReq")] CmdGetShopListCsReq = 1501,
[pbr::OriginalName("CmdGetShopListScRsp")] CmdGetShopListScRsp = 1502,
[pbr::OriginalName("CmdBuyGoodsCsReq")] CmdBuyGoodsCsReq = 1503,
[pbr::OriginalName("CmdBuyGoodsScRsp")] CmdBuyGoodsScRsp = 1504,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Shop : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Shop());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.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 Shop() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Shop(Shop other) : this() {
shopId_ = other.shopId_;
beginTime_ = other.beginTime_;
endTime_ = other.endTime_;
goodsList_ = other.goodsList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Shop Clone() {
return new Shop(this);
}
/// Field number for the "shop_id" field.
public const int ShopIdFieldNumber = 1;
private uint shopId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ShopId {
get { return shopId_; }
set {
shopId_ = value;
}
}
/// Field number for the "begin_time" field.
public const int BeginTimeFieldNumber = 2;
private uint beginTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BeginTime {
get { return beginTime_; }
set {
beginTime_ = value;
}
}
/// Field number for the "end_time" field.
public const int EndTimeFieldNumber = 3;
private uint endTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EndTime {
get { return endTime_; }
set {
endTime_ = value;
}
}
/// Field number for the "goods_list" field.
public const int GoodsListFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_goodsList_codec
= pb::FieldCodec.ForMessage(34, global::RPG.Network.Proto.Goods.Parser);
private readonly pbc::RepeatedField goodsList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField GoodsList {
get { return goodsList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Shop);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Shop other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ShopId != other.ShopId) return false;
if (BeginTime != other.BeginTime) return false;
if (EndTime != other.EndTime) return false;
if(!goodsList_.Equals(other.goodsList_)) 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 (ShopId != 0) hash ^= ShopId.GetHashCode();
if (BeginTime != 0) hash ^= BeginTime.GetHashCode();
if (EndTime != 0) hash ^= EndTime.GetHashCode();
hash ^= goodsList_.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 (ShopId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopId);
}
if (BeginTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(24);
output.WriteUInt32(EndTime);
}
goodsList_.WriteTo(output, _repeated_goodsList_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) {
if (ShopId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopId);
}
if (BeginTime != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(24);
output.WriteUInt32(EndTime);
}
goodsList_.WriteTo(ref output, _repeated_goodsList_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;
if (ShopId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopId);
}
if (BeginTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BeginTime);
}
if (EndTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime);
}
size += goodsList_.CalculateSize(_repeated_goodsList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Shop other) {
if (other == null) {
return;
}
if (other.ShopId != 0) {
ShopId = other.ShopId;
}
if (other.BeginTime != 0) {
BeginTime = other.BeginTime;
}
if (other.EndTime != 0) {
EndTime = other.EndTime;
}
goodsList_.Add(other.goodsList_);
_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 8: {
ShopId = input.ReadUInt32();
break;
}
case 16: {
BeginTime = input.ReadUInt32();
break;
}
case 24: {
EndTime = input.ReadUInt32();
break;
}
case 34: {
goodsList_.AddEntriesFrom(input, _repeated_goodsList_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 8: {
ShopId = input.ReadUInt32();
break;
}
case 16: {
BeginTime = input.ReadUInt32();
break;
}
case 24: {
EndTime = input.ReadUInt32();
break;
}
case 34: {
goodsList_.AddEntriesFrom(ref input, _repeated_goodsList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class Goods : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Goods());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.Descriptor.MessageTypes[1]; }
}
[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 Goods() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Goods(Goods other) : this() {
goodsId_ = other.goodsId_;
buyTimes_ = other.buyTimes_;
beginTime_ = other.beginTime_;
endTime_ = other.endTime_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Goods Clone() {
return new Goods(this);
}
/// Field number for the "goods_id" field.
public const int GoodsIdFieldNumber = 1;
private uint goodsId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GoodsId {
get { return goodsId_; }
set {
goodsId_ = value;
}
}
/// Field number for the "buy_times" field.
public const int BuyTimesFieldNumber = 2;
private uint buyTimes_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BuyTimes {
get { return buyTimes_; }
set {
buyTimes_ = value;
}
}
/// Field number for the "begin_time" field.
public const int BeginTimeFieldNumber = 3;
private uint beginTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint BeginTime {
get { return beginTime_; }
set {
beginTime_ = value;
}
}
/// Field number for the "end_time" field.
public const int EndTimeFieldNumber = 4;
private uint endTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint EndTime {
get { return endTime_; }
set {
endTime_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Goods);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Goods other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GoodsId != other.GoodsId) return false;
if (BuyTimes != other.BuyTimes) return false;
if (BeginTime != other.BeginTime) return false;
if (EndTime != other.EndTime) 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 (GoodsId != 0) hash ^= GoodsId.GetHashCode();
if (BuyTimes != 0) hash ^= BuyTimes.GetHashCode();
if (BeginTime != 0) hash ^= BeginTime.GetHashCode();
if (EndTime != 0) hash ^= EndTime.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 (GoodsId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(GoodsId);
}
if (BuyTimes != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BuyTimes);
}
if (BeginTime != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(32);
output.WriteUInt32(EndTime);
}
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 (GoodsId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(GoodsId);
}
if (BuyTimes != 0) {
output.WriteRawTag(16);
output.WriteUInt32(BuyTimes);
}
if (BeginTime != 0) {
output.WriteRawTag(24);
output.WriteUInt32(BeginTime);
}
if (EndTime != 0) {
output.WriteRawTag(32);
output.WriteUInt32(EndTime);
}
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 (GoodsId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsId);
}
if (BuyTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuyTimes);
}
if (BeginTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BeginTime);
}
if (EndTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(EndTime);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Goods other) {
if (other == null) {
return;
}
if (other.GoodsId != 0) {
GoodsId = other.GoodsId;
}
if (other.BuyTimes != 0) {
BuyTimes = other.BuyTimes;
}
if (other.BeginTime != 0) {
BeginTime = other.BeginTime;
}
if (other.EndTime != 0) {
EndTime = other.EndTime;
}
_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 8: {
GoodsId = input.ReadUInt32();
break;
}
case 16: {
BuyTimes = input.ReadUInt32();
break;
}
case 24: {
BeginTime = input.ReadUInt32();
break;
}
case 32: {
EndTime = input.ReadUInt32();
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 8: {
GoodsId = input.ReadUInt32();
break;
}
case 16: {
BuyTimes = input.ReadUInt32();
break;
}
case 24: {
BeginTime = input.ReadUInt32();
break;
}
case 32: {
EndTime = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetShopListCsReq : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetShopListCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.Descriptor.MessageTypes[2]; }
}
[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 GetShopListCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetShopListCsReq(GetShopListCsReq other) : this() {
shopType_ = other.shopType_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetShopListCsReq Clone() {
return new GetShopListCsReq(this);
}
/// Field number for the "shop_type" field.
public const int ShopTypeFieldNumber = 1;
private uint shopType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ShopType {
get { return shopType_; }
set {
shopType_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetShopListCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetShopListCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ShopType != other.ShopType) 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 (ShopType != 0) hash ^= ShopType.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 (ShopType != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopType);
}
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 (ShopType != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopType);
}
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 (ShopType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopType);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetShopListCsReq other) {
if (other == null) {
return;
}
if (other.ShopType != 0) {
ShopType = other.ShopType;
}
_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 8: {
ShopType = input.ReadUInt32();
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 8: {
ShopType = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetShopListScRsp : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetShopListScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.Descriptor.MessageTypes[3]; }
}
[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 GetShopListScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetShopListScRsp(GetShopListScRsp other) : this() {
retcode_ = other.retcode_;
shopList_ = other.shopList_.Clone();
shopType_ = other.shopType_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetShopListScRsp Clone() {
return new GetShopListScRsp(this);
}
/// Field number for the "retcode" field.
public const int RetcodeFieldNumber = 1;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// Field number for the "shop_list" field.
public const int ShopListFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_shopList_codec
= pb::FieldCodec.ForMessage(18, global::RPG.Network.Proto.Shop.Parser);
private readonly pbc::RepeatedField shopList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ShopList {
get { return shopList_; }
}
/// Field number for the "shop_type" field.
public const int ShopTypeFieldNumber = 3;
private uint shopType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ShopType {
get { return shopType_; }
set {
shopType_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetShopListScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetShopListScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if(!shopList_.Equals(other.shopList_)) return false;
if (ShopType != other.ShopType) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
hash ^= shopList_.GetHashCode();
if (ShopType != 0) hash ^= ShopType.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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
shopList_.WriteTo(output, _repeated_shopList_codec);
if (ShopType != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ShopType);
}
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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
shopList_.WriteTo(ref output, _repeated_shopList_codec);
if (ShopType != 0) {
output.WriteRawTag(24);
output.WriteUInt32(ShopType);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
size += shopList_.CalculateSize(_repeated_shopList_codec);
if (ShopType != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopType);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetShopListScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
shopList_.Add(other.shopList_);
if (other.ShopType != 0) {
ShopType = other.ShopType;
}
_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 8: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
shopList_.AddEntriesFrom(input, _repeated_shopList_codec);
break;
}
case 24: {
ShopType = input.ReadUInt32();
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 8: {
Retcode = input.ReadUInt32();
break;
}
case 18: {
shopList_.AddEntriesFrom(ref input, _repeated_shopList_codec);
break;
}
case 24: {
ShopType = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BuyGoodsCsReq : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyGoodsCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.Descriptor.MessageTypes[4]; }
}
[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 BuyGoodsCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuyGoodsCsReq(BuyGoodsCsReq other) : this() {
shopId_ = other.shopId_;
goodsId_ = other.goodsId_;
goodsNum_ = other.goodsNum_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuyGoodsCsReq Clone() {
return new BuyGoodsCsReq(this);
}
/// Field number for the "shop_id" field.
public const int ShopIdFieldNumber = 1;
private uint shopId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ShopId {
get { return shopId_; }
set {
shopId_ = value;
}
}
/// Field number for the "goods_id" field.
public const int GoodsIdFieldNumber = 2;
private uint goodsId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GoodsId {
get { return goodsId_; }
set {
goodsId_ = value;
}
}
/// Field number for the "goods_num" field.
public const int GoodsNumFieldNumber = 3;
private uint goodsNum_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GoodsNum {
get { return goodsNum_; }
set {
goodsNum_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BuyGoodsCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BuyGoodsCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ShopId != other.ShopId) return false;
if (GoodsId != other.GoodsId) return false;
if (GoodsNum != other.GoodsNum) 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 (ShopId != 0) hash ^= ShopId.GetHashCode();
if (GoodsId != 0) hash ^= GoodsId.GetHashCode();
if (GoodsNum != 0) hash ^= GoodsNum.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 (ShopId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopId);
}
if (GoodsId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(GoodsId);
}
if (GoodsNum != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GoodsNum);
}
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 (ShopId != 0) {
output.WriteRawTag(8);
output.WriteUInt32(ShopId);
}
if (GoodsId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(GoodsId);
}
if (GoodsNum != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GoodsNum);
}
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 (ShopId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopId);
}
if (GoodsId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsId);
}
if (GoodsNum != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsNum);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BuyGoodsCsReq other) {
if (other == null) {
return;
}
if (other.ShopId != 0) {
ShopId = other.ShopId;
}
if (other.GoodsId != 0) {
GoodsId = other.GoodsId;
}
if (other.GoodsNum != 0) {
GoodsNum = other.GoodsNum;
}
_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 8: {
ShopId = input.ReadUInt32();
break;
}
case 16: {
GoodsId = input.ReadUInt32();
break;
}
case 24: {
GoodsNum = input.ReadUInt32();
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 8: {
ShopId = input.ReadUInt32();
break;
}
case 16: {
GoodsId = input.ReadUInt32();
break;
}
case 24: {
GoodsNum = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BuyGoodsScRsp : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BuyGoodsScRsp());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RPG.Network.Proto.CsShopReflection.Descriptor.MessageTypes[5]; }
}
[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 BuyGoodsScRsp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuyGoodsScRsp(BuyGoodsScRsp other) : this() {
retcode_ = other.retcode_;
shopId_ = other.shopId_;
goodsId_ = other.goodsId_;
goodsBuyTimes_ = other.goodsBuyTimes_;
returnItemList_ = other.returnItemList_ != null ? other.returnItemList_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BuyGoodsScRsp Clone() {
return new BuyGoodsScRsp(this);
}
/// Field number for the "retcode" field.
public const int RetcodeFieldNumber = 1;
private uint retcode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Retcode {
get { return retcode_; }
set {
retcode_ = value;
}
}
/// Field number for the "shop_id" field.
public const int ShopIdFieldNumber = 2;
private uint shopId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint ShopId {
get { return shopId_; }
set {
shopId_ = value;
}
}
/// Field number for the "goods_id" field.
public const int GoodsIdFieldNumber = 3;
private uint goodsId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GoodsId {
get { return goodsId_; }
set {
goodsId_ = value;
}
}
/// Field number for the "goods_buy_times" field.
public const int GoodsBuyTimesFieldNumber = 4;
private uint goodsBuyTimes_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint GoodsBuyTimes {
get { return goodsBuyTimes_; }
set {
goodsBuyTimes_ = value;
}
}
/// Field number for the "return_item_list" field.
public const int ReturnItemListFieldNumber = 5;
private global::RPG.Network.Proto.ItemList returnItemList_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.ItemList ReturnItemList {
get { return returnItemList_; }
set {
returnItemList_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BuyGoodsScRsp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BuyGoodsScRsp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Retcode != other.Retcode) return false;
if (ShopId != other.ShopId) return false;
if (GoodsId != other.GoodsId) return false;
if (GoodsBuyTimes != other.GoodsBuyTimes) return false;
if (!object.Equals(ReturnItemList, other.ReturnItemList)) 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 (Retcode != 0) hash ^= Retcode.GetHashCode();
if (ShopId != 0) hash ^= ShopId.GetHashCode();
if (GoodsId != 0) hash ^= GoodsId.GetHashCode();
if (GoodsBuyTimes != 0) hash ^= GoodsBuyTimes.GetHashCode();
if (returnItemList_ != null) hash ^= ReturnItemList.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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
if (ShopId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ShopId);
}
if (GoodsId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GoodsId);
}
if (GoodsBuyTimes != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GoodsBuyTimes);
}
if (returnItemList_ != null) {
output.WriteRawTag(42);
output.WriteMessage(ReturnItemList);
}
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 (Retcode != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Retcode);
}
if (ShopId != 0) {
output.WriteRawTag(16);
output.WriteUInt32(ShopId);
}
if (GoodsId != 0) {
output.WriteRawTag(24);
output.WriteUInt32(GoodsId);
}
if (GoodsBuyTimes != 0) {
output.WriteRawTag(32);
output.WriteUInt32(GoodsBuyTimes);
}
if (returnItemList_ != null) {
output.WriteRawTag(42);
output.WriteMessage(ReturnItemList);
}
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 (Retcode != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Retcode);
}
if (ShopId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShopId);
}
if (GoodsId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsId);
}
if (GoodsBuyTimes != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoodsBuyTimes);
}
if (returnItemList_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReturnItemList);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BuyGoodsScRsp other) {
if (other == null) {
return;
}
if (other.Retcode != 0) {
Retcode = other.Retcode;
}
if (other.ShopId != 0) {
ShopId = other.ShopId;
}
if (other.GoodsId != 0) {
GoodsId = other.GoodsId;
}
if (other.GoodsBuyTimes != 0) {
GoodsBuyTimes = other.GoodsBuyTimes;
}
if (other.returnItemList_ != null) {
if (returnItemList_ == null) {
ReturnItemList = new global::RPG.Network.Proto.ItemList();
}
ReturnItemList.MergeFrom(other.ReturnItemList);
}
_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 8: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
ShopId = input.ReadUInt32();
break;
}
case 24: {
GoodsId = input.ReadUInt32();
break;
}
case 32: {
GoodsBuyTimes = input.ReadUInt32();
break;
}
case 42: {
if (returnItemList_ == null) {
ReturnItemList = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(ReturnItemList);
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 8: {
Retcode = input.ReadUInt32();
break;
}
case 16: {
ShopId = input.ReadUInt32();
break;
}
case 24: {
GoodsId = input.ReadUInt32();
break;
}
case 32: {
GoodsBuyTimes = input.ReadUInt32();
break;
}
case 42: {
if (returnItemList_ == null) {
ReturnItemList = new global::RPG.Network.Proto.ItemList();
}
input.ReadMessage(ReturnItemList);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code