341 lines
13 KiB
C#
341 lines
13 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/full_body_puppet_tool_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/full_body_puppet_tool_data.proto</summary>
|
|
public static partial class FullBodyPuppetToolDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/full_body_puppet_tool_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static FullBodyPuppetToolDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CjVyZWNfcm9vbS9wZXJzaXN0ZW5jZS9mdWxsX2JvZHlfcHVwcGV0X3Rvb2xf",
|
|
"ZGF0YS5wcm90bxIIcmVjX3Jvb20aPHJlY19yb29tL3BlcnNpc3RlbmNlL2Rl",
|
|
"cHJlY2F0ZWQvREVQUkVDQVRFRF9vdXRmaXRfZGF0YS5wcm90bxomcmVjX3Jv",
|
|
"b20vcGVyc2lzdGVuY2UvYXZhdGFyX2RhdGEucHJvdG8ipAEKFkZ1bGxCb2R5",
|
|
"UHVwcGV0VG9vbERhdGESPwoWZGVwcmVjYXRlZF9vdXRmaXRfZGF0YRgBIAEo",
|
|
"CzIfLnJlY19yb29tLkRFUFJFQ0FURURfT3V0Zml0RGF0YRIeChZpc19hdmF0",
|
|
"YXJfaW5fYmVhbl9tb2RlGAIgASgIEikKC2F2YXRhcl9kYXRhGAMgASgLMhQu",
|
|
"cmVjX3Jvb20uQXZhdGFyRGF0YUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJv",
|
|
"dG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.DEPRECATEDOutfitDataReflection.Descriptor, global::RecRoom.Protobuf.AvatarDataReflection.Descriptor, },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.FullBodyPuppetToolData), global::RecRoom.Protobuf.FullBodyPuppetToolData.Parser, new[]{ "DeprecatedOutfitData", "IsAvatarInBeanMode", "AvatarData" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class FullBodyPuppetToolData : pb::IMessage<FullBodyPuppetToolData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<FullBodyPuppetToolData> _parser = new pb::MessageParser<FullBodyPuppetToolData>(() => new FullBodyPuppetToolData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<FullBodyPuppetToolData> 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.FullBodyPuppetToolDataReflection.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 FullBodyPuppetToolData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FullBodyPuppetToolData(FullBodyPuppetToolData other) : this() {
|
|
deprecatedOutfitData_ = other.deprecatedOutfitData_ != null ? other.deprecatedOutfitData_.Clone() : null;
|
|
isAvatarInBeanMode_ = other.isAvatarInBeanMode_;
|
|
avatarData_ = other.avatarData_ != null ? other.avatarData_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public FullBodyPuppetToolData Clone() {
|
|
return new FullBodyPuppetToolData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "deprecated_outfit_data" field.</summary>
|
|
public const int DeprecatedOutfitDataFieldNumber = 1;
|
|
private global::RecRoom.Protobuf.DEPRECATED_OutfitData deprecatedOutfitData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.DEPRECATED_OutfitData DeprecatedOutfitData {
|
|
get { return deprecatedOutfitData_; }
|
|
set {
|
|
deprecatedOutfitData_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "is_avatar_in_bean_mode" field.</summary>
|
|
public const int IsAvatarInBeanModeFieldNumber = 2;
|
|
private bool isAvatarInBeanMode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsAvatarInBeanMode {
|
|
get { return isAvatarInBeanMode_; }
|
|
set {
|
|
isAvatarInBeanMode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "avatar_data" field.</summary>
|
|
public const int AvatarDataFieldNumber = 3;
|
|
private global::RecRoom.Protobuf.AvatarData avatarData_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.AvatarData AvatarData {
|
|
get { return avatarData_; }
|
|
set {
|
|
avatarData_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as FullBodyPuppetToolData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(FullBodyPuppetToolData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!object.Equals(DeprecatedOutfitData, other.DeprecatedOutfitData)) return false;
|
|
if (IsAvatarInBeanMode != other.IsAvatarInBeanMode) return false;
|
|
if (!object.Equals(AvatarData, other.AvatarData)) 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 (deprecatedOutfitData_ != null) hash ^= DeprecatedOutfitData.GetHashCode();
|
|
if (IsAvatarInBeanMode != false) hash ^= IsAvatarInBeanMode.GetHashCode();
|
|
if (avatarData_ != null) hash ^= AvatarData.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 (deprecatedOutfitData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(DeprecatedOutfitData);
|
|
}
|
|
if (IsAvatarInBeanMode != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(IsAvatarInBeanMode);
|
|
}
|
|
if (avatarData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(AvatarData);
|
|
}
|
|
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 (deprecatedOutfitData_ != null) {
|
|
output.WriteRawTag(10);
|
|
output.WriteMessage(DeprecatedOutfitData);
|
|
}
|
|
if (IsAvatarInBeanMode != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(IsAvatarInBeanMode);
|
|
}
|
|
if (avatarData_ != null) {
|
|
output.WriteRawTag(26);
|
|
output.WriteMessage(AvatarData);
|
|
}
|
|
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 (deprecatedOutfitData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DeprecatedOutfitData);
|
|
}
|
|
if (IsAvatarInBeanMode != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (avatarData_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarData);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(FullBodyPuppetToolData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.deprecatedOutfitData_ != null) {
|
|
if (deprecatedOutfitData_ == null) {
|
|
DeprecatedOutfitData = new global::RecRoom.Protobuf.DEPRECATED_OutfitData();
|
|
}
|
|
DeprecatedOutfitData.MergeFrom(other.DeprecatedOutfitData);
|
|
}
|
|
if (other.IsAvatarInBeanMode != false) {
|
|
IsAvatarInBeanMode = other.IsAvatarInBeanMode;
|
|
}
|
|
if (other.avatarData_ != null) {
|
|
if (avatarData_ == null) {
|
|
AvatarData = new global::RecRoom.Protobuf.AvatarData();
|
|
}
|
|
AvatarData.MergeFrom(other.AvatarData);
|
|
}
|
|
_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 (deprecatedOutfitData_ == null) {
|
|
DeprecatedOutfitData = new global::RecRoom.Protobuf.DEPRECATED_OutfitData();
|
|
}
|
|
input.ReadMessage(DeprecatedOutfitData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
IsAvatarInBeanMode = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (avatarData_ == null) {
|
|
AvatarData = new global::RecRoom.Protobuf.AvatarData();
|
|
}
|
|
input.ReadMessage(AvatarData);
|
|
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 (deprecatedOutfitData_ == null) {
|
|
DeprecatedOutfitData = new global::RecRoom.Protobuf.DEPRECATED_OutfitData();
|
|
}
|
|
input.ReadMessage(DeprecatedOutfitData);
|
|
break;
|
|
}
|
|
case 16: {
|
|
IsAvatarInBeanMode = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (avatarData_ == null) {
|
|
AvatarData = new global::RecRoom.Protobuf.AvatarData();
|
|
}
|
|
input.ReadMessage(AvatarData);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|