Protobuf...
This commit is contained in:
442
InvisibleCollisionV2Data.cs
Normal file
442
InvisibleCollisionV2Data.cs
Normal file
@@ -0,0 +1,442 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/invisible_collision_v2_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/invisible_collision_v2_data.proto</summary>
|
||||
public static partial class InvisibleCollisionV2DataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/invisible_collision_v2_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static InvisibleCollisionV2DataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjZyZWNfcm9vbS9wZXJzaXN0ZW5jZS9pbnZpc2libGVfY29sbGlzaW9uX3Yy",
|
||||
"X2RhdGEucHJvdG8SCHJlY19yb29tGi1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9p",
|
||||
"bnRlcmFjdGlvbl9maWx0ZXIucHJvdG8i8wEKGEludmlzaWJsZUNvbGxpc2lv",
|
||||
"blYyRGF0YRIcChRjb2xsaWRlX3dpdGhfcGxheWVycxgBIAEoCBJLCiJERVBS",
|
||||
"RUNBVEVEX2ludGVyYWN0aW9uX2ZpbHRlcl9kYXRhGAIgASgLMh8ucmVjX3Jv",
|
||||
"b20uSW50ZXJhY3Rpb25GaWx0ZXJEYXRhEhwKFGNvbGxpZGVfd2l0aF9vYmpl",
|
||||
"Y3RzGAMgASgIEiAKGGNvbGxpZGVfd2l0aF9wcm9qZWN0aWxlcxgEIAEoCBIa",
|
||||
"ChJvY2NsdWRlc190YXJnZXRpbmcYBSABKAgSEAoIZGlzYWJsZWQYBiABKAhC",
|
||||
"E6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.InteractionFilterReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.InvisibleCollisionV2Data), global::RecRoom.Protobuf.InvisibleCollisionV2Data.Parser, new[]{ "CollideWithPlayers", "DEPRECATEDInteractionFilterData", "CollideWithObjects", "CollideWithProjectiles", "OccludesTargeting", "Disabled" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class InvisibleCollisionV2Data : pb::IMessage<InvisibleCollisionV2Data>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<InvisibleCollisionV2Data> _parser = new pb::MessageParser<InvisibleCollisionV2Data>(() => new InvisibleCollisionV2Data());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<InvisibleCollisionV2Data> 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.InvisibleCollisionV2DataReflection.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 InvisibleCollisionV2Data() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public InvisibleCollisionV2Data(InvisibleCollisionV2Data other) : this() {
|
||||
collideWithPlayers_ = other.collideWithPlayers_;
|
||||
dEPRECATEDInteractionFilterData_ = other.dEPRECATEDInteractionFilterData_ != null ? other.dEPRECATEDInteractionFilterData_.Clone() : null;
|
||||
collideWithObjects_ = other.collideWithObjects_;
|
||||
collideWithProjectiles_ = other.collideWithProjectiles_;
|
||||
occludesTargeting_ = other.occludesTargeting_;
|
||||
disabled_ = other.disabled_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public InvisibleCollisionV2Data Clone() {
|
||||
return new InvisibleCollisionV2Data(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "collide_with_players" field.</summary>
|
||||
public const int CollideWithPlayersFieldNumber = 1;
|
||||
private bool collideWithPlayers_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool CollideWithPlayers {
|
||||
get { return collideWithPlayers_; }
|
||||
set {
|
||||
collideWithPlayers_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_interaction_filter_data" field.</summary>
|
||||
public const int DEPRECATEDInteractionFilterDataFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.InteractionFilterData dEPRECATEDInteractionFilterData_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.InteractionFilterData DEPRECATEDInteractionFilterData {
|
||||
get { return dEPRECATEDInteractionFilterData_; }
|
||||
set {
|
||||
dEPRECATEDInteractionFilterData_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "collide_with_objects" field.</summary>
|
||||
public const int CollideWithObjectsFieldNumber = 3;
|
||||
private bool collideWithObjects_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool CollideWithObjects {
|
||||
get { return collideWithObjects_; }
|
||||
set {
|
||||
collideWithObjects_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "collide_with_projectiles" field.</summary>
|
||||
public const int CollideWithProjectilesFieldNumber = 4;
|
||||
private bool collideWithProjectiles_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool CollideWithProjectiles {
|
||||
get { return collideWithProjectiles_; }
|
||||
set {
|
||||
collideWithProjectiles_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "occludes_targeting" field.</summary>
|
||||
public const int OccludesTargetingFieldNumber = 5;
|
||||
private bool occludesTargeting_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool OccludesTargeting {
|
||||
get { return occludesTargeting_; }
|
||||
set {
|
||||
occludesTargeting_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "disabled" field.</summary>
|
||||
public const int DisabledFieldNumber = 6;
|
||||
private bool disabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Disabled {
|
||||
get { return disabled_; }
|
||||
set {
|
||||
disabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as InvisibleCollisionV2Data);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(InvisibleCollisionV2Data other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (CollideWithPlayers != other.CollideWithPlayers) return false;
|
||||
if (!object.Equals(DEPRECATEDInteractionFilterData, other.DEPRECATEDInteractionFilterData)) return false;
|
||||
if (CollideWithObjects != other.CollideWithObjects) return false;
|
||||
if (CollideWithProjectiles != other.CollideWithProjectiles) return false;
|
||||
if (OccludesTargeting != other.OccludesTargeting) return false;
|
||||
if (Disabled != other.Disabled) 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 (CollideWithPlayers != false) hash ^= CollideWithPlayers.GetHashCode();
|
||||
if (dEPRECATEDInteractionFilterData_ != null) hash ^= DEPRECATEDInteractionFilterData.GetHashCode();
|
||||
if (CollideWithObjects != false) hash ^= CollideWithObjects.GetHashCode();
|
||||
if (CollideWithProjectiles != false) hash ^= CollideWithProjectiles.GetHashCode();
|
||||
if (OccludesTargeting != false) hash ^= OccludesTargeting.GetHashCode();
|
||||
if (Disabled != false) hash ^= Disabled.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 (CollideWithPlayers != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(CollideWithPlayers);
|
||||
}
|
||||
if (dEPRECATEDInteractionFilterData_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDInteractionFilterData);
|
||||
}
|
||||
if (CollideWithObjects != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(CollideWithObjects);
|
||||
}
|
||||
if (CollideWithProjectiles != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(CollideWithProjectiles);
|
||||
}
|
||||
if (OccludesTargeting != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(OccludesTargeting);
|
||||
}
|
||||
if (Disabled != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(Disabled);
|
||||
}
|
||||
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 (CollideWithPlayers != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(CollideWithPlayers);
|
||||
}
|
||||
if (dEPRECATEDInteractionFilterData_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDInteractionFilterData);
|
||||
}
|
||||
if (CollideWithObjects != false) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteBool(CollideWithObjects);
|
||||
}
|
||||
if (CollideWithProjectiles != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(CollideWithProjectiles);
|
||||
}
|
||||
if (OccludesTargeting != false) {
|
||||
output.WriteRawTag(40);
|
||||
output.WriteBool(OccludesTargeting);
|
||||
}
|
||||
if (Disabled != false) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteBool(Disabled);
|
||||
}
|
||||
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 (CollideWithPlayers != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (dEPRECATEDInteractionFilterData_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDInteractionFilterData);
|
||||
}
|
||||
if (CollideWithObjects != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (CollideWithProjectiles != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (OccludesTargeting != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (Disabled != 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(InvisibleCollisionV2Data other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.CollideWithPlayers != false) {
|
||||
CollideWithPlayers = other.CollideWithPlayers;
|
||||
}
|
||||
if (other.dEPRECATEDInteractionFilterData_ != null) {
|
||||
if (dEPRECATEDInteractionFilterData_ == null) {
|
||||
DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
DEPRECATEDInteractionFilterData.MergeFrom(other.DEPRECATEDInteractionFilterData);
|
||||
}
|
||||
if (other.CollideWithObjects != false) {
|
||||
CollideWithObjects = other.CollideWithObjects;
|
||||
}
|
||||
if (other.CollideWithProjectiles != false) {
|
||||
CollideWithProjectiles = other.CollideWithProjectiles;
|
||||
}
|
||||
if (other.OccludesTargeting != false) {
|
||||
OccludesTargeting = other.OccludesTargeting;
|
||||
}
|
||||
if (other.Disabled != false) {
|
||||
Disabled = other.Disabled;
|
||||
}
|
||||
_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: {
|
||||
CollideWithPlayers = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDInteractionFilterData_ == null) {
|
||||
DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDInteractionFilterData);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
CollideWithObjects = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CollideWithProjectiles = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
OccludesTargeting = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Disabled = 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: {
|
||||
CollideWithPlayers = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDInteractionFilterData_ == null) {
|
||||
DEPRECATEDInteractionFilterData = new global::RecRoom.Protobuf.InteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDInteractionFilterData);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
CollideWithObjects = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
CollideWithProjectiles = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
OccludesTargeting = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
Disabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user