// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/particle_emitter_data.proto // #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 { /// Holder for reflection information generated from rec_room/persistence/particle_emitter_data.proto public static partial class ParticleEmitterDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/particle_emitter_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ParticleEmitterDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjByZWNfcm9vbS9wZXJzaXN0ZW5jZS9wYXJ0aWNsZV9lbWl0dGVyX2RhdGEu", "cHJvdG8SCHJlY19yb29tIoQBChNQYXJ0aWNsZUVtaXR0ZXJEYXRhEhEKCWVm", "ZmVjdF9pZBgBIAEoDBIPCgdsb29waW5nGAIgASgIEhsKE3VzZV9zYW5kYm94", "X3JlY29sb3IYAyABKAgSDwoHcGxheWluZxgEIAEoCBIMCgRzaXplGAUgASgC", "Eg0KBXNwZWVkGAYgASgCQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ParticleEmitterData), global::RecRoom.Protobuf.ParticleEmitterData.Parser, new[]{ "EffectId", "Looping", "UseSandboxRecolor", "Playing", "Size", "Speed" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ParticleEmitterData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParticleEmitterData()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser 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.ParticleEmitterDataReflection.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 ParticleEmitterData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ParticleEmitterData(ParticleEmitterData other) : this() { effectId_ = other.effectId_; looping_ = other.looping_; useSandboxRecolor_ = other.useSandboxRecolor_; playing_ = other.playing_; size_ = other.size_; speed_ = other.speed_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ParticleEmitterData Clone() { return new ParticleEmitterData(this); } /// Field number for the "effect_id" field. public const int EffectIdFieldNumber = 1; private pb::ByteString effectId_ = pb::ByteString.Empty; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pb::ByteString EffectId { get { return effectId_; } set { effectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "looping" field. public const int LoopingFieldNumber = 2; private bool looping_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Looping { get { return looping_; } set { looping_ = value; } } /// Field number for the "use_sandbox_recolor" field. public const int UseSandboxRecolorFieldNumber = 3; private bool useSandboxRecolor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool UseSandboxRecolor { get { return useSandboxRecolor_; } set { useSandboxRecolor_ = value; } } /// Field number for the "playing" field. public const int PlayingFieldNumber = 4; private bool playing_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Playing { get { return playing_; } set { playing_ = value; } } /// Field number for the "size" field. public const int SizeFieldNumber = 5; private float size_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Size { get { return size_; } set { size_ = value; } } /// Field number for the "speed" field. public const int SpeedFieldNumber = 6; private float speed_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float Speed { get { return speed_; } set { speed_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ParticleEmitterData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ParticleEmitterData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (EffectId != other.EffectId) return false; if (Looping != other.Looping) return false; if (UseSandboxRecolor != other.UseSandboxRecolor) return false; if (Playing != other.Playing) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Size, other.Size)) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Speed, other.Speed)) 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 (EffectId.Length != 0) hash ^= EffectId.GetHashCode(); if (Looping != false) hash ^= Looping.GetHashCode(); if (UseSandboxRecolor != false) hash ^= UseSandboxRecolor.GetHashCode(); if (Playing != false) hash ^= Playing.GetHashCode(); if (Size != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Size); if (Speed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed); 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 (EffectId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(EffectId); } if (Looping != false) { output.WriteRawTag(16); output.WriteBool(Looping); } if (UseSandboxRecolor != false) { output.WriteRawTag(24); output.WriteBool(UseSandboxRecolor); } if (Playing != false) { output.WriteRawTag(32); output.WriteBool(Playing); } if (Size != 0F) { output.WriteRawTag(45); output.WriteFloat(Size); } if (Speed != 0F) { output.WriteRawTag(53); output.WriteFloat(Speed); } 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 (EffectId.Length != 0) { output.WriteRawTag(10); output.WriteBytes(EffectId); } if (Looping != false) { output.WriteRawTag(16); output.WriteBool(Looping); } if (UseSandboxRecolor != false) { output.WriteRawTag(24); output.WriteBool(UseSandboxRecolor); } if (Playing != false) { output.WriteRawTag(32); output.WriteBool(Playing); } if (Size != 0F) { output.WriteRawTag(45); output.WriteFloat(Size); } if (Speed != 0F) { output.WriteRawTag(53); output.WriteFloat(Speed); } 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 (EffectId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(EffectId); } if (Looping != false) { size += 1 + 1; } if (UseSandboxRecolor != false) { size += 1 + 1; } if (Playing != false) { size += 1 + 1; } if (Size != 0F) { size += 1 + 4; } if (Speed != 0F) { size += 1 + 4; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ParticleEmitterData other) { if (other == null) { return; } if (other.EffectId.Length != 0) { EffectId = other.EffectId; } if (other.Looping != false) { Looping = other.Looping; } if (other.UseSandboxRecolor != false) { UseSandboxRecolor = other.UseSandboxRecolor; } if (other.Playing != false) { Playing = other.Playing; } if (other.Size != 0F) { Size = other.Size; } if (other.Speed != 0F) { Speed = other.Speed; } _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: { EffectId = input.ReadBytes(); break; } case 16: { Looping = input.ReadBool(); break; } case 24: { UseSandboxRecolor = input.ReadBool(); break; } case 32: { Playing = input.ReadBool(); break; } case 45: { Size = input.ReadFloat(); break; } case 53: { Speed = input.ReadFloat(); 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: { EffectId = input.ReadBytes(); break; } case 16: { Looping = input.ReadBool(); break; } case 24: { UseSandboxRecolor = input.ReadBool(); break; } case 32: { Playing = input.ReadBool(); break; } case 45: { Size = input.ReadFloat(); break; } case 53: { Speed = input.ReadFloat(); break; } } } } #endif } #endregion } #endregion Designer generated code