320 lines
12 KiB
C#
320 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/player_definition_board_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 CircuitsV2.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from circuits_v2/player_definition_board_data.proto</summary>
|
|
public static partial class PlayerDefinitionBoardDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/player_definition_board_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerDefinitionBoardDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci5jaXJjdWl0c192Mi9wbGF5ZXJfZGVmaW5pdGlvbl9ib2FyZF9kYXRhLnBy",
|
|
"b3RvEgtjaXJjdWl0c192MiKJAQoZUGxheWVyRGVmaW5pdGlvbkJvYXJkRGF0",
|
|
"YRIjChtjdXN0b21fbG9jb21vdGlvbl9yZXF1ZXN0ZWQYASABKAgSHgoWZm9y",
|
|
"Y2VfbWFudWFsX3NwcmludF9yMRgCIAEoCBInCh9jdXN0b21fZm9vdHN0ZXBf",
|
|
"YXVkaW9fcmVxdWVzdGVkGAMgASgIQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVm",
|
|
"YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.PlayerDefinitionBoardData), global::CircuitsV2.Protobuf.PlayerDefinitionBoardData.Parser, new[]{ "CustomLocomotionRequested", "ForceManualSprintR1", "CustomFootstepAudioRequested" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerDefinitionBoardData : pb::IMessage<PlayerDefinitionBoardData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerDefinitionBoardData> _parser = new pb::MessageParser<PlayerDefinitionBoardData>(() => new PlayerDefinitionBoardData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerDefinitionBoardData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::CircuitsV2.Protobuf.PlayerDefinitionBoardDataReflection.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 PlayerDefinitionBoardData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerDefinitionBoardData(PlayerDefinitionBoardData other) : this() {
|
|
customLocomotionRequested_ = other.customLocomotionRequested_;
|
|
forceManualSprintR1_ = other.forceManualSprintR1_;
|
|
customFootstepAudioRequested_ = other.customFootstepAudioRequested_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerDefinitionBoardData Clone() {
|
|
return new PlayerDefinitionBoardData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "custom_locomotion_requested" field.</summary>
|
|
public const int CustomLocomotionRequestedFieldNumber = 1;
|
|
private bool customLocomotionRequested_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool CustomLocomotionRequested {
|
|
get { return customLocomotionRequested_; }
|
|
set {
|
|
customLocomotionRequested_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "force_manual_sprint_r1" field.</summary>
|
|
public const int ForceManualSprintR1FieldNumber = 2;
|
|
private bool forceManualSprintR1_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ForceManualSprintR1 {
|
|
get { return forceManualSprintR1_; }
|
|
set {
|
|
forceManualSprintR1_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "custom_footstep_audio_requested" field.</summary>
|
|
public const int CustomFootstepAudioRequestedFieldNumber = 3;
|
|
private bool customFootstepAudioRequested_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool CustomFootstepAudioRequested {
|
|
get { return customFootstepAudioRequested_; }
|
|
set {
|
|
customFootstepAudioRequested_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerDefinitionBoardData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerDefinitionBoardData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (CustomLocomotionRequested != other.CustomLocomotionRequested) return false;
|
|
if (ForceManualSprintR1 != other.ForceManualSprintR1) return false;
|
|
if (CustomFootstepAudioRequested != other.CustomFootstepAudioRequested) 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 (CustomLocomotionRequested != false) hash ^= CustomLocomotionRequested.GetHashCode();
|
|
if (ForceManualSprintR1 != false) hash ^= ForceManualSprintR1.GetHashCode();
|
|
if (CustomFootstepAudioRequested != false) hash ^= CustomFootstepAudioRequested.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 (CustomLocomotionRequested != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(CustomLocomotionRequested);
|
|
}
|
|
if (ForceManualSprintR1 != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(ForceManualSprintR1);
|
|
}
|
|
if (CustomFootstepAudioRequested != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(CustomFootstepAudioRequested);
|
|
}
|
|
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 (CustomLocomotionRequested != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(CustomLocomotionRequested);
|
|
}
|
|
if (ForceManualSprintR1 != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(ForceManualSprintR1);
|
|
}
|
|
if (CustomFootstepAudioRequested != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(CustomFootstepAudioRequested);
|
|
}
|
|
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 (CustomLocomotionRequested != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ForceManualSprintR1 != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (CustomFootstepAudioRequested != 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(PlayerDefinitionBoardData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.CustomLocomotionRequested != false) {
|
|
CustomLocomotionRequested = other.CustomLocomotionRequested;
|
|
}
|
|
if (other.ForceManualSprintR1 != false) {
|
|
ForceManualSprintR1 = other.ForceManualSprintR1;
|
|
}
|
|
if (other.CustomFootstepAudioRequested != false) {
|
|
CustomFootstepAudioRequested = other.CustomFootstepAudioRequested;
|
|
}
|
|
_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: {
|
|
CustomLocomotionRequested = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
ForceManualSprintR1 = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CustomFootstepAudioRequested = 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: {
|
|
CustomLocomotionRequested = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
ForceManualSprintR1 = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
CustomFootstepAudioRequested = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|