| | | 1 | | // <auto-generated> |
| | | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | | 3 | | // source: Configs/simulator_config.proto |
| | | 4 | | // </auto-generated> |
| | | 5 | | #pragma warning disable 1591, 0612, 3021, 8981 |
| | | 6 | | #region Designer generated code |
| | | 7 | | |
| | | 8 | | using pb = global::Google.Protobuf; |
| | | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | | 11 | | using scg = global::System.Collections.Generic; |
| | | 12 | | namespace Configs { |
| | | 13 | | |
| | | 14 | | /// <summary>Holder for reflection information generated from Configs/simulator_config.proto</summary> |
| | | 15 | | public static partial class SimulatorConfigReflection { |
| | | 16 | | |
| | | 17 | | #region Descriptor |
| | | 18 | | /// <summary>File descriptor for Configs/simulator_config.proto</summary> |
| | | 19 | | public static pbr::FileDescriptor Descriptor { |
| | | 20 | | get { return descriptor; } |
| | | 21 | | } |
| | | 22 | | private static pbr::FileDescriptor descriptor; |
| | | 23 | | |
| | | 24 | | static SimulatorConfigReflection() { |
| | | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | | 26 | | string.Concat( |
| | | 27 | | "Ch5Db25maWdzL3NpbXVsYXRvcl9jb25maWcucHJvdG8SB2NvbmZpZ3Mi1gEK", |
| | | 28 | | "D1NpbXVsYXRvckNvbmZpZxIgChhlbmFibGVfdGVsZW1ldHJ5X2xvZ2dpbmcY", |
| | | 29 | | "ASABKAgSHAoUZW5hYmxlX2V2ZW50X2xvZ2dpbmcYAiABKAgSIwobZW5hYmxl", |
| | | 30 | | "X21pc3NpbGVfdHJhaWxfZWZmZWN0GAMgASgIEh8KF2VuYWJsZV9leHBsb3Np", |
| | | 31 | | "b25fZWZmZWN0GAQgASgIEhsKE3BoeXNpY3NfdXBkYXRlX3JhdGUYBSABKAIS", |
| | | 32 | | "IAoYcGVyc2lzdGVudF9mbGlnaHRfdHJhaWxzGAYgASgIYgZwcm90bzM=")); |
| | | 33 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | | 34 | | new pbr::FileDescriptor[] { }, |
| | | 35 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | | 36 | | new pbr::GeneratedClrTypeInfo(typeof(global::Configs.SimulatorConfig), global::Configs.SimulatorConfig.Parse |
| | | 37 | | })); |
| | | 38 | | } |
| | | 39 | | #endregion |
| | | 40 | | |
| | | 41 | | } |
| | | 42 | | #region Messages |
| | | 43 | | /// <summary> |
| | | 44 | | /// Simulator configuration. |
| | | 45 | | /// </summary> |
| | | 46 | | [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] |
| | | 47 | | public sealed partial class SimulatorConfig : pb::IMessage<SimulatorConfig> |
| | | 48 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 49 | | , pb::IBufferMessage |
| | | 50 | | #endif |
| | | 51 | | { |
| | 0 | 52 | | private static readonly pb::MessageParser<SimulatorConfig> _parser = new pb::MessageParser<SimulatorConfig>(() => ne |
| | | 53 | | private pb::UnknownFieldSet _unknownFields; |
| | | 54 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 55 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 56 | | public static pb::MessageParser<SimulatorConfig> Parser { get { return _parser; } } |
| | | 57 | | |
| | | 58 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 59 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 60 | | public static pbr::MessageDescriptor Descriptor { |
| | 0 | 61 | | get { return global::Configs.SimulatorConfigReflection.Descriptor.MessageTypes[0]; } |
| | | 62 | | } |
| | | 63 | | |
| | | 64 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 65 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 66 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 0 | 67 | | get { return Descriptor; } |
| | | 68 | | } |
| | | 69 | | |
| | | 70 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 71 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 72 | | public SimulatorConfig() { |
| | | 73 | | OnConstruction(); |
| | 0 | 74 | | } |
| | | 75 | | |
| | | 76 | | partial void OnConstruction(); |
| | | 77 | | |
| | | 78 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 79 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 80 | | public SimulatorConfig(SimulatorConfig other) : this() { |
| | 0 | 81 | | enableTelemetryLogging_ = other.enableTelemetryLogging_; |
| | 0 | 82 | | enableEventLogging_ = other.enableEventLogging_; |
| | 0 | 83 | | enableMissileTrailEffect_ = other.enableMissileTrailEffect_; |
| | 0 | 84 | | enableExplosionEffect_ = other.enableExplosionEffect_; |
| | 0 | 85 | | physicsUpdateRate_ = other.physicsUpdateRate_; |
| | 0 | 86 | | persistentFlightTrails_ = other.persistentFlightTrails_; |
| | 0 | 87 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 0 | 88 | | } |
| | | 89 | | |
| | | 90 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 91 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 92 | | public SimulatorConfig Clone() { |
| | 0 | 93 | | return new SimulatorConfig(this); |
| | 0 | 94 | | } |
| | | 95 | | |
| | | 96 | | /// <summary>Field number for the "enable_telemetry_logging" field.</summary> |
| | | 97 | | public const int EnableTelemetryLoggingFieldNumber = 1; |
| | | 98 | | private bool enableTelemetryLogging_; |
| | | 99 | | /// <summary> |
| | | 100 | | /// Enable telemetry logging. |
| | | 101 | | /// </summary> |
| | | 102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 103 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 104 | | public bool EnableTelemetryLogging { |
| | 0 | 105 | | get { return enableTelemetryLogging_; } |
| | 0 | 106 | | set { |
| | 0 | 107 | | enableTelemetryLogging_ = value; |
| | 0 | 108 | | } |
| | | 109 | | } |
| | | 110 | | |
| | | 111 | | /// <summary>Field number for the "enable_event_logging" field.</summary> |
| | | 112 | | public const int EnableEventLoggingFieldNumber = 2; |
| | | 113 | | private bool enableEventLogging_; |
| | | 114 | | /// <summary> |
| | | 115 | | /// Enable event logging. |
| | | 116 | | /// </summary> |
| | | 117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 119 | | public bool EnableEventLogging { |
| | 0 | 120 | | get { return enableEventLogging_; } |
| | 0 | 121 | | set { |
| | 0 | 122 | | enableEventLogging_ = value; |
| | 0 | 123 | | } |
| | | 124 | | } |
| | | 125 | | |
| | | 126 | | /// <summary>Field number for the "enable_missile_trail_effect" field.</summary> |
| | | 127 | | public const int EnableMissileTrailEffectFieldNumber = 3; |
| | | 128 | | private bool enableMissileTrailEffect_; |
| | | 129 | | /// <summary> |
| | | 130 | | /// Enable missile trail effect. |
| | | 131 | | /// </summary> |
| | | 132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 134 | | public bool EnableMissileTrailEffect { |
| | 0 | 135 | | get { return enableMissileTrailEffect_; } |
| | 0 | 136 | | set { |
| | 0 | 137 | | enableMissileTrailEffect_ = value; |
| | 0 | 138 | | } |
| | | 139 | | } |
| | | 140 | | |
| | | 141 | | /// <summary>Field number for the "enable_explosion_effect" field.</summary> |
| | | 142 | | public const int EnableExplosionEffectFieldNumber = 4; |
| | | 143 | | private bool enableExplosionEffect_; |
| | | 144 | | /// <summary> |
| | | 145 | | /// Enable explosion effect. |
| | | 146 | | /// </summary> |
| | | 147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 149 | | public bool EnableExplosionEffect { |
| | 0 | 150 | | get { return enableExplosionEffect_; } |
| | 0 | 151 | | set { |
| | 0 | 152 | | enableExplosionEffect_ = value; |
| | 0 | 153 | | } |
| | | 154 | | } |
| | | 155 | | |
| | | 156 | | /// <summary>Field number for the "physics_update_rate" field.</summary> |
| | | 157 | | public const int PhysicsUpdateRateFieldNumber = 5; |
| | | 158 | | private float physicsUpdateRate_; |
| | | 159 | | /// <summary> |
| | | 160 | | /// Physics update rate in Hz. |
| | | 161 | | /// </summary> |
| | | 162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 164 | | public float PhysicsUpdateRate { |
| | 0 | 165 | | get { return physicsUpdateRate_; } |
| | 0 | 166 | | set { |
| | 0 | 167 | | physicsUpdateRate_ = value; |
| | 0 | 168 | | } |
| | | 169 | | } |
| | | 170 | | |
| | | 171 | | /// <summary>Field number for the "persistent_flight_trails" field.</summary> |
| | | 172 | | public const int PersistentFlightTrailsFieldNumber = 6; |
| | | 173 | | private bool persistentFlightTrails_; |
| | | 174 | | /// <summary> |
| | | 175 | | /// Persistent flight trails. |
| | | 176 | | /// </summary> |
| | | 177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 179 | | public bool PersistentFlightTrails { |
| | 0 | 180 | | get { return persistentFlightTrails_; } |
| | 0 | 181 | | set { |
| | 0 | 182 | | persistentFlightTrails_ = value; |
| | 0 | 183 | | } |
| | | 184 | | } |
| | | 185 | | |
| | | 186 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 187 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 188 | | public override bool Equals(object other) { |
| | 0 | 189 | | return Equals(other as SimulatorConfig); |
| | 0 | 190 | | } |
| | | 191 | | |
| | | 192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 194 | | public bool Equals(SimulatorConfig other) { |
| | 0 | 195 | | if (ReferenceEquals(other, null)) { |
| | 0 | 196 | | return false; |
| | | 197 | | } |
| | 0 | 198 | | if (ReferenceEquals(other, this)) { |
| | 0 | 199 | | return true; |
| | | 200 | | } |
| | 0 | 201 | | if (EnableTelemetryLogging != other.EnableTelemetryLogging) return false; |
| | 0 | 202 | | if (EnableEventLogging != other.EnableEventLogging) return false; |
| | 0 | 203 | | if (EnableMissileTrailEffect != other.EnableMissileTrailEffect) return false; |
| | 0 | 204 | | if (EnableExplosionEffect != other.EnableExplosionEffect) return false; |
| | 0 | 205 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PhysicsUpdateRate, other.PhysicsUpdateRat |
| | 0 | 206 | | if (PersistentFlightTrails != other.PersistentFlightTrails) return false; |
| | 0 | 207 | | return Equals(_unknownFields, other._unknownFields); |
| | 0 | 208 | | } |
| | | 209 | | |
| | | 210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 212 | | public override int GetHashCode() { |
| | 0 | 213 | | int hash = 1; |
| | 0 | 214 | | if (EnableTelemetryLogging != false) hash ^= EnableTelemetryLogging.GetHashCode(); |
| | 0 | 215 | | if (EnableEventLogging != false) hash ^= EnableEventLogging.GetHashCode(); |
| | 0 | 216 | | if (EnableMissileTrailEffect != false) hash ^= EnableMissileTrailEffect.GetHashCode(); |
| | 0 | 217 | | if (EnableExplosionEffect != false) hash ^= EnableExplosionEffect.GetHashCode(); |
| | 0 | 218 | | if (PhysicsUpdateRate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Phys |
| | 0 | 219 | | if (PersistentFlightTrails != false) hash ^= PersistentFlightTrails.GetHashCode(); |
| | 0 | 220 | | if (_unknownFields != null) { |
| | 0 | 221 | | hash ^= _unknownFields.GetHashCode(); |
| | 0 | 222 | | } |
| | 0 | 223 | | return hash; |
| | 0 | 224 | | } |
| | | 225 | | |
| | | 226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 228 | | public override string ToString() { |
| | 0 | 229 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 0 | 230 | | } |
| | | 231 | | |
| | | 232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 234 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 235 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 0 | 236 | | output.WriteRawMessage(this); |
| | | 237 | | #else |
| | | 238 | | if (EnableTelemetryLogging != false) { |
| | | 239 | | output.WriteRawTag(8); |
| | | 240 | | output.WriteBool(EnableTelemetryLogging); |
| | | 241 | | } |
| | | 242 | | if (EnableEventLogging != false) { |
| | | 243 | | output.WriteRawTag(16); |
| | | 244 | | output.WriteBool(EnableEventLogging); |
| | | 245 | | } |
| | | 246 | | if (EnableMissileTrailEffect != false) { |
| | | 247 | | output.WriteRawTag(24); |
| | | 248 | | output.WriteBool(EnableMissileTrailEffect); |
| | | 249 | | } |
| | | 250 | | if (EnableExplosionEffect != false) { |
| | | 251 | | output.WriteRawTag(32); |
| | | 252 | | output.WriteBool(EnableExplosionEffect); |
| | | 253 | | } |
| | | 254 | | if (PhysicsUpdateRate != 0F) { |
| | | 255 | | output.WriteRawTag(45); |
| | | 256 | | output.WriteFloat(PhysicsUpdateRate); |
| | | 257 | | } |
| | | 258 | | if (PersistentFlightTrails != false) { |
| | | 259 | | output.WriteRawTag(48); |
| | | 260 | | output.WriteBool(PersistentFlightTrails); |
| | | 261 | | } |
| | | 262 | | if (_unknownFields != null) { |
| | | 263 | | _unknownFields.WriteTo(output); |
| | | 264 | | } |
| | | 265 | | #endif |
| | 0 | 266 | | } |
| | | 267 | | |
| | | 268 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 271 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 0 | 272 | | if (EnableTelemetryLogging != false) { |
| | 0 | 273 | | output.WriteRawTag(8); |
| | 0 | 274 | | output.WriteBool(EnableTelemetryLogging); |
| | 0 | 275 | | } |
| | 0 | 276 | | if (EnableEventLogging != false) { |
| | 0 | 277 | | output.WriteRawTag(16); |
| | 0 | 278 | | output.WriteBool(EnableEventLogging); |
| | 0 | 279 | | } |
| | 0 | 280 | | if (EnableMissileTrailEffect != false) { |
| | 0 | 281 | | output.WriteRawTag(24); |
| | 0 | 282 | | output.WriteBool(EnableMissileTrailEffect); |
| | 0 | 283 | | } |
| | 0 | 284 | | if (EnableExplosionEffect != false) { |
| | 0 | 285 | | output.WriteRawTag(32); |
| | 0 | 286 | | output.WriteBool(EnableExplosionEffect); |
| | 0 | 287 | | } |
| | 0 | 288 | | if (PhysicsUpdateRate != 0F) { |
| | 0 | 289 | | output.WriteRawTag(45); |
| | 0 | 290 | | output.WriteFloat(PhysicsUpdateRate); |
| | 0 | 291 | | } |
| | 0 | 292 | | if (PersistentFlightTrails != false) { |
| | 0 | 293 | | output.WriteRawTag(48); |
| | 0 | 294 | | output.WriteBool(PersistentFlightTrails); |
| | 0 | 295 | | } |
| | 0 | 296 | | if (_unknownFields != null) { |
| | 0 | 297 | | _unknownFields.WriteTo(ref output); |
| | 0 | 298 | | } |
| | 0 | 299 | | } |
| | | 300 | | #endif |
| | | 301 | | |
| | | 302 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 303 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 304 | | public int CalculateSize() { |
| | 0 | 305 | | int size = 0; |
| | 0 | 306 | | if (EnableTelemetryLogging != false) { |
| | 0 | 307 | | size += 1 + 1; |
| | 0 | 308 | | } |
| | 0 | 309 | | if (EnableEventLogging != false) { |
| | 0 | 310 | | size += 1 + 1; |
| | 0 | 311 | | } |
| | 0 | 312 | | if (EnableMissileTrailEffect != false) { |
| | 0 | 313 | | size += 1 + 1; |
| | 0 | 314 | | } |
| | 0 | 315 | | if (EnableExplosionEffect != false) { |
| | 0 | 316 | | size += 1 + 1; |
| | 0 | 317 | | } |
| | 0 | 318 | | if (PhysicsUpdateRate != 0F) { |
| | 0 | 319 | | size += 1 + 4; |
| | 0 | 320 | | } |
| | 0 | 321 | | if (PersistentFlightTrails != false) { |
| | 0 | 322 | | size += 1 + 1; |
| | 0 | 323 | | } |
| | 0 | 324 | | if (_unknownFields != null) { |
| | 0 | 325 | | size += _unknownFields.CalculateSize(); |
| | 0 | 326 | | } |
| | 0 | 327 | | return size; |
| | 0 | 328 | | } |
| | | 329 | | |
| | | 330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 332 | | public void MergeFrom(SimulatorConfig other) { |
| | 0 | 333 | | if (other == null) { |
| | 0 | 334 | | return; |
| | | 335 | | } |
| | 0 | 336 | | if (other.EnableTelemetryLogging != false) { |
| | 0 | 337 | | EnableTelemetryLogging = other.EnableTelemetryLogging; |
| | 0 | 338 | | } |
| | 0 | 339 | | if (other.EnableEventLogging != false) { |
| | 0 | 340 | | EnableEventLogging = other.EnableEventLogging; |
| | 0 | 341 | | } |
| | 0 | 342 | | if (other.EnableMissileTrailEffect != false) { |
| | 0 | 343 | | EnableMissileTrailEffect = other.EnableMissileTrailEffect; |
| | 0 | 344 | | } |
| | 0 | 345 | | if (other.EnableExplosionEffect != false) { |
| | 0 | 346 | | EnableExplosionEffect = other.EnableExplosionEffect; |
| | 0 | 347 | | } |
| | 0 | 348 | | if (other.PhysicsUpdateRate != 0F) { |
| | 0 | 349 | | PhysicsUpdateRate = other.PhysicsUpdateRate; |
| | 0 | 350 | | } |
| | 0 | 351 | | if (other.PersistentFlightTrails != false) { |
| | 0 | 352 | | PersistentFlightTrails = other.PersistentFlightTrails; |
| | 0 | 353 | | } |
| | 0 | 354 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 0 | 355 | | } |
| | | 356 | | |
| | | 357 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 358 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 359 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 360 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 0 | 361 | | input.ReadRawMessage(this); |
| | | 362 | | #else |
| | | 363 | | uint tag; |
| | | 364 | | while ((tag = input.ReadTag()) != 0) { |
| | | 365 | | if ((tag & 7) == 4) { |
| | | 366 | | // Abort on any end group tag. |
| | | 367 | | return; |
| | | 368 | | } |
| | | 369 | | switch(tag) { |
| | | 370 | | default: |
| | | 371 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 372 | | break; |
| | | 373 | | case 8: { |
| | | 374 | | EnableTelemetryLogging = input.ReadBool(); |
| | | 375 | | break; |
| | | 376 | | } |
| | | 377 | | case 16: { |
| | | 378 | | EnableEventLogging = input.ReadBool(); |
| | | 379 | | break; |
| | | 380 | | } |
| | | 381 | | case 24: { |
| | | 382 | | EnableMissileTrailEffect = input.ReadBool(); |
| | | 383 | | break; |
| | | 384 | | } |
| | | 385 | | case 32: { |
| | | 386 | | EnableExplosionEffect = input.ReadBool(); |
| | | 387 | | break; |
| | | 388 | | } |
| | | 389 | | case 45: { |
| | | 390 | | PhysicsUpdateRate = input.ReadFloat(); |
| | | 391 | | break; |
| | | 392 | | } |
| | | 393 | | case 48: { |
| | | 394 | | PersistentFlightTrails = input.ReadBool(); |
| | | 395 | | break; |
| | | 396 | | } |
| | | 397 | | } |
| | | 398 | | } |
| | | 399 | | #endif |
| | 0 | 400 | | } |
| | | 401 | | |
| | | 402 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 405 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 406 | | uint tag; |
| | 0 | 407 | | while ((tag = input.ReadTag()) != 0) { |
| | 0 | 408 | | if ((tag & 7) == 4) { |
| | | 409 | | // Abort on any end group tag. |
| | 0 | 410 | | return; |
| | | 411 | | } |
| | 0 | 412 | | switch(tag) { |
| | | 413 | | default: |
| | 0 | 414 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 0 | 415 | | break; |
| | 0 | 416 | | case 8: { |
| | 0 | 417 | | EnableTelemetryLogging = input.ReadBool(); |
| | 0 | 418 | | break; |
| | | 419 | | } |
| | 0 | 420 | | case 16: { |
| | 0 | 421 | | EnableEventLogging = input.ReadBool(); |
| | 0 | 422 | | break; |
| | | 423 | | } |
| | 0 | 424 | | case 24: { |
| | 0 | 425 | | EnableMissileTrailEffect = input.ReadBool(); |
| | 0 | 426 | | break; |
| | | 427 | | } |
| | 0 | 428 | | case 32: { |
| | 0 | 429 | | EnableExplosionEffect = input.ReadBool(); |
| | 0 | 430 | | break; |
| | | 431 | | } |
| | 0 | 432 | | case 45: { |
| | 0 | 433 | | PhysicsUpdateRate = input.ReadFloat(); |
| | 0 | 434 | | break; |
| | | 435 | | } |
| | 0 | 436 | | case 48: { |
| | 0 | 437 | | PersistentFlightTrails = input.ReadBool(); |
| | 0 | 438 | | break; |
| | | 439 | | } |
| | | 440 | | } |
| | 0 | 441 | | } |
| | 0 | 442 | | } |
| | | 443 | | #endif |
| | | 444 | | |
| | | 445 | | } |
| | | 446 | | |
| | | 447 | | #endregion |
| | | 448 | | |
| | | 449 | | } |
| | | 450 | | |
| | | 451 | | #endregion Designer generated code |