Protobuf...
This commit is contained in:
695
TriggerVolumeData.cs
Normal file
695
TriggerVolumeData.cs
Normal file
@@ -0,0 +1,695 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/persistence/trigger_volume_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/trigger_volume_data.proto</summary>
|
||||
public static partial class TriggerVolumeDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/persistence/trigger_volume_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static TriggerVolumeDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Ci5yZWNfcm9vbS9wZXJzaXN0ZW5jZS90cmlnZ2VyX3ZvbHVtZV9kYXRhLnBy",
|
||||
"b3RvEghyZWNfcm9vbRoXY29yZS92ZWN0b3IzX2RhdGEucHJvdG8aF3JlY19y",
|
||||
"b29tL3RhZ19kYXRhLnByb3RvIrQDChFUcmlnZ2VyVm9sdW1lRGF0YRIPCgdt",
|
||||
"b2RlX2lkGAEgASgFEisKEERFUFJFQ0FURURfc2NhbGUYAiABKAsyES5jb3Jl",
|
||||
"LlZlY3RvcjNEYXRhEi4KE0RFUFJFQ0FURURfcG9zaXRpb24YAyABKAsyES5j",
|
||||
"b3JlLlZlY3RvcjNEYXRhEi0KEmZpbHRlcl90YWdzX29iamVjdBgEIAEoCzIR",
|
||||
"LnJlY19yb29tLlRhZ0RhdGESEwoLZmlsdGVyX3JvbGUYBSABKAkSFAoMdHJp",
|
||||
"Z2dlcl9vbmNlGAYgASgFEhYKDmp1bmlvcl9lbmFibGVkGAcgASgIEi0KEmZp",
|
||||
"bHRlcl90YWdzX3BsYXllchgIIAEoCzIRLnJlY19yb29tLlRhZ0RhdGESIQoZ",
|
||||
"ZmlsdGVyX3RhZ3NfcGxheWVyX2VuYWJsZRgJIAEoCBIhChlmaWx0ZXJfdGFn",
|
||||
"c19vYmplY3RfZW5hYmxlGAogASgIEiQKHGZpbHRlcl90YWdzX3BsYXllcl9p",
|
||||
"bmNsdXNpb24YCyABKAgSJAocZmlsdGVyX3RhZ3Nfb2JqZWN0X2luY2x1c2lv",
|
||||
"bhgMIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.Vector3DataReflection.Descriptor, global::RecRoom.Protobuf.TagDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.TriggerVolumeData), global::RecRoom.Protobuf.TriggerVolumeData.Parser, new[]{ "ModeId", "DEPRECATEDScale", "DEPRECATEDPosition", "FilterTagsObject", "FilterRole", "TriggerOnce", "JuniorEnabled", "FilterTagsPlayer", "FilterTagsPlayerEnable", "FilterTagsObjectEnable", "FilterTagsPlayerInclusion", "FilterTagsObjectInclusion" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class TriggerVolumeData : pb::IMessage<TriggerVolumeData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<TriggerVolumeData> _parser = new pb::MessageParser<TriggerVolumeData>(() => new TriggerVolumeData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<TriggerVolumeData> 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.TriggerVolumeDataReflection.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 TriggerVolumeData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TriggerVolumeData(TriggerVolumeData other) : this() {
|
||||
modeId_ = other.modeId_;
|
||||
dEPRECATEDScale_ = other.dEPRECATEDScale_ != null ? other.dEPRECATEDScale_.Clone() : null;
|
||||
dEPRECATEDPosition_ = other.dEPRECATEDPosition_ != null ? other.dEPRECATEDPosition_.Clone() : null;
|
||||
filterTagsObject_ = other.filterTagsObject_ != null ? other.filterTagsObject_.Clone() : null;
|
||||
filterRole_ = other.filterRole_;
|
||||
triggerOnce_ = other.triggerOnce_;
|
||||
juniorEnabled_ = other.juniorEnabled_;
|
||||
filterTagsPlayer_ = other.filterTagsPlayer_ != null ? other.filterTagsPlayer_.Clone() : null;
|
||||
filterTagsPlayerEnable_ = other.filterTagsPlayerEnable_;
|
||||
filterTagsObjectEnable_ = other.filterTagsObjectEnable_;
|
||||
filterTagsPlayerInclusion_ = other.filterTagsPlayerInclusion_;
|
||||
filterTagsObjectInclusion_ = other.filterTagsObjectInclusion_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public TriggerVolumeData Clone() {
|
||||
return new TriggerVolumeData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "mode_id" field.</summary>
|
||||
public const int ModeIdFieldNumber = 1;
|
||||
private int modeId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int ModeId {
|
||||
get { return modeId_; }
|
||||
set {
|
||||
modeId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_scale" field.</summary>
|
||||
public const int DEPRECATEDScaleFieldNumber = 2;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data dEPRECATEDScale_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data DEPRECATEDScale {
|
||||
get { return dEPRECATEDScale_; }
|
||||
set {
|
||||
dEPRECATEDScale_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "DEPRECATED_position" field.</summary>
|
||||
public const int DEPRECATEDPositionFieldNumber = 3;
|
||||
private global::RecRoom.Protobuf.Core.Vector3Data dEPRECATEDPosition_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.Vector3Data DEPRECATEDPosition {
|
||||
get { return dEPRECATEDPosition_; }
|
||||
set {
|
||||
dEPRECATEDPosition_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_object" field.</summary>
|
||||
public const int FilterTagsObjectFieldNumber = 4;
|
||||
private global::RecRoom.Protobuf.TagData filterTagsObject_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.TagData FilterTagsObject {
|
||||
get { return filterTagsObject_; }
|
||||
set {
|
||||
filterTagsObject_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_role" field.</summary>
|
||||
public const int FilterRoleFieldNumber = 5;
|
||||
private string filterRole_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string FilterRole {
|
||||
get { return filterRole_; }
|
||||
set {
|
||||
filterRole_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "trigger_once" field.</summary>
|
||||
public const int TriggerOnceFieldNumber = 6;
|
||||
private int triggerOnce_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int TriggerOnce {
|
||||
get { return triggerOnce_; }
|
||||
set {
|
||||
triggerOnce_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "junior_enabled" field.</summary>
|
||||
public const int JuniorEnabledFieldNumber = 7;
|
||||
private bool juniorEnabled_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool JuniorEnabled {
|
||||
get { return juniorEnabled_; }
|
||||
set {
|
||||
juniorEnabled_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_player" field.</summary>
|
||||
public const int FilterTagsPlayerFieldNumber = 8;
|
||||
private global::RecRoom.Protobuf.TagData filterTagsPlayer_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.TagData FilterTagsPlayer {
|
||||
get { return filterTagsPlayer_; }
|
||||
set {
|
||||
filterTagsPlayer_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_player_enable" field.</summary>
|
||||
public const int FilterTagsPlayerEnableFieldNumber = 9;
|
||||
private bool filterTagsPlayerEnable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool FilterTagsPlayerEnable {
|
||||
get { return filterTagsPlayerEnable_; }
|
||||
set {
|
||||
filterTagsPlayerEnable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_object_enable" field.</summary>
|
||||
public const int FilterTagsObjectEnableFieldNumber = 10;
|
||||
private bool filterTagsObjectEnable_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool FilterTagsObjectEnable {
|
||||
get { return filterTagsObjectEnable_; }
|
||||
set {
|
||||
filterTagsObjectEnable_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_player_inclusion" field.</summary>
|
||||
public const int FilterTagsPlayerInclusionFieldNumber = 11;
|
||||
private bool filterTagsPlayerInclusion_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool FilterTagsPlayerInclusion {
|
||||
get { return filterTagsPlayerInclusion_; }
|
||||
set {
|
||||
filterTagsPlayerInclusion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "filter_tags_object_inclusion" field.</summary>
|
||||
public const int FilterTagsObjectInclusionFieldNumber = 12;
|
||||
private bool filterTagsObjectInclusion_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool FilterTagsObjectInclusion {
|
||||
get { return filterTagsObjectInclusion_; }
|
||||
set {
|
||||
filterTagsObjectInclusion_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as TriggerVolumeData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(TriggerVolumeData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (ModeId != other.ModeId) return false;
|
||||
if (!object.Equals(DEPRECATEDScale, other.DEPRECATEDScale)) return false;
|
||||
if (!object.Equals(DEPRECATEDPosition, other.DEPRECATEDPosition)) return false;
|
||||
if (!object.Equals(FilterTagsObject, other.FilterTagsObject)) return false;
|
||||
if (FilterRole != other.FilterRole) return false;
|
||||
if (TriggerOnce != other.TriggerOnce) return false;
|
||||
if (JuniorEnabled != other.JuniorEnabled) return false;
|
||||
if (!object.Equals(FilterTagsPlayer, other.FilterTagsPlayer)) return false;
|
||||
if (FilterTagsPlayerEnable != other.FilterTagsPlayerEnable) return false;
|
||||
if (FilterTagsObjectEnable != other.FilterTagsObjectEnable) return false;
|
||||
if (FilterTagsPlayerInclusion != other.FilterTagsPlayerInclusion) return false;
|
||||
if (FilterTagsObjectInclusion != other.FilterTagsObjectInclusion) 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 (ModeId != 0) hash ^= ModeId.GetHashCode();
|
||||
if (dEPRECATEDScale_ != null) hash ^= DEPRECATEDScale.GetHashCode();
|
||||
if (dEPRECATEDPosition_ != null) hash ^= DEPRECATEDPosition.GetHashCode();
|
||||
if (filterTagsObject_ != null) hash ^= FilterTagsObject.GetHashCode();
|
||||
if (FilterRole.Length != 0) hash ^= FilterRole.GetHashCode();
|
||||
if (TriggerOnce != 0) hash ^= TriggerOnce.GetHashCode();
|
||||
if (JuniorEnabled != false) hash ^= JuniorEnabled.GetHashCode();
|
||||
if (filterTagsPlayer_ != null) hash ^= FilterTagsPlayer.GetHashCode();
|
||||
if (FilterTagsPlayerEnable != false) hash ^= FilterTagsPlayerEnable.GetHashCode();
|
||||
if (FilterTagsObjectEnable != false) hash ^= FilterTagsObjectEnable.GetHashCode();
|
||||
if (FilterTagsPlayerInclusion != false) hash ^= FilterTagsPlayerInclusion.GetHashCode();
|
||||
if (FilterTagsObjectInclusion != false) hash ^= FilterTagsObjectInclusion.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 (ModeId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(ModeId);
|
||||
}
|
||||
if (dEPRECATEDScale_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDScale);
|
||||
}
|
||||
if (dEPRECATEDPosition_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DEPRECATEDPosition);
|
||||
}
|
||||
if (filterTagsObject_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(FilterTagsObject);
|
||||
}
|
||||
if (FilterRole.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(FilterRole);
|
||||
}
|
||||
if (TriggerOnce != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(TriggerOnce);
|
||||
}
|
||||
if (JuniorEnabled != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(JuniorEnabled);
|
||||
}
|
||||
if (filterTagsPlayer_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(FilterTagsPlayer);
|
||||
}
|
||||
if (FilterTagsPlayerEnable != false) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteBool(FilterTagsPlayerEnable);
|
||||
}
|
||||
if (FilterTagsObjectEnable != false) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteBool(FilterTagsObjectEnable);
|
||||
}
|
||||
if (FilterTagsPlayerInclusion != false) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteBool(FilterTagsPlayerInclusion);
|
||||
}
|
||||
if (FilterTagsObjectInclusion != false) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteBool(FilterTagsObjectInclusion);
|
||||
}
|
||||
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 (ModeId != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(ModeId);
|
||||
}
|
||||
if (dEPRECATEDScale_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(DEPRECATEDScale);
|
||||
}
|
||||
if (dEPRECATEDPosition_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(DEPRECATEDPosition);
|
||||
}
|
||||
if (filterTagsObject_ != null) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteMessage(FilterTagsObject);
|
||||
}
|
||||
if (FilterRole.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(FilterRole);
|
||||
}
|
||||
if (TriggerOnce != 0) {
|
||||
output.WriteRawTag(48);
|
||||
output.WriteInt32(TriggerOnce);
|
||||
}
|
||||
if (JuniorEnabled != false) {
|
||||
output.WriteRawTag(56);
|
||||
output.WriteBool(JuniorEnabled);
|
||||
}
|
||||
if (filterTagsPlayer_ != null) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteMessage(FilterTagsPlayer);
|
||||
}
|
||||
if (FilterTagsPlayerEnable != false) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteBool(FilterTagsPlayerEnable);
|
||||
}
|
||||
if (FilterTagsObjectEnable != false) {
|
||||
output.WriteRawTag(80);
|
||||
output.WriteBool(FilterTagsObjectEnable);
|
||||
}
|
||||
if (FilterTagsPlayerInclusion != false) {
|
||||
output.WriteRawTag(88);
|
||||
output.WriteBool(FilterTagsPlayerInclusion);
|
||||
}
|
||||
if (FilterTagsObjectInclusion != false) {
|
||||
output.WriteRawTag(96);
|
||||
output.WriteBool(FilterTagsObjectInclusion);
|
||||
}
|
||||
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 (ModeId != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ModeId);
|
||||
}
|
||||
if (dEPRECATEDScale_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDScale);
|
||||
}
|
||||
if (dEPRECATEDPosition_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDPosition);
|
||||
}
|
||||
if (filterTagsObject_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FilterTagsObject);
|
||||
}
|
||||
if (FilterRole.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(FilterRole);
|
||||
}
|
||||
if (TriggerOnce != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TriggerOnce);
|
||||
}
|
||||
if (JuniorEnabled != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (filterTagsPlayer_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(FilterTagsPlayer);
|
||||
}
|
||||
if (FilterTagsPlayerEnable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (FilterTagsObjectEnable != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (FilterTagsPlayerInclusion != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (FilterTagsObjectInclusion != 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(TriggerVolumeData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.ModeId != 0) {
|
||||
ModeId = other.ModeId;
|
||||
}
|
||||
if (other.dEPRECATEDScale_ != null) {
|
||||
if (dEPRECATEDScale_ == null) {
|
||||
DEPRECATEDScale = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
DEPRECATEDScale.MergeFrom(other.DEPRECATEDScale);
|
||||
}
|
||||
if (other.dEPRECATEDPosition_ != null) {
|
||||
if (dEPRECATEDPosition_ == null) {
|
||||
DEPRECATEDPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
DEPRECATEDPosition.MergeFrom(other.DEPRECATEDPosition);
|
||||
}
|
||||
if (other.filterTagsObject_ != null) {
|
||||
if (filterTagsObject_ == null) {
|
||||
FilterTagsObject = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
FilterTagsObject.MergeFrom(other.FilterTagsObject);
|
||||
}
|
||||
if (other.FilterRole.Length != 0) {
|
||||
FilterRole = other.FilterRole;
|
||||
}
|
||||
if (other.TriggerOnce != 0) {
|
||||
TriggerOnce = other.TriggerOnce;
|
||||
}
|
||||
if (other.JuniorEnabled != false) {
|
||||
JuniorEnabled = other.JuniorEnabled;
|
||||
}
|
||||
if (other.filterTagsPlayer_ != null) {
|
||||
if (filterTagsPlayer_ == null) {
|
||||
FilterTagsPlayer = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
FilterTagsPlayer.MergeFrom(other.FilterTagsPlayer);
|
||||
}
|
||||
if (other.FilterTagsPlayerEnable != false) {
|
||||
FilterTagsPlayerEnable = other.FilterTagsPlayerEnable;
|
||||
}
|
||||
if (other.FilterTagsObjectEnable != false) {
|
||||
FilterTagsObjectEnable = other.FilterTagsObjectEnable;
|
||||
}
|
||||
if (other.FilterTagsPlayerInclusion != false) {
|
||||
FilterTagsPlayerInclusion = other.FilterTagsPlayerInclusion;
|
||||
}
|
||||
if (other.FilterTagsObjectInclusion != false) {
|
||||
FilterTagsObjectInclusion = other.FilterTagsObjectInclusion;
|
||||
}
|
||||
_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: {
|
||||
ModeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDScale_ == null) {
|
||||
DEPRECATEDScale = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDScale);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dEPRECATEDPosition_ == null) {
|
||||
DEPRECATEDPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPosition);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (filterTagsObject_ == null) {
|
||||
FilterTagsObject = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
input.ReadMessage(FilterTagsObject);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
FilterRole = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
TriggerOnce = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
JuniorEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (filterTagsPlayer_ == null) {
|
||||
FilterTagsPlayer = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
input.ReadMessage(FilterTagsPlayer);
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
FilterTagsPlayerEnable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
FilterTagsObjectEnable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
FilterTagsPlayerInclusion = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
FilterTagsObjectInclusion = 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: {
|
||||
ModeId = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (dEPRECATEDScale_ == null) {
|
||||
DEPRECATEDScale = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDScale);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (dEPRECATEDPosition_ == null) {
|
||||
DEPRECATEDPosition = new global::RecRoom.Protobuf.Core.Vector3Data();
|
||||
}
|
||||
input.ReadMessage(DEPRECATEDPosition);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
if (filterTagsObject_ == null) {
|
||||
FilterTagsObject = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
input.ReadMessage(FilterTagsObject);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
FilterRole = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
TriggerOnce = input.ReadInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
JuniorEnabled = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
if (filterTagsPlayer_ == null) {
|
||||
FilterTagsPlayer = new global::RecRoom.Protobuf.TagData();
|
||||
}
|
||||
input.ReadMessage(FilterTagsPlayer);
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
FilterTagsPlayerEnable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
FilterTagsObjectEnable = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
FilterTagsPlayerInclusion = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
FilterTagsObjectInclusion = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user