//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/seat_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/seat_data.proto
public static partial class SeatDataReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/seat_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SeatDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiRyZWNfcm9vbS9wZXJzaXN0ZW5jZS9zZWF0X2RhdGEucHJvdG8SCHJlY19y",
"b29tIokCCghTZWF0RGF0YRIYChBzaXR0aW5nX2Rpc2FibGVkGAEgASgIEi8K",
"B3Bvc3R1cmUYAiABKA4yHi5yZWNfcm9vbS5TZWF0RGF0YS5Qb3N0dXJlVHlw",
"ZRIgChhjYW1lcmFfc21vb3RoaW5nX2VuYWJsZWQYAyABKAgSIgoaY2FtZXJh",
"X3JlY2VudGVyaW5nX2VuYWJsZWQYBCABKAgSHwoXc2VhdF9jb2xsaXNpb25f",
"ZGlzYWJsZWQYBSABKAgSIQoZY2FtZXJhX3VzZXNfc2VhdF9yb3RhdGlvbhgG",
"IAEoCCIoCgtQb3N0dXJlVHlwZRILCgdTSVRUSU5HEAASDAoIU1RBTkRJTkcQ",
"AUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SeatData), global::RecRoom.Protobuf.SeatData.Parser, new[]{ "SittingDisabled", "Posture", "CameraSmoothingEnabled", "CameraRecenteringEnabled", "SeatCollisionDisabled", "CameraUsesSeatRotation" }, null, new[]{ typeof(global::RecRoom.Protobuf.SeatData.Types.PostureType) }, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SeatData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SeatData());
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.SeatDataReflection.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 SeatData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SeatData(SeatData other) : this() {
sittingDisabled_ = other.sittingDisabled_;
posture_ = other.posture_;
cameraSmoothingEnabled_ = other.cameraSmoothingEnabled_;
cameraRecenteringEnabled_ = other.cameraRecenteringEnabled_;
seatCollisionDisabled_ = other.seatCollisionDisabled_;
cameraUsesSeatRotation_ = other.cameraUsesSeatRotation_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SeatData Clone() {
return new SeatData(this);
}
/// Field number for the "sitting_disabled" field.
public const int SittingDisabledFieldNumber = 1;
private bool sittingDisabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SittingDisabled {
get { return sittingDisabled_; }
set {
sittingDisabled_ = value;
}
}
/// Field number for the "posture" field.
public const int PostureFieldNumber = 2;
private global::RecRoom.Protobuf.SeatData.Types.PostureType posture_ = global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.SeatData.Types.PostureType Posture {
get { return posture_; }
set {
posture_ = value;
}
}
/// Field number for the "camera_smoothing_enabled" field.
public const int CameraSmoothingEnabledFieldNumber = 3;
private bool cameraSmoothingEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CameraSmoothingEnabled {
get { return cameraSmoothingEnabled_; }
set {
cameraSmoothingEnabled_ = value;
}
}
/// Field number for the "camera_recentering_enabled" field.
public const int CameraRecenteringEnabledFieldNumber = 4;
private bool cameraRecenteringEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CameraRecenteringEnabled {
get { return cameraRecenteringEnabled_; }
set {
cameraRecenteringEnabled_ = value;
}
}
/// Field number for the "seat_collision_disabled" field.
public const int SeatCollisionDisabledFieldNumber = 5;
private bool seatCollisionDisabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SeatCollisionDisabled {
get { return seatCollisionDisabled_; }
set {
seatCollisionDisabled_ = value;
}
}
/// Field number for the "camera_uses_seat_rotation" field.
public const int CameraUsesSeatRotationFieldNumber = 6;
private bool cameraUsesSeatRotation_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool CameraUsesSeatRotation {
get { return cameraUsesSeatRotation_; }
set {
cameraUsesSeatRotation_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SeatData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SeatData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (SittingDisabled != other.SittingDisabled) return false;
if (Posture != other.Posture) return false;
if (CameraSmoothingEnabled != other.CameraSmoothingEnabled) return false;
if (CameraRecenteringEnabled != other.CameraRecenteringEnabled) return false;
if (SeatCollisionDisabled != other.SeatCollisionDisabled) return false;
if (CameraUsesSeatRotation != other.CameraUsesSeatRotation) 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 (SittingDisabled != false) hash ^= SittingDisabled.GetHashCode();
if (Posture != global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting) hash ^= Posture.GetHashCode();
if (CameraSmoothingEnabled != false) hash ^= CameraSmoothingEnabled.GetHashCode();
if (CameraRecenteringEnabled != false) hash ^= CameraRecenteringEnabled.GetHashCode();
if (SeatCollisionDisabled != false) hash ^= SeatCollisionDisabled.GetHashCode();
if (CameraUsesSeatRotation != false) hash ^= CameraUsesSeatRotation.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 (SittingDisabled != false) {
output.WriteRawTag(8);
output.WriteBool(SittingDisabled);
}
if (Posture != global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting) {
output.WriteRawTag(16);
output.WriteEnum((int) Posture);
}
if (CameraSmoothingEnabled != false) {
output.WriteRawTag(24);
output.WriteBool(CameraSmoothingEnabled);
}
if (CameraRecenteringEnabled != false) {
output.WriteRawTag(32);
output.WriteBool(CameraRecenteringEnabled);
}
if (SeatCollisionDisabled != false) {
output.WriteRawTag(40);
output.WriteBool(SeatCollisionDisabled);
}
if (CameraUsesSeatRotation != false) {
output.WriteRawTag(48);
output.WriteBool(CameraUsesSeatRotation);
}
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 (SittingDisabled != false) {
output.WriteRawTag(8);
output.WriteBool(SittingDisabled);
}
if (Posture != global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting) {
output.WriteRawTag(16);
output.WriteEnum((int) Posture);
}
if (CameraSmoothingEnabled != false) {
output.WriteRawTag(24);
output.WriteBool(CameraSmoothingEnabled);
}
if (CameraRecenteringEnabled != false) {
output.WriteRawTag(32);
output.WriteBool(CameraRecenteringEnabled);
}
if (SeatCollisionDisabled != false) {
output.WriteRawTag(40);
output.WriteBool(SeatCollisionDisabled);
}
if (CameraUsesSeatRotation != false) {
output.WriteRawTag(48);
output.WriteBool(CameraUsesSeatRotation);
}
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 (SittingDisabled != false) {
size += 1 + 1;
}
if (Posture != global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Posture);
}
if (CameraSmoothingEnabled != false) {
size += 1 + 1;
}
if (CameraRecenteringEnabled != false) {
size += 1 + 1;
}
if (SeatCollisionDisabled != false) {
size += 1 + 1;
}
if (CameraUsesSeatRotation != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SeatData other) {
if (other == null) {
return;
}
if (other.SittingDisabled != false) {
SittingDisabled = other.SittingDisabled;
}
if (other.Posture != global::RecRoom.Protobuf.SeatData.Types.PostureType.Sitting) {
Posture = other.Posture;
}
if (other.CameraSmoothingEnabled != false) {
CameraSmoothingEnabled = other.CameraSmoothingEnabled;
}
if (other.CameraRecenteringEnabled != false) {
CameraRecenteringEnabled = other.CameraRecenteringEnabled;
}
if (other.SeatCollisionDisabled != false) {
SeatCollisionDisabled = other.SeatCollisionDisabled;
}
if (other.CameraUsesSeatRotation != false) {
CameraUsesSeatRotation = other.CameraUsesSeatRotation;
}
_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: {
SittingDisabled = input.ReadBool();
break;
}
case 16: {
Posture = (global::RecRoom.Protobuf.SeatData.Types.PostureType) input.ReadEnum();
break;
}
case 24: {
CameraSmoothingEnabled = input.ReadBool();
break;
}
case 32: {
CameraRecenteringEnabled = input.ReadBool();
break;
}
case 40: {
SeatCollisionDisabled = input.ReadBool();
break;
}
case 48: {
CameraUsesSeatRotation = input.ReadBool();
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: {
SittingDisabled = input.ReadBool();
break;
}
case 16: {
Posture = (global::RecRoom.Protobuf.SeatData.Types.PostureType) input.ReadEnum();
break;
}
case 24: {
CameraSmoothingEnabled = input.ReadBool();
break;
}
case 32: {
CameraRecenteringEnabled = input.ReadBool();
break;
}
case 40: {
SeatCollisionDisabled = input.ReadBool();
break;
}
case 48: {
CameraUsesSeatRotation = input.ReadBool();
break;
}
}
}
}
#endif
#region Nested types
/// Container for nested types declared in the SeatData message type.
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public enum PostureType {
[pbr::OriginalName("SITTING")] Sitting = 0,
[pbr::OriginalName("STANDING")] Standing = 1,
}
}
#endregion
}
#endregion
}
#endregion Designer generated code