Files
RecRoom.Protobuf/PersistedRoomData.cs
2026-05-10 13:39:01 -07:00

1448 lines
62 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/persisted_room_data.proto
// </auto-generated>
#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 {
/// <summary>Holder for reflection information generated from rec_room/persistence/persisted_room_data.proto</summary>
public static partial class PersistedRoomDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/persisted_room_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static PersistedRoomDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci5yZWNfcm9vbS9wZXJzaXN0ZW5jZS9wZXJzaXN0ZWRfcm9vbV9kYXRhLnBy",
"b3RvEghyZWNfcm9vbRofZ29vZ2xlL3Byb3RvYnVmL3RpbWVzdGFtcC5wcm90",
"bxokY2lyY3VpdHNfdjIvY2lyY3VpdF9ncmFwaF9kYXRhLnByb3RvGiNjaXJj",
"dWl0c192Mi9jaXJjdWl0X3Jvb3RfZGF0YS5wcm90bxoUY29yZS9ndWlkX2Rh",
"dGEucHJvdG8aQ3JlY19yb29tL3BlcnNpc3RlbmNlL2RlcHJlY2F0ZWQvREVQ",
"UkVDQVRFRF9ob3N0X3NldHRpbmdzX2RhdGEucHJvdG8aRnJlY19yb29tL3Bl",
"cnNpc3RlbmNlL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9zYW5kYm94X3NldHRp",
"bmdzX2RhdGEucHJvdG8aQ3JlY19yb29tL3BlcnNpc3RlbmNlL2RlcHJlY2F0",
"ZWQvREVQUkVDQVRFRF9nYW1lX3NldHRpbmdzX2RhdGEucHJvdG8aSXJlY19y",
"b29tL3BlcnNpc3RlbmNlL2RlcHJlY2F0ZWQvREVQUkVDQVRFRF9yb29tX3Bl",
"cnNpc3RlbmNlX3ZlcnNpb24ucHJvdG8aKHJlY19yb29tL3BlcnNpc3RlbmNl",
"L2F1dG9zYXZlX2RhdGEucHJvdG8aMHJlY19yb29tL3BlcnNpc3RlbmNlL2Nv",
"bm5lY3RhYmxlX25vZGVfZGF0YS5wcm90bxoncmVjX3Jvb20vcGVyc2lzdGVu",
"Y2UvbmF2bWVzaF9kYXRhLnByb3RvGjFyZWNfcm9vbS9wZXJzaXN0ZW5jZS9w",
"ZXJzaXN0ZWRfcm9vbV92ZXJzaW9uLnByb3RvGjByZWNfcm9vbS9wZXJzaXN0",
"ZW5jZS9wZXJzaXN0ZW5jZV92aWV3X2RhdGEucHJvdG8aLnJlY19yb29tL3Bl",
"cnNpc3RlbmNlL3NjZW5lX3NldHRpbmdzX2RhdGEucHJvdG8aMXJlY19yb29t",
"L3BlcnNpc3RlbmNlL3Rvb2xfdGFnX3NldHRpbmdzX2RhdGEucHJvdG8aNXJl",
"Y19yb29tL3BsYXllcl9yb2xlcy9nYW1lX3JvbGVfY29sbGVjdGlvbl9kYXRh",
"LnByb3RvGjVyZWNfcm9vbS9wbGF5ZXJfcm9sZXMvcm9vbV9yb2xlX2NvbGxl",
"Y3Rpb25fZGF0YS5wcm90bxokY2lyY3VpdHNfdjIvcm9vbV9tb29kX2ZvZ19k",
"YXRhLnByb3RvGiRjaXJjdWl0c192Mi9yb29tX21vb2Rfc3VuX2RhdGEucHJv",
"dG8aM2NpcmN1aXRzX3YyL3Jvb21fbW9vZF9iYWNrZ3JvdW5kX29iamVjdHNf",
"ZGF0YS5wcm90bxooY2lyY3VpdHNfdjIvcm9vbV9tb29kX3NreWRvbWVfZGF0",
"YS5wcm90byLLCwoRUGVyc2lzdGVkUm9vbURhdGESRwoSREVQUkVDQVRFRF92",
"ZXJzaW9uGAEgASgOMisucmVjX3Jvb20uREVQUkVDQVRFRF9Sb29tUGVyc2lz",
"dGVuY2VWZXJzaW9uEjgKEXBlcnNpc3RlbmNlX3ZpZXdzGAIgAygLMh0ucmVj",
"X3Jvb20uUGVyc2lzdGVuY2VWaWV3RGF0YRIyCg5sYXN0X3NhdmVfdGltZRgD",
"IAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEwoLYWN0aXZpdHlf",
"aWQYBCABKAkSEgoKb3V0cHV0X2xvZxgFIAEoCRITCgtzdWJfcm9vbV9pZBgG",
"IAEoAxJHChhERVBSRUNBVEVEX2hvc3Rfc2V0dGluZ3MYECABKAsyJS5yZWNf",
"cm9vbS5ERVBSRUNBVEVEX0hvc3RTZXR0aW5nc0RhdGESTQobREVQUkVDQVRF",
"RF9zYW5kYm94X3NldHRpbmdzGBEgASgLMigucmVjX3Jvb20uREVQUkVDQVRF",
"RF9TYW5kYm94U2V0dGluZ3NEYXRhEhQKDGNpcmN1aXRfZGF0YRgSIAEoDBJH",
"ChhERVBSRUNBVEVEX2dhbWVfc2V0dGluZ3MYEyABKAsyJS5yZWNfcm9vbS5E",
"RVBSRUNBVEVEX0dhbWVTZXR0aW5nc0RhdGESPQoWdG9vbF90YWdfc2V0dGlu",
"Z3NfZGF0YRgUIAEoCzIdLnJlY19yb29tLlRvb2xUYWdTZXR0aW5nc0RhdGES",
"PgoWY29ubmVjdGFibGVfZ3JhcGhfZGF0YRgVIAEoCzIeLnJlY19yb29tLkNv",
"bm5lY3RhYmxlR3JhcGhEYXRhEjgKDmdhbWVfcm9sZV9kYXRhGBYgASgLMiAu",
"cmVjX3Jvb20uR2FtZVJvbGVDb2xsZWN0aW9uRGF0YRI4Cg5yb29tX3JvbGVf",
"ZGF0YRgXIAEoCzIgLnJlY19yb29tLlJvb21Sb2xlQ29sbGVjdGlvbkRhdGES",
"OAoTc2NlbmVfc2V0dGluZ3NfZGF0YRgYIAEoCzIbLnJlY19yb29tLlNjZW5l",
"U2V0dGluZ3NEYXRhEjgKGERFUFJFQ0FURURfYXV0b3NhdmVfZGF0YRgZIAEo",
"CzIWLnJlY19yb29tLkF1dG9zYXZlRGF0YRJBChpERVBSRUNBVEVEX2NpcmN1",
"aXRfdjJfZGF0YRgaIAEoCzIdLmNpcmN1aXRzX3YyLkNpcmN1aXRHcmFwaERh",
"dGESKwoMbmF2bWVzaF9kYXRhGBsgASgLMhUucmVjX3Jvb20uTmF2TWVzaERh",
"dGESNQoPY2lyY3VpdF92Ml9kYXRhGBwgASgLMhwuY2lyY3VpdHNfdjIuQ2ly",
"Y3VpdFJvb3REYXRhEhkKEW9iamVjdF9tb2RlbF9kYXRhGB0gASgMEi8KB3Zl",
"cnNpb24YHiABKA4yHi5yZWNfcm9vbS5QZXJzaXN0ZWRSb29tVmVyc2lvbhIe",
"ChZjcmVhdGl2ZV9yb2xlc19lbmFibGVkGB8gASgIEjMKDXJvb21fZm9nX2Rh",
"dGEYICABKAsyHC5jaXJjdWl0c192Mi5Sb29tTW9vZEZvZ0RhdGESOAoScm9v",
"bV9tb29kX3N1bl9kYXRhGCEgASgLMhwuY2lyY3VpdHNfdjIuUm9vbU1vb2RT",
"dW5EYXRhElAKHHJvb21fbW9vZF9iYWNrZ3JvdW5kX29iamVjdHMYIiABKAsy",
"Ki5jaXJjdWl0c192Mi5Sb29tTW9vZEJhY2tncm91bmRPYmplY3RzRGF0YRI7",
"ChFyb29tX21vb2Rfc2t5ZG9tZRgjIAEoCzIgLmNpcmN1aXRzX3YyLlJvb21N",
"b29kU2t5ZG9tZURhdGESLgoWdWdjX2xvY2FsaXphdGlvbl9zY29wZRgkIAEo",
"CzIOLmNvcmUuR3VpZERhdGESIgoaY29vcmRpbmF0ZV9iZWFjb25zX2VuYWJs",
"ZWQYJSABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitGraphDataReflection.Descriptor, global::CircuitsV2.Protobuf.CircuitRootDataReflection.Descriptor, global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::RecRoom.Protobuf.DEPRECATEDHostSettingsDataReflection.Descriptor, global::RecRoom.Protobuf.DEPRECATEDSandboxSettingsDataReflection.Descriptor, global::RecRoom.Protobuf.DEPRECATEDGameSettingsDataReflection.Descriptor, global::RecRoom.Protobuf.DEPRECATEDRoomPersistenceVersionReflection.Descriptor, global::RecRoom.Protobuf.AutosaveDataReflection.Descriptor, global::RecRoom.Protobuf.ConnectableNodeDataReflection.Descriptor, global::RecRoom.Protobuf.NavmeshDataReflection.Descriptor, global::RecRoom.Protobuf.PersistedRoomVersionReflection.Descriptor, global::RecRoom.Protobuf.PersistenceViewDataReflection.Descriptor, global::RecRoom.Protobuf.SceneSettingsDataReflection.Descriptor, global::RecRoom.Protobuf.ToolTagSettingsDataReflection.Descriptor, global::RecRoom.Protobuf.GameRoleCollectionDataReflection.Descriptor, global::RecRoom.Protobuf.RoomRoleCollectionDataReflection.Descriptor, global::CircuitsV2.Protobuf.RoomMoodFogDataReflection.Descriptor, global::CircuitsV2.Protobuf.RoomMoodSunDataReflection.Descriptor, global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsDataReflection.Descriptor, global::CircuitsV2.Protobuf.RoomMoodSkydomeDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.PersistedRoomData), global::RecRoom.Protobuf.PersistedRoomData.Parser, new[]{ "DEPRECATEDVersion", "PersistenceViews", "LastSaveTime", "ActivityId", "OutputLog", "SubRoomId", "DEPRECATEDHostSettings", "DEPRECATEDSandboxSettings", "CircuitData", "DEPRECATEDGameSettings", "ToolTagSettingsData", "ConnectableGraphData", "GameRoleData", "RoomRoleData", "SceneSettingsData", "DEPRECATEDAutosaveData", "DEPRECATEDCircuitV2Data", "NavmeshData", "CircuitV2Data", "ObjectModelData", "Version", "CreativeRolesEnabled", "RoomFogData", "RoomMoodSunData", "RoomMoodBackgroundObjects", "RoomMoodSkydome", "UgcLocalizationScope", "CoordinateBeaconsEnabled" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PersistedRoomData : pb::IMessage<PersistedRoomData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<PersistedRoomData> _parser = new pb::MessageParser<PersistedRoomData>(() => new PersistedRoomData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<PersistedRoomData> 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.PersistedRoomDataReflection.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 PersistedRoomData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PersistedRoomData(PersistedRoomData other) : this() {
dEPRECATEDVersion_ = other.dEPRECATEDVersion_;
persistenceViews_ = other.persistenceViews_.Clone();
lastSaveTime_ = other.lastSaveTime_ != null ? other.lastSaveTime_.Clone() : null;
activityId_ = other.activityId_;
outputLog_ = other.outputLog_;
subRoomId_ = other.subRoomId_;
dEPRECATEDHostSettings_ = other.dEPRECATEDHostSettings_ != null ? other.dEPRECATEDHostSettings_.Clone() : null;
dEPRECATEDSandboxSettings_ = other.dEPRECATEDSandboxSettings_ != null ? other.dEPRECATEDSandboxSettings_.Clone() : null;
circuitData_ = other.circuitData_;
dEPRECATEDGameSettings_ = other.dEPRECATEDGameSettings_ != null ? other.dEPRECATEDGameSettings_.Clone() : null;
toolTagSettingsData_ = other.toolTagSettingsData_ != null ? other.toolTagSettingsData_.Clone() : null;
connectableGraphData_ = other.connectableGraphData_ != null ? other.connectableGraphData_.Clone() : null;
gameRoleData_ = other.gameRoleData_ != null ? other.gameRoleData_.Clone() : null;
roomRoleData_ = other.roomRoleData_ != null ? other.roomRoleData_.Clone() : null;
sceneSettingsData_ = other.sceneSettingsData_ != null ? other.sceneSettingsData_.Clone() : null;
dEPRECATEDAutosaveData_ = other.dEPRECATEDAutosaveData_ != null ? other.dEPRECATEDAutosaveData_.Clone() : null;
dEPRECATEDCircuitV2Data_ = other.dEPRECATEDCircuitV2Data_ != null ? other.dEPRECATEDCircuitV2Data_.Clone() : null;
navmeshData_ = other.navmeshData_ != null ? other.navmeshData_.Clone() : null;
circuitV2Data_ = other.circuitV2Data_ != null ? other.circuitV2Data_.Clone() : null;
objectModelData_ = other.objectModelData_;
version_ = other.version_;
creativeRolesEnabled_ = other.creativeRolesEnabled_;
roomFogData_ = other.roomFogData_ != null ? other.roomFogData_.Clone() : null;
roomMoodSunData_ = other.roomMoodSunData_ != null ? other.roomMoodSunData_.Clone() : null;
roomMoodBackgroundObjects_ = other.roomMoodBackgroundObjects_ != null ? other.roomMoodBackgroundObjects_.Clone() : null;
roomMoodSkydome_ = other.roomMoodSkydome_ != null ? other.roomMoodSkydome_.Clone() : null;
ugcLocalizationScope_ = other.ugcLocalizationScope_ != null ? other.ugcLocalizationScope_.Clone() : null;
coordinateBeaconsEnabled_ = other.coordinateBeaconsEnabled_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PersistedRoomData Clone() {
return new PersistedRoomData(this);
}
/// <summary>Field number for the "DEPRECATED_version" field.</summary>
public const int DEPRECATEDVersionFieldNumber = 1;
private global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion dEPRECATEDVersion_ = global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion DEPRECATEDVersion {
get { return dEPRECATEDVersion_; }
set {
dEPRECATEDVersion_ = value;
}
}
/// <summary>Field number for the "persistence_views" field.</summary>
public const int PersistenceViewsFieldNumber = 2;
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.PersistenceViewData> _repeated_persistenceViews_codec
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.PersistenceViewData.Parser);
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.PersistenceViewData> persistenceViews_ = new pbc::RepeatedField<global::RecRoom.Protobuf.PersistenceViewData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RecRoom.Protobuf.PersistenceViewData> PersistenceViews {
get { return persistenceViews_; }
}
/// <summary>Field number for the "last_save_time" field.</summary>
public const int LastSaveTimeFieldNumber = 3;
private global::Google.Protobuf.WellKnownTypes.Timestamp lastSaveTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Google.Protobuf.WellKnownTypes.Timestamp LastSaveTime {
get { return lastSaveTime_; }
set {
lastSaveTime_ = value;
}
}
/// <summary>Field number for the "activity_id" field.</summary>
public const int ActivityIdFieldNumber = 4;
private string activityId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ActivityId {
get { return activityId_; }
set {
activityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "output_log" field.</summary>
public const int OutputLogFieldNumber = 5;
private string outputLog_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string OutputLog {
get { return outputLog_; }
set {
outputLog_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "sub_room_id" field.</summary>
public const int SubRoomIdFieldNumber = 6;
private long subRoomId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long SubRoomId {
get { return subRoomId_; }
set {
subRoomId_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_host_settings" field.</summary>
public const int DEPRECATEDHostSettingsFieldNumber = 16;
private global::RecRoom.Protobuf.DEPRECATED_HostSettingsData dEPRECATEDHostSettings_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.DEPRECATED_HostSettingsData DEPRECATEDHostSettings {
get { return dEPRECATEDHostSettings_; }
set {
dEPRECATEDHostSettings_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_sandbox_settings" field.</summary>
public const int DEPRECATEDSandboxSettingsFieldNumber = 17;
private global::RecRoom.Protobuf.DEPRECATED_SandboxSettingsData dEPRECATEDSandboxSettings_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.DEPRECATED_SandboxSettingsData DEPRECATEDSandboxSettings {
get { return dEPRECATEDSandboxSettings_; }
set {
dEPRECATEDSandboxSettings_ = value;
}
}
/// <summary>Field number for the "circuit_data" field.</summary>
public const int CircuitDataFieldNumber = 18;
private pb::ByteString circuitData_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString CircuitData {
get { return circuitData_; }
set {
circuitData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "DEPRECATED_game_settings" field.</summary>
public const int DEPRECATEDGameSettingsFieldNumber = 19;
private global::RecRoom.Protobuf.DEPRECATED_GameSettingsData dEPRECATEDGameSettings_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.DEPRECATED_GameSettingsData DEPRECATEDGameSettings {
get { return dEPRECATEDGameSettings_; }
set {
dEPRECATEDGameSettings_ = value;
}
}
/// <summary>Field number for the "tool_tag_settings_data" field.</summary>
public const int ToolTagSettingsDataFieldNumber = 20;
private global::RecRoom.Protobuf.ToolTagSettingsData toolTagSettingsData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.ToolTagSettingsData ToolTagSettingsData {
get { return toolTagSettingsData_; }
set {
toolTagSettingsData_ = value;
}
}
/// <summary>Field number for the "connectable_graph_data" field.</summary>
public const int ConnectableGraphDataFieldNumber = 21;
private global::RecRoom.Protobuf.ConnectableGraphData connectableGraphData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.ConnectableGraphData ConnectableGraphData {
get { return connectableGraphData_; }
set {
connectableGraphData_ = value;
}
}
/// <summary>Field number for the "game_role_data" field.</summary>
public const int GameRoleDataFieldNumber = 22;
private global::RecRoom.Protobuf.GameRoleCollectionData gameRoleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.GameRoleCollectionData GameRoleData {
get { return gameRoleData_; }
set {
gameRoleData_ = value;
}
}
/// <summary>Field number for the "room_role_data" field.</summary>
public const int RoomRoleDataFieldNumber = 23;
private global::RecRoom.Protobuf.RoomRoleCollectionData roomRoleData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.RoomRoleCollectionData RoomRoleData {
get { return roomRoleData_; }
set {
roomRoleData_ = value;
}
}
/// <summary>Field number for the "scene_settings_data" field.</summary>
public const int SceneSettingsDataFieldNumber = 24;
private global::RecRoom.Protobuf.SceneSettingsData sceneSettingsData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.SceneSettingsData SceneSettingsData {
get { return sceneSettingsData_; }
set {
sceneSettingsData_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_autosave_data" field.</summary>
public const int DEPRECATEDAutosaveDataFieldNumber = 25;
private global::RecRoom.Protobuf.AutosaveData dEPRECATEDAutosaveData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.AutosaveData DEPRECATEDAutosaveData {
get { return dEPRECATEDAutosaveData_; }
set {
dEPRECATEDAutosaveData_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_circuit_v2_data" field.</summary>
public const int DEPRECATEDCircuitV2DataFieldNumber = 26;
private global::CircuitsV2.Protobuf.CircuitGraphData dEPRECATEDCircuitV2Data_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.CircuitGraphData DEPRECATEDCircuitV2Data {
get { return dEPRECATEDCircuitV2Data_; }
set {
dEPRECATEDCircuitV2Data_ = value;
}
}
/// <summary>Field number for the "navmesh_data" field.</summary>
public const int NavmeshDataFieldNumber = 27;
private global::RecRoom.Protobuf.NavMeshData navmeshData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.NavMeshData NavmeshData {
get { return navmeshData_; }
set {
navmeshData_ = value;
}
}
/// <summary>Field number for the "circuit_v2_data" field.</summary>
public const int CircuitV2DataFieldNumber = 28;
private global::CircuitsV2.Protobuf.CircuitRootData circuitV2Data_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.CircuitRootData CircuitV2Data {
get { return circuitV2Data_; }
set {
circuitV2Data_ = value;
}
}
/// <summary>Field number for the "object_model_data" field.</summary>
public const int ObjectModelDataFieldNumber = 29;
private pb::ByteString objectModelData_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString ObjectModelData {
get { return objectModelData_; }
set {
objectModelData_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "version" field.</summary>
public const int VersionFieldNumber = 30;
private global::RecRoom.Protobuf.PersistedRoomVersion version_ = global::RecRoom.Protobuf.PersistedRoomVersion.V0New;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.PersistedRoomVersion Version {
get { return version_; }
set {
version_ = value;
}
}
/// <summary>Field number for the "creative_roles_enabled" field.</summary>
public const int CreativeRolesEnabledFieldNumber = 31;
private bool creativeRolesEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CreativeRolesEnabled {
get { return creativeRolesEnabled_; }
set {
creativeRolesEnabled_ = value;
}
}
/// <summary>Field number for the "room_fog_data" field.</summary>
public const int RoomFogDataFieldNumber = 32;
private global::CircuitsV2.Protobuf.RoomMoodFogData roomFogData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.RoomMoodFogData RoomFogData {
get { return roomFogData_; }
set {
roomFogData_ = value;
}
}
/// <summary>Field number for the "room_mood_sun_data" field.</summary>
public const int RoomMoodSunDataFieldNumber = 33;
private global::CircuitsV2.Protobuf.RoomMoodSunData roomMoodSunData_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.RoomMoodSunData RoomMoodSunData {
get { return roomMoodSunData_; }
set {
roomMoodSunData_ = value;
}
}
/// <summary>Field number for the "room_mood_background_objects" field.</summary>
public const int RoomMoodBackgroundObjectsFieldNumber = 34;
private global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsData roomMoodBackgroundObjects_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsData RoomMoodBackgroundObjects {
get { return roomMoodBackgroundObjects_; }
set {
roomMoodBackgroundObjects_ = value;
}
}
/// <summary>Field number for the "room_mood_skydome" field.</summary>
public const int RoomMoodSkydomeFieldNumber = 35;
private global::CircuitsV2.Protobuf.RoomMoodSkydomeData roomMoodSkydome_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::CircuitsV2.Protobuf.RoomMoodSkydomeData RoomMoodSkydome {
get { return roomMoodSkydome_; }
set {
roomMoodSkydome_ = value;
}
}
/// <summary>Field number for the "ugc_localization_scope" field.</summary>
public const int UgcLocalizationScopeFieldNumber = 36;
private global::RecRoom.Protobuf.Core.GuidData ugcLocalizationScope_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.Core.GuidData UgcLocalizationScope {
get { return ugcLocalizationScope_; }
set {
ugcLocalizationScope_ = value;
}
}
/// <summary>Field number for the "coordinate_beacons_enabled" field.</summary>
public const int CoordinateBeaconsEnabledFieldNumber = 37;
private bool coordinateBeaconsEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CoordinateBeaconsEnabled {
get { return coordinateBeaconsEnabled_; }
set {
coordinateBeaconsEnabled_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PersistedRoomData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PersistedRoomData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (DEPRECATEDVersion != other.DEPRECATEDVersion) return false;
if(!persistenceViews_.Equals(other.persistenceViews_)) return false;
if (!object.Equals(LastSaveTime, other.LastSaveTime)) return false;
if (ActivityId != other.ActivityId) return false;
if (OutputLog != other.OutputLog) return false;
if (SubRoomId != other.SubRoomId) return false;
if (!object.Equals(DEPRECATEDHostSettings, other.DEPRECATEDHostSettings)) return false;
if (!object.Equals(DEPRECATEDSandboxSettings, other.DEPRECATEDSandboxSettings)) return false;
if (CircuitData != other.CircuitData) return false;
if (!object.Equals(DEPRECATEDGameSettings, other.DEPRECATEDGameSettings)) return false;
if (!object.Equals(ToolTagSettingsData, other.ToolTagSettingsData)) return false;
if (!object.Equals(ConnectableGraphData, other.ConnectableGraphData)) return false;
if (!object.Equals(GameRoleData, other.GameRoleData)) return false;
if (!object.Equals(RoomRoleData, other.RoomRoleData)) return false;
if (!object.Equals(SceneSettingsData, other.SceneSettingsData)) return false;
if (!object.Equals(DEPRECATEDAutosaveData, other.DEPRECATEDAutosaveData)) return false;
if (!object.Equals(DEPRECATEDCircuitV2Data, other.DEPRECATEDCircuitV2Data)) return false;
if (!object.Equals(NavmeshData, other.NavmeshData)) return false;
if (!object.Equals(CircuitV2Data, other.CircuitV2Data)) return false;
if (ObjectModelData != other.ObjectModelData) return false;
if (Version != other.Version) return false;
if (CreativeRolesEnabled != other.CreativeRolesEnabled) return false;
if (!object.Equals(RoomFogData, other.RoomFogData)) return false;
if (!object.Equals(RoomMoodSunData, other.RoomMoodSunData)) return false;
if (!object.Equals(RoomMoodBackgroundObjects, other.RoomMoodBackgroundObjects)) return false;
if (!object.Equals(RoomMoodSkydome, other.RoomMoodSkydome)) return false;
if (!object.Equals(UgcLocalizationScope, other.UgcLocalizationScope)) return false;
if (CoordinateBeaconsEnabled != other.CoordinateBeaconsEnabled) 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 (DEPRECATEDVersion != global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion) hash ^= DEPRECATEDVersion.GetHashCode();
hash ^= persistenceViews_.GetHashCode();
if (lastSaveTime_ != null) hash ^= LastSaveTime.GetHashCode();
if (ActivityId.Length != 0) hash ^= ActivityId.GetHashCode();
if (OutputLog.Length != 0) hash ^= OutputLog.GetHashCode();
if (SubRoomId != 0L) hash ^= SubRoomId.GetHashCode();
if (dEPRECATEDHostSettings_ != null) hash ^= DEPRECATEDHostSettings.GetHashCode();
if (dEPRECATEDSandboxSettings_ != null) hash ^= DEPRECATEDSandboxSettings.GetHashCode();
if (CircuitData.Length != 0) hash ^= CircuitData.GetHashCode();
if (dEPRECATEDGameSettings_ != null) hash ^= DEPRECATEDGameSettings.GetHashCode();
if (toolTagSettingsData_ != null) hash ^= ToolTagSettingsData.GetHashCode();
if (connectableGraphData_ != null) hash ^= ConnectableGraphData.GetHashCode();
if (gameRoleData_ != null) hash ^= GameRoleData.GetHashCode();
if (roomRoleData_ != null) hash ^= RoomRoleData.GetHashCode();
if (sceneSettingsData_ != null) hash ^= SceneSettingsData.GetHashCode();
if (dEPRECATEDAutosaveData_ != null) hash ^= DEPRECATEDAutosaveData.GetHashCode();
if (dEPRECATEDCircuitV2Data_ != null) hash ^= DEPRECATEDCircuitV2Data.GetHashCode();
if (navmeshData_ != null) hash ^= NavmeshData.GetHashCode();
if (circuitV2Data_ != null) hash ^= CircuitV2Data.GetHashCode();
if (ObjectModelData.Length != 0) hash ^= ObjectModelData.GetHashCode();
if (Version != global::RecRoom.Protobuf.PersistedRoomVersion.V0New) hash ^= Version.GetHashCode();
if (CreativeRolesEnabled != false) hash ^= CreativeRolesEnabled.GetHashCode();
if (roomFogData_ != null) hash ^= RoomFogData.GetHashCode();
if (roomMoodSunData_ != null) hash ^= RoomMoodSunData.GetHashCode();
if (roomMoodBackgroundObjects_ != null) hash ^= RoomMoodBackgroundObjects.GetHashCode();
if (roomMoodSkydome_ != null) hash ^= RoomMoodSkydome.GetHashCode();
if (ugcLocalizationScope_ != null) hash ^= UgcLocalizationScope.GetHashCode();
if (CoordinateBeaconsEnabled != false) hash ^= CoordinateBeaconsEnabled.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 (DEPRECATEDVersion != global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion) {
output.WriteRawTag(8);
output.WriteEnum((int) DEPRECATEDVersion);
}
persistenceViews_.WriteTo(output, _repeated_persistenceViews_codec);
if (lastSaveTime_ != null) {
output.WriteRawTag(26);
output.WriteMessage(LastSaveTime);
}
if (ActivityId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ActivityId);
}
if (OutputLog.Length != 0) {
output.WriteRawTag(42);
output.WriteString(OutputLog);
}
if (SubRoomId != 0L) {
output.WriteRawTag(48);
output.WriteInt64(SubRoomId);
}
if (dEPRECATEDHostSettings_ != null) {
output.WriteRawTag(130, 1);
output.WriteMessage(DEPRECATEDHostSettings);
}
if (dEPRECATEDSandboxSettings_ != null) {
output.WriteRawTag(138, 1);
output.WriteMessage(DEPRECATEDSandboxSettings);
}
if (CircuitData.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteBytes(CircuitData);
}
if (dEPRECATEDGameSettings_ != null) {
output.WriteRawTag(154, 1);
output.WriteMessage(DEPRECATEDGameSettings);
}
if (toolTagSettingsData_ != null) {
output.WriteRawTag(162, 1);
output.WriteMessage(ToolTagSettingsData);
}
if (connectableGraphData_ != null) {
output.WriteRawTag(170, 1);
output.WriteMessage(ConnectableGraphData);
}
if (gameRoleData_ != null) {
output.WriteRawTag(178, 1);
output.WriteMessage(GameRoleData);
}
if (roomRoleData_ != null) {
output.WriteRawTag(186, 1);
output.WriteMessage(RoomRoleData);
}
if (sceneSettingsData_ != null) {
output.WriteRawTag(194, 1);
output.WriteMessage(SceneSettingsData);
}
if (dEPRECATEDAutosaveData_ != null) {
output.WriteRawTag(202, 1);
output.WriteMessage(DEPRECATEDAutosaveData);
}
if (dEPRECATEDCircuitV2Data_ != null) {
output.WriteRawTag(210, 1);
output.WriteMessage(DEPRECATEDCircuitV2Data);
}
if (navmeshData_ != null) {
output.WriteRawTag(218, 1);
output.WriteMessage(NavmeshData);
}
if (circuitV2Data_ != null) {
output.WriteRawTag(226, 1);
output.WriteMessage(CircuitV2Data);
}
if (ObjectModelData.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteBytes(ObjectModelData);
}
if (Version != global::RecRoom.Protobuf.PersistedRoomVersion.V0New) {
output.WriteRawTag(240, 1);
output.WriteEnum((int) Version);
}
if (CreativeRolesEnabled != false) {
output.WriteRawTag(248, 1);
output.WriteBool(CreativeRolesEnabled);
}
if (roomFogData_ != null) {
output.WriteRawTag(130, 2);
output.WriteMessage(RoomFogData);
}
if (roomMoodSunData_ != null) {
output.WriteRawTag(138, 2);
output.WriteMessage(RoomMoodSunData);
}
if (roomMoodBackgroundObjects_ != null) {
output.WriteRawTag(146, 2);
output.WriteMessage(RoomMoodBackgroundObjects);
}
if (roomMoodSkydome_ != null) {
output.WriteRawTag(154, 2);
output.WriteMessage(RoomMoodSkydome);
}
if (ugcLocalizationScope_ != null) {
output.WriteRawTag(162, 2);
output.WriteMessage(UgcLocalizationScope);
}
if (CoordinateBeaconsEnabled != false) {
output.WriteRawTag(168, 2);
output.WriteBool(CoordinateBeaconsEnabled);
}
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 (DEPRECATEDVersion != global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion) {
output.WriteRawTag(8);
output.WriteEnum((int) DEPRECATEDVersion);
}
persistenceViews_.WriteTo(ref output, _repeated_persistenceViews_codec);
if (lastSaveTime_ != null) {
output.WriteRawTag(26);
output.WriteMessage(LastSaveTime);
}
if (ActivityId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ActivityId);
}
if (OutputLog.Length != 0) {
output.WriteRawTag(42);
output.WriteString(OutputLog);
}
if (SubRoomId != 0L) {
output.WriteRawTag(48);
output.WriteInt64(SubRoomId);
}
if (dEPRECATEDHostSettings_ != null) {
output.WriteRawTag(130, 1);
output.WriteMessage(DEPRECATEDHostSettings);
}
if (dEPRECATEDSandboxSettings_ != null) {
output.WriteRawTag(138, 1);
output.WriteMessage(DEPRECATEDSandboxSettings);
}
if (CircuitData.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteBytes(CircuitData);
}
if (dEPRECATEDGameSettings_ != null) {
output.WriteRawTag(154, 1);
output.WriteMessage(DEPRECATEDGameSettings);
}
if (toolTagSettingsData_ != null) {
output.WriteRawTag(162, 1);
output.WriteMessage(ToolTagSettingsData);
}
if (connectableGraphData_ != null) {
output.WriteRawTag(170, 1);
output.WriteMessage(ConnectableGraphData);
}
if (gameRoleData_ != null) {
output.WriteRawTag(178, 1);
output.WriteMessage(GameRoleData);
}
if (roomRoleData_ != null) {
output.WriteRawTag(186, 1);
output.WriteMessage(RoomRoleData);
}
if (sceneSettingsData_ != null) {
output.WriteRawTag(194, 1);
output.WriteMessage(SceneSettingsData);
}
if (dEPRECATEDAutosaveData_ != null) {
output.WriteRawTag(202, 1);
output.WriteMessage(DEPRECATEDAutosaveData);
}
if (dEPRECATEDCircuitV2Data_ != null) {
output.WriteRawTag(210, 1);
output.WriteMessage(DEPRECATEDCircuitV2Data);
}
if (navmeshData_ != null) {
output.WriteRawTag(218, 1);
output.WriteMessage(NavmeshData);
}
if (circuitV2Data_ != null) {
output.WriteRawTag(226, 1);
output.WriteMessage(CircuitV2Data);
}
if (ObjectModelData.Length != 0) {
output.WriteRawTag(234, 1);
output.WriteBytes(ObjectModelData);
}
if (Version != global::RecRoom.Protobuf.PersistedRoomVersion.V0New) {
output.WriteRawTag(240, 1);
output.WriteEnum((int) Version);
}
if (CreativeRolesEnabled != false) {
output.WriteRawTag(248, 1);
output.WriteBool(CreativeRolesEnabled);
}
if (roomFogData_ != null) {
output.WriteRawTag(130, 2);
output.WriteMessage(RoomFogData);
}
if (roomMoodSunData_ != null) {
output.WriteRawTag(138, 2);
output.WriteMessage(RoomMoodSunData);
}
if (roomMoodBackgroundObjects_ != null) {
output.WriteRawTag(146, 2);
output.WriteMessage(RoomMoodBackgroundObjects);
}
if (roomMoodSkydome_ != null) {
output.WriteRawTag(154, 2);
output.WriteMessage(RoomMoodSkydome);
}
if (ugcLocalizationScope_ != null) {
output.WriteRawTag(162, 2);
output.WriteMessage(UgcLocalizationScope);
}
if (CoordinateBeaconsEnabled != false) {
output.WriteRawTag(168, 2);
output.WriteBool(CoordinateBeaconsEnabled);
}
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 (DEPRECATEDVersion != global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) DEPRECATEDVersion);
}
size += persistenceViews_.CalculateSize(_repeated_persistenceViews_codec);
if (lastSaveTime_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LastSaveTime);
}
if (ActivityId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ActivityId);
}
if (OutputLog.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputLog);
}
if (SubRoomId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(SubRoomId);
}
if (dEPRECATEDHostSettings_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDHostSettings);
}
if (dEPRECATEDSandboxSettings_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDSandboxSettings);
}
if (CircuitData.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(CircuitData);
}
if (dEPRECATEDGameSettings_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDGameSettings);
}
if (toolTagSettingsData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ToolTagSettingsData);
}
if (connectableGraphData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConnectableGraphData);
}
if (gameRoleData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(GameRoleData);
}
if (roomRoleData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomRoleData);
}
if (sceneSettingsData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(SceneSettingsData);
}
if (dEPRECATEDAutosaveData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDAutosaveData);
}
if (dEPRECATEDCircuitV2Data_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDCircuitV2Data);
}
if (navmeshData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(NavmeshData);
}
if (circuitV2Data_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(CircuitV2Data);
}
if (ObjectModelData.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeBytesSize(ObjectModelData);
}
if (Version != global::RecRoom.Protobuf.PersistedRoomVersion.V0New) {
size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) Version);
}
if (CreativeRolesEnabled != false) {
size += 2 + 1;
}
if (roomFogData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomFogData);
}
if (roomMoodSunData_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomMoodSunData);
}
if (roomMoodBackgroundObjects_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomMoodBackgroundObjects);
}
if (roomMoodSkydome_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(RoomMoodSkydome);
}
if (ugcLocalizationScope_ != null) {
size += 2 + pb::CodedOutputStream.ComputeMessageSize(UgcLocalizationScope);
}
if (CoordinateBeaconsEnabled != false) {
size += 2 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PersistedRoomData other) {
if (other == null) {
return;
}
if (other.DEPRECATEDVersion != global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion.V0NewRoomPersistenceVersion) {
DEPRECATEDVersion = other.DEPRECATEDVersion;
}
persistenceViews_.Add(other.persistenceViews_);
if (other.lastSaveTime_ != null) {
if (lastSaveTime_ == null) {
LastSaveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
LastSaveTime.MergeFrom(other.LastSaveTime);
}
if (other.ActivityId.Length != 0) {
ActivityId = other.ActivityId;
}
if (other.OutputLog.Length != 0) {
OutputLog = other.OutputLog;
}
if (other.SubRoomId != 0L) {
SubRoomId = other.SubRoomId;
}
if (other.dEPRECATEDHostSettings_ != null) {
if (dEPRECATEDHostSettings_ == null) {
DEPRECATEDHostSettings = new global::RecRoom.Protobuf.DEPRECATED_HostSettingsData();
}
DEPRECATEDHostSettings.MergeFrom(other.DEPRECATEDHostSettings);
}
if (other.dEPRECATEDSandboxSettings_ != null) {
if (dEPRECATEDSandboxSettings_ == null) {
DEPRECATEDSandboxSettings = new global::RecRoom.Protobuf.DEPRECATED_SandboxSettingsData();
}
DEPRECATEDSandboxSettings.MergeFrom(other.DEPRECATEDSandboxSettings);
}
if (other.CircuitData.Length != 0) {
CircuitData = other.CircuitData;
}
if (other.dEPRECATEDGameSettings_ != null) {
if (dEPRECATEDGameSettings_ == null) {
DEPRECATEDGameSettings = new global::RecRoom.Protobuf.DEPRECATED_GameSettingsData();
}
DEPRECATEDGameSettings.MergeFrom(other.DEPRECATEDGameSettings);
}
if (other.toolTagSettingsData_ != null) {
if (toolTagSettingsData_ == null) {
ToolTagSettingsData = new global::RecRoom.Protobuf.ToolTagSettingsData();
}
ToolTagSettingsData.MergeFrom(other.ToolTagSettingsData);
}
if (other.connectableGraphData_ != null) {
if (connectableGraphData_ == null) {
ConnectableGraphData = new global::RecRoom.Protobuf.ConnectableGraphData();
}
ConnectableGraphData.MergeFrom(other.ConnectableGraphData);
}
if (other.gameRoleData_ != null) {
if (gameRoleData_ == null) {
GameRoleData = new global::RecRoom.Protobuf.GameRoleCollectionData();
}
GameRoleData.MergeFrom(other.GameRoleData);
}
if (other.roomRoleData_ != null) {
if (roomRoleData_ == null) {
RoomRoleData = new global::RecRoom.Protobuf.RoomRoleCollectionData();
}
RoomRoleData.MergeFrom(other.RoomRoleData);
}
if (other.sceneSettingsData_ != null) {
if (sceneSettingsData_ == null) {
SceneSettingsData = new global::RecRoom.Protobuf.SceneSettingsData();
}
SceneSettingsData.MergeFrom(other.SceneSettingsData);
}
if (other.dEPRECATEDAutosaveData_ != null) {
if (dEPRECATEDAutosaveData_ == null) {
DEPRECATEDAutosaveData = new global::RecRoom.Protobuf.AutosaveData();
}
DEPRECATEDAutosaveData.MergeFrom(other.DEPRECATEDAutosaveData);
}
if (other.dEPRECATEDCircuitV2Data_ != null) {
if (dEPRECATEDCircuitV2Data_ == null) {
DEPRECATEDCircuitV2Data = new global::CircuitsV2.Protobuf.CircuitGraphData();
}
DEPRECATEDCircuitV2Data.MergeFrom(other.DEPRECATEDCircuitV2Data);
}
if (other.navmeshData_ != null) {
if (navmeshData_ == null) {
NavmeshData = new global::RecRoom.Protobuf.NavMeshData();
}
NavmeshData.MergeFrom(other.NavmeshData);
}
if (other.circuitV2Data_ != null) {
if (circuitV2Data_ == null) {
CircuitV2Data = new global::CircuitsV2.Protobuf.CircuitRootData();
}
CircuitV2Data.MergeFrom(other.CircuitV2Data);
}
if (other.ObjectModelData.Length != 0) {
ObjectModelData = other.ObjectModelData;
}
if (other.Version != global::RecRoom.Protobuf.PersistedRoomVersion.V0New) {
Version = other.Version;
}
if (other.CreativeRolesEnabled != false) {
CreativeRolesEnabled = other.CreativeRolesEnabled;
}
if (other.roomFogData_ != null) {
if (roomFogData_ == null) {
RoomFogData = new global::CircuitsV2.Protobuf.RoomMoodFogData();
}
RoomFogData.MergeFrom(other.RoomFogData);
}
if (other.roomMoodSunData_ != null) {
if (roomMoodSunData_ == null) {
RoomMoodSunData = new global::CircuitsV2.Protobuf.RoomMoodSunData();
}
RoomMoodSunData.MergeFrom(other.RoomMoodSunData);
}
if (other.roomMoodBackgroundObjects_ != null) {
if (roomMoodBackgroundObjects_ == null) {
RoomMoodBackgroundObjects = new global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsData();
}
RoomMoodBackgroundObjects.MergeFrom(other.RoomMoodBackgroundObjects);
}
if (other.roomMoodSkydome_ != null) {
if (roomMoodSkydome_ == null) {
RoomMoodSkydome = new global::CircuitsV2.Protobuf.RoomMoodSkydomeData();
}
RoomMoodSkydome.MergeFrom(other.RoomMoodSkydome);
}
if (other.ugcLocalizationScope_ != null) {
if (ugcLocalizationScope_ == null) {
UgcLocalizationScope = new global::RecRoom.Protobuf.Core.GuidData();
}
UgcLocalizationScope.MergeFrom(other.UgcLocalizationScope);
}
if (other.CoordinateBeaconsEnabled != false) {
CoordinateBeaconsEnabled = other.CoordinateBeaconsEnabled;
}
_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: {
DEPRECATEDVersion = (global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion) input.ReadEnum();
break;
}
case 18: {
persistenceViews_.AddEntriesFrom(input, _repeated_persistenceViews_codec);
break;
}
case 26: {
if (lastSaveTime_ == null) {
LastSaveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(LastSaveTime);
break;
}
case 34: {
ActivityId = input.ReadString();
break;
}
case 42: {
OutputLog = input.ReadString();
break;
}
case 48: {
SubRoomId = input.ReadInt64();
break;
}
case 130: {
if (dEPRECATEDHostSettings_ == null) {
DEPRECATEDHostSettings = new global::RecRoom.Protobuf.DEPRECATED_HostSettingsData();
}
input.ReadMessage(DEPRECATEDHostSettings);
break;
}
case 138: {
if (dEPRECATEDSandboxSettings_ == null) {
DEPRECATEDSandboxSettings = new global::RecRoom.Protobuf.DEPRECATED_SandboxSettingsData();
}
input.ReadMessage(DEPRECATEDSandboxSettings);
break;
}
case 146: {
CircuitData = input.ReadBytes();
break;
}
case 154: {
if (dEPRECATEDGameSettings_ == null) {
DEPRECATEDGameSettings = new global::RecRoom.Protobuf.DEPRECATED_GameSettingsData();
}
input.ReadMessage(DEPRECATEDGameSettings);
break;
}
case 162: {
if (toolTagSettingsData_ == null) {
ToolTagSettingsData = new global::RecRoom.Protobuf.ToolTagSettingsData();
}
input.ReadMessage(ToolTagSettingsData);
break;
}
case 170: {
if (connectableGraphData_ == null) {
ConnectableGraphData = new global::RecRoom.Protobuf.ConnectableGraphData();
}
input.ReadMessage(ConnectableGraphData);
break;
}
case 178: {
if (gameRoleData_ == null) {
GameRoleData = new global::RecRoom.Protobuf.GameRoleCollectionData();
}
input.ReadMessage(GameRoleData);
break;
}
case 186: {
if (roomRoleData_ == null) {
RoomRoleData = new global::RecRoom.Protobuf.RoomRoleCollectionData();
}
input.ReadMessage(RoomRoleData);
break;
}
case 194: {
if (sceneSettingsData_ == null) {
SceneSettingsData = new global::RecRoom.Protobuf.SceneSettingsData();
}
input.ReadMessage(SceneSettingsData);
break;
}
case 202: {
if (dEPRECATEDAutosaveData_ == null) {
DEPRECATEDAutosaveData = new global::RecRoom.Protobuf.AutosaveData();
}
input.ReadMessage(DEPRECATEDAutosaveData);
break;
}
case 210: {
if (dEPRECATEDCircuitV2Data_ == null) {
DEPRECATEDCircuitV2Data = new global::CircuitsV2.Protobuf.CircuitGraphData();
}
input.ReadMessage(DEPRECATEDCircuitV2Data);
break;
}
case 218: {
if (navmeshData_ == null) {
NavmeshData = new global::RecRoom.Protobuf.NavMeshData();
}
input.ReadMessage(NavmeshData);
break;
}
case 226: {
if (circuitV2Data_ == null) {
CircuitV2Data = new global::CircuitsV2.Protobuf.CircuitRootData();
}
input.ReadMessage(CircuitV2Data);
break;
}
case 234: {
ObjectModelData = input.ReadBytes();
break;
}
case 240: {
Version = (global::RecRoom.Protobuf.PersistedRoomVersion) input.ReadEnum();
break;
}
case 248: {
CreativeRolesEnabled = input.ReadBool();
break;
}
case 258: {
if (roomFogData_ == null) {
RoomFogData = new global::CircuitsV2.Protobuf.RoomMoodFogData();
}
input.ReadMessage(RoomFogData);
break;
}
case 266: {
if (roomMoodSunData_ == null) {
RoomMoodSunData = new global::CircuitsV2.Protobuf.RoomMoodSunData();
}
input.ReadMessage(RoomMoodSunData);
break;
}
case 274: {
if (roomMoodBackgroundObjects_ == null) {
RoomMoodBackgroundObjects = new global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsData();
}
input.ReadMessage(RoomMoodBackgroundObjects);
break;
}
case 282: {
if (roomMoodSkydome_ == null) {
RoomMoodSkydome = new global::CircuitsV2.Protobuf.RoomMoodSkydomeData();
}
input.ReadMessage(RoomMoodSkydome);
break;
}
case 290: {
if (ugcLocalizationScope_ == null) {
UgcLocalizationScope = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(UgcLocalizationScope);
break;
}
case 296: {
CoordinateBeaconsEnabled = 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: {
DEPRECATEDVersion = (global::RecRoom.Protobuf.DEPRECATED_RoomPersistenceVersion) input.ReadEnum();
break;
}
case 18: {
persistenceViews_.AddEntriesFrom(ref input, _repeated_persistenceViews_codec);
break;
}
case 26: {
if (lastSaveTime_ == null) {
LastSaveTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
}
input.ReadMessage(LastSaveTime);
break;
}
case 34: {
ActivityId = input.ReadString();
break;
}
case 42: {
OutputLog = input.ReadString();
break;
}
case 48: {
SubRoomId = input.ReadInt64();
break;
}
case 130: {
if (dEPRECATEDHostSettings_ == null) {
DEPRECATEDHostSettings = new global::RecRoom.Protobuf.DEPRECATED_HostSettingsData();
}
input.ReadMessage(DEPRECATEDHostSettings);
break;
}
case 138: {
if (dEPRECATEDSandboxSettings_ == null) {
DEPRECATEDSandboxSettings = new global::RecRoom.Protobuf.DEPRECATED_SandboxSettingsData();
}
input.ReadMessage(DEPRECATEDSandboxSettings);
break;
}
case 146: {
CircuitData = input.ReadBytes();
break;
}
case 154: {
if (dEPRECATEDGameSettings_ == null) {
DEPRECATEDGameSettings = new global::RecRoom.Protobuf.DEPRECATED_GameSettingsData();
}
input.ReadMessage(DEPRECATEDGameSettings);
break;
}
case 162: {
if (toolTagSettingsData_ == null) {
ToolTagSettingsData = new global::RecRoom.Protobuf.ToolTagSettingsData();
}
input.ReadMessage(ToolTagSettingsData);
break;
}
case 170: {
if (connectableGraphData_ == null) {
ConnectableGraphData = new global::RecRoom.Protobuf.ConnectableGraphData();
}
input.ReadMessage(ConnectableGraphData);
break;
}
case 178: {
if (gameRoleData_ == null) {
GameRoleData = new global::RecRoom.Protobuf.GameRoleCollectionData();
}
input.ReadMessage(GameRoleData);
break;
}
case 186: {
if (roomRoleData_ == null) {
RoomRoleData = new global::RecRoom.Protobuf.RoomRoleCollectionData();
}
input.ReadMessage(RoomRoleData);
break;
}
case 194: {
if (sceneSettingsData_ == null) {
SceneSettingsData = new global::RecRoom.Protobuf.SceneSettingsData();
}
input.ReadMessage(SceneSettingsData);
break;
}
case 202: {
if (dEPRECATEDAutosaveData_ == null) {
DEPRECATEDAutosaveData = new global::RecRoom.Protobuf.AutosaveData();
}
input.ReadMessage(DEPRECATEDAutosaveData);
break;
}
case 210: {
if (dEPRECATEDCircuitV2Data_ == null) {
DEPRECATEDCircuitV2Data = new global::CircuitsV2.Protobuf.CircuitGraphData();
}
input.ReadMessage(DEPRECATEDCircuitV2Data);
break;
}
case 218: {
if (navmeshData_ == null) {
NavmeshData = new global::RecRoom.Protobuf.NavMeshData();
}
input.ReadMessage(NavmeshData);
break;
}
case 226: {
if (circuitV2Data_ == null) {
CircuitV2Data = new global::CircuitsV2.Protobuf.CircuitRootData();
}
input.ReadMessage(CircuitV2Data);
break;
}
case 234: {
ObjectModelData = input.ReadBytes();
break;
}
case 240: {
Version = (global::RecRoom.Protobuf.PersistedRoomVersion) input.ReadEnum();
break;
}
case 248: {
CreativeRolesEnabled = input.ReadBool();
break;
}
case 258: {
if (roomFogData_ == null) {
RoomFogData = new global::CircuitsV2.Protobuf.RoomMoodFogData();
}
input.ReadMessage(RoomFogData);
break;
}
case 266: {
if (roomMoodSunData_ == null) {
RoomMoodSunData = new global::CircuitsV2.Protobuf.RoomMoodSunData();
}
input.ReadMessage(RoomMoodSunData);
break;
}
case 274: {
if (roomMoodBackgroundObjects_ == null) {
RoomMoodBackgroundObjects = new global::CircuitsV2.Protobuf.RoomMoodBackgroundObjectsData();
}
input.ReadMessage(RoomMoodBackgroundObjects);
break;
}
case 282: {
if (roomMoodSkydome_ == null) {
RoomMoodSkydome = new global::CircuitsV2.Protobuf.RoomMoodSkydomeData();
}
input.ReadMessage(RoomMoodSkydome);
break;
}
case 290: {
if (ugcLocalizationScope_ == null) {
UgcLocalizationScope = new global::RecRoom.Protobuf.Core.GuidData();
}
input.ReadMessage(UgcLocalizationScope);
break;
}
case 296: {
CoordinateBeaconsEnabled = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code