// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/room_door_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/room_door_data.proto public static partial class RoomDoorDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/room_door_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static RoomDoorDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CilyZWNfcm9vbS9wZXJzaXN0ZW5jZS9yb29tX2Rvb3JfZGF0YS5wcm90bxII", "cmVjX3Jvb20ioQMKDFJvb21Eb29yRGF0YRIaChJyb29tX2lkX2RlcHJlY2F0", "ZWQYASABKAMSEwoLdGFyZ2V0X25hbWUYAiABKAkSPgoLdGFyZ2V0X3R5cGUY", "AyABKA4yKS5yZWNfcm9vbS5Sb29tRG9vckRhdGEuUm9vbURvb3JUYXJnZXRU", "eXBlEj4KC2ludml0ZV9tb2RlGAQgASgOMikucmVjX3Jvb20uUm9vbURvb3JE", "YXRhLlJvb21Eb29ySW52aXRlTW9kZRIRCgloaWRlX3NpZ24YBSABKAgSEQoJ", "aGlkZV9kb29yGAYgASgIEhoKEmZvcmNlX25ld19pbnN0YW5jZRgHIAEoCCI+", "ChJSb29tRG9vclRhcmdldFR5cGUSDwoLVW5rbm93blR5cGUQABIICgRSb29t", "EAESDQoJUm9vbVNjZW5lEAIiXgoSUm9vbURvb3JJbnZpdGVNb2RlEg8KC1Vu", "a25vd25Nb2RlEAASCgoGTm9ybWFsEAESEwoPUGFydHlBdXRvRm9sbG93EAIS", "FgoSRXZlcnlvbmVBdXRvRm9sbG93EANCE6oCEFJlY1Jvb20uUHJvdG9idWZi", "BnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RoomDoorData), global::RecRoom.Protobuf.RoomDoorData.Parser, new[]{ "RoomIdDeprecated", "TargetName", "TargetType", "InviteMode", "HideSign", "HideDoor", "ForceNewInstance" }, null, new[]{ typeof(global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType), typeof(global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode) }, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class RoomDoorData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomDoorData()); 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.RoomDoorDataReflection.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 RoomDoorData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomDoorData(RoomDoorData other) : this() { roomIdDeprecated_ = other.roomIdDeprecated_; targetName_ = other.targetName_; targetType_ = other.targetType_; inviteMode_ = other.inviteMode_; hideSign_ = other.hideSign_; hideDoor_ = other.hideDoor_; forceNewInstance_ = other.forceNewInstance_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RoomDoorData Clone() { return new RoomDoorData(this); } /// Field number for the "room_id_deprecated" field. public const int RoomIdDeprecatedFieldNumber = 1; private long roomIdDeprecated_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long RoomIdDeprecated { get { return roomIdDeprecated_; } set { roomIdDeprecated_ = value; } } /// Field number for the "target_name" field. public const int TargetNameFieldNumber = 2; private string targetName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string TargetName { get { return targetName_; } set { targetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "target_type" field. public const int TargetTypeFieldNumber = 3; private global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType targetType_ = global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType TargetType { get { return targetType_; } set { targetType_ = value; } } /// Field number for the "invite_mode" field. public const int InviteModeFieldNumber = 4; private global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode inviteMode_ = global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode InviteMode { get { return inviteMode_; } set { inviteMode_ = value; } } /// Field number for the "hide_sign" field. public const int HideSignFieldNumber = 5; private bool hideSign_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HideSign { get { return hideSign_; } set { hideSign_ = value; } } /// Field number for the "hide_door" field. public const int HideDoorFieldNumber = 6; private bool hideDoor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HideDoor { get { return hideDoor_; } set { hideDoor_ = value; } } /// Field number for the "force_new_instance" field. public const int ForceNewInstanceFieldNumber = 7; private bool forceNewInstance_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool ForceNewInstance { get { return forceNewInstance_; } set { forceNewInstance_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RoomDoorData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RoomDoorData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RoomIdDeprecated != other.RoomIdDeprecated) return false; if (TargetName != other.TargetName) return false; if (TargetType != other.TargetType) return false; if (InviteMode != other.InviteMode) return false; if (HideSign != other.HideSign) return false; if (HideDoor != other.HideDoor) return false; if (ForceNewInstance != other.ForceNewInstance) 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 (RoomIdDeprecated != 0L) hash ^= RoomIdDeprecated.GetHashCode(); if (TargetName.Length != 0) hash ^= TargetName.GetHashCode(); if (TargetType != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType) hash ^= TargetType.GetHashCode(); if (InviteMode != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode) hash ^= InviteMode.GetHashCode(); if (HideSign != false) hash ^= HideSign.GetHashCode(); if (HideDoor != false) hash ^= HideDoor.GetHashCode(); if (ForceNewInstance != false) hash ^= ForceNewInstance.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 (RoomIdDeprecated != 0L) { output.WriteRawTag(8); output.WriteInt64(RoomIdDeprecated); } if (TargetName.Length != 0) { output.WriteRawTag(18); output.WriteString(TargetName); } if (TargetType != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType) { output.WriteRawTag(24); output.WriteEnum((int) TargetType); } if (InviteMode != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode) { output.WriteRawTag(32); output.WriteEnum((int) InviteMode); } if (HideSign != false) { output.WriteRawTag(40); output.WriteBool(HideSign); } if (HideDoor != false) { output.WriteRawTag(48); output.WriteBool(HideDoor); } if (ForceNewInstance != false) { output.WriteRawTag(56); output.WriteBool(ForceNewInstance); } 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 (RoomIdDeprecated != 0L) { output.WriteRawTag(8); output.WriteInt64(RoomIdDeprecated); } if (TargetName.Length != 0) { output.WriteRawTag(18); output.WriteString(TargetName); } if (TargetType != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType) { output.WriteRawTag(24); output.WriteEnum((int) TargetType); } if (InviteMode != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode) { output.WriteRawTag(32); output.WriteEnum((int) InviteMode); } if (HideSign != false) { output.WriteRawTag(40); output.WriteBool(HideSign); } if (HideDoor != false) { output.WriteRawTag(48); output.WriteBool(HideDoor); } if (ForceNewInstance != false) { output.WriteRawTag(56); output.WriteBool(ForceNewInstance); } 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 (RoomIdDeprecated != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoomIdDeprecated); } if (TargetName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetName); } if (TargetType != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TargetType); } if (InviteMode != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) InviteMode); } if (HideSign != false) { size += 1 + 1; } if (HideDoor != false) { size += 1 + 1; } if (ForceNewInstance != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RoomDoorData other) { if (other == null) { return; } if (other.RoomIdDeprecated != 0L) { RoomIdDeprecated = other.RoomIdDeprecated; } if (other.TargetName.Length != 0) { TargetName = other.TargetName; } if (other.TargetType != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType.UnknownType) { TargetType = other.TargetType; } if (other.InviteMode != global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode.UnknownMode) { InviteMode = other.InviteMode; } if (other.HideSign != false) { HideSign = other.HideSign; } if (other.HideDoor != false) { HideDoor = other.HideDoor; } if (other.ForceNewInstance != false) { ForceNewInstance = other.ForceNewInstance; } _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 8: { RoomIdDeprecated = input.ReadInt64(); break; } case 18: { TargetName = input.ReadString(); break; } case 24: { TargetType = (global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType) input.ReadEnum(); break; } case 32: { InviteMode = (global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode) input.ReadEnum(); break; } case 40: { HideSign = input.ReadBool(); break; } case 48: { HideDoor = input.ReadBool(); break; } case 56: { ForceNewInstance = input.ReadBool(); break; } } } #endif } #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { RoomIdDeprecated = input.ReadInt64(); break; } case 18: { TargetName = input.ReadString(); break; } case 24: { TargetType = (global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorTargetType) input.ReadEnum(); break; } case 32: { InviteMode = (global::RecRoom.Protobuf.RoomDoorData.Types.RoomDoorInviteMode) input.ReadEnum(); break; } case 40: { HideSign = input.ReadBool(); break; } case 48: { HideDoor = input.ReadBool(); break; } case 56: { ForceNewInstance = input.ReadBool(); break; } } } } #endif #region Nested types /// Container for nested types declared in the RoomDoorData message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { public enum RoomDoorTargetType { [pbr::OriginalName("UnknownType")] UnknownType = 0, [pbr::OriginalName("Room")] Room = 1, [pbr::OriginalName("RoomScene")] RoomScene = 2, } public enum RoomDoorInviteMode { [pbr::OriginalName("UnknownMode")] UnknownMode = 0, [pbr::OriginalName("Normal")] Normal = 1, [pbr::OriginalName("PartyAutoFollow")] PartyAutoFollow = 2, [pbr::OriginalName("EveryoneAutoFollow")] EveryoneAutoFollow = 3, } } #endregion } #endregion } #endregion Designer generated code