//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/spawn_point_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/spawn_point_data.proto
public static partial class SpawnPointDataReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/spawn_point_data.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static SpawnPointDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CityZWNfcm9vbS9wZXJzaXN0ZW5jZS9zcGF3bl9wb2ludF9kYXRhLnByb3Rv",
"EghyZWNfcm9vbSKtAgoOU3Bhd25Qb2ludERhdGESDwoHdGVhbV9pZBgBIAEo",
"BRIdChVwcmltYXJ5X2hhbmRfaG9sZF90YWcYAiABKAkSJQodcHJpbWFyeV9o",
"YW5kX3Rha2VfZnJvbV9ob2xkZXIYAyABKAgSHwoXc2Vjb25kYXJ5X2hhbmRf",
"aG9sZF90YWcYBCABKAkSJwofc2Vjb25kYXJ5X2hhbmRfdGFrZV9mcm9tX2hv",
"bGRlchgFIAEoCBIkChxpc19wcmVfcG9zdF9nYW1lX3NwYXduX3BvaW50GAYg",
"ASgIEh4KFnNwYXduX3ByZWNpc2lvbl9yYWRpdXMYByABKAISGwoTc3Bhd25f",
"cG9pbnRfcHVycG9zZRgIIAEoBRIXCg9rZWVwX2hlbGRfdG9vbHMYCSABKAhC",
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.SpawnPointData), global::RecRoom.Protobuf.SpawnPointData.Parser, new[]{ "TeamId", "PrimaryHandHoldTag", "PrimaryHandTakeFromHolder", "SecondaryHandHoldTag", "SecondaryHandTakeFromHolder", "IsPrePostGameSpawnPoint", "SpawnPrecisionRadius", "SpawnPointPurpose", "KeepHeldTools" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SpawnPointData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpawnPointData());
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.SpawnPointDataReflection.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 SpawnPointData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SpawnPointData(SpawnPointData other) : this() {
teamId_ = other.teamId_;
primaryHandHoldTag_ = other.primaryHandHoldTag_;
primaryHandTakeFromHolder_ = other.primaryHandTakeFromHolder_;
secondaryHandHoldTag_ = other.secondaryHandHoldTag_;
secondaryHandTakeFromHolder_ = other.secondaryHandTakeFromHolder_;
isPrePostGameSpawnPoint_ = other.isPrePostGameSpawnPoint_;
spawnPrecisionRadius_ = other.spawnPrecisionRadius_;
spawnPointPurpose_ = other.spawnPointPurpose_;
keepHeldTools_ = other.keepHeldTools_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SpawnPointData Clone() {
return new SpawnPointData(this);
}
/// Field number for the "team_id" field.
public const int TeamIdFieldNumber = 1;
private int teamId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TeamId {
get { return teamId_; }
set {
teamId_ = value;
}
}
/// Field number for the "primary_hand_hold_tag" field.
public const int PrimaryHandHoldTagFieldNumber = 2;
private string primaryHandHoldTag_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string PrimaryHandHoldTag {
get { return primaryHandHoldTag_; }
set {
primaryHandHoldTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "primary_hand_take_from_holder" field.
public const int PrimaryHandTakeFromHolderFieldNumber = 3;
private bool primaryHandTakeFromHolder_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool PrimaryHandTakeFromHolder {
get { return primaryHandTakeFromHolder_; }
set {
primaryHandTakeFromHolder_ = value;
}
}
/// Field number for the "secondary_hand_hold_tag" field.
public const int SecondaryHandHoldTagFieldNumber = 4;
private string secondaryHandHoldTag_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SecondaryHandHoldTag {
get { return secondaryHandHoldTag_; }
set {
secondaryHandHoldTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "secondary_hand_take_from_holder" field.
public const int SecondaryHandTakeFromHolderFieldNumber = 5;
private bool secondaryHandTakeFromHolder_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SecondaryHandTakeFromHolder {
get { return secondaryHandTakeFromHolder_; }
set {
secondaryHandTakeFromHolder_ = value;
}
}
/// Field number for the "is_pre_post_game_spawn_point" field.
public const int IsPrePostGameSpawnPointFieldNumber = 6;
private bool isPrePostGameSpawnPoint_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsPrePostGameSpawnPoint {
get { return isPrePostGameSpawnPoint_; }
set {
isPrePostGameSpawnPoint_ = value;
}
}
/// Field number for the "spawn_precision_radius" field.
public const int SpawnPrecisionRadiusFieldNumber = 7;
private float spawnPrecisionRadius_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float SpawnPrecisionRadius {
get { return spawnPrecisionRadius_; }
set {
spawnPrecisionRadius_ = value;
}
}
/// Field number for the "spawn_point_purpose" field.
public const int SpawnPointPurposeFieldNumber = 8;
private int spawnPointPurpose_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SpawnPointPurpose {
get { return spawnPointPurpose_; }
set {
spawnPointPurpose_ = value;
}
}
/// Field number for the "keep_held_tools" field.
public const int KeepHeldToolsFieldNumber = 9;
private bool keepHeldTools_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool KeepHeldTools {
get { return keepHeldTools_; }
set {
keepHeldTools_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SpawnPointData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SpawnPointData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (TeamId != other.TeamId) return false;
if (PrimaryHandHoldTag != other.PrimaryHandHoldTag) return false;
if (PrimaryHandTakeFromHolder != other.PrimaryHandTakeFromHolder) return false;
if (SecondaryHandHoldTag != other.SecondaryHandHoldTag) return false;
if (SecondaryHandTakeFromHolder != other.SecondaryHandTakeFromHolder) return false;
if (IsPrePostGameSpawnPoint != other.IsPrePostGameSpawnPoint) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SpawnPrecisionRadius, other.SpawnPrecisionRadius)) return false;
if (SpawnPointPurpose != other.SpawnPointPurpose) return false;
if (KeepHeldTools != other.KeepHeldTools) 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 (TeamId != 0) hash ^= TeamId.GetHashCode();
if (PrimaryHandHoldTag.Length != 0) hash ^= PrimaryHandHoldTag.GetHashCode();
if (PrimaryHandTakeFromHolder != false) hash ^= PrimaryHandTakeFromHolder.GetHashCode();
if (SecondaryHandHoldTag.Length != 0) hash ^= SecondaryHandHoldTag.GetHashCode();
if (SecondaryHandTakeFromHolder != false) hash ^= SecondaryHandTakeFromHolder.GetHashCode();
if (IsPrePostGameSpawnPoint != false) hash ^= IsPrePostGameSpawnPoint.GetHashCode();
if (SpawnPrecisionRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SpawnPrecisionRadius);
if (SpawnPointPurpose != 0) hash ^= SpawnPointPurpose.GetHashCode();
if (KeepHeldTools != false) hash ^= KeepHeldTools.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 (TeamId != 0) {
output.WriteRawTag(8);
output.WriteInt32(TeamId);
}
if (PrimaryHandHoldTag.Length != 0) {
output.WriteRawTag(18);
output.WriteString(PrimaryHandHoldTag);
}
if (PrimaryHandTakeFromHolder != false) {
output.WriteRawTag(24);
output.WriteBool(PrimaryHandTakeFromHolder);
}
if (SecondaryHandHoldTag.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SecondaryHandHoldTag);
}
if (SecondaryHandTakeFromHolder != false) {
output.WriteRawTag(40);
output.WriteBool(SecondaryHandTakeFromHolder);
}
if (IsPrePostGameSpawnPoint != false) {
output.WriteRawTag(48);
output.WriteBool(IsPrePostGameSpawnPoint);
}
if (SpawnPrecisionRadius != 0F) {
output.WriteRawTag(61);
output.WriteFloat(SpawnPrecisionRadius);
}
if (SpawnPointPurpose != 0) {
output.WriteRawTag(64);
output.WriteInt32(SpawnPointPurpose);
}
if (KeepHeldTools != false) {
output.WriteRawTag(72);
output.WriteBool(KeepHeldTools);
}
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 (TeamId != 0) {
output.WriteRawTag(8);
output.WriteInt32(TeamId);
}
if (PrimaryHandHoldTag.Length != 0) {
output.WriteRawTag(18);
output.WriteString(PrimaryHandHoldTag);
}
if (PrimaryHandTakeFromHolder != false) {
output.WriteRawTag(24);
output.WriteBool(PrimaryHandTakeFromHolder);
}
if (SecondaryHandHoldTag.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SecondaryHandHoldTag);
}
if (SecondaryHandTakeFromHolder != false) {
output.WriteRawTag(40);
output.WriteBool(SecondaryHandTakeFromHolder);
}
if (IsPrePostGameSpawnPoint != false) {
output.WriteRawTag(48);
output.WriteBool(IsPrePostGameSpawnPoint);
}
if (SpawnPrecisionRadius != 0F) {
output.WriteRawTag(61);
output.WriteFloat(SpawnPrecisionRadius);
}
if (SpawnPointPurpose != 0) {
output.WriteRawTag(64);
output.WriteInt32(SpawnPointPurpose);
}
if (KeepHeldTools != false) {
output.WriteRawTag(72);
output.WriteBool(KeepHeldTools);
}
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 (TeamId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TeamId);
}
if (PrimaryHandHoldTag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(PrimaryHandHoldTag);
}
if (PrimaryHandTakeFromHolder != false) {
size += 1 + 1;
}
if (SecondaryHandHoldTag.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SecondaryHandHoldTag);
}
if (SecondaryHandTakeFromHolder != false) {
size += 1 + 1;
}
if (IsPrePostGameSpawnPoint != false) {
size += 1 + 1;
}
if (SpawnPrecisionRadius != 0F) {
size += 1 + 4;
}
if (SpawnPointPurpose != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpawnPointPurpose);
}
if (KeepHeldTools != 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(SpawnPointData other) {
if (other == null) {
return;
}
if (other.TeamId != 0) {
TeamId = other.TeamId;
}
if (other.PrimaryHandHoldTag.Length != 0) {
PrimaryHandHoldTag = other.PrimaryHandHoldTag;
}
if (other.PrimaryHandTakeFromHolder != false) {
PrimaryHandTakeFromHolder = other.PrimaryHandTakeFromHolder;
}
if (other.SecondaryHandHoldTag.Length != 0) {
SecondaryHandHoldTag = other.SecondaryHandHoldTag;
}
if (other.SecondaryHandTakeFromHolder != false) {
SecondaryHandTakeFromHolder = other.SecondaryHandTakeFromHolder;
}
if (other.IsPrePostGameSpawnPoint != false) {
IsPrePostGameSpawnPoint = other.IsPrePostGameSpawnPoint;
}
if (other.SpawnPrecisionRadius != 0F) {
SpawnPrecisionRadius = other.SpawnPrecisionRadius;
}
if (other.SpawnPointPurpose != 0) {
SpawnPointPurpose = other.SpawnPointPurpose;
}
if (other.KeepHeldTools != false) {
KeepHeldTools = other.KeepHeldTools;
}
_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: {
TeamId = input.ReadInt32();
break;
}
case 18: {
PrimaryHandHoldTag = input.ReadString();
break;
}
case 24: {
PrimaryHandTakeFromHolder = input.ReadBool();
break;
}
case 34: {
SecondaryHandHoldTag = input.ReadString();
break;
}
case 40: {
SecondaryHandTakeFromHolder = input.ReadBool();
break;
}
case 48: {
IsPrePostGameSpawnPoint = input.ReadBool();
break;
}
case 61: {
SpawnPrecisionRadius = input.ReadFloat();
break;
}
case 64: {
SpawnPointPurpose = input.ReadInt32();
break;
}
case 72: {
KeepHeldTools = 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: {
TeamId = input.ReadInt32();
break;
}
case 18: {
PrimaryHandHoldTag = input.ReadString();
break;
}
case 24: {
PrimaryHandTakeFromHolder = input.ReadBool();
break;
}
case 34: {
SecondaryHandHoldTag = input.ReadString();
break;
}
case 40: {
SecondaryHandTakeFromHolder = input.ReadBool();
break;
}
case 48: {
IsPrePostGameSpawnPoint = input.ReadBool();
break;
}
case 61: {
SpawnPrecisionRadius = input.ReadFloat();
break;
}
case 64: {
SpawnPointPurpose = input.ReadInt32();
break;
}
case 72: {
KeepHeldTools = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code