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

707 lines
27 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/projectile_launcher_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/projectile_launcher_data.proto</summary>
public static partial class ProjectileLauncherDataReflection {
#region Descriptor
/// <summary>File descriptor for rec_room/persistence/projectile_launcher_data.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ProjectileLauncherDataReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjNyZWNfcm9vbS9wZXJzaXN0ZW5jZS9wcm9qZWN0aWxlX2xhdW5jaGVyX2Rh",
"dGEucHJvdG8SCHJlY19yb29tGjJyZWNfcm9vbS9wZXJzaXN0ZW5jZS9yYW5n",
"ZWRfd2VhcG9uX3Byb3BfZGF0YS5wcm90byLfAwoWUHJvamVjdGlsZUxhdW5j",
"aGVyRGF0YRIYChBwcm9qZWN0aWxlX2luZGV4GAEgASgFEiMKG0RFUFJFQ0FU",
"RURfcHJvamVjdGlsZV9jb2xvchgCIAEoBRIYChBwcm9qZWN0aWxlX2NvdW50",
"GAMgASgFEiMKG0RFUFJFQ0FURURfcHJvamVjdGlsZV9zcGVlZBgEIAEoAhIm",
"Ch5ERVBSRUNBVEVEX3Byb2plY3RpbGVfbGlmZXRpbWUYBSABKAISIwobREVQ",
"UkVDQVRFRF9wcm9qZWN0aWxlX2FuZ2xlGAYgASgFEhoKEkRFUFJFQ0FURURf",
"Z3Jhdml0eRgHIAEoCBIWCg5ERVBSRUNBVEVEX3NmeBgIIAEoCBJEChxERVBS",
"RUNBVEVEX3Byb2plY3RpbGVfZGFtYWdlGAkgASgLMh4ucmVjX3Jvb20uUHJv",
"amVjdGlsZURhbWFnZURhdGESGAoQcHJvamVjdGlsZV9hbmdsZRgKIAEoAhIY",
"ChBwcm9qZWN0aWxlX2ZvcmNlGAsgASgCEh8KF3NlbGZfY29sbGlzaW9uc19l",
"bmFibGVkGAwgASgIEisKI2Rpc2FibGVfbGVnYWN5X2ZpcmVfcmF0ZV90aHJv",
"dHRsaW5nGA0gASgIQhOqAhBSZWNSb29tLlByb3RvYnVmYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.RangedWeaponPropDataReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.ProjectileLauncherData), global::RecRoom.Protobuf.ProjectileLauncherData.Parser, new[]{ "ProjectileIndex", "DEPRECATEDProjectileColor", "ProjectileCount", "DEPRECATEDProjectileSpeed", "DEPRECATEDProjectileLifetime", "DEPRECATEDProjectileAngle", "DEPRECATEDGravity", "DEPRECATEDSfx", "DEPRECATEDProjectileDamage", "ProjectileAngle", "ProjectileForce", "SelfCollisionsEnabled", "DisableLegacyFireRateThrottling" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ProjectileLauncherData : pb::IMessage<ProjectileLauncherData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ProjectileLauncherData> _parser = new pb::MessageParser<ProjectileLauncherData>(() => new ProjectileLauncherData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ProjectileLauncherData> 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.ProjectileLauncherDataReflection.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 ProjectileLauncherData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ProjectileLauncherData(ProjectileLauncherData other) : this() {
projectileIndex_ = other.projectileIndex_;
dEPRECATEDProjectileColor_ = other.dEPRECATEDProjectileColor_;
projectileCount_ = other.projectileCount_;
dEPRECATEDProjectileSpeed_ = other.dEPRECATEDProjectileSpeed_;
dEPRECATEDProjectileLifetime_ = other.dEPRECATEDProjectileLifetime_;
dEPRECATEDProjectileAngle_ = other.dEPRECATEDProjectileAngle_;
dEPRECATEDGravity_ = other.dEPRECATEDGravity_;
dEPRECATEDSfx_ = other.dEPRECATEDSfx_;
dEPRECATEDProjectileDamage_ = other.dEPRECATEDProjectileDamage_ != null ? other.dEPRECATEDProjectileDamage_.Clone() : null;
projectileAngle_ = other.projectileAngle_;
projectileForce_ = other.projectileForce_;
selfCollisionsEnabled_ = other.selfCollisionsEnabled_;
disableLegacyFireRateThrottling_ = other.disableLegacyFireRateThrottling_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ProjectileLauncherData Clone() {
return new ProjectileLauncherData(this);
}
/// <summary>Field number for the "projectile_index" field.</summary>
public const int ProjectileIndexFieldNumber = 1;
private int projectileIndex_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ProjectileIndex {
get { return projectileIndex_; }
set {
projectileIndex_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_projectile_color" field.</summary>
public const int DEPRECATEDProjectileColorFieldNumber = 2;
private int dEPRECATEDProjectileColor_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int DEPRECATEDProjectileColor {
get { return dEPRECATEDProjectileColor_; }
set {
dEPRECATEDProjectileColor_ = value;
}
}
/// <summary>Field number for the "projectile_count" field.</summary>
public const int ProjectileCountFieldNumber = 3;
private int projectileCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ProjectileCount {
get { return projectileCount_; }
set {
projectileCount_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_projectile_speed" field.</summary>
public const int DEPRECATEDProjectileSpeedFieldNumber = 4;
private float dEPRECATEDProjectileSpeed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float DEPRECATEDProjectileSpeed {
get { return dEPRECATEDProjectileSpeed_; }
set {
dEPRECATEDProjectileSpeed_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_projectile_lifetime" field.</summary>
public const int DEPRECATEDProjectileLifetimeFieldNumber = 5;
private float dEPRECATEDProjectileLifetime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float DEPRECATEDProjectileLifetime {
get { return dEPRECATEDProjectileLifetime_; }
set {
dEPRECATEDProjectileLifetime_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_projectile_angle" field.</summary>
public const int DEPRECATEDProjectileAngleFieldNumber = 6;
private int dEPRECATEDProjectileAngle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int DEPRECATEDProjectileAngle {
get { return dEPRECATEDProjectileAngle_; }
set {
dEPRECATEDProjectileAngle_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_gravity" field.</summary>
public const int DEPRECATEDGravityFieldNumber = 7;
private bool dEPRECATEDGravity_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DEPRECATEDGravity {
get { return dEPRECATEDGravity_; }
set {
dEPRECATEDGravity_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_sfx" field.</summary>
public const int DEPRECATEDSfxFieldNumber = 8;
private bool dEPRECATEDSfx_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DEPRECATEDSfx {
get { return dEPRECATEDSfx_; }
set {
dEPRECATEDSfx_ = value;
}
}
/// <summary>Field number for the "DEPRECATED_projectile_damage" field.</summary>
public const int DEPRECATEDProjectileDamageFieldNumber = 9;
private global::RecRoom.Protobuf.ProjectileDamageData dEPRECATEDProjectileDamage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RecRoom.Protobuf.ProjectileDamageData DEPRECATEDProjectileDamage {
get { return dEPRECATEDProjectileDamage_; }
set {
dEPRECATEDProjectileDamage_ = value;
}
}
/// <summary>Field number for the "projectile_angle" field.</summary>
public const int ProjectileAngleFieldNumber = 10;
private float projectileAngle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float ProjectileAngle {
get { return projectileAngle_; }
set {
projectileAngle_ = value;
}
}
/// <summary>Field number for the "projectile_force" field.</summary>
public const int ProjectileForceFieldNumber = 11;
private float projectileForce_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float ProjectileForce {
get { return projectileForce_; }
set {
projectileForce_ = value;
}
}
/// <summary>Field number for the "self_collisions_enabled" field.</summary>
public const int SelfCollisionsEnabledFieldNumber = 12;
private bool selfCollisionsEnabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool SelfCollisionsEnabled {
get { return selfCollisionsEnabled_; }
set {
selfCollisionsEnabled_ = value;
}
}
/// <summary>Field number for the "disable_legacy_fire_rate_throttling" field.</summary>
public const int DisableLegacyFireRateThrottlingFieldNumber = 13;
private bool disableLegacyFireRateThrottling_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool DisableLegacyFireRateThrottling {
get { return disableLegacyFireRateThrottling_; }
set {
disableLegacyFireRateThrottling_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ProjectileLauncherData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ProjectileLauncherData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ProjectileIndex != other.ProjectileIndex) return false;
if (DEPRECATEDProjectileColor != other.DEPRECATEDProjectileColor) return false;
if (ProjectileCount != other.ProjectileCount) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEPRECATEDProjectileSpeed, other.DEPRECATEDProjectileSpeed)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DEPRECATEDProjectileLifetime, other.DEPRECATEDProjectileLifetime)) return false;
if (DEPRECATEDProjectileAngle != other.DEPRECATEDProjectileAngle) return false;
if (DEPRECATEDGravity != other.DEPRECATEDGravity) return false;
if (DEPRECATEDSfx != other.DEPRECATEDSfx) return false;
if (!object.Equals(DEPRECATEDProjectileDamage, other.DEPRECATEDProjectileDamage)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ProjectileAngle, other.ProjectileAngle)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ProjectileForce, other.ProjectileForce)) return false;
if (SelfCollisionsEnabled != other.SelfCollisionsEnabled) return false;
if (DisableLegacyFireRateThrottling != other.DisableLegacyFireRateThrottling) 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 (ProjectileIndex != 0) hash ^= ProjectileIndex.GetHashCode();
if (DEPRECATEDProjectileColor != 0) hash ^= DEPRECATEDProjectileColor.GetHashCode();
if (ProjectileCount != 0) hash ^= ProjectileCount.GetHashCode();
if (DEPRECATEDProjectileSpeed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEPRECATEDProjectileSpeed);
if (DEPRECATEDProjectileLifetime != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DEPRECATEDProjectileLifetime);
if (DEPRECATEDProjectileAngle != 0) hash ^= DEPRECATEDProjectileAngle.GetHashCode();
if (DEPRECATEDGravity != false) hash ^= DEPRECATEDGravity.GetHashCode();
if (DEPRECATEDSfx != false) hash ^= DEPRECATEDSfx.GetHashCode();
if (dEPRECATEDProjectileDamage_ != null) hash ^= DEPRECATEDProjectileDamage.GetHashCode();
if (ProjectileAngle != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProjectileAngle);
if (ProjectileForce != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ProjectileForce);
if (SelfCollisionsEnabled != false) hash ^= SelfCollisionsEnabled.GetHashCode();
if (DisableLegacyFireRateThrottling != false) hash ^= DisableLegacyFireRateThrottling.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 (ProjectileIndex != 0) {
output.WriteRawTag(8);
output.WriteInt32(ProjectileIndex);
}
if (DEPRECATEDProjectileColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(DEPRECATEDProjectileColor);
}
if (ProjectileCount != 0) {
output.WriteRawTag(24);
output.WriteInt32(ProjectileCount);
}
if (DEPRECATEDProjectileSpeed != 0F) {
output.WriteRawTag(37);
output.WriteFloat(DEPRECATEDProjectileSpeed);
}
if (DEPRECATEDProjectileLifetime != 0F) {
output.WriteRawTag(45);
output.WriteFloat(DEPRECATEDProjectileLifetime);
}
if (DEPRECATEDProjectileAngle != 0) {
output.WriteRawTag(48);
output.WriteInt32(DEPRECATEDProjectileAngle);
}
if (DEPRECATEDGravity != false) {
output.WriteRawTag(56);
output.WriteBool(DEPRECATEDGravity);
}
if (DEPRECATEDSfx != false) {
output.WriteRawTag(64);
output.WriteBool(DEPRECATEDSfx);
}
if (dEPRECATEDProjectileDamage_ != null) {
output.WriteRawTag(74);
output.WriteMessage(DEPRECATEDProjectileDamage);
}
if (ProjectileAngle != 0F) {
output.WriteRawTag(85);
output.WriteFloat(ProjectileAngle);
}
if (ProjectileForce != 0F) {
output.WriteRawTag(93);
output.WriteFloat(ProjectileForce);
}
if (SelfCollisionsEnabled != false) {
output.WriteRawTag(96);
output.WriteBool(SelfCollisionsEnabled);
}
if (DisableLegacyFireRateThrottling != false) {
output.WriteRawTag(104);
output.WriteBool(DisableLegacyFireRateThrottling);
}
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 (ProjectileIndex != 0) {
output.WriteRawTag(8);
output.WriteInt32(ProjectileIndex);
}
if (DEPRECATEDProjectileColor != 0) {
output.WriteRawTag(16);
output.WriteInt32(DEPRECATEDProjectileColor);
}
if (ProjectileCount != 0) {
output.WriteRawTag(24);
output.WriteInt32(ProjectileCount);
}
if (DEPRECATEDProjectileSpeed != 0F) {
output.WriteRawTag(37);
output.WriteFloat(DEPRECATEDProjectileSpeed);
}
if (DEPRECATEDProjectileLifetime != 0F) {
output.WriteRawTag(45);
output.WriteFloat(DEPRECATEDProjectileLifetime);
}
if (DEPRECATEDProjectileAngle != 0) {
output.WriteRawTag(48);
output.WriteInt32(DEPRECATEDProjectileAngle);
}
if (DEPRECATEDGravity != false) {
output.WriteRawTag(56);
output.WriteBool(DEPRECATEDGravity);
}
if (DEPRECATEDSfx != false) {
output.WriteRawTag(64);
output.WriteBool(DEPRECATEDSfx);
}
if (dEPRECATEDProjectileDamage_ != null) {
output.WriteRawTag(74);
output.WriteMessage(DEPRECATEDProjectileDamage);
}
if (ProjectileAngle != 0F) {
output.WriteRawTag(85);
output.WriteFloat(ProjectileAngle);
}
if (ProjectileForce != 0F) {
output.WriteRawTag(93);
output.WriteFloat(ProjectileForce);
}
if (SelfCollisionsEnabled != false) {
output.WriteRawTag(96);
output.WriteBool(SelfCollisionsEnabled);
}
if (DisableLegacyFireRateThrottling != false) {
output.WriteRawTag(104);
output.WriteBool(DisableLegacyFireRateThrottling);
}
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 (ProjectileIndex != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileIndex);
}
if (DEPRECATEDProjectileColor != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDProjectileColor);
}
if (ProjectileCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProjectileCount);
}
if (DEPRECATEDProjectileSpeed != 0F) {
size += 1 + 4;
}
if (DEPRECATEDProjectileLifetime != 0F) {
size += 1 + 4;
}
if (DEPRECATEDProjectileAngle != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DEPRECATEDProjectileAngle);
}
if (DEPRECATEDGravity != false) {
size += 1 + 1;
}
if (DEPRECATEDSfx != false) {
size += 1 + 1;
}
if (dEPRECATEDProjectileDamage_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DEPRECATEDProjectileDamage);
}
if (ProjectileAngle != 0F) {
size += 1 + 4;
}
if (ProjectileForce != 0F) {
size += 1 + 4;
}
if (SelfCollisionsEnabled != false) {
size += 1 + 1;
}
if (DisableLegacyFireRateThrottling != 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(ProjectileLauncherData other) {
if (other == null) {
return;
}
if (other.ProjectileIndex != 0) {
ProjectileIndex = other.ProjectileIndex;
}
if (other.DEPRECATEDProjectileColor != 0) {
DEPRECATEDProjectileColor = other.DEPRECATEDProjectileColor;
}
if (other.ProjectileCount != 0) {
ProjectileCount = other.ProjectileCount;
}
if (other.DEPRECATEDProjectileSpeed != 0F) {
DEPRECATEDProjectileSpeed = other.DEPRECATEDProjectileSpeed;
}
if (other.DEPRECATEDProjectileLifetime != 0F) {
DEPRECATEDProjectileLifetime = other.DEPRECATEDProjectileLifetime;
}
if (other.DEPRECATEDProjectileAngle != 0) {
DEPRECATEDProjectileAngle = other.DEPRECATEDProjectileAngle;
}
if (other.DEPRECATEDGravity != false) {
DEPRECATEDGravity = other.DEPRECATEDGravity;
}
if (other.DEPRECATEDSfx != false) {
DEPRECATEDSfx = other.DEPRECATEDSfx;
}
if (other.dEPRECATEDProjectileDamage_ != null) {
if (dEPRECATEDProjectileDamage_ == null) {
DEPRECATEDProjectileDamage = new global::RecRoom.Protobuf.ProjectileDamageData();
}
DEPRECATEDProjectileDamage.MergeFrom(other.DEPRECATEDProjectileDamage);
}
if (other.ProjectileAngle != 0F) {
ProjectileAngle = other.ProjectileAngle;
}
if (other.ProjectileForce != 0F) {
ProjectileForce = other.ProjectileForce;
}
if (other.SelfCollisionsEnabled != false) {
SelfCollisionsEnabled = other.SelfCollisionsEnabled;
}
if (other.DisableLegacyFireRateThrottling != false) {
DisableLegacyFireRateThrottling = other.DisableLegacyFireRateThrottling;
}
_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: {
ProjectileIndex = input.ReadInt32();
break;
}
case 16: {
DEPRECATEDProjectileColor = input.ReadInt32();
break;
}
case 24: {
ProjectileCount = input.ReadInt32();
break;
}
case 37: {
DEPRECATEDProjectileSpeed = input.ReadFloat();
break;
}
case 45: {
DEPRECATEDProjectileLifetime = input.ReadFloat();
break;
}
case 48: {
DEPRECATEDProjectileAngle = input.ReadInt32();
break;
}
case 56: {
DEPRECATEDGravity = input.ReadBool();
break;
}
case 64: {
DEPRECATEDSfx = input.ReadBool();
break;
}
case 74: {
if (dEPRECATEDProjectileDamage_ == null) {
DEPRECATEDProjectileDamage = new global::RecRoom.Protobuf.ProjectileDamageData();
}
input.ReadMessage(DEPRECATEDProjectileDamage);
break;
}
case 85: {
ProjectileAngle = input.ReadFloat();
break;
}
case 93: {
ProjectileForce = input.ReadFloat();
break;
}
case 96: {
SelfCollisionsEnabled = input.ReadBool();
break;
}
case 104: {
DisableLegacyFireRateThrottling = 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: {
ProjectileIndex = input.ReadInt32();
break;
}
case 16: {
DEPRECATEDProjectileColor = input.ReadInt32();
break;
}
case 24: {
ProjectileCount = input.ReadInt32();
break;
}
case 37: {
DEPRECATEDProjectileSpeed = input.ReadFloat();
break;
}
case 45: {
DEPRECATEDProjectileLifetime = input.ReadFloat();
break;
}
case 48: {
DEPRECATEDProjectileAngle = input.ReadInt32();
break;
}
case 56: {
DEPRECATEDGravity = input.ReadBool();
break;
}
case 64: {
DEPRECATEDSfx = input.ReadBool();
break;
}
case 74: {
if (dEPRECATEDProjectileDamage_ == null) {
DEPRECATEDProjectileDamage = new global::RecRoom.Protobuf.ProjectileDamageData();
}
input.ReadMessage(DEPRECATEDProjectileDamage);
break;
}
case 85: {
ProjectileAngle = input.ReadFloat();
break;
}
case 93: {
ProjectileForce = input.ReadFloat();
break;
}
case 96: {
SelfCollisionsEnabled = input.ReadBool();
break;
}
case 104: {
DisableLegacyFireRateThrottling = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code