Protobuf...
This commit is contained in:
605
RoomieCustomizationData.cs
Normal file
605
RoomieCustomizationData.cs
Normal file
@@ -0,0 +1,605 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/roomie_customization_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/roomie_customization_data.proto</summary>
|
||||
public static partial class RoomieCustomizationDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/roomie_customization_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static RoomieCustomizationDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjRyZWNfcm9vbS9wZXJzaXN0ZW5jZS9yb29taWVfY3VzdG9taXphdGlvbl9k",
|
||||
"YXRhLnByb3RvEghyZWNfcm9vbRoUY29yZS9ndWlkX2RhdGEucHJvdG8aFWNv",
|
||||
"cmUvY29sb3JfZGF0YS5wcm90bxoXY29yZS92ZWN0b3IzX2RhdGEucHJvdG8i",
|
||||
"WQoXUm9vbWllQ3VzdG9taXphdGlvbkRhdGESPgoRb3V0Zml0X3NlbGVjdGlv",
|
||||
"bnMYASADKAsyIy5yZWNfcm9vbS5Sb29taWVPdXRmaXRTZWxlY3Rpb25EYXRh",
|
||||
"IrUBChlSb29taWVPdXRmaXRTZWxlY3Rpb25EYXRhEiYKDmF2YXRhcl9pdGVt",
|
||||
"X2lkGAEgASgLMg4uY29yZS5HdWlkRGF0YRIeCgVjb2xvchgCIAEoCzIPLmNv",
|
||||
"cmUuQ29sb3JEYXRhEiMKCHJvdGF0aW9uGAMgASgLMhEuY29yZS5WZWN0b3Iz",
|
||||
"RGF0YRIrCglib2R5X3BhcnQYBCABKA4yGC5yZWNfcm9vbS5Sb29taWVCb2R5",
|
||||
"UGFydCqzAgoOUm9vbWllQm9keVBhcnQSDwoLUm9vbWllX05vbmUQABIPCgtS",
|
||||
"b29taWVfSGVhZBABEgkKBVdhaXN0EAISBwoDRXllEAMSEAoMUm9vbWllX01v",
|
||||
"dXRoEAQSCAoEQmFjaxAFEg8KC1Jvb21pZV9GYWNlEAYSDQoJTGVmdFdyaXN0",
|
||||
"EAcSDgoKUmlnaHRXcmlzdBAIEgoKBlRvcHBlchAJEgcKA0VhchAKEggKBEhh",
|
||||
"aXIQCxIICgRNYXNrEAwSCQoFV2luZ3MQDRIPCgtSb29taWVfTm9zZRAOEisK",
|
||||
"HkR1bW15RG9Ob3RTZXJpYWxpemVQcmltYXJ5U2tpbhD///////////8BEi0K",
|
||||
"IER1bW15RG9Ob3RTZXJpYWxpemVTZWNvbmRhcnlTa2luEP7//////////wFC",
|
||||
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, global::RecRoom.Protobuf.Core.ColorDataReflection.Descriptor, global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RecRoom.Protobuf.RoomieBodyPart), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RoomieCustomizationData), global::RecRoom.Protobuf.RoomieCustomizationData.Parser, new[]{ "OutfitSelections" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RoomieOutfitSelectionData), global::RecRoom.Protobuf.RoomieOutfitSelectionData.Parser, new[]{ "AvatarItemId", "Color", "Rotation", "BodyPart" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum RoomieBodyPart {
|
||||
[pbr::OriginalName("Roomie_None")] RoomieNone = 0,
|
||||
[pbr::OriginalName("Roomie_Head")] RoomieHead = 1,
|
||||
[pbr::OriginalName("Waist")] Waist = 2,
|
||||
[pbr::OriginalName("Eye")] Eye = 3,
|
||||
[pbr::OriginalName("Roomie_Mouth")] RoomieMouth = 4,
|
||||
[pbr::OriginalName("Back")] Back = 5,
|
||||
[pbr::OriginalName("Roomie_Face")] RoomieFace = 6,
|
||||
[pbr::OriginalName("LeftWrist")] LeftWrist = 7,
|
||||
[pbr::OriginalName("RightWrist")] RightWrist = 8,
|
||||
[pbr::OriginalName("Topper")] Topper = 9,
|
||||
[pbr::OriginalName("Ear")] Ear = 10,
|
||||
[pbr::OriginalName("Hair")] Hair = 11,
|
||||
[pbr::OriginalName("Mask")] Mask = 12,
|
||||
[pbr::OriginalName("Wings")] Wings = 13,
|
||||
[pbr::OriginalName("Roomie_Nose")] RoomieNose = 14,
|
||||
[pbr::OriginalName("DummyDoNotSerializePrimarySkin")] DummyDoNotSerializePrimarySkin = -1,
|
||||
[pbr::OriginalName("DummyDoNotSerializeSecondarySkin")] DummyDoNotSerializeSecondarySkin = -2,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class RoomieCustomizationData : pb::IMessage<RoomieCustomizationData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<RoomieCustomizationData> _parser = new pb::MessageParser<RoomieCustomizationData>(() => new RoomieCustomizationData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<RoomieCustomizationData> 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.RoomieCustomizationDataReflection.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 RoomieCustomizationData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RoomieCustomizationData(RoomieCustomizationData other) : this() {
|
||||
outfitSelections_ = other.outfitSelections_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RoomieCustomizationData Clone() {
|
||||
return new RoomieCustomizationData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "outfit_selections" field.</summary>
|
||||
public const int OutfitSelectionsFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.RoomieOutfitSelectionData> _repeated_outfitSelections_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.RoomieOutfitSelectionData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.RoomieOutfitSelectionData> outfitSelections_ = new pbc::RepeatedField<global::RecRoom.Protobuf.RoomieOutfitSelectionData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.RoomieOutfitSelectionData> OutfitSelections {
|
||||
get { return outfitSelections_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as RoomieCustomizationData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(RoomieCustomizationData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!outfitSelections_.Equals(other.outfitSelections_)) 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;
|
||||
hash ^= outfitSelections_.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
|
||||
outfitSelections_.WriteTo(output, _repeated_outfitSelections_codec);
|
||||
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) {
|
||||
outfitSelections_.WriteTo(ref output, _repeated_outfitSelections_codec);
|
||||
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;
|
||||
size += outfitSelections_.CalculateSize(_repeated_outfitSelections_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(RoomieCustomizationData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
outfitSelections_.Add(other.outfitSelections_);
|
||||
_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: {
|
||||
outfitSelections_.AddEntriesFrom(input, _repeated_outfitSelections_codec);
|
||||
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: {
|
||||
outfitSelections_.AddEntriesFrom(ref input, _repeated_outfitSelections_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class RoomieOutfitSelectionData : pb::IMessage<RoomieOutfitSelectionData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<RoomieOutfitSelectionData> _parser = new pb::MessageParser<RoomieOutfitSelectionData>(() => new RoomieOutfitSelectionData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<RoomieOutfitSelectionData> 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.RoomieCustomizationDataReflection.Descriptor.MessageTypes[1]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RoomieOutfitSelectionData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RoomieOutfitSelectionData(RoomieOutfitSelectionData other) : this() {
|
||||
avatarItemId_ = other.avatarItemId_ != null ? other.avatarItemId_.Clone() : null;
|
||||
color_ = other.color_ != null ? other.color_.Clone() : null;
|
||||
rotation_ = other.rotation_ != null ? other.rotation_.Clone() : null;
|
||||
bodyPart_ = other.bodyPart_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RoomieOutfitSelectionData Clone() {
|
||||
return new RoomieOutfitSelectionData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "avatar_item_id" field.</summary>
|
||||
public const int AvatarItemIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData avatarItemId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData AvatarItemId {
|
||||
get { return avatarItemId_; }
|
||||
set {
|
||||
avatarItemId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "color" field.</summary>
|
||||
public const int ColorFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.ColorData color_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.ColorData Color {
|
||||
get { return color_; }
|
||||
set {
|
||||
color_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rotation" field.</summary>
|
||||
public const int RotationFieldNumber = 3;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data rotation_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data Rotation {
|
||||
get { return rotation_; }
|
||||
set {
|
||||
rotation_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "body_part" field.</summary>
|
||||
public const int BodyPartFieldNumber = 4;
|
||||
private global::RecRoom.Protobuf.RoomieBodyPart bodyPart_ = global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.RoomieBodyPart BodyPart {
|
||||
get { return bodyPart_; }
|
||||
set {
|
||||
bodyPart_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as RoomieOutfitSelectionData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(RoomieOutfitSelectionData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(AvatarItemId, other.AvatarItemId)) return false;
|
||||
if (!object.Equals(Color, other.Color)) return false;
|
||||
if (!object.Equals(Rotation, other.Rotation)) return false;
|
||||
if (BodyPart != other.BodyPart) 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 (avatarItemId_ != null) hash ^= AvatarItemId.GetHashCode();
|
||||
if (color_ != null) hash ^= Color.GetHashCode();
|
||||
if (rotation_ != null) hash ^= Rotation.GetHashCode();
|
||||
if (BodyPart != global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone) hash ^= BodyPart.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 (avatarItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(AvatarItemId);
|
||||
}
|
||||
if (color_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Color);
|
||||
}
|
||||
if (rotation_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Rotation);
|
||||
}
|
||||
if (BodyPart != global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) BodyPart);
|
||||
}
|
||||
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 (avatarItemId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(AvatarItemId);
|
||||
}
|
||||
if (color_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(Color);
|
||||
}
|
||||
if (rotation_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Rotation);
|
||||
}
|
||||
if (BodyPart != global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteEnum((int) BodyPart);
|
||||
}
|
||||
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 (avatarItemId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarItemId);
|
||||
}
|
||||
if (color_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color);
|
||||
}
|
||||
if (rotation_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Rotation);
|
||||
}
|
||||
if (BodyPart != global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BodyPart);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(RoomieOutfitSelectionData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.avatarItemId_ != null) {
|
||||
if (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
AvatarItemId.MergeFrom(other.AvatarItemId);
|
||||
}
|
||||
if (other.color_ != null) {
|
||||
if (color_ == null) {
|
||||
Color = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
Color.MergeFrom(other.Color);
|
||||
}
|
||||
if (other.rotation_ != null) {
|
||||
if (rotation_ == null) {
|
||||
Rotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
Rotation.MergeFrom(other.Rotation);
|
||||
}
|
||||
if (other.BodyPart != global::RecRoom.Protobuf.RoomieBodyPart.RoomieNone) {
|
||||
BodyPart = other.BodyPart;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
if (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(AvatarItemId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (color_ == null) {
|
||||
Color = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
input.ReadMessage(Color);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (rotation_ == null) {
|
||||
Rotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(Rotation);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
BodyPart = (global::RecRoom.Protobuf.RoomieBodyPart) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
if ((tag & 7) == 4) {
|
||||
// Abort on any end group tag.
|
||||
return;
|
||||
}
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
if (avatarItemId_ == null) {
|
||||
AvatarItemId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(AvatarItemId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (color_ == null) {
|
||||
Color = new global::RecRoom.Protobuf.Core.ColorData();
|
||||
}
|
||||
input.ReadMessage(Color);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (rotation_ == null) {
|
||||
Rotation = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(Rotation);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
BodyPart = (global::RecRoom.Protobuf.RoomieBodyPart) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user