Protobuf...
This commit is contained in:
533
PlayerSaveData.cs
Normal file
533
PlayerSaveData.cs
Normal file
@@ -0,0 +1,533 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/player_save_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/player_save_data.proto</summary>
|
||||
public static partial class PlayerSaveDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/player_save_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static PlayerSaveDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CityZWNfcm9vbS9wZXJzaXN0ZW5jZS9wbGF5ZXJfc2F2ZV9kYXRhLnByb3Rv",
|
||||
"EghyZWNfcm9vbRohY2lyY3VpdHNfdjIvcGVyc2lzdGVkX3ZhbHVlLnByb3Rv",
|
||||
"GiNjaXJjdWl0c192Mi9wbGF5ZXJfY2xvdWRfZGF0YS5wcm90bxoucmVjX3Jv",
|
||||
"b20vcGVyc2lzdGVuY2UvcGxheWVyX3NhdmVfdmVyc2lvbi5wcm90bxo1Y2ly",
|
||||
"Y3VpdHNfdjIvaW52ZW50b3J5X2l0ZW1fZXF1aXBtZW50X3Nsb3RzX2RhdGEu",
|
||||
"cHJvdG8i4QQKDlBsYXllclNhdmVEYXRhEiwKB3ZlcnNpb24YASABKA4yGy5y",
|
||||
"ZWNfcm9vbS5QbGF5ZXJTYXZlVmVyc2lvbhIwCgpjbG91ZF9kYXRhGAkgASgL",
|
||||
"MhwuY2lyY3VpdHNfdjIuUGxheWVyQ2xvdWREYXRhEmIKLGludmVudG9yeV9p",
|
||||
"dGVtX2VxdWlwbWVudF9zbG90c19jb25maWd1cmF0aW9uGAogASgLMiwuY2ly",
|
||||
"Y3VpdHNfdjIuSW52ZW50b3J5SXRlbUVxdWlwbWVudFNsb3RzRGF0YRI1ChBi",
|
||||
"b29sc19ERVBSRUNBVEVEGAIgAygLMhsuY2lyY3VpdHNfdjIuUGVyc2lzdGVk",
|
||||
"VmFsdWUSNgoRZmxvYXRzX0RFUFJFQ0FURUQYAyADKAsyGy5jaXJjdWl0c192",
|
||||
"Mi5QZXJzaXN0ZWRWYWx1ZRI0Cg9pbnRzX0RFUFJFQ0FURUQYBCADKAsyGy5j",
|
||||
"aXJjdWl0c192Mi5QZXJzaXN0ZWRWYWx1ZRI7ChZxdWF0ZXJuaW9uc19ERVBS",
|
||||
"RUNBVEVEGAUgAygLMhsuY2lyY3VpdHNfdjIuUGVyc2lzdGVkVmFsdWUSNwoS",
|
||||
"c3RyaW5nc19ERVBSRUNBVEVEGAYgAygLMhsuY2lyY3VpdHNfdjIuUGVyc2lz",
|
||||
"dGVkVmFsdWUSOAoTdmVjdG9yM3NfREVQUkVDQVRFRBgHIAMoCzIbLmNpcmN1",
|
||||
"aXRzX3YyLlBlcnNpc3RlZFZhbHVlEjYKEWNvbG9yc19ERVBSRUNBVEVEGAgg",
|
||||
"AygLMhsuY2lyY3VpdHNfdjIuUGVyc2lzdGVkVmFsdWVCE6oCEFJlY1Jvb20u",
|
||||
"UHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.PersistedValueReflection.Descriptor, global::CircuitsV2.Protobuf.PlayerCloudDataReflection.Descriptor, global::RecRoom.Protobuf.PlayerSaveVersionReflection.Descriptor, global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.PlayerSaveData), global::RecRoom.Protobuf.PlayerSaveData.Parser, new[]{ "Version", "CloudData", "InventoryItemEquipmentSlotsConfiguration", "BoolsDEPRECATED", "FloatsDEPRECATED", "IntsDEPRECATED", "QuaternionsDEPRECATED", "StringsDEPRECATED", "Vector3SDEPRECATED", "ColorsDEPRECATED" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class PlayerSaveData : pb::IMessage<PlayerSaveData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<PlayerSaveData> _parser = new pb::MessageParser<PlayerSaveData>(() => new PlayerSaveData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<PlayerSaveData> 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.PlayerSaveDataReflection.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 PlayerSaveData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PlayerSaveData(PlayerSaveData other) : this() {
|
||||
version_ = other.version_;
|
||||
cloudData_ = other.cloudData_ != null ? other.cloudData_.Clone() : null;
|
||||
inventoryItemEquipmentSlotsConfiguration_ = other.inventoryItemEquipmentSlotsConfiguration_ != null ? other.inventoryItemEquipmentSlotsConfiguration_.Clone() : null;
|
||||
boolsDEPRECATED_ = other.boolsDEPRECATED_.Clone();
|
||||
floatsDEPRECATED_ = other.floatsDEPRECATED_.Clone();
|
||||
intsDEPRECATED_ = other.intsDEPRECATED_.Clone();
|
||||
quaternionsDEPRECATED_ = other.quaternionsDEPRECATED_.Clone();
|
||||
stringsDEPRECATED_ = other.stringsDEPRECATED_.Clone();
|
||||
vector3SDEPRECATED_ = other.vector3SDEPRECATED_.Clone();
|
||||
colorsDEPRECATED_ = other.colorsDEPRECATED_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PlayerSaveData Clone() {
|
||||
return new PlayerSaveData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "version" field.</summary>
|
||||
public const int VersionFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.PlayerSaveVersion version_ = global::RecRoom.Protobuf.PlayerSaveVersion.V0NewPlayerSaveVersion;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.PlayerSaveVersion Version {
|
||||
get { return version_; }
|
||||
set {
|
||||
version_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "cloud_data" field.</summary>
|
||||
public const int CloudDataFieldNumber = 9;
|
||||
private global::CircuitsV2.Protobuf.PlayerCloudData cloudData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.PlayerCloudData CloudData {
|
||||
get { return cloudData_; }
|
||||
set {
|
||||
cloudData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "inventory_item_equipment_slots_configuration" field.</summary>
|
||||
public const int InventoryItemEquipmentSlotsConfigurationFieldNumber = 10;
|
||||
private global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsData inventoryItemEquipmentSlotsConfiguration_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsData InventoryItemEquipmentSlotsConfiguration {
|
||||
get { return inventoryItemEquipmentSlotsConfiguration_; }
|
||||
set {
|
||||
inventoryItemEquipmentSlotsConfiguration_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "bools_DEPRECATED" field.</summary>
|
||||
public const int BoolsDEPRECATEDFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_boolsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> boolsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> BoolsDEPRECATED {
|
||||
get { return boolsDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "floats_DEPRECATED" field.</summary>
|
||||
public const int FloatsDEPRECATEDFieldNumber = 3;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_floatsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(26, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> floatsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> FloatsDEPRECATED {
|
||||
get { return floatsDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "ints_DEPRECATED" field.</summary>
|
||||
public const int IntsDEPRECATEDFieldNumber = 4;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_intsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(34, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> intsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> IntsDEPRECATED {
|
||||
get { return intsDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "quaternions_DEPRECATED" field.</summary>
|
||||
public const int QuaternionsDEPRECATEDFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_quaternionsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(42, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> quaternionsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> QuaternionsDEPRECATED {
|
||||
get { return quaternionsDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "strings_DEPRECATED" field.</summary>
|
||||
public const int StringsDEPRECATEDFieldNumber = 6;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_stringsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(50, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> stringsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> StringsDEPRECATED {
|
||||
get { return stringsDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "vector3s_DEPRECATED" field.</summary>
|
||||
public const int Vector3SDEPRECATEDFieldNumber = 7;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_vector3SDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(58, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> vector3SDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> Vector3SDEPRECATED {
|
||||
get { return vector3SDEPRECATED_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "colors_DEPRECATED" field.</summary>
|
||||
public const int ColorsDEPRECATEDFieldNumber = 8;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.PersistedValue> _repeated_colorsDEPRECATED_codec
|
||||
= pb::FieldCodec.ForMessage(66, global::CircuitsV2.Protobuf.PersistedValue.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> colorsDEPRECATED_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.PersistedValue> ColorsDEPRECATED {
|
||||
get { return colorsDEPRECATED_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as PlayerSaveData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(PlayerSaveData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Version != other.Version) return false;
|
||||
if (!object.Equals(CloudData, other.CloudData)) return false;
|
||||
if (!object.Equals(InventoryItemEquipmentSlotsConfiguration, other.InventoryItemEquipmentSlotsConfiguration)) return false;
|
||||
if(!boolsDEPRECATED_.Equals(other.boolsDEPRECATED_)) return false;
|
||||
if(!floatsDEPRECATED_.Equals(other.floatsDEPRECATED_)) return false;
|
||||
if(!intsDEPRECATED_.Equals(other.intsDEPRECATED_)) return false;
|
||||
if(!quaternionsDEPRECATED_.Equals(other.quaternionsDEPRECATED_)) return false;
|
||||
if(!stringsDEPRECATED_.Equals(other.stringsDEPRECATED_)) return false;
|
||||
if(!vector3SDEPRECATED_.Equals(other.vector3SDEPRECATED_)) return false;
|
||||
if(!colorsDEPRECATED_.Equals(other.colorsDEPRECATED_)) 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.PlayerSaveVersion.V0NewPlayerSaveVersion) hash ^= Version.GetHashCode();
|
||||
if (cloudData_ != null) hash ^= CloudData.GetHashCode();
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ != null) hash ^= InventoryItemEquipmentSlotsConfiguration.GetHashCode();
|
||||
hash ^= boolsDEPRECATED_.GetHashCode();
|
||||
hash ^= floatsDEPRECATED_.GetHashCode();
|
||||
hash ^= intsDEPRECATED_.GetHashCode();
|
||||
hash ^= quaternionsDEPRECATED_.GetHashCode();
|
||||
hash ^= stringsDEPRECATED_.GetHashCode();
|
||||
hash ^= vector3SDEPRECATED_.GetHashCode();
|
||||
hash ^= colorsDEPRECATED_.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 (Version != global::RecRoom.Protobuf.PlayerSaveVersion.V0NewPlayerSaveVersion) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) Version);
|
||||
}
|
||||
boolsDEPRECATED_.WriteTo(output, _repeated_boolsDEPRECATED_codec);
|
||||
floatsDEPRECATED_.WriteTo(output, _repeated_floatsDEPRECATED_codec);
|
||||
intsDEPRECATED_.WriteTo(output, _repeated_intsDEPRECATED_codec);
|
||||
quaternionsDEPRECATED_.WriteTo(output, _repeated_quaternionsDEPRECATED_codec);
|
||||
stringsDEPRECATED_.WriteTo(output, _repeated_stringsDEPRECATED_codec);
|
||||
vector3SDEPRECATED_.WriteTo(output, _repeated_vector3SDEPRECATED_codec);
|
||||
colorsDEPRECATED_.WriteTo(output, _repeated_colorsDEPRECATED_codec);
|
||||
if (cloudData_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(CloudData);
|
||||
}
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ != null) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteMessage(InventoryItemEquipmentSlotsConfiguration);
|
||||
}
|
||||
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 (Version != global::RecRoom.Protobuf.PlayerSaveVersion.V0NewPlayerSaveVersion) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteEnum((int) Version);
|
||||
}
|
||||
boolsDEPRECATED_.WriteTo(ref output, _repeated_boolsDEPRECATED_codec);
|
||||
floatsDEPRECATED_.WriteTo(ref output, _repeated_floatsDEPRECATED_codec);
|
||||
intsDEPRECATED_.WriteTo(ref output, _repeated_intsDEPRECATED_codec);
|
||||
quaternionsDEPRECATED_.WriteTo(ref output, _repeated_quaternionsDEPRECATED_codec);
|
||||
stringsDEPRECATED_.WriteTo(ref output, _repeated_stringsDEPRECATED_codec);
|
||||
vector3SDEPRECATED_.WriteTo(ref output, _repeated_vector3SDEPRECATED_codec);
|
||||
colorsDEPRECATED_.WriteTo(ref output, _repeated_colorsDEPRECATED_codec);
|
||||
if (cloudData_ != null) {
|
||||
output.WriteRawTag(74);
|
||||
output.WriteMessage(CloudData);
|
||||
}
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ != null) {
|
||||
output.WriteRawTag(82);
|
||||
output.WriteMessage(InventoryItemEquipmentSlotsConfiguration);
|
||||
}
|
||||
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.PlayerSaveVersion.V0NewPlayerSaveVersion) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Version);
|
||||
}
|
||||
if (cloudData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(CloudData);
|
||||
}
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InventoryItemEquipmentSlotsConfiguration);
|
||||
}
|
||||
size += boolsDEPRECATED_.CalculateSize(_repeated_boolsDEPRECATED_codec);
|
||||
size += floatsDEPRECATED_.CalculateSize(_repeated_floatsDEPRECATED_codec);
|
||||
size += intsDEPRECATED_.CalculateSize(_repeated_intsDEPRECATED_codec);
|
||||
size += quaternionsDEPRECATED_.CalculateSize(_repeated_quaternionsDEPRECATED_codec);
|
||||
size += stringsDEPRECATED_.CalculateSize(_repeated_stringsDEPRECATED_codec);
|
||||
size += vector3SDEPRECATED_.CalculateSize(_repeated_vector3SDEPRECATED_codec);
|
||||
size += colorsDEPRECATED_.CalculateSize(_repeated_colorsDEPRECATED_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(PlayerSaveData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Version != global::RecRoom.Protobuf.PlayerSaveVersion.V0NewPlayerSaveVersion) {
|
||||
Version = other.Version;
|
||||
}
|
||||
if (other.cloudData_ != null) {
|
||||
if (cloudData_ == null) {
|
||||
CloudData = new global::CircuitsV2.Protobuf.PlayerCloudData();
|
||||
}
|
||||
CloudData.MergeFrom(other.CloudData);
|
||||
}
|
||||
if (other.inventoryItemEquipmentSlotsConfiguration_ != null) {
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ == null) {
|
||||
InventoryItemEquipmentSlotsConfiguration = new global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsData();
|
||||
}
|
||||
InventoryItemEquipmentSlotsConfiguration.MergeFrom(other.InventoryItemEquipmentSlotsConfiguration);
|
||||
}
|
||||
boolsDEPRECATED_.Add(other.boolsDEPRECATED_);
|
||||
floatsDEPRECATED_.Add(other.floatsDEPRECATED_);
|
||||
intsDEPRECATED_.Add(other.intsDEPRECATED_);
|
||||
quaternionsDEPRECATED_.Add(other.quaternionsDEPRECATED_);
|
||||
stringsDEPRECATED_.Add(other.stringsDEPRECATED_);
|
||||
vector3SDEPRECATED_.Add(other.vector3SDEPRECATED_);
|
||||
colorsDEPRECATED_.Add(other.colorsDEPRECATED_);
|
||||
_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: {
|
||||
Version = (global::RecRoom.Protobuf.PlayerSaveVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
boolsDEPRECATED_.AddEntriesFrom(input, _repeated_boolsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
floatsDEPRECATED_.AddEntriesFrom(input, _repeated_floatsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
intsDEPRECATED_.AddEntriesFrom(input, _repeated_intsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
quaternionsDEPRECATED_.AddEntriesFrom(input, _repeated_quaternionsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
stringsDEPRECATED_.AddEntriesFrom(input, _repeated_stringsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
vector3SDEPRECATED_.AddEntriesFrom(input, _repeated_vector3SDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
colorsDEPRECATED_.AddEntriesFrom(input, _repeated_colorsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (cloudData_ == null) {
|
||||
CloudData = new global::CircuitsV2.Protobuf.PlayerCloudData();
|
||||
}
|
||||
input.ReadMessage(CloudData);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ == null) {
|
||||
InventoryItemEquipmentSlotsConfiguration = new global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsData();
|
||||
}
|
||||
input.ReadMessage(InventoryItemEquipmentSlotsConfiguration);
|
||||
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: {
|
||||
Version = (global::RecRoom.Protobuf.PlayerSaveVersion) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
boolsDEPRECATED_.AddEntriesFrom(ref input, _repeated_boolsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
floatsDEPRECATED_.AddEntriesFrom(ref input, _repeated_floatsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
intsDEPRECATED_.AddEntriesFrom(ref input, _repeated_intsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
quaternionsDEPRECATED_.AddEntriesFrom(ref input, _repeated_quaternionsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
stringsDEPRECATED_.AddEntriesFrom(ref input, _repeated_stringsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
vector3SDEPRECATED_.AddEntriesFrom(ref input, _repeated_vector3SDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
colorsDEPRECATED_.AddEntriesFrom(ref input, _repeated_colorsDEPRECATED_codec);
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (cloudData_ == null) {
|
||||
CloudData = new global::CircuitsV2.Protobuf.PlayerCloudData();
|
||||
}
|
||||
input.ReadMessage(CloudData);
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
if (inventoryItemEquipmentSlotsConfiguration_ == null) {
|
||||
InventoryItemEquipmentSlotsConfiguration = new global::CircuitsV2.Protobuf.InventoryItemEquipmentSlotsData();
|
||||
}
|
||||
input.ReadMessage(InventoryItemEquipmentSlotsConfiguration);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user