356 lines
13 KiB
C#
356 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/deprecated/DEPRECATED_outfit_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/deprecated/DEPRECATED_outfit_data.proto</summary>
|
|
public static partial class DEPRECATEDOutfitDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/deprecated/DEPRECATED_outfit_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static DEPRECATEDOutfitDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjxyZWNfcm9vbS9wZXJzaXN0ZW5jZS9kZXByZWNhdGVkL0RFUFJFQ0FURURf",
|
|
"b3V0Zml0X2RhdGEucHJvdG8SCHJlY19yb29tInEKFURFUFJFQ0FURURfT3V0",
|
|
"Zml0RGF0YRIZChFvdXRmaXRfc2VsZWN0aW9ucxgBIAEoCRISCgpoYWlyX2Nv",
|
|
"bG9yGAIgASgJEhIKCnNraW5fY29sb3IYAyABKAkSFQoNZmFjZV9zZXR0aW5n",
|
|
"cxgEIAEoCUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.DEPRECATED_OutfitData), global::RecRoom.Protobuf.DEPRECATED_OutfitData.Parser, new[]{ "OutfitSelections", "HairColor", "SkinColor", "FaceSettings" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class DEPRECATED_OutfitData : pb::IMessage<DEPRECATED_OutfitData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<DEPRECATED_OutfitData> _parser = new pb::MessageParser<DEPRECATED_OutfitData>(() => new DEPRECATED_OutfitData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<DEPRECATED_OutfitData> 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.DEPRECATEDOutfitDataReflection.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 DEPRECATED_OutfitData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DEPRECATED_OutfitData(DEPRECATED_OutfitData other) : this() {
|
|
outfitSelections_ = other.outfitSelections_;
|
|
hairColor_ = other.hairColor_;
|
|
skinColor_ = other.skinColor_;
|
|
faceSettings_ = other.faceSettings_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public DEPRECATED_OutfitData Clone() {
|
|
return new DEPRECATED_OutfitData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "outfit_selections" field.</summary>
|
|
public const int OutfitSelectionsFieldNumber = 1;
|
|
private string outfitSelections_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string OutfitSelections {
|
|
get { return outfitSelections_; }
|
|
set {
|
|
outfitSelections_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "hair_color" field.</summary>
|
|
public const int HairColorFieldNumber = 2;
|
|
private string hairColor_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string HairColor {
|
|
get { return hairColor_; }
|
|
set {
|
|
hairColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "skin_color" field.</summary>
|
|
public const int SkinColorFieldNumber = 3;
|
|
private string skinColor_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string SkinColor {
|
|
get { return skinColor_; }
|
|
set {
|
|
skinColor_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "face_settings" field.</summary>
|
|
public const int FaceSettingsFieldNumber = 4;
|
|
private string faceSettings_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string FaceSettings {
|
|
get { return faceSettings_; }
|
|
set {
|
|
faceSettings_ = 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 DEPRECATED_OutfitData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(DEPRECATED_OutfitData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (OutfitSelections != other.OutfitSelections) return false;
|
|
if (HairColor != other.HairColor) return false;
|
|
if (SkinColor != other.SkinColor) return false;
|
|
if (FaceSettings != other.FaceSettings) 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 (OutfitSelections.Length != 0) hash ^= OutfitSelections.GetHashCode();
|
|
if (HairColor.Length != 0) hash ^= HairColor.GetHashCode();
|
|
if (SkinColor.Length != 0) hash ^= SkinColor.GetHashCode();
|
|
if (FaceSettings.Length != 0) hash ^= FaceSettings.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 (OutfitSelections.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(OutfitSelections);
|
|
}
|
|
if (HairColor.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(HairColor);
|
|
}
|
|
if (SkinColor.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SkinColor);
|
|
}
|
|
if (FaceSettings.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(FaceSettings);
|
|
}
|
|
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 (OutfitSelections.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(OutfitSelections);
|
|
}
|
|
if (HairColor.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(HairColor);
|
|
}
|
|
if (SkinColor.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(SkinColor);
|
|
}
|
|
if (FaceSettings.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(FaceSettings);
|
|
}
|
|
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 (OutfitSelections.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(OutfitSelections);
|
|
}
|
|
if (HairColor.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(HairColor);
|
|
}
|
|
if (SkinColor.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(SkinColor);
|
|
}
|
|
if (FaceSettings.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(FaceSettings);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(DEPRECATED_OutfitData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.OutfitSelections.Length != 0) {
|
|
OutfitSelections = other.OutfitSelections;
|
|
}
|
|
if (other.HairColor.Length != 0) {
|
|
HairColor = other.HairColor;
|
|
}
|
|
if (other.SkinColor.Length != 0) {
|
|
SkinColor = other.SkinColor;
|
|
}
|
|
if (other.FaceSettings.Length != 0) {
|
|
FaceSettings = other.FaceSettings;
|
|
}
|
|
_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 = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
HairColor = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
SkinColor = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
FaceSettings = input.ReadString();
|
|
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 = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
HairColor = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
SkinColor = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
FaceSettings = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|