Files
RecRoom.Protobuf/CircuitInteractionFilterData.cs
2026-05-10 13:39:01 -07:00

335 lines
12 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: circuits_v2/circuit_interaction_filter_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/circuit_interaction_filter_data.proto</summary>
public static partial class CircuitInteractionFilterDataReflection {
#region Descriptor
/// <summary>File descriptor for circuits_v2/circuit_interaction_filter_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CircuitInteractionFilterDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjFjaXJjdWl0c192Mi9jaXJjdWl0X2ludGVyYWN0aW9uX2ZpbHRlcl9kYXRh",
"LnByb3RvEgtjaXJjdWl0c192MhoUY29yZS9ndWlkX2RhdGEucHJvdG8igAEK",
"HENpcmN1aXRJbnRlcmFjdGlvbkZpbHRlckRhdGESGAoQaW50ZXJhY3Rpb25f",
"bW9kZRgBIAEoBRInCg9nYW1lX3JvbGVfZ3VpZHMYAiADKAsyDi5jb3JlLkd1",
"aWREYXRhEg8KB2VuYWJsZWQYAyABKAgSDAoEdGFncxgEIAMoCUIWqgITQ2ly",
"Y3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitInteractionFilterData), global::CircuitsV2.Protobuf.CircuitInteractionFilterData.Parser, new[]{ "InteractionMode", "GameRoleGuids", "Enabled", "Tags" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class CircuitInteractionFilterData : pb::IMessage<CircuitInteractionFilterData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<CircuitInteractionFilterData> _parser = new pb::MessageParser<CircuitInteractionFilterData>(() => new CircuitInteractionFilterData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<CircuitInteractionFilterData> 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.CircuitInteractionFilterDataReflection.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 CircuitInteractionFilterData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CircuitInteractionFilterData(CircuitInteractionFilterData other) : this() {
interactionMode_ = other.interactionMode_;
gameRoleGuids_ = other.gameRoleGuids_.Clone();
enabled_ = other.enabled_;
tags_ = other.tags_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public CircuitInteractionFilterData Clone() {
return new CircuitInteractionFilterData(this);
}
/// <summary>Field number for the "interaction_mode" field.</summary>
public const int InteractionModeFieldNumber = 1;
private int interactionMode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int InteractionMode {
get { return interactionMode_; }
set {
interactionMode_ = value;
}
}
/// <summary>Field number for the "game_role_guids" field.</summary>
public const int GameRoleGuidsFieldNumber = 2;
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_gameRoleGuids_codec
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.Core.GuidData.Parser);
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> gameRoleGuids_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> GameRoleGuids {
get { return gameRoleGuids_; }
}
/// <summary>Field number for the "enabled" field.</summary>
public const int EnabledFieldNumber = 3;
private bool enabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Enabled {
get { return enabled_; }
set {
enabled_ = value;
}
}
/// <summary>Field number for the "tags" field.</summary>
public const int TagsFieldNumber = 4;
private static readonly pb::FieldCodec<string> _repeated_tags_codec
= pb::FieldCodec.ForString(34);
private readonly pbc::RepeatedField<string> tags_ = new pbc::RepeatedField<string>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<string> Tags {
get { return tags_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as CircuitInteractionFilterData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(CircuitInteractionFilterData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (InteractionMode != other.InteractionMode) return false;
if(!gameRoleGuids_.Equals(other.gameRoleGuids_)) return false;
if (Enabled != other.Enabled) return false;
if(!tags_.Equals(other.tags_)) 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 (InteractionMode != 0) hash ^= InteractionMode.GetHashCode();
hash ^= gameRoleGuids_.GetHashCode();
if (Enabled != false) hash ^= Enabled.GetHashCode();
hash ^= tags_.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 (InteractionMode != 0) {
output.WriteRawTag(8);
output.WriteInt32(InteractionMode);
}
gameRoleGuids_.WriteTo(output, _repeated_gameRoleGuids_codec);
if (Enabled != false) {
output.WriteRawTag(24);
output.WriteBool(Enabled);
}
tags_.WriteTo(output, _repeated_tags_codec);
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 (InteractionMode != 0) {
output.WriteRawTag(8);
output.WriteInt32(InteractionMode);
}
gameRoleGuids_.WriteTo(ref output, _repeated_gameRoleGuids_codec);
if (Enabled != false) {
output.WriteRawTag(24);
output.WriteBool(Enabled);
}
tags_.WriteTo(ref output, _repeated_tags_codec);
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 (InteractionMode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteractionMode);
}
size += gameRoleGuids_.CalculateSize(_repeated_gameRoleGuids_codec);
if (Enabled != false) {
size += 1 + 1;
}
size += tags_.CalculateSize(_repeated_tags_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(CircuitInteractionFilterData other) {
if (other == null) {
return;
}
if (other.InteractionMode != 0) {
InteractionMode = other.InteractionMode;
}
gameRoleGuids_.Add(other.gameRoleGuids_);
if (other.Enabled != false) {
Enabled = other.Enabled;
}
tags_.Add(other.tags_);
_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: {
InteractionMode = input.ReadInt32();
break;
}
case 18: {
gameRoleGuids_.AddEntriesFrom(input, _repeated_gameRoleGuids_codec);
break;
}
case 24: {
Enabled = input.ReadBool();
break;
}
case 34: {
tags_.AddEntriesFrom(input, _repeated_tags_codec);
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: {
InteractionMode = input.ReadInt32();
break;
}
case 18: {
gameRoleGuids_.AddEntriesFrom(ref input, _repeated_gameRoleGuids_codec);
break;
}
case 24: {
Enabled = input.ReadBool();
break;
}
case 34: {
tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code