356 lines
12 KiB
C#
356 lines
12 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/object_spawner_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/object_spawner_data.proto</summary>
|
|
public static partial class ObjectSpawnerDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/object_spawner_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static ObjectSpawnerDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci5yZWNfcm9vbS9wZXJzaXN0ZW5jZS9vYmplY3Rfc3Bhd25lcl9kYXRhLnBy",
|
|
"b3RvEghyZWNfcm9vbSKFAQoUT2JqZWN0U3Bhd25Qb2ludERhdGESEAoIaXRl",
|
|
"bV90YWcYASABKAkSGAoQdGFrZV9mcm9tX2hvbGRlchgCIAEoCBIhChljbGVh",
|
|
"cl92ZWxvY2l0eV9vbl9yZXNwYXduGAMgASgIEh4KFnVzZV9yZXNwYXduZXJf",
|
|
"cm90YXRpb24YBCABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ObjectSpawnPointData), global::RecRoom.Protobuf.ObjectSpawnPointData.Parser, new[]{ "ItemTag", "TakeFromHolder", "ClearVelocityOnRespawn", "UseRespawnerRotation" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class ObjectSpawnPointData : pb::IMessage<ObjectSpawnPointData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<ObjectSpawnPointData> _parser = new pb::MessageParser<ObjectSpawnPointData>(() => new ObjectSpawnPointData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<ObjectSpawnPointData> 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.ObjectSpawnerDataReflection.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 ObjectSpawnPointData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ObjectSpawnPointData(ObjectSpawnPointData other) : this() {
|
|
itemTag_ = other.itemTag_;
|
|
takeFromHolder_ = other.takeFromHolder_;
|
|
clearVelocityOnRespawn_ = other.clearVelocityOnRespawn_;
|
|
useRespawnerRotation_ = other.useRespawnerRotation_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public ObjectSpawnPointData Clone() {
|
|
return new ObjectSpawnPointData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "item_tag" field.</summary>
|
|
public const int ItemTagFieldNumber = 1;
|
|
private string itemTag_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string ItemTag {
|
|
get { return itemTag_; }
|
|
set {
|
|
itemTag_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "take_from_holder" field.</summary>
|
|
public const int TakeFromHolderFieldNumber = 2;
|
|
private bool takeFromHolder_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool TakeFromHolder {
|
|
get { return takeFromHolder_; }
|
|
set {
|
|
takeFromHolder_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "clear_velocity_on_respawn" field.</summary>
|
|
public const int ClearVelocityOnRespawnFieldNumber = 3;
|
|
private bool clearVelocityOnRespawn_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool ClearVelocityOnRespawn {
|
|
get { return clearVelocityOnRespawn_; }
|
|
set {
|
|
clearVelocityOnRespawn_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "use_respawner_rotation" field.</summary>
|
|
public const int UseRespawnerRotationFieldNumber = 4;
|
|
private bool useRespawnerRotation_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool UseRespawnerRotation {
|
|
get { return useRespawnerRotation_; }
|
|
set {
|
|
useRespawnerRotation_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as ObjectSpawnPointData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(ObjectSpawnPointData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (ItemTag != other.ItemTag) return false;
|
|
if (TakeFromHolder != other.TakeFromHolder) return false;
|
|
if (ClearVelocityOnRespawn != other.ClearVelocityOnRespawn) return false;
|
|
if (UseRespawnerRotation != other.UseRespawnerRotation) 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 (ItemTag.Length != 0) hash ^= ItemTag.GetHashCode();
|
|
if (TakeFromHolder != false) hash ^= TakeFromHolder.GetHashCode();
|
|
if (ClearVelocityOnRespawn != false) hash ^= ClearVelocityOnRespawn.GetHashCode();
|
|
if (UseRespawnerRotation != false) hash ^= UseRespawnerRotation.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 (ItemTag.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(ItemTag);
|
|
}
|
|
if (TakeFromHolder != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(TakeFromHolder);
|
|
}
|
|
if (ClearVelocityOnRespawn != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(ClearVelocityOnRespawn);
|
|
}
|
|
if (UseRespawnerRotation != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(UseRespawnerRotation);
|
|
}
|
|
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 (ItemTag.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(ItemTag);
|
|
}
|
|
if (TakeFromHolder != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(TakeFromHolder);
|
|
}
|
|
if (ClearVelocityOnRespawn != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(ClearVelocityOnRespawn);
|
|
}
|
|
if (UseRespawnerRotation != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(UseRespawnerRotation);
|
|
}
|
|
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 (ItemTag.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemTag);
|
|
}
|
|
if (TakeFromHolder != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (ClearVelocityOnRespawn != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (UseRespawnerRotation != 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(ObjectSpawnPointData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.ItemTag.Length != 0) {
|
|
ItemTag = other.ItemTag;
|
|
}
|
|
if (other.TakeFromHolder != false) {
|
|
TakeFromHolder = other.TakeFromHolder;
|
|
}
|
|
if (other.ClearVelocityOnRespawn != false) {
|
|
ClearVelocityOnRespawn = other.ClearVelocityOnRespawn;
|
|
}
|
|
if (other.UseRespawnerRotation != false) {
|
|
UseRespawnerRotation = other.UseRespawnerRotation;
|
|
}
|
|
_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: {
|
|
ItemTag = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TakeFromHolder = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ClearVelocityOnRespawn = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
UseRespawnerRotation = 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: {
|
|
ItemTag = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
TakeFromHolder = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
ClearVelocityOnRespawn = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
UseRespawnerRotation = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|