// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/costume_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/persistence/costume_data.proto public static partial class CostumeDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/costume_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CostumeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CidyZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb3N0dW1lX2RhdGEucHJvdG8SCHJl", "Y19yb29tIrACCgtDb3N0dW1lRGF0YRIgChhhZGRfcGxheWVyX3JvbGVfb25f", "ZXF1aXAYASADKAkSLAokZG9fbm90X3JlbW92ZV9wbGF5ZXJfcm9sZV9vbl91", "bmVxdWlwGAIgASgIEhwKFGRvX25vdF9zaG93X2VxdWlwX3VpGAMgASgIEhoK", "EmhpZGVfcGxheWVyX291dGZpdBgEIAEoCBImCh5kb19ub3RfcGxheV9lcXVp", "cF9zb3VuZF9lZmZlY3QYBSABKAgSFQoNb3V0Zml0X2ZpbHRlchgGIAEoBRIe", "ChZlcXVpcF9sb2NrZWRfYnlfa2V5X2lkGAcgASgMEhwKFGFuaW1hdGlvbl9w", "b3NlX2luZGV4GAggASgFEhoKEmF2YXRhcl90eXBlX2ZpbHRlchgJIAEoBUIT", "qgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.CostumeData), global::RecRoom.Protobuf.CostumeData.Parser, new[]{ "AddPlayerRoleOnEquip", "DoNotRemovePlayerRoleOnUnequip", "DoNotShowEquipUi", "HidePlayerOutfit", "DoNotPlayEquipSoundEffect", "OutfitFilter", "EquipLockedByKeyId", "AnimationPoseIndex", "AvatarTypeFilter" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class CostumeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CostumeData()); 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.CostumeDataReflection.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 CostumeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CostumeData(CostumeData other) : this() { addPlayerRoleOnEquip_ = other.addPlayerRoleOnEquip_.Clone(); doNotRemovePlayerRoleOnUnequip_ = other.doNotRemovePlayerRoleOnUnequip_; doNotShowEquipUi_ = other.doNotShowEquipUi_; hidePlayerOutfit_ = other.hidePlayerOutfit_; doNotPlayEquipSoundEffect_ = other.doNotPlayEquipSoundEffect_; outfitFilter_ = other.outfitFilter_; equipLockedByKeyId_ = other.equipLockedByKeyId_; animationPoseIndex_ = other.animationPoseIndex_; avatarTypeFilter_ = other.avatarTypeFilter_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CostumeData Clone() { return new CostumeData(this); } /// Field number for the "add_player_role_on_equip" field. public const int AddPlayerRoleOnEquipFieldNumber = 1; private static readonly pb::FieldCodec _repeated_addPlayerRoleOnEquip_codec = pb::FieldCodec.ForString(10); private readonly pbc::RepeatedField addPlayerRoleOnEquip_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField AddPlayerRoleOnEquip { get { return addPlayerRoleOnEquip_; } } /// Field number for the "do_not_remove_player_role_on_unequip" field. public const int DoNotRemovePlayerRoleOnUnequipFieldNumber = 2; private bool doNotRemovePlayerRoleOnUnequip_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DoNotRemovePlayerRoleOnUnequip { get { return doNotRemovePlayerRoleOnUnequip_; } set { doNotRemovePlayerRoleOnUnequip_ = value; } } /// Field number for the "do_not_show_equip_ui" field. public const int DoNotShowEquipUiFieldNumber = 3; private bool doNotShowEquipUi_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DoNotShowEquipUi { get { return doNotShowEquipUi_; } set { doNotShowEquipUi_ = value; } } /// Field number for the "hide_player_outfit" field. public const int HidePlayerOutfitFieldNumber = 4; private bool hidePlayerOutfit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HidePlayerOutfit { get { return hidePlayerOutfit_; } set { hidePlayerOutfit_ = value; } } /// Field number for the "do_not_play_equip_sound_effect" field. public const int DoNotPlayEquipSoundEffectFieldNumber = 5; private bool doNotPlayEquipSoundEffect_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DoNotPlayEquipSoundEffect { get { return doNotPlayEquipSoundEffect_; } set { doNotPlayEquipSoundEffect_ = value; } } /// Field number for the "outfit_filter" field. public const int OutfitFilterFieldNumber = 6; private int outfitFilter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int OutfitFilter { get { return outfitFilter_; } set { outfitFilter_ = value; } } /// Field number for the "equip_locked_by_key_id" field. public const int EquipLockedByKeyIdFieldNumber = 7; private pb::ByteString equipLockedByKeyId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString EquipLockedByKeyId { get { return equipLockedByKeyId_; } set { equipLockedByKeyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "animation_pose_index" field. public const int AnimationPoseIndexFieldNumber = 8; private int animationPoseIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AnimationPoseIndex { get { return animationPoseIndex_; } set { animationPoseIndex_ = value; } } /// Field number for the "avatar_type_filter" field. public const int AvatarTypeFilterFieldNumber = 9; private int avatarTypeFilter_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int AvatarTypeFilter { get { return avatarTypeFilter_; } set { avatarTypeFilter_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CostumeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CostumeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!addPlayerRoleOnEquip_.Equals(other.addPlayerRoleOnEquip_)) return false; if (DoNotRemovePlayerRoleOnUnequip != other.DoNotRemovePlayerRoleOnUnequip) return false; if (DoNotShowEquipUi != other.DoNotShowEquipUi) return false; if (HidePlayerOutfit != other.HidePlayerOutfit) return false; if (DoNotPlayEquipSoundEffect != other.DoNotPlayEquipSoundEffect) return false; if (OutfitFilter != other.OutfitFilter) return false; if (EquipLockedByKeyId != other.EquipLockedByKeyId) return false; if (AnimationPoseIndex != other.AnimationPoseIndex) return false; if (AvatarTypeFilter != other.AvatarTypeFilter) 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 ^= addPlayerRoleOnEquip_.GetHashCode(); if (DoNotRemovePlayerRoleOnUnequip != false) hash ^= DoNotRemovePlayerRoleOnUnequip.GetHashCode(); if (DoNotShowEquipUi != false) hash ^= DoNotShowEquipUi.GetHashCode(); if (HidePlayerOutfit != false) hash ^= HidePlayerOutfit.GetHashCode(); if (DoNotPlayEquipSoundEffect != false) hash ^= DoNotPlayEquipSoundEffect.GetHashCode(); if (OutfitFilter != 0) hash ^= OutfitFilter.GetHashCode(); if (EquipLockedByKeyId.Length != 0) hash ^= EquipLockedByKeyId.GetHashCode(); if (AnimationPoseIndex != 0) hash ^= AnimationPoseIndex.GetHashCode(); if (AvatarTypeFilter != 0) hash ^= AvatarTypeFilter.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 addPlayerRoleOnEquip_.WriteTo(output, _repeated_addPlayerRoleOnEquip_codec); if (DoNotRemovePlayerRoleOnUnequip != false) { output.WriteRawTag(16); output.WriteBool(DoNotRemovePlayerRoleOnUnequip); } if (DoNotShowEquipUi != false) { output.WriteRawTag(24); output.WriteBool(DoNotShowEquipUi); } if (HidePlayerOutfit != false) { output.WriteRawTag(32); output.WriteBool(HidePlayerOutfit); } if (DoNotPlayEquipSoundEffect != false) { output.WriteRawTag(40); output.WriteBool(DoNotPlayEquipSoundEffect); } if (OutfitFilter != 0) { output.WriteRawTag(48); output.WriteInt32(OutfitFilter); } if (EquipLockedByKeyId.Length != 0) { output.WriteRawTag(58); output.WriteBytes(EquipLockedByKeyId); } if (AnimationPoseIndex != 0) { output.WriteRawTag(64); output.WriteInt32(AnimationPoseIndex); } if (AvatarTypeFilter != 0) { output.WriteRawTag(72); output.WriteInt32(AvatarTypeFilter); } 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) { addPlayerRoleOnEquip_.WriteTo(ref output, _repeated_addPlayerRoleOnEquip_codec); if (DoNotRemovePlayerRoleOnUnequip != false) { output.WriteRawTag(16); output.WriteBool(DoNotRemovePlayerRoleOnUnequip); } if (DoNotShowEquipUi != false) { output.WriteRawTag(24); output.WriteBool(DoNotShowEquipUi); } if (HidePlayerOutfit != false) { output.WriteRawTag(32); output.WriteBool(HidePlayerOutfit); } if (DoNotPlayEquipSoundEffect != false) { output.WriteRawTag(40); output.WriteBool(DoNotPlayEquipSoundEffect); } if (OutfitFilter != 0) { output.WriteRawTag(48); output.WriteInt32(OutfitFilter); } if (EquipLockedByKeyId.Length != 0) { output.WriteRawTag(58); output.WriteBytes(EquipLockedByKeyId); } if (AnimationPoseIndex != 0) { output.WriteRawTag(64); output.WriteInt32(AnimationPoseIndex); } if (AvatarTypeFilter != 0) { output.WriteRawTag(72); output.WriteInt32(AvatarTypeFilter); } 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 += addPlayerRoleOnEquip_.CalculateSize(_repeated_addPlayerRoleOnEquip_codec); if (DoNotRemovePlayerRoleOnUnequip != false) { size += 1 + 1; } if (DoNotShowEquipUi != false) { size += 1 + 1; } if (HidePlayerOutfit != false) { size += 1 + 1; } if (DoNotPlayEquipSoundEffect != false) { size += 1 + 1; } if (OutfitFilter != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutfitFilter); } if (EquipLockedByKeyId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(EquipLockedByKeyId); } if (AnimationPoseIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AnimationPoseIndex); } if (AvatarTypeFilter != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(AvatarTypeFilter); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(CostumeData other) { if (other == null) { return; } addPlayerRoleOnEquip_.Add(other.addPlayerRoleOnEquip_); if (other.DoNotRemovePlayerRoleOnUnequip != false) { DoNotRemovePlayerRoleOnUnequip = other.DoNotRemovePlayerRoleOnUnequip; } if (other.DoNotShowEquipUi != false) { DoNotShowEquipUi = other.DoNotShowEquipUi; } if (other.HidePlayerOutfit != false) { HidePlayerOutfit = other.HidePlayerOutfit; } if (other.DoNotPlayEquipSoundEffect != false) { DoNotPlayEquipSoundEffect = other.DoNotPlayEquipSoundEffect; } if (other.OutfitFilter != 0) { OutfitFilter = other.OutfitFilter; } if (other.EquipLockedByKeyId.Length != 0) { EquipLockedByKeyId = other.EquipLockedByKeyId; } if (other.AnimationPoseIndex != 0) { AnimationPoseIndex = other.AnimationPoseIndex; } if (other.AvatarTypeFilter != 0) { AvatarTypeFilter = other.AvatarTypeFilter; } _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: { addPlayerRoleOnEquip_.AddEntriesFrom(input, _repeated_addPlayerRoleOnEquip_codec); break; } case 16: { DoNotRemovePlayerRoleOnUnequip = input.ReadBool(); break; } case 24: { DoNotShowEquipUi = input.ReadBool(); break; } case 32: { HidePlayerOutfit = input.ReadBool(); break; } case 40: { DoNotPlayEquipSoundEffect = input.ReadBool(); break; } case 48: { OutfitFilter = input.ReadInt32(); break; } case 58: { EquipLockedByKeyId = input.ReadBytes(); break; } case 64: { AnimationPoseIndex = input.ReadInt32(); break; } case 72: { AvatarTypeFilter = input.ReadInt32(); 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: { addPlayerRoleOnEquip_.AddEntriesFrom(ref input, _repeated_addPlayerRoleOnEquip_codec); break; } case 16: { DoNotRemovePlayerRoleOnUnequip = input.ReadBool(); break; } case 24: { DoNotShowEquipUi = input.ReadBool(); break; } case 32: { HidePlayerOutfit = input.ReadBool(); break; } case 40: { DoNotPlayEquipSoundEffect = input.ReadBool(); break; } case 48: { OutfitFilter = input.ReadInt32(); break; } case 58: { EquipLockedByKeyId = input.ReadBytes(); break; } case 64: { AnimationPoseIndex = input.ReadInt32(); break; } case 72: { AvatarTypeFilter = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code