mirror of
https://git.recroomarchive.org/splootybean/RecRoom.Protobuf.git
synced 2026-09-08 22:51:29 -07:00
Protobuf...
This commit is contained in:
@@ -0,0 +1,1002 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/ugc_steering_engine_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/ugc_steering_engine_data.proto</summary>
|
||||
public static partial class UgcSteeringEngineDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/ugc_steering_engine_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static UgcSteeringEngineDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjNyZWNfcm9vbS9wZXJzaXN0ZW5jZS91Z2Nfc3RlZXJpbmdfZW5naW5lX2Rh",
|
||||
"dGEucHJvdG8SCHJlY19yb29tIuACChVVR0NTdGVlcmluZ0VuZ2luZURhdGES",
|
||||
"QAoXcGF0aGluZ19wcm9wZXJ0aWVzX2RhdGEYASABKAsyHy5yZWNfcm9vbS5Q",
|
||||
"YXRoaW5nUHJvcGVydGllc0RhdGESQgoYcm90YXRpb25fcHJvcGVydGllc19k",
|
||||
"YXRhGAIgASgLMiAucmVjX3Jvb20uUm90YXRpb25Qcm9wZXJ0aWVzRGF0YRIg",
|
||||
"ChhtYXhMaW5lYXJTcGVlZFN5bmNlZFByb3AYAyABKAISIQoZbWF4QW5ndWxh",
|
||||
"clNwZWVkU3luY2VkUHJvcBgEIAEoAhIhChltYXhBY2NlbGVyYXRpb25TeW5j",
|
||||
"ZWRQcm9wGAUgASgCEhwKFGVuYWJsZUdyb3VuZENsYW1waW5nGAYgASgIEh0K",
|
||||
"FXdhaXRGb3JHcm91bmRDbGFtcGluZxgHIAEoCBIcChRlbmFibGVMZWdhY3lQ",
|
||||
"b3NpdGlvbhgIIAEoCCJKChVQYXRoaW5nUHJvcGVydGllc0RhdGESGAoQc2xv",
|
||||
"d2Rvd25EaXN0YW5jZRgBIAEoAhIXCg9hcnJpdmFsRGlzdGFuY2UYAiABKAIi",
|
||||
"RQoWUm90YXRpb25Qcm9wZXJ0aWVzRGF0YRIVCg1zbG93ZG93bkFuZ2xlGAEg",
|
||||
"ASgCEhQKDGFycml2YWxBbmdsZRgCIAEoAkITqgIQUmVjUm9vbS5Qcm90b2J1",
|
||||
"ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.UGCSteeringEngineData), global::RecRoom.Protobuf.UGCSteeringEngineData.Parser, new[]{ "PathingPropertiesData", "RotationPropertiesData", "MaxLinearSpeedSyncedProp", "MaxAngularSpeedSyncedProp", "MaxAccelerationSyncedProp", "EnableGroundClamping", "WaitForGroundClamping", "EnableLegacyPosition" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.PathingPropertiesData), global::RecRoom.Protobuf.PathingPropertiesData.Parser, new[]{ "SlowdownDistance", "ArrivalDistance" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RotationPropertiesData), global::RecRoom.Protobuf.RotationPropertiesData.Parser, new[]{ "SlowdownAngle", "ArrivalAngle" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class UGCSteeringEngineData : pb::IMessage<UGCSteeringEngineData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<UGCSteeringEngineData> _parser = new pb::MessageParser<UGCSteeringEngineData>(() => new UGCSteeringEngineData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<UGCSteeringEngineData> 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.UgcSteeringEngineDataReflection.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 UGCSteeringEngineData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public UGCSteeringEngineData(UGCSteeringEngineData other) : this() {
|
||||
pathingPropertiesData_ = other.pathingPropertiesData_ != null ? other.pathingPropertiesData_.Clone() : null;
|
||||
rotationPropertiesData_ = other.rotationPropertiesData_ != null ? other.rotationPropertiesData_.Clone() : null;
|
||||
maxLinearSpeedSyncedProp_ = other.maxLinearSpeedSyncedProp_;
|
||||
maxAngularSpeedSyncedProp_ = other.maxAngularSpeedSyncedProp_;
|
||||
maxAccelerationSyncedProp_ = other.maxAccelerationSyncedProp_;
|
||||
enableGroundClamping_ = other.enableGroundClamping_;
|
||||
waitForGroundClamping_ = other.waitForGroundClamping_;
|
||||
enableLegacyPosition_ = other.enableLegacyPosition_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public UGCSteeringEngineData Clone() {
|
||||
return new UGCSteeringEngineData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "pathing_properties_data" field.</summary>
|
||||
public const int PathingPropertiesDataFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.PathingPropertiesData pathingPropertiesData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.PathingPropertiesData PathingPropertiesData {
|
||||
get { return pathingPropertiesData_; }
|
||||
set {
|
||||
pathingPropertiesData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "rotation_properties_data" field.</summary>
|
||||
public const int RotationPropertiesDataFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.RotationPropertiesData rotationPropertiesData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.RotationPropertiesData RotationPropertiesData {
|
||||
get { return rotationPropertiesData_; }
|
||||
set {
|
||||
rotationPropertiesData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maxLinearSpeedSyncedProp" field.</summary>
|
||||
public const int MaxLinearSpeedSyncedPropFieldNumber = 3;
|
||||
private float maxLinearSpeedSyncedProp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxLinearSpeedSyncedProp {
|
||||
get { return maxLinearSpeedSyncedProp_; }
|
||||
set {
|
||||
maxLinearSpeedSyncedProp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maxAngularSpeedSyncedProp" field.</summary>
|
||||
public const int MaxAngularSpeedSyncedPropFieldNumber = 4;
|
||||
private float maxAngularSpeedSyncedProp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxAngularSpeedSyncedProp {
|
||||
get { return maxAngularSpeedSyncedProp_; }
|
||||
set {
|
||||
maxAngularSpeedSyncedProp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "maxAccelerationSyncedProp" field.</summary>
|
||||
public const int MaxAccelerationSyncedPropFieldNumber = 5;
|
||||
private float maxAccelerationSyncedProp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float MaxAccelerationSyncedProp {
|
||||
get { return maxAccelerationSyncedProp_; }
|
||||
set {
|
||||
maxAccelerationSyncedProp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "enableGroundClamping" field.</summary>
|
||||
public const int EnableGroundClampingFieldNumber = 6;
|
||||
private bool enableGroundClamping_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool EnableGroundClamping {
|
||||
get { return enableGroundClamping_; }
|
||||
set {
|
||||
enableGroundClamping_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "waitForGroundClamping" field.</summary>
|
||||
public const int WaitForGroundClampingFieldNumber = 7;
|
||||
private bool waitForGroundClamping_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool WaitForGroundClamping {
|
||||
get { return waitForGroundClamping_; }
|
||||
set {
|
||||
waitForGroundClamping_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "enableLegacyPosition" field.</summary>
|
||||
public const int EnableLegacyPositionFieldNumber = 8;
|
||||
private bool enableLegacyPosition_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool EnableLegacyPosition {
|
||||
get { return enableLegacyPosition_; }
|
||||
set {
|
||||
enableLegacyPosition_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as UGCSteeringEngineData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(UGCSteeringEngineData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(PathingPropertiesData, other.PathingPropertiesData)) return false;
|
||||
if (!object.Equals(RotationPropertiesData, other.RotationPropertiesData)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxLinearSpeedSyncedProp, other.MaxLinearSpeedSyncedProp)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxAngularSpeedSyncedProp, other.MaxAngularSpeedSyncedProp)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxAccelerationSyncedProp, other.MaxAccelerationSyncedProp)) return false;
|
||||
if (EnableGroundClamping != other.EnableGroundClamping) return false;
|
||||
if (WaitForGroundClamping != other.WaitForGroundClamping) return false;
|
||||
if (EnableLegacyPosition != other.EnableLegacyPosition) 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 (pathingPropertiesData_ != null) hash ^= PathingPropertiesData.GetHashCode();
|
||||
if (rotationPropertiesData_ != null) hash ^= RotationPropertiesData.GetHashCode();
|
||||
if (MaxLinearSpeedSyncedProp != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxLinearSpeedSyncedProp);
|
||||
if (MaxAngularSpeedSyncedProp != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxAngularSpeedSyncedProp);
|
||||
if (MaxAccelerationSyncedProp != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxAccelerationSyncedProp);
|
||||
if (EnableGroundClamping != false) hash ^= EnableGroundClamping.GetHashCode();
|
||||
if (WaitForGroundClamping != false) hash ^= WaitForGroundClamping.GetHashCode();
|
||||
if (EnableLegacyPosition != false) hash ^= EnableLegacyPosition.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 (pathingPropertiesData_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PathingPropertiesData);
|
||||
}
|
||||
if (rotationPropertiesData_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(RotationPropertiesData);
|
||||
}
|
||||
if (MaxLinearSpeedSyncedProp != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(MaxLinearSpeedSyncedProp);
|
||||
}
|
||||
if (MaxAngularSpeedSyncedProp != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(MaxAngularSpeedSyncedProp);
|
||||
}
|
||||
if (MaxAccelerationSyncedProp != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(MaxAccelerationSyncedProp);
|
||||
}
|
||||
if (EnableGroundClamping != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(EnableGroundClamping);
|
||||
}
|
||||
if (WaitForGroundClamping != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(WaitForGroundClamping);
|
||||
}
|
||||
if (EnableLegacyPosition != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(EnableLegacyPosition);
|
||||
}
|
||||
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 (pathingPropertiesData_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PathingPropertiesData);
|
||||
}
|
||||
if (rotationPropertiesData_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(RotationPropertiesData);
|
||||
}
|
||||
if (MaxLinearSpeedSyncedProp != 0F) {
|
||||
output.WriteRawTag(29);
|
||||
output.WriteFloat(MaxLinearSpeedSyncedProp);
|
||||
}
|
||||
if (MaxAngularSpeedSyncedProp != 0F) {
|
||||
output.WriteRawTag(37);
|
||||
output.WriteFloat(MaxAngularSpeedSyncedProp);
|
||||
}
|
||||
if (MaxAccelerationSyncedProp != 0F) {
|
||||
output.WriteRawTag(45);
|
||||
output.WriteFloat(MaxAccelerationSyncedProp);
|
||||
}
|
||||
if (EnableGroundClamping != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(EnableGroundClamping);
|
||||
}
|
||||
if (WaitForGroundClamping != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(WaitForGroundClamping);
|
||||
}
|
||||
if (EnableLegacyPosition != false) {
|
||||
output.WriteRawTag(64);
|
||||
output.WriteBool(EnableLegacyPosition);
|
||||
}
|
||||
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 (pathingPropertiesData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PathingPropertiesData);
|
||||
}
|
||||
if (rotationPropertiesData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RotationPropertiesData);
|
||||
}
|
||||
if (MaxLinearSpeedSyncedProp != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (MaxAngularSpeedSyncedProp != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (MaxAccelerationSyncedProp != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (EnableGroundClamping != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (WaitForGroundClamping != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (EnableLegacyPosition != 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(UGCSteeringEngineData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.pathingPropertiesData_ != null) {
|
||||
if (pathingPropertiesData_ == null) {
|
||||
PathingPropertiesData = new global::RecRoom.Protobuf.PathingPropertiesData();
|
||||
}
|
||||
PathingPropertiesData.MergeFrom(other.PathingPropertiesData);
|
||||
}
|
||||
if (other.rotationPropertiesData_ != null) {
|
||||
if (rotationPropertiesData_ == null) {
|
||||
RotationPropertiesData = new global::RecRoom.Protobuf.RotationPropertiesData();
|
||||
}
|
||||
RotationPropertiesData.MergeFrom(other.RotationPropertiesData);
|
||||
}
|
||||
if (other.MaxLinearSpeedSyncedProp != 0F) {
|
||||
MaxLinearSpeedSyncedProp = other.MaxLinearSpeedSyncedProp;
|
||||
}
|
||||
if (other.MaxAngularSpeedSyncedProp != 0F) {
|
||||
MaxAngularSpeedSyncedProp = other.MaxAngularSpeedSyncedProp;
|
||||
}
|
||||
if (other.MaxAccelerationSyncedProp != 0F) {
|
||||
MaxAccelerationSyncedProp = other.MaxAccelerationSyncedProp;
|
||||
}
|
||||
if (other.EnableGroundClamping != false) {
|
||||
EnableGroundClamping = other.EnableGroundClamping;
|
||||
}
|
||||
if (other.WaitForGroundClamping != false) {
|
||||
WaitForGroundClamping = other.WaitForGroundClamping;
|
||||
}
|
||||
if (other.EnableLegacyPosition != false) {
|
||||
EnableLegacyPosition = other.EnableLegacyPosition;
|
||||
}
|
||||
_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 (pathingPropertiesData_ == null) {
|
||||
PathingPropertiesData = new global::RecRoom.Protobuf.PathingPropertiesData();
|
||||
}
|
||||
input.ReadMessage(PathingPropertiesData);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (rotationPropertiesData_ == null) {
|
||||
RotationPropertiesData = new global::RecRoom.Protobuf.RotationPropertiesData();
|
||||
}
|
||||
input.ReadMessage(RotationPropertiesData);
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
MaxLinearSpeedSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
MaxAngularSpeedSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
MaxAccelerationSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
EnableGroundClamping = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
WaitForGroundClamping = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
EnableLegacyPosition = 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 10: {
|
||||
if (pathingPropertiesData_ == null) {
|
||||
PathingPropertiesData = new global::RecRoom.Protobuf.PathingPropertiesData();
|
||||
}
|
||||
input.ReadMessage(PathingPropertiesData);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (rotationPropertiesData_ == null) {
|
||||
RotationPropertiesData = new global::RecRoom.Protobuf.RotationPropertiesData();
|
||||
}
|
||||
input.ReadMessage(RotationPropertiesData);
|
||||
break;
|
||||
}
|
||||
case 29: {
|
||||
MaxLinearSpeedSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 37: {
|
||||
MaxAngularSpeedSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 45: {
|
||||
MaxAccelerationSyncedProp = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
EnableGroundClamping = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
WaitForGroundClamping = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
EnableLegacyPosition = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class PathingPropertiesData : pb::IMessage<PathingPropertiesData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<PathingPropertiesData> _parser = new pb::MessageParser<PathingPropertiesData>(() => new PathingPropertiesData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<PathingPropertiesData> 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.UgcSteeringEngineDataReflection.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 PathingPropertiesData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PathingPropertiesData(PathingPropertiesData other) : this() {
|
||||
slowdownDistance_ = other.slowdownDistance_;
|
||||
arrivalDistance_ = other.arrivalDistance_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PathingPropertiesData Clone() {
|
||||
return new PathingPropertiesData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "slowdownDistance" field.</summary>
|
||||
public const int SlowdownDistanceFieldNumber = 1;
|
||||
private float slowdownDistance_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float SlowdownDistance {
|
||||
get { return slowdownDistance_; }
|
||||
set {
|
||||
slowdownDistance_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "arrivalDistance" field.</summary>
|
||||
public const int ArrivalDistanceFieldNumber = 2;
|
||||
private float arrivalDistance_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ArrivalDistance {
|
||||
get { return arrivalDistance_; }
|
||||
set {
|
||||
arrivalDistance_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as PathingPropertiesData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(PathingPropertiesData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SlowdownDistance, other.SlowdownDistance)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ArrivalDistance, other.ArrivalDistance)) 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 (SlowdownDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SlowdownDistance);
|
||||
if (ArrivalDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ArrivalDistance);
|
||||
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 (SlowdownDistance != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(SlowdownDistance);
|
||||
}
|
||||
if (ArrivalDistance != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ArrivalDistance);
|
||||
}
|
||||
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 (SlowdownDistance != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(SlowdownDistance);
|
||||
}
|
||||
if (ArrivalDistance != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ArrivalDistance);
|
||||
}
|
||||
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 (SlowdownDistance != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (ArrivalDistance != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(PathingPropertiesData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SlowdownDistance != 0F) {
|
||||
SlowdownDistance = other.SlowdownDistance;
|
||||
}
|
||||
if (other.ArrivalDistance != 0F) {
|
||||
ArrivalDistance = other.ArrivalDistance;
|
||||
}
|
||||
_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 13: {
|
||||
SlowdownDistance = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ArrivalDistance = input.ReadFloat();
|
||||
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 13: {
|
||||
SlowdownDistance = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ArrivalDistance = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class RotationPropertiesData : pb::IMessage<RotationPropertiesData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<RotationPropertiesData> _parser = new pb::MessageParser<RotationPropertiesData>(() => new RotationPropertiesData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<RotationPropertiesData> 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.UgcSteeringEngineDataReflection.Descriptor.MessageTypes[2]; }
|
||||
}
|
||||
|
||||
[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 RotationPropertiesData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RotationPropertiesData(RotationPropertiesData other) : this() {
|
||||
slowdownAngle_ = other.slowdownAngle_;
|
||||
arrivalAngle_ = other.arrivalAngle_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public RotationPropertiesData Clone() {
|
||||
return new RotationPropertiesData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "slowdownAngle" field.</summary>
|
||||
public const int SlowdownAngleFieldNumber = 1;
|
||||
private float slowdownAngle_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float SlowdownAngle {
|
||||
get { return slowdownAngle_; }
|
||||
set {
|
||||
slowdownAngle_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "arrivalAngle" field.</summary>
|
||||
public const int ArrivalAngleFieldNumber = 2;
|
||||
private float arrivalAngle_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public float ArrivalAngle {
|
||||
get { return arrivalAngle_; }
|
||||
set {
|
||||
arrivalAngle_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as RotationPropertiesData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(RotationPropertiesData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SlowdownAngle, other.SlowdownAngle)) return false;
|
||||
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ArrivalAngle, other.ArrivalAngle)) 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 (SlowdownAngle != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SlowdownAngle);
|
||||
if (ArrivalAngle != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ArrivalAngle);
|
||||
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 (SlowdownAngle != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(SlowdownAngle);
|
||||
}
|
||||
if (ArrivalAngle != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ArrivalAngle);
|
||||
}
|
||||
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 (SlowdownAngle != 0F) {
|
||||
output.WriteRawTag(13);
|
||||
output.WriteFloat(SlowdownAngle);
|
||||
}
|
||||
if (ArrivalAngle != 0F) {
|
||||
output.WriteRawTag(21);
|
||||
output.WriteFloat(ArrivalAngle);
|
||||
}
|
||||
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 (SlowdownAngle != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (ArrivalAngle != 0F) {
|
||||
size += 1 + 4;
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(RotationPropertiesData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.SlowdownAngle != 0F) {
|
||||
SlowdownAngle = other.SlowdownAngle;
|
||||
}
|
||||
if (other.ArrivalAngle != 0F) {
|
||||
ArrivalAngle = other.ArrivalAngle;
|
||||
}
|
||||
_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 13: {
|
||||
SlowdownAngle = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ArrivalAngle = input.ReadFloat();
|
||||
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 13: {
|
||||
SlowdownAngle = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
case 21: {
|
||||
ArrivalAngle = input.ReadFloat();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user