// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/gameplay/battle_royale_gear_data.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 RecRoom.Protobuf { /// Holder for reflection information generated from rec_room/gameplay/battle_royale_gear_data.proto public static partial class BattleRoyaleGearDataReflection { #region Descriptor /// File descriptor for rec_room/gameplay/battle_royale_gear_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static BattleRoyaleGearDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Ci9yZWNfcm9vbS9nYW1lcGxheS9iYXR0bGVfcm95YWxlX2dlYXJfZGF0YS5w", "cm90bxIIcmVjX3Jvb20aJ3JlY19yb29tL2dhbWVwbGF5L2FtbXVuaXRpb25f", "ZGF0YS5wcm90bxoqcmVjX3Jvb20vZ2FtZXBsYXkvcmFuZ2VkX3dlYXBvbl9k", "YXRhLnByb3RvGi1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9oZWFsdGhfcG90aW9u", "X2RhdGEucHJvdG8iRwoXQmF0dGxlUm95YWxlQXJzZW5hbERhdGESLAoEZ2Vh", "chgBIAMoCzIeLnJlY19yb29tLkJhdHRsZVJveWFsZUdlYXJEYXRhIrQCChRC", "YXR0bGVSb3lhbGVHZWFyRGF0YRIUCgxkaXNwbGF5X25hbWUYASABKAkSFAoM", "aXNfYXZhaWxhYmxlGAIgASgIEhEKCWdlYXJfdHlwZRgDIAEoBRIPCgdxdWFs", "aXR5GAQgASgFEhMKC2Ryb3Bfd2VpZ2h0GAUgASgFEhQKDGVxdWlwbWVudF9p", "ZBgGIAEoDBI2ChJyYW5nZWRfd2VhcG9uX2RhdGEYByABKAsyGi5yZWNfcm9v", "bS5SYW5nZWRXZWFwb25EYXRhEjYKEmhlYWx0aF9wb3Rpb25fZGF0YRgIIAEo", "CzIaLnJlY19yb29tLkhlYWx0aFBvdGlvbkRhdGESMQoPYW1tdW5pdGlvbl9k", "YXRhGAkgASgLMhgucmVjX3Jvb20uQW1tdW5pdGlvbkRhdGFCE6oCEFJlY1Jv", "b20uUHJvdG9idWZiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.AmmunitionDataReflection.Descriptor, global::RecRoom.Protobuf.RangedWeaponDataReflection.Descriptor, global::RecRoom.Protobuf.HealthPotionDataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BattleRoyaleArsenalData), global::RecRoom.Protobuf.BattleRoyaleArsenalData.Parser, new[]{ "Gear" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.BattleRoyaleGearData), global::RecRoom.Protobuf.BattleRoyaleGearData.Parser, new[]{ "DisplayName", "IsAvailable", "GearType", "Quality", "DropWeight", "EquipmentId", "RangedWeaponData", "HealthPotionData", "AmmunitionData" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BattleRoyaleArsenalData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattleRoyaleArsenalData()); 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::RecRoom.Protobuf.BattleRoyaleGearDataReflection.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 BattleRoyaleArsenalData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRoyaleArsenalData(BattleRoyaleArsenalData other) : this() { gear_ = other.gear_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRoyaleArsenalData Clone() { return new BattleRoyaleArsenalData(this); } /// Field number for the "gear" field. public const int GearFieldNumber = 1; private static readonly pb::FieldCodec _repeated_gear_codec = pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.BattleRoyaleGearData.Parser); private readonly pbc::RepeatedField gear_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Gear { get { return gear_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BattleRoyaleArsenalData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BattleRoyaleArsenalData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!gear_.Equals(other.gear_)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; hash ^= gear_.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 gear_.WriteTo(output, _repeated_gear_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) { gear_.WriteTo(ref output, _repeated_gear_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } } #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; size += gear_.CalculateSize(_repeated_gear_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BattleRoyaleArsenalData other) { if (other == null) { return; } gear_.Add(other.gear_); _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: { gear_.AddEntriesFrom(input, _repeated_gear_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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { gear_.AddEntriesFrom(ref input, _repeated_gear_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class BattleRoyaleGearData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BattleRoyaleGearData()); 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::RecRoom.Protobuf.BattleRoyaleGearDataReflection.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 BattleRoyaleGearData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRoyaleGearData(BattleRoyaleGearData other) : this() { displayName_ = other.displayName_; isAvailable_ = other.isAvailable_; gearType_ = other.gearType_; quality_ = other.quality_; dropWeight_ = other.dropWeight_; equipmentId_ = other.equipmentId_; rangedWeaponData_ = other.rangedWeaponData_ != null ? other.rangedWeaponData_.Clone() : null; healthPotionData_ = other.healthPotionData_ != null ? other.healthPotionData_.Clone() : null; ammunitionData_ = other.ammunitionData_ != null ? other.ammunitionData_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public BattleRoyaleGearData Clone() { return new BattleRoyaleGearData(this); } /// Field number for the "display_name" field. public const int DisplayNameFieldNumber = 1; private string displayName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string DisplayName { get { return displayName_; } set { displayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "is_available" field. public const int IsAvailableFieldNumber = 2; private bool isAvailable_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsAvailable { get { return isAvailable_; } set { isAvailable_ = value; } } /// Field number for the "gear_type" field. public const int GearTypeFieldNumber = 3; private int gearType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int GearType { get { return gearType_; } set { gearType_ = value; } } /// Field number for the "quality" field. public const int QualityFieldNumber = 4; private int quality_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Quality { get { return quality_; } set { quality_ = value; } } /// Field number for the "drop_weight" field. public const int DropWeightFieldNumber = 5; private int dropWeight_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int DropWeight { get { return dropWeight_; } set { dropWeight_ = value; } } /// Field number for the "equipment_id" field. public const int EquipmentIdFieldNumber = 6; private pb::ByteString equipmentId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString EquipmentId { get { return equipmentId_; } set { equipmentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "ranged_weapon_data" field. public const int RangedWeaponDataFieldNumber = 7; private global::RecRoom.Protobuf.RangedWeaponData rangedWeaponData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.RangedWeaponData RangedWeaponData { get { return rangedWeaponData_; } set { rangedWeaponData_ = value; } } /// Field number for the "health_potion_data" field. public const int HealthPotionDataFieldNumber = 8; private global::RecRoom.Protobuf.HealthPotionData healthPotionData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.HealthPotionData HealthPotionData { get { return healthPotionData_; } set { healthPotionData_ = value; } } /// Field number for the "ammunition_data" field. public const int AmmunitionDataFieldNumber = 9; private global::RecRoom.Protobuf.AmmunitionData ammunitionData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.AmmunitionData AmmunitionData { get { return ammunitionData_; } set { ammunitionData_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as BattleRoyaleGearData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(BattleRoyaleGearData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (DisplayName != other.DisplayName) return false; if (IsAvailable != other.IsAvailable) return false; if (GearType != other.GearType) return false; if (Quality != other.Quality) return false; if (DropWeight != other.DropWeight) return false; if (EquipmentId != other.EquipmentId) return false; if (!object.Equals(RangedWeaponData, other.RangedWeaponData)) return false; if (!object.Equals(HealthPotionData, other.HealthPotionData)) return false; if (!object.Equals(AmmunitionData, other.AmmunitionData)) 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 (DisplayName.Length != 0) hash ^= DisplayName.GetHashCode(); if (IsAvailable != false) hash ^= IsAvailable.GetHashCode(); if (GearType != 0) hash ^= GearType.GetHashCode(); if (Quality != 0) hash ^= Quality.GetHashCode(); if (DropWeight != 0) hash ^= DropWeight.GetHashCode(); if (EquipmentId.Length != 0) hash ^= EquipmentId.GetHashCode(); if (rangedWeaponData_ != null) hash ^= RangedWeaponData.GetHashCode(); if (healthPotionData_ != null) hash ^= HealthPotionData.GetHashCode(); if (ammunitionData_ != null) hash ^= AmmunitionData.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 (DisplayName.Length != 0) { output.WriteRawTag(10); output.WriteString(DisplayName); } if (IsAvailable != false) { output.WriteRawTag(16); output.WriteBool(IsAvailable); } if (GearType != 0) { output.WriteRawTag(24); output.WriteInt32(GearType); } if (Quality != 0) { output.WriteRawTag(32); output.WriteInt32(Quality); } if (DropWeight != 0) { output.WriteRawTag(40); output.WriteInt32(DropWeight); } if (EquipmentId.Length != 0) { output.WriteRawTag(50); output.WriteBytes(EquipmentId); } if (rangedWeaponData_ != null) { output.WriteRawTag(58); output.WriteMessage(RangedWeaponData); } if (healthPotionData_ != null) { output.WriteRawTag(66); output.WriteMessage(HealthPotionData); } if (ammunitionData_ != null) { output.WriteRawTag(74); output.WriteMessage(AmmunitionData); } 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 (DisplayName.Length != 0) { output.WriteRawTag(10); output.WriteString(DisplayName); } if (IsAvailable != false) { output.WriteRawTag(16); output.WriteBool(IsAvailable); } if (GearType != 0) { output.WriteRawTag(24); output.WriteInt32(GearType); } if (Quality != 0) { output.WriteRawTag(32); output.WriteInt32(Quality); } if (DropWeight != 0) { output.WriteRawTag(40); output.WriteInt32(DropWeight); } if (EquipmentId.Length != 0) { output.WriteRawTag(50); output.WriteBytes(EquipmentId); } if (rangedWeaponData_ != null) { output.WriteRawTag(58); output.WriteMessage(RangedWeaponData); } if (healthPotionData_ != null) { output.WriteRawTag(66); output.WriteMessage(HealthPotionData); } if (ammunitionData_ != null) { output.WriteRawTag(74); output.WriteMessage(AmmunitionData); } 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 (DisplayName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(DisplayName); } if (IsAvailable != false) { size += 1 + 1; } if (GearType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(GearType); } if (Quality != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Quality); } if (DropWeight != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(DropWeight); } if (EquipmentId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(EquipmentId); } if (rangedWeaponData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RangedWeaponData); } if (healthPotionData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(HealthPotionData); } if (ammunitionData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(AmmunitionData); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(BattleRoyaleGearData other) { if (other == null) { return; } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.IsAvailable != false) { IsAvailable = other.IsAvailable; } if (other.GearType != 0) { GearType = other.GearType; } if (other.Quality != 0) { Quality = other.Quality; } if (other.DropWeight != 0) { DropWeight = other.DropWeight; } if (other.EquipmentId.Length != 0) { EquipmentId = other.EquipmentId; } if (other.rangedWeaponData_ != null) { if (rangedWeaponData_ == null) { RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData(); } RangedWeaponData.MergeFrom(other.RangedWeaponData); } if (other.healthPotionData_ != null) { if (healthPotionData_ == null) { HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData(); } HealthPotionData.MergeFrom(other.HealthPotionData); } if (other.ammunitionData_ != null) { if (ammunitionData_ == null) { AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData(); } AmmunitionData.MergeFrom(other.AmmunitionData); } _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: { DisplayName = input.ReadString(); break; } case 16: { IsAvailable = input.ReadBool(); break; } case 24: { GearType = input.ReadInt32(); break; } case 32: { Quality = input.ReadInt32(); break; } case 40: { DropWeight = input.ReadInt32(); break; } case 50: { EquipmentId = input.ReadBytes(); break; } case 58: { if (rangedWeaponData_ == null) { RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData(); } input.ReadMessage(RangedWeaponData); break; } case 66: { if (healthPotionData_ == null) { HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData(); } input.ReadMessage(HealthPotionData); break; } case 74: { if (ammunitionData_ == null) { AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData(); } input.ReadMessage(AmmunitionData); 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: { DisplayName = input.ReadString(); break; } case 16: { IsAvailable = input.ReadBool(); break; } case 24: { GearType = input.ReadInt32(); break; } case 32: { Quality = input.ReadInt32(); break; } case 40: { DropWeight = input.ReadInt32(); break; } case 50: { EquipmentId = input.ReadBytes(); break; } case 58: { if (rangedWeaponData_ == null) { RangedWeaponData = new global::RecRoom.Protobuf.RangedWeaponData(); } input.ReadMessage(RangedWeaponData); break; } case 66: { if (healthPotionData_ == null) { HealthPotionData = new global::RecRoom.Protobuf.HealthPotionData(); } input.ReadMessage(HealthPotionData); break; } case 74: { if (ammunitionData_ == null) { AmmunitionData = new global::RecRoom.Protobuf.AmmunitionData(); } input.ReadMessage(AmmunitionData); break; } } } } #endif } #endregion } #endregion Designer generated code