// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/super_room_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/super_room_data.proto public static partial class SuperRoomDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/super_room_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static SuperRoomDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CipyZWNfcm9vbS9wZXJzaXN0ZW5jZS9zdXBlcl9yb29tX2RhdGEucHJvdG8S", "CHJlY19yb29tGihjaXJjdWl0c192Mi9jbG91ZF9kYXRhX2xlZGdlcl9kYXRh", "LnByb3RvGitjaXJjdWl0c192Mi9wcm9ncmVzc2lvbl9zZXR0aW5nc19kYXRh", "LnByb3RvGh1jaXJjdWl0c192Mi9yZXdhcmRfZGF0YS5wcm90bxotcmVjX3Jv", "b20vcGVyc2lzdGVuY2Uvc3VwZXJfcm9vbV92ZXJzaW9uLnByb3RvIpQCCg1T", "dXBlclJvb21EYXRhEisKB3ZlcnNpb24YAiABKA4yGi5yZWNfcm9vbS5TdXBl", "clJvb21WZXJzaW9uEjsKEWNsb3VkX2RhdGFfbGVkZ2VyGAMgASgLMiAuY2ly", "Y3VpdHNfdjIuQ2xvdWREYXRhTGVkZ2VyRGF0YRIsCgtyZXdhcmRfZGF0YRgE", "IAMoCzIXLmNpcmN1aXRzX3YyLlJld2FyZERhdGESRQoYcHJvZ3Jlc3Npb25f", "bWFuYWdlcl9kYXRhGAUgASgLMiMuY2lyY3VpdHNfdjIuUHJvZ3Jlc3Npb25N", "YW5hZ2VyRGF0YRIkChxERVBSRUNBVEVEX2Nsb3VkX2RhdGFfbGVkZ2VyGAEg", "ASgMQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CloudDataLedgerDataReflection.Descriptor, global::CircuitsV2.Protobuf.ProgressionSettingsDataReflection.Descriptor, global::CircuitsV2.Protobuf.RewardDataReflection.Descriptor, global::RecRoom.Protobuf.SuperRoomVersionReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SuperRoomData), global::RecRoom.Protobuf.SuperRoomData.Parser, new[]{ "Version", "CloudDataLedger", "RewardData", "ProgressionManagerData", "DEPRECATEDCloudDataLedger" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class SuperRoomData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuperRoomData()); 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.SuperRoomDataReflection.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 SuperRoomData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SuperRoomData(SuperRoomData other) : this() { version_ = other.version_; cloudDataLedger_ = other.cloudDataLedger_ != null ? other.cloudDataLedger_.Clone() : null; rewardData_ = other.rewardData_.Clone(); progressionManagerData_ = other.progressionManagerData_ != null ? other.progressionManagerData_.Clone() : null; dEPRECATEDCloudDataLedger_ = other.dEPRECATEDCloudDataLedger_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public SuperRoomData Clone() { return new SuperRoomData(this); } /// Field number for the "version" field. public const int VersionFieldNumber = 2; private global::RecRoom.Protobuf.SuperRoomVersion version_ = global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::RecRoom.Protobuf.SuperRoomVersion Version { get { return version_; } set { version_ = value; } } /// Field number for the "cloud_data_ledger" field. public const int CloudDataLedgerFieldNumber = 3; private global::CircuitsV2.Protobuf.CloudDataLedgerData cloudDataLedger_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.CloudDataLedgerData CloudDataLedger { get { return cloudDataLedger_; } set { cloudDataLedger_ = value; } } /// Field number for the "reward_data" field. public const int RewardDataFieldNumber = 4; private static readonly pb::FieldCodec _repeated_rewardData_codec = pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.RewardData.Parser); private readonly pbc::RepeatedField rewardData_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField RewardData { get { return rewardData_; } } /// Field number for the "progression_manager_data" field. public const int ProgressionManagerDataFieldNumber = 5; private global::CircuitsV2.Protobuf.ProgressionManagerData progressionManagerData_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::CircuitsV2.Protobuf.ProgressionManagerData ProgressionManagerData { get { return progressionManagerData_; } set { progressionManagerData_ = value; } } /// Field number for the "DEPRECATED_cloud_data_ledger" field. public const int DEPRECATEDCloudDataLedgerFieldNumber = 1; private pb::ByteString dEPRECATEDCloudDataLedger_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString DEPRECATEDCloudDataLedger { get { return dEPRECATEDCloudDataLedger_; } set { dEPRECATEDCloudDataLedger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as SuperRoomData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(SuperRoomData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Version != other.Version) return false; if (!object.Equals(CloudDataLedger, other.CloudDataLedger)) return false; if(!rewardData_.Equals(other.rewardData_)) return false; if (!object.Equals(ProgressionManagerData, other.ProgressionManagerData)) return false; if (DEPRECATEDCloudDataLedger != other.DEPRECATEDCloudDataLedger) 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 (Version != global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion) hash ^= Version.GetHashCode(); if (cloudDataLedger_ != null) hash ^= CloudDataLedger.GetHashCode(); hash ^= rewardData_.GetHashCode(); if (progressionManagerData_ != null) hash ^= ProgressionManagerData.GetHashCode(); if (DEPRECATEDCloudDataLedger.Length != 0) hash ^= DEPRECATEDCloudDataLedger.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 (DEPRECATEDCloudDataLedger.Length != 0) { output.WriteRawTag(10); output.WriteBytes(DEPRECATEDCloudDataLedger); } if (Version != global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion) { output.WriteRawTag(16); output.WriteEnum((int) Version); } if (cloudDataLedger_ != null) { output.WriteRawTag(26); output.WriteMessage(CloudDataLedger); } rewardData_.WriteTo(output, _repeated_rewardData_codec); if (progressionManagerData_ != null) { output.WriteRawTag(42); output.WriteMessage(ProgressionManagerData); } 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 (DEPRECATEDCloudDataLedger.Length != 0) { output.WriteRawTag(10); output.WriteBytes(DEPRECATEDCloudDataLedger); } if (Version != global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion) { output.WriteRawTag(16); output.WriteEnum((int) Version); } if (cloudDataLedger_ != null) { output.WriteRawTag(26); output.WriteMessage(CloudDataLedger); } rewardData_.WriteTo(ref output, _repeated_rewardData_codec); if (progressionManagerData_ != null) { output.WriteRawTag(42); output.WriteMessage(ProgressionManagerData); } 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 (Version != global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Version); } if (cloudDataLedger_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(CloudDataLedger); } size += rewardData_.CalculateSize(_repeated_rewardData_codec); if (progressionManagerData_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProgressionManagerData); } if (DEPRECATEDCloudDataLedger.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(DEPRECATEDCloudDataLedger); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(SuperRoomData other) { if (other == null) { return; } if (other.Version != global::RecRoom.Protobuf.SuperRoomVersion.V0NewSuperRoomVersion) { Version = other.Version; } if (other.cloudDataLedger_ != null) { if (cloudDataLedger_ == null) { CloudDataLedger = new global::CircuitsV2.Protobuf.CloudDataLedgerData(); } CloudDataLedger.MergeFrom(other.CloudDataLedger); } rewardData_.Add(other.rewardData_); if (other.progressionManagerData_ != null) { if (progressionManagerData_ == null) { ProgressionManagerData = new global::CircuitsV2.Protobuf.ProgressionManagerData(); } ProgressionManagerData.MergeFrom(other.ProgressionManagerData); } if (other.DEPRECATEDCloudDataLedger.Length != 0) { DEPRECATEDCloudDataLedger = other.DEPRECATEDCloudDataLedger; } _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: { DEPRECATEDCloudDataLedger = input.ReadBytes(); break; } case 16: { Version = (global::RecRoom.Protobuf.SuperRoomVersion) input.ReadEnum(); break; } case 26: { if (cloudDataLedger_ == null) { CloudDataLedger = new global::CircuitsV2.Protobuf.CloudDataLedgerData(); } input.ReadMessage(CloudDataLedger); break; } case 34: { rewardData_.AddEntriesFrom(input, _repeated_rewardData_codec); break; } case 42: { if (progressionManagerData_ == null) { ProgressionManagerData = new global::CircuitsV2.Protobuf.ProgressionManagerData(); } input.ReadMessage(ProgressionManagerData); 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: { DEPRECATEDCloudDataLedger = input.ReadBytes(); break; } case 16: { Version = (global::RecRoom.Protobuf.SuperRoomVersion) input.ReadEnum(); break; } case 26: { if (cloudDataLedger_ == null) { CloudDataLedger = new global::CircuitsV2.Protobuf.CloudDataLedgerData(); } input.ReadMessage(CloudDataLedger); break; } case 34: { rewardData_.AddEntriesFrom(ref input, _repeated_rewardData_codec); break; } case 42: { if (progressionManagerData_ == null) { ProgressionManagerData = new global::CircuitsV2.Protobuf.ProgressionManagerData(); } input.ReadMessage(ProgressionManagerData); break; } } } } #endif } #endregion } #endregion Designer generated code