// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: rec_room/persistence/explosion_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/explosion_emitter_data.proto public static partial class ExplosionEmitterDataReflection { #region Descriptor /// File descriptor for rec_room/persistence/explosion_emitter_data.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static ExplosionEmitterDataReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjFyZWNfcm9vbS9wZXJzaXN0ZW5jZS9leHBsb3Npb25fZW1pdHRlcl9kYXRh", "LnByb3RvEghyZWNfcm9vbSJwChRFeHBsb3Npb25FbWl0dGVyRGF0YRIXCg9l", "eHBsb3Npb25fY29sb3IYASABKAUSGAoQZXhwbG9zaW9uX3JhZGl1cxgCIAEo", "AhIYChBleHBsb3Npb25fZGFtYWdlGAMgASgFEgsKA3NmeBgEIAEoCEITqgIQ", "UmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ExplosionEmitterData), global::RecRoom.Protobuf.ExplosionEmitterData.Parser, new[]{ "ExplosionColor", "ExplosionRadius", "ExplosionDamage", "Sfx" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ExplosionEmitterData : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExplosionEmitterData()); 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.ExplosionEmitterDataReflection.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 ExplosionEmitterData() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExplosionEmitterData(ExplosionEmitterData other) : this() { explosionColor_ = other.explosionColor_; explosionRadius_ = other.explosionRadius_; explosionDamage_ = other.explosionDamage_; sfx_ = other.sfx_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExplosionEmitterData Clone() { return new ExplosionEmitterData(this); } /// Field number for the "explosion_color" field. public const int ExplosionColorFieldNumber = 1; private int explosionColor_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ExplosionColor { get { return explosionColor_; } set { explosionColor_ = value; } } /// Field number for the "explosion_radius" field. public const int ExplosionRadiusFieldNumber = 2; private float explosionRadius_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public float ExplosionRadius { get { return explosionRadius_; } set { explosionRadius_ = value; } } /// Field number for the "explosion_damage" field. public const int ExplosionDamageFieldNumber = 3; private int explosionDamage_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int ExplosionDamage { get { return explosionDamage_; } set { explosionDamage_ = value; } } /// Field number for the "sfx" field. public const int SfxFieldNumber = 4; private bool sfx_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Sfx { get { return sfx_; } set { sfx_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ExplosionEmitterData); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ExplosionEmitterData other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (ExplosionColor != other.ExplosionColor) return false; if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ExplosionRadius, other.ExplosionRadius)) return false; if (ExplosionDamage != other.ExplosionDamage) return false; if (Sfx != other.Sfx) 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 (ExplosionColor != 0) hash ^= ExplosionColor.GetHashCode(); if (ExplosionRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ExplosionRadius); if (ExplosionDamage != 0) hash ^= ExplosionDamage.GetHashCode(); if (Sfx != false) hash ^= Sfx.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 (ExplosionColor != 0) { output.WriteRawTag(8); output.WriteInt32(ExplosionColor); } if (ExplosionRadius != 0F) { output.WriteRawTag(21); output.WriteFloat(ExplosionRadius); } if (ExplosionDamage != 0) { output.WriteRawTag(24); output.WriteInt32(ExplosionDamage); } if (Sfx != false) { output.WriteRawTag(32); output.WriteBool(Sfx); } 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 (ExplosionColor != 0) { output.WriteRawTag(8); output.WriteInt32(ExplosionColor); } if (ExplosionRadius != 0F) { output.WriteRawTag(21); output.WriteFloat(ExplosionRadius); } if (ExplosionDamage != 0) { output.WriteRawTag(24); output.WriteInt32(ExplosionDamage); } if (Sfx != false) { output.WriteRawTag(32); output.WriteBool(Sfx); } 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 (ExplosionColor != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExplosionColor); } if (ExplosionRadius != 0F) { size += 1 + 4; } if (ExplosionDamage != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ExplosionDamage); } if (Sfx != 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(ExplosionEmitterData other) { if (other == null) { return; } if (other.ExplosionColor != 0) { ExplosionColor = other.ExplosionColor; } if (other.ExplosionRadius != 0F) { ExplosionRadius = other.ExplosionRadius; } if (other.ExplosionDamage != 0) { ExplosionDamage = other.ExplosionDamage; } if (other.Sfx != false) { Sfx = other.Sfx; } _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: { ExplosionColor = input.ReadInt32(); break; } case 21: { ExplosionRadius = input.ReadFloat(); break; } case 24: { ExplosionDamage = input.ReadInt32(); break; } case 32: { Sfx = 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: { ExplosionColor = input.ReadInt32(); break; } case 21: { ExplosionRadius = input.ReadFloat(); break; } case 24: { ExplosionDamage = input.ReadInt32(); break; } case 32: { Sfx = input.ReadBool(); break; } } } } #endif } #endregion } #endregion Designer generated code