// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/connectable_node_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/connectable_node_data.proto public static partial class ConnectableNodeDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/connectable_node_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ConnectableNodeDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjByZWNfcm9vbS9wZXJzaXN0ZW5jZS9jb25uZWN0YWJsZV9ub2RlX2RhdGEu", "cHJvdG8SCHJlY19yb29tGhdjb3JlL3ZlY3RvcjNfZGF0YS5wcm90byJIChRD", "b25uZWN0YWJsZUdyYXBoRGF0YRIwCglyb290X25vZGUYASABKAsyHS5yZWNf", "cm9vbS5Db25uZWN0YWJsZU5vZGVEYXRhIrUCChNDb25uZWN0YWJsZU5vZGVE", "YXRhEhYKDnBlcnNpc3RlbmNlX2lkGAEgASgMEhEKCXBob3Rvbl9pZBgIIAEo", "BRISCgplbnRpdHlfaWR4GAkgASgFEhIKCnNsb3RfaW5kZXgYAiABKAUSGQoR", "cGFyZW50X3Nsb3RfaW5kZXgYAyABKAUSNgobcG9zaXRpb25fcmVsYXRpdmVf", "dG9fcGFyZW50GAQgASgLMhEuY29yZS5WZWN0b3IzRGF0YRI2Chtyb3RhdGlv", "bl9yZWxhdGl2ZV90b19wYXJlbnQYBSABKAsyES5jb3JlLlZlY3RvcjNEYXRh", "Ei8KCGNoaWxkcmVuGAYgAygLMh0ucmVjX3Jvb20uQ29ubmVjdGFibGVOb2Rl", "RGF0YRIPCgdpc19yb290GAcgASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZw", "cm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConnectableGraphData), global::RecRoom.Protobuf.ConnectableGraphData.Parser, new[]{ "RootNode" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ConnectableNodeData), global::RecRoom.Protobuf.ConnectableNodeData.Parser, new[]{ "PersistenceId", "PhotonId", "EntityIdx", "SlotIndex", "ParentSlotIndex", "PositionRelativeToParent", "RotationRelativeToParent", "Children", "IsRoot" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ConnectableGraphData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectableGraphData()); 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.ConnectableNodeDataReflection.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 ConnectableGraphData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ConnectableGraphData(ConnectableGraphData other) : this() { rootNode_ = other.rootNode_ != null ? other.rootNode_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ConnectableGraphData Clone() { return new ConnectableGraphData(this); } /// Field number for the "root_node" field. public const int RootNodeFieldNumber = 1; private global::RecRoom.Protobuf.ConnectableNodeData rootNode_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.ConnectableNodeData RootNode { get { return rootNode_; } set { rootNode_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ConnectableGraphData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ConnectableGraphData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(RootNode, other.RootNode)) 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 (rootNode_ != null) hash ^= RootNode.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 (rootNode_ != null) { output.WriteRawTag(10); output.WriteMessage(RootNode); } 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 (rootNode_ != null) { output.WriteRawTag(10); output.WriteMessage(RootNode); } 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 (rootNode_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RootNode); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ConnectableGraphData other) { if (other == null) { return; } if (other.rootNode_ != null) { if (rootNode_ == null) { RootNode = new global::RecRoom.Protobuf.ConnectableNodeData(); } RootNode.MergeFrom(other.RootNode); } _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: { if (rootNode_ == null) { RootNode = new global::RecRoom.Protobuf.ConnectableNodeData(); } input.ReadMessage(RootNode); 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: { if (rootNode_ == null) { RootNode = new global::RecRoom.Protobuf.ConnectableNodeData(); } input.ReadMessage(RootNode); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ConnectableNodeData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectableNodeData()); 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.ConnectableNodeDataReflection.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 ConnectableNodeData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ConnectableNodeData(ConnectableNodeData other) : this() { persistenceId_ = other.persistenceId_; photonId_ = other.photonId_; entityIdx_ = other.entityIdx_; slotIndex_ = other.slotIndex_; parentSlotIndex_ = other.parentSlotIndex_; positionRelativeToParent_ = other.positionRelativeToParent_ != null ? other.positionRelativeToParent_.Clone() : null; rotationRelativeToParent_ = other.rotationRelativeToParent_ != null ? other.rotationRelativeToParent_.Clone() : null; children_ = other.children_.Clone(); isRoot_ = other.isRoot_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ConnectableNodeData Clone() { return new ConnectableNodeData(this); } /// Field number for the "persistence_id" field. public const int PersistenceIdFieldNumber = 1; private pb::ByteString persistenceId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString PersistenceId { get { return persistenceId_; } set { persistenceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "photon_id" field. public const int PhotonIdFieldNumber = 8; private int photonId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int PhotonId { get { return photonId_; } set { photonId_ = value; } } /// Field number for the "entity_idx" field. public const int EntityIdxFieldNumber = 9; private int entityIdx_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int EntityIdx { get { return entityIdx_; } set { entityIdx_ = value; } } /// Field number for the "slot_index" field. public const int SlotIndexFieldNumber = 2; private int slotIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int SlotIndex { get { return slotIndex_; } set { slotIndex_ = value; } } /// Field number for the "parent_slot_index" field. public const int ParentSlotIndexFieldNumber = 3; private int parentSlotIndex_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ParentSlotIndex { get { return parentSlotIndex_; } set { parentSlotIndex_ = value; } } /// Field number for the "position_relative_to_parent" field. public const int PositionRelativeToParentFieldNumber = 4; private global::RecRoom.Protobuf.Core.Vector3Data positionRelativeToParent_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.Vector3Data PositionRelativeToParent { get { return positionRelativeToParent_; } set { positionRelativeToParent_ = value; } } /// Field number for the "rotation_relative_to_parent" field. public const int RotationRelativeToParentFieldNumber = 5; private global::RecRoom.Protobuf.Core.Vector3Data rotationRelativeToParent_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.Core.Vector3Data RotationRelativeToParent { get { return rotationRelativeToParent_; } set { rotationRelativeToParent_ = value; } } /// Field number for the "children" field. public const int ChildrenFieldNumber = 6; private static readonly pb::FieldCodec _repeated_children_codec = pb::FieldCodec.ForMessage(50, global::RecRoom.Protobuf.ConnectableNodeData.Parser); private readonly pbc::RepeatedField children_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Children { get { return children_; } } /// Field number for the "is_root" field. public const int IsRootFieldNumber = 7; private bool isRoot_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsRoot { get { return isRoot_; } set { isRoot_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ConnectableNodeData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ConnectableNodeData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (PersistenceId != other.PersistenceId) return false; if (PhotonId != other.PhotonId) return false; if (EntityIdx != other.EntityIdx) return false; if (SlotIndex != other.SlotIndex) return false; if (ParentSlotIndex != other.ParentSlotIndex) return false; if (!object.Equals(PositionRelativeToParent, other.PositionRelativeToParent)) return false; if (!object.Equals(RotationRelativeToParent, other.RotationRelativeToParent)) return false; if(!children_.Equals(other.children_)) return false; if (IsRoot != other.IsRoot) 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 (PersistenceId.Length != 0) hash ^= PersistenceId.GetHashCode(); if (PhotonId != 0) hash ^= PhotonId.GetHashCode(); if (EntityIdx != 0) hash ^= EntityIdx.GetHashCode(); if (SlotIndex != 0) hash ^= SlotIndex.GetHashCode(); if (ParentSlotIndex != 0) hash ^= ParentSlotIndex.GetHashCode(); if (positionRelativeToParent_ != null) hash ^= PositionRelativeToParent.GetHashCode(); if (rotationRelativeToParent_ != null) hash ^= RotationRelativeToParent.GetHashCode(); hash ^= children_.GetHashCode(); if (IsRoot != false) hash ^= IsRoot.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 (PersistenceId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(PersistenceId); } if (SlotIndex != 0) { output.WriteRawTag(16); output.WriteInt32(SlotIndex); } if (ParentSlotIndex != 0) { output.WriteRawTag(24); output.WriteInt32(ParentSlotIndex); } if (positionRelativeToParent_ != null) { output.WriteRawTag(34); output.WriteMessage(PositionRelativeToParent); } if (rotationRelativeToParent_ != null) { output.WriteRawTag(42); output.WriteMessage(RotationRelativeToParent); } children_.WriteTo(output, _repeated_children_codec); if (IsRoot != false) { output.WriteRawTag(56); output.WriteBool(IsRoot); } if (PhotonId != 0) { output.WriteRawTag(64); output.WriteInt32(PhotonId); } if (EntityIdx != 0) { output.WriteRawTag(72); output.WriteInt32(EntityIdx); } 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 (PersistenceId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(PersistenceId); } if (SlotIndex != 0) { output.WriteRawTag(16); output.WriteInt32(SlotIndex); } if (ParentSlotIndex != 0) { output.WriteRawTag(24); output.WriteInt32(ParentSlotIndex); } if (positionRelativeToParent_ != null) { output.WriteRawTag(34); output.WriteMessage(PositionRelativeToParent); } if (rotationRelativeToParent_ != null) { output.WriteRawTag(42); output.WriteMessage(RotationRelativeToParent); } children_.WriteTo(ref output, _repeated_children_codec); if (IsRoot != false) { output.WriteRawTag(56); output.WriteBool(IsRoot); } if (PhotonId != 0) { output.WriteRawTag(64); output.WriteInt32(PhotonId); } if (EntityIdx != 0) { output.WriteRawTag(72); output.WriteInt32(EntityIdx); } 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 (PersistenceId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(PersistenceId); } if (PhotonId != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(PhotonId); } if (EntityIdx != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(EntityIdx); } if (SlotIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); } if (ParentSlotIndex != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ParentSlotIndex); } if (positionRelativeToParent_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionRelativeToParent); } if (rotationRelativeToParent_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RotationRelativeToParent); } size += children_.CalculateSize(_repeated_children_codec); if (IsRoot != 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(ConnectableNodeData other) { if (other == null) { return; } if (other.PersistenceId.Length != 0) { PersistenceId = other.PersistenceId; } if (other.PhotonId != 0) { PhotonId = other.PhotonId; } if (other.EntityIdx != 0) { EntityIdx = other.EntityIdx; } if (other.SlotIndex != 0) { SlotIndex = other.SlotIndex; } if (other.ParentSlotIndex != 0) { ParentSlotIndex = other.ParentSlotIndex; } if (other.positionRelativeToParent_ != null) { if (positionRelativeToParent_ == null) { PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } PositionRelativeToParent.MergeFrom(other.PositionRelativeToParent); } if (other.rotationRelativeToParent_ != null) { if (rotationRelativeToParent_ == null) { RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } RotationRelativeToParent.MergeFrom(other.RotationRelativeToParent); } children_.Add(other.children_); if (other.IsRoot != false) { IsRoot = other.IsRoot; } _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: { PersistenceId = input.ReadBytes(); break; } case 16: { SlotIndex = input.ReadInt32(); break; } case 24: { ParentSlotIndex = input.ReadInt32(); break; } case 34: { if (positionRelativeToParent_ == null) { PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(PositionRelativeToParent); break; } case 42: { if (rotationRelativeToParent_ == null) { RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(RotationRelativeToParent); break; } case 50: { children_.AddEntriesFrom(input, _repeated_children_codec); break; } case 56: { IsRoot = input.ReadBool(); break; } case 64: { PhotonId = input.ReadInt32(); break; } case 72: { EntityIdx = 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: { PersistenceId = input.ReadBytes(); break; } case 16: { SlotIndex = input.ReadInt32(); break; } case 24: { ParentSlotIndex = input.ReadInt32(); break; } case 34: { if (positionRelativeToParent_ == null) { PositionRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(PositionRelativeToParent); break; } case 42: { if (rotationRelativeToParent_ == null) { RotationRelativeToParent = new global::RecRoom.Protobuf.Core.Vector3Data(); } input.ReadMessage(RotationRelativeToParent); break; } case 50: { children_.AddEntriesFrom(ref input, _repeated_children_codec); break; } case 56: { IsRoot = input.ReadBool(); break; } case 64: { PhotonId = input.ReadInt32(); break; } case 72: { EntityIdx = input.ReadInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code