407 lines
15 KiB
C#
407 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: circuits_v2/room_mood_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/room_mood_data.proto</summary>
|
|
public static partial class RoomMoodDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for circuits_v2/room_mood_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RoomMoodDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CiBjaXJjdWl0c192Mi9yb29tX21vb2RfZGF0YS5wcm90bxILY2lyY3VpdHNf",
|
|
"djIaFGNvcmUvZ3VpZF9kYXRhLnByb3RvIvkBCgxSb29tTW9vZERhdGESEgoK",
|
|
"YmxlbmRfdGltZRgBIAEoAhITCgtlYXNlX2luX291dBgCIAEoCBJGChByb2xl",
|
|
"X2ZpbHRlcl9tb2RlGAMgASgOMiwuY2lyY3VpdHNfdjIuUm9vbU1vb2REYXRh",
|
|
"LlJvbGVGaWx0ZXJNb2RlVHlwZRImCg5maWx0ZXJlZF9yb2xlcxgEIAMoCzIO",
|
|
"LmNvcmUuR3VpZERhdGESHwoHbW9vZF9pZBgFIAEoCzIOLmNvcmUuR3VpZERh",
|
|
"dGEiLwoSUm9sZUZpbHRlck1vZGVUeXBlEgsKB0VOQUJMRUQQABIMCghESVNB",
|
|
"QkxFRBABQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZwcm90bzM="));
|
|
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.RoomMoodData), global::CircuitsV2.Protobuf.RoomMoodData.Parser, new[]{ "BlendTime", "EaseInOut", "RoleFilterMode", "FilteredRoles", "MoodId" }, null, new[]{ typeof(global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType) }, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RoomMoodData : pb::IMessage<RoomMoodData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RoomMoodData> _parser = new pb::MessageParser<RoomMoodData>(() => new RoomMoodData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RoomMoodData> 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.RoomMoodDataReflection.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 RoomMoodData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomMoodData(RoomMoodData other) : this() {
|
|
blendTime_ = other.blendTime_;
|
|
easeInOut_ = other.easeInOut_;
|
|
roleFilterMode_ = other.roleFilterMode_;
|
|
filteredRoles_ = other.filteredRoles_.Clone();
|
|
moodId_ = other.moodId_ != null ? other.moodId_.Clone() : null;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomMoodData Clone() {
|
|
return new RoomMoodData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "blend_time" field.</summary>
|
|
public const int BlendTimeFieldNumber = 1;
|
|
private float blendTime_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float BlendTime {
|
|
get { return blendTime_; }
|
|
set {
|
|
blendTime_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "ease_in_out" field.</summary>
|
|
public const int EaseInOutFieldNumber = 2;
|
|
private bool easeInOut_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool EaseInOut {
|
|
get { return easeInOut_; }
|
|
set {
|
|
easeInOut_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "role_filter_mode" field.</summary>
|
|
public const int RoleFilterModeFieldNumber = 3;
|
|
private global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType roleFilterMode_ = global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType RoleFilterMode {
|
|
get { return roleFilterMode_; }
|
|
set {
|
|
roleFilterMode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "filtered_roles" field.</summary>
|
|
public const int FilteredRolesFieldNumber = 4;
|
|
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_filteredRoles_codec
|
|
= pb::FieldCodec.ForMessage(34, global::RecRoom.Protobuf.Core.GuidData.Parser);
|
|
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> filteredRoles_ = 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> FilteredRoles {
|
|
get { return filteredRoles_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "mood_id" field.</summary>
|
|
public const int MoodIdFieldNumber = 5;
|
|
private global::RecRoom.Protobuf.Core.GuidData moodId_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public global::RecRoom.Protobuf.Core.GuidData MoodId {
|
|
get { return moodId_; }
|
|
set {
|
|
moodId_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RoomMoodData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RoomMoodData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(BlendTime, other.BlendTime)) return false;
|
|
if (EaseInOut != other.EaseInOut) return false;
|
|
if (RoleFilterMode != other.RoleFilterMode) return false;
|
|
if(!filteredRoles_.Equals(other.filteredRoles_)) return false;
|
|
if (!object.Equals(MoodId, other.MoodId)) 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 (BlendTime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(BlendTime);
|
|
if (EaseInOut != false) hash ^= EaseInOut.GetHashCode();
|
|
if (RoleFilterMode != global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled) hash ^= RoleFilterMode.GetHashCode();
|
|
hash ^= filteredRoles_.GetHashCode();
|
|
if (moodId_ != null) hash ^= MoodId.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 (BlendTime != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(BlendTime);
|
|
}
|
|
if (EaseInOut != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(EaseInOut);
|
|
}
|
|
if (RoleFilterMode != global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) RoleFilterMode);
|
|
}
|
|
filteredRoles_.WriteTo(output, _repeated_filteredRoles_codec);
|
|
if (moodId_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(MoodId);
|
|
}
|
|
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 (BlendTime != 0F) {
|
|
output.WriteRawTag(13);
|
|
output.WriteFloat(BlendTime);
|
|
}
|
|
if (EaseInOut != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(EaseInOut);
|
|
}
|
|
if (RoleFilterMode != global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled) {
|
|
output.WriteRawTag(24);
|
|
output.WriteEnum((int) RoleFilterMode);
|
|
}
|
|
filteredRoles_.WriteTo(ref output, _repeated_filteredRoles_codec);
|
|
if (moodId_ != null) {
|
|
output.WriteRawTag(42);
|
|
output.WriteMessage(MoodId);
|
|
}
|
|
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 (BlendTime != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (EaseInOut != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (RoleFilterMode != global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled) {
|
|
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RoleFilterMode);
|
|
}
|
|
size += filteredRoles_.CalculateSize(_repeated_filteredRoles_codec);
|
|
if (moodId_ != null) {
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MoodId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(RoomMoodData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.BlendTime != 0F) {
|
|
BlendTime = other.BlendTime;
|
|
}
|
|
if (other.EaseInOut != false) {
|
|
EaseInOut = other.EaseInOut;
|
|
}
|
|
if (other.RoleFilterMode != global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType.Enabled) {
|
|
RoleFilterMode = other.RoleFilterMode;
|
|
}
|
|
filteredRoles_.Add(other.filteredRoles_);
|
|
if (other.moodId_ != null) {
|
|
if (moodId_ == null) {
|
|
MoodId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
MoodId.MergeFrom(other.MoodId);
|
|
}
|
|
_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 13: {
|
|
BlendTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 16: {
|
|
EaseInOut = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
RoleFilterMode = (global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 34: {
|
|
filteredRoles_.AddEntriesFrom(input, _repeated_filteredRoles_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (moodId_ == null) {
|
|
MoodId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
input.ReadMessage(MoodId);
|
|
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 13: {
|
|
BlendTime = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 16: {
|
|
EaseInOut = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
RoleFilterMode = (global::CircuitsV2.Protobuf.RoomMoodData.Types.RoleFilterModeType) input.ReadEnum();
|
|
break;
|
|
}
|
|
case 34: {
|
|
filteredRoles_.AddEntriesFrom(ref input, _repeated_filteredRoles_codec);
|
|
break;
|
|
}
|
|
case 42: {
|
|
if (moodId_ == null) {
|
|
MoodId = new global::RecRoom.Protobuf.Core.GuidData();
|
|
}
|
|
input.ReadMessage(MoodId);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
#region Nested types
|
|
/// <summary>Container for nested types declared in the RoomMoodData message type.</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static partial class Types {
|
|
public enum RoleFilterModeType {
|
|
[pbr::OriginalName("ENABLED")] Enabled = 0,
|
|
[pbr::OriginalName("DISABLED")] Disabled = 1,
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|