// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: MallGem.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 Nova.Client { /// Holder for reflection information generated from MallGem.proto public static partial class MallGemReflection { #region Descriptor /// File descriptor for MallGem.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static MallGemReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg1NYWxsR2VtLnByb3RvIoECCgdNYWxsR2VtEgoKAmlkGAEgASgJEgwKBG5h", "bWUYAiABKAkSDQoFb3JkZXIYAyABKAUSFAoMYmFzZV9pdGVtX2lkGAQgASgF", "EhUKDWJhc2VfaXRlbV9xdHkYBSABKAUSIQoZZXhwZXJpZW5jZWRfYm9udXNf", "aXRlbV9pZBgGIAEoBRIiChpleHBlcmllbmNlZF9ib251c19pdGVtX3F0eRgH", "IAEoBRIdChVtYWlkZW5fYm9udXNfaXRlbV9pX2QYCCABKAUSHQoVbWFpZGVu", "X2JvbnVzX2l0ZW1fcXR5GAkgASgFEg0KBXByaWNlGAogASgFEgwKBGljb24Y", "CyABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.MallGem), global::Nova.Client.MallGem.Parser, new[]{ "Id", "Name", "Order", "BaseItemId", "BaseItemQty", "ExperiencedBonusItemId", "ExperiencedBonusItemQty", "MaidenBonusItemID", "MaidenBonusItemQty", "Price", "Icon" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class MallGem : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MallGem()); 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::Nova.Client.MallGemReflection.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 MallGem() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MallGem(MallGem other) : this() { id_ = other.id_; name_ = other.name_; order_ = other.order_; baseItemId_ = other.baseItemId_; baseItemQty_ = other.baseItemQty_; experiencedBonusItemId_ = other.experiencedBonusItemId_; experiencedBonusItemQty_ = other.experiencedBonusItemQty_; maidenBonusItemID_ = other.maidenBonusItemID_; maidenBonusItemQty_ = other.maidenBonusItemQty_; price_ = other.price_; icon_ = other.icon_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public MallGem Clone() { return new MallGem(this); } /// Field number for the "id" field. public const int IdFieldNumber = 1; private string id_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Id { get { return id_; } set { id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "name" field. public const int NameFieldNumber = 2; 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"); } } /// Field number for the "order" field. public const int OrderFieldNumber = 3; private int order_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Order { get { return order_; } set { order_ = value; } } /// Field number for the "base_item_id" field. public const int BaseItemIdFieldNumber = 4; private int baseItemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BaseItemId { get { return baseItemId_; } set { baseItemId_ = value; } } /// Field number for the "base_item_qty" field. public const int BaseItemQtyFieldNumber = 5; private int baseItemQty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int BaseItemQty { get { return baseItemQty_; } set { baseItemQty_ = value; } } /// Field number for the "experienced_bonus_item_id" field. public const int ExperiencedBonusItemIdFieldNumber = 6; private int experiencedBonusItemId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ExperiencedBonusItemId { get { return experiencedBonusItemId_; } set { experiencedBonusItemId_ = value; } } /// Field number for the "experienced_bonus_item_qty" field. public const int ExperiencedBonusItemQtyFieldNumber = 7; private int experiencedBonusItemQty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ExperiencedBonusItemQty { get { return experiencedBonusItemQty_; } set { experiencedBonusItemQty_ = value; } } /// Field number for the "maiden_bonus_item_i_d" field. public const int MaidenBonusItemIDFieldNumber = 8; private int maidenBonusItemID_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MaidenBonusItemID { get { return maidenBonusItemID_; } set { maidenBonusItemID_ = value; } } /// Field number for the "maiden_bonus_item_qty" field. public const int MaidenBonusItemQtyFieldNumber = 9; private int maidenBonusItemQty_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int MaidenBonusItemQty { get { return maidenBonusItemQty_; } set { maidenBonusItemQty_ = value; } } /// Field number for the "price" field. public const int PriceFieldNumber = 10; private int price_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Price { get { return price_; } set { price_ = value; } } /// Field number for the "icon" field. public const int IconFieldNumber = 11; private string icon_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Icon { get { return icon_; } set { icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as MallGem); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(MallGem other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Id != other.Id) return false; if (Name != other.Name) return false; if (Order != other.Order) return false; if (BaseItemId != other.BaseItemId) return false; if (BaseItemQty != other.BaseItemQty) return false; if (ExperiencedBonusItemId != other.ExperiencedBonusItemId) return false; if (ExperiencedBonusItemQty != other.ExperiencedBonusItemQty) return false; if (MaidenBonusItemID != other.MaidenBonusItemID) return false; if (MaidenBonusItemQty != other.MaidenBonusItemQty) return false; if (Price != other.Price) return false; if (Icon != other.Icon) 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 (Id.Length != 0) hash ^= Id.GetHashCode(); if (Name.Length != 0) hash ^= Name.GetHashCode(); if (Order != 0) hash ^= Order.GetHashCode(); if (BaseItemId != 0) hash ^= BaseItemId.GetHashCode(); if (BaseItemQty != 0) hash ^= BaseItemQty.GetHashCode(); if (ExperiencedBonusItemId != 0) hash ^= ExperiencedBonusItemId.GetHashCode(); if (ExperiencedBonusItemQty != 0) hash ^= ExperiencedBonusItemQty.GetHashCode(); if (MaidenBonusItemID != 0) hash ^= MaidenBonusItemID.GetHashCode(); if (MaidenBonusItemQty != 0) hash ^= MaidenBonusItemQty.GetHashCode(); if (Price != 0) hash ^= Price.GetHashCode(); if (Icon.Length != 0) hash ^= Icon.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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } if (Order != 0) { output.WriteRawTag(24); output.WriteInt32(Order); } if (BaseItemId != 0) { output.WriteRawTag(32); output.WriteInt32(BaseItemId); } if (BaseItemQty != 0) { output.WriteRawTag(40); output.WriteInt32(BaseItemQty); } if (ExperiencedBonusItemId != 0) { output.WriteRawTag(48); output.WriteInt32(ExperiencedBonusItemId); } if (ExperiencedBonusItemQty != 0) { output.WriteRawTag(56); output.WriteInt32(ExperiencedBonusItemQty); } if (MaidenBonusItemID != 0) { output.WriteRawTag(64); output.WriteInt32(MaidenBonusItemID); } if (MaidenBonusItemQty != 0) { output.WriteRawTag(72); output.WriteInt32(MaidenBonusItemQty); } if (Price != 0) { output.WriteRawTag(80); output.WriteInt32(Price); } if (Icon.Length != 0) { output.WriteRawTag(90); output.WriteString(Icon); } 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 (Id.Length != 0) { output.WriteRawTag(10); output.WriteString(Id); } if (Name.Length != 0) { output.WriteRawTag(18); output.WriteString(Name); } if (Order != 0) { output.WriteRawTag(24); output.WriteInt32(Order); } if (BaseItemId != 0) { output.WriteRawTag(32); output.WriteInt32(BaseItemId); } if (BaseItemQty != 0) { output.WriteRawTag(40); output.WriteInt32(BaseItemQty); } if (ExperiencedBonusItemId != 0) { output.WriteRawTag(48); output.WriteInt32(ExperiencedBonusItemId); } if (ExperiencedBonusItemQty != 0) { output.WriteRawTag(56); output.WriteInt32(ExperiencedBonusItemQty); } if (MaidenBonusItemID != 0) { output.WriteRawTag(64); output.WriteInt32(MaidenBonusItemID); } if (MaidenBonusItemQty != 0) { output.WriteRawTag(72); output.WriteInt32(MaidenBonusItemQty); } if (Price != 0) { output.WriteRawTag(80); output.WriteInt32(Price); } if (Icon.Length != 0) { output.WriteRawTag(90); output.WriteString(Icon); } 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 (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Order != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Order); } if (BaseItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemId); } if (BaseItemQty != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(BaseItemQty); } if (ExperiencedBonusItemId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemId); } if (ExperiencedBonusItemQty != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExperiencedBonusItemQty); } if (MaidenBonusItemID != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemID); } if (MaidenBonusItemQty != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaidenBonusItemQty); } if (Price != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Price); } if (Icon.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(MallGem other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.Name.Length != 0) { Name = other.Name; } if (other.Order != 0) { Order = other.Order; } if (other.BaseItemId != 0) { BaseItemId = other.BaseItemId; } if (other.BaseItemQty != 0) { BaseItemQty = other.BaseItemQty; } if (other.ExperiencedBonusItemId != 0) { ExperiencedBonusItemId = other.ExperiencedBonusItemId; } if (other.ExperiencedBonusItemQty != 0) { ExperiencedBonusItemQty = other.ExperiencedBonusItemQty; } if (other.MaidenBonusItemID != 0) { MaidenBonusItemID = other.MaidenBonusItemID; } if (other.MaidenBonusItemQty != 0) { MaidenBonusItemQty = other.MaidenBonusItemQty; } if (other.Price != 0) { Price = other.Price; } if (other.Icon.Length != 0) { Icon = other.Icon; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); break; } case 18: { Name = input.ReadString(); break; } case 24: { Order = input.ReadInt32(); break; } case 32: { BaseItemId = input.ReadInt32(); break; } case 40: { BaseItemQty = input.ReadInt32(); break; } case 48: { ExperiencedBonusItemId = input.ReadInt32(); break; } case 56: { ExperiencedBonusItemQty = input.ReadInt32(); break; } case 64: { MaidenBonusItemID = input.ReadInt32(); break; } case 72: { MaidenBonusItemQty = input.ReadInt32(); break; } case 80: { Price = input.ReadInt32(); break; } case 90: { Icon = 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { Id = input.ReadString(); break; } case 18: { Name = input.ReadString(); break; } case 24: { Order = input.ReadInt32(); break; } case 32: { BaseItemId = input.ReadInt32(); break; } case 40: { BaseItemQty = input.ReadInt32(); break; } case 48: { ExperiencedBonusItemId = input.ReadInt32(); break; } case 56: { ExperiencedBonusItemQty = input.ReadInt32(); break; } case 64: { MaidenBonusItemID = input.ReadInt32(); break; } case 72: { MaidenBonusItemQty = input.ReadInt32(); break; } case 80: { Price = input.ReadInt32(); break; } case 90: { Icon = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code