| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/sdk/components/video_player.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 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 DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/sdk/components/video_player.proto</summary> |
| | 15 | | public static partial class VideoPlayerReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/sdk/components/video_player.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static VideoPlayerReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Ci5kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdmlkZW9fcGxheWVyLnBy", |
| | 28 | | "b3RvEhtkZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMizAEKDVBCVmlkZW9Q", |
| | 29 | | "bGF5ZXISCwoDc3JjGAEgASgJEhQKB3BsYXlpbmcYAiABKAhIAIgBARIVCghw", |
| | 30 | | "b3NpdGlvbhgDIAEoAkgBiAEBEhMKBnZvbHVtZRgEIAEoAkgCiAEBEhoKDXBs", |
| | 31 | | "YXliYWNrX3JhdGUYBSABKAJIA4gBARIRCgRsb29wGAYgASgISASIAQFCCgoI", |
| | 32 | | "X3BsYXlpbmdCCwoJX3Bvc2l0aW9uQgkKB192b2x1bWVCEAoOX3BsYXliYWNr", |
| | 33 | | "X3JhdGVCBwoFX2xvb3BCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| | 34 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 35 | | new pbr::FileDescriptor[] { }, |
| | 36 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 37 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBVideoPlayer), global::DCL.ECSComponents.PBV |
| | 38 | | })); |
| | 39 | | } |
| | 40 | | #endregion |
| | 41 | |
|
| | 42 | | } |
| | 43 | | #region Messages |
| | 44 | | public sealed partial class PBVideoPlayer : pb::IMessage<PBVideoPlayer> |
| | 45 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 46 | | , pb::IBufferMessage |
| | 47 | | #endif |
| | 48 | | { |
| 1 | 49 | | private static readonly pb::MessageParser<PBVideoPlayer> _parser = new pb::MessageParser<PBVideoPlayer>(() => new PB |
| | 50 | | private pb::UnknownFieldSet _unknownFields; |
| | 51 | | private int _hasBits0; |
| | 52 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 53 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 54 | | public static pb::MessageParser<PBVideoPlayer> Parser { get { return _parser; } } |
| | 55 | |
|
| | 56 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 57 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 58 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 59 | | get { return global::DCL.ECSComponents.VideoPlayerReflection.Descriptor.MessageTypes[0]; } |
| | 60 | | } |
| | 61 | |
|
| | 62 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 63 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 64 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 65 | | get { return Descriptor; } |
| | 66 | | } |
| | 67 | |
|
| | 68 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 69 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 8 | 70 | | public PBVideoPlayer() { |
| | 71 | | OnConstruction(); |
| 8 | 72 | | } |
| | 73 | |
|
| | 74 | | partial void OnConstruction(); |
| | 75 | |
|
| | 76 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 77 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 78 | | public PBVideoPlayer(PBVideoPlayer other) : this() { |
| 0 | 79 | | _hasBits0 = other._hasBits0; |
| 0 | 80 | | src_ = other.src_; |
| 0 | 81 | | playing_ = other.playing_; |
| 0 | 82 | | position_ = other.position_; |
| 0 | 83 | | volume_ = other.volume_; |
| 0 | 84 | | playbackRate_ = other.playbackRate_; |
| 0 | 85 | | loop_ = other.loop_; |
| 0 | 86 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 87 | | } |
| | 88 | |
|
| | 89 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 90 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 91 | | public PBVideoPlayer Clone() { |
| 0 | 92 | | return new PBVideoPlayer(this); |
| | 93 | | } |
| | 94 | |
|
| | 95 | | /// <summary>Field number for the "src" field.</summary> |
| | 96 | | public const int SrcFieldNumber = 1; |
| 8 | 97 | | private string src_ = ""; |
| | 98 | | /// <summary> |
| | 99 | | /// which file to load |
| | 100 | | /// </summary> |
| | 101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 102 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 103 | | public string Src { |
| 26 | 104 | | get { return src_; } |
| | 105 | | set { |
| 8 | 106 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 8 | 107 | | } |
| | 108 | | } |
| | 109 | |
|
| | 110 | | /// <summary>Field number for the "playing" field.</summary> |
| | 111 | | public const int PlayingFieldNumber = 2; |
| | 112 | | private bool playing_; |
| | 113 | | /// <summary> |
| | 114 | | /// default true |
| | 115 | | /// </summary> |
| | 116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 118 | | public bool Playing { |
| 14 | 119 | | get { if ((_hasBits0 & 1) != 0) { return playing_; } else { return false; } } |
| | 120 | | set { |
| 5 | 121 | | _hasBits0 |= 1; |
| 5 | 122 | | playing_ = value; |
| 5 | 123 | | } |
| | 124 | | } |
| | 125 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 128 | | public bool HasPlaying { |
| 10 | 129 | | get { return (_hasBits0 & 1) != 0; } |
| | 130 | | } |
| | 131 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 134 | | public void ClearPlaying() { |
| 0 | 135 | | _hasBits0 &= ~1; |
| 0 | 136 | | } |
| | 137 | |
|
| | 138 | | /// <summary>Field number for the "position" field.</summary> |
| | 139 | | public const int PositionFieldNumber = 3; |
| | 140 | | private float position_; |
| | 141 | | /// <summary> |
| | 142 | | /// default 0.0 |
| | 143 | | /// </summary> |
| | 144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 146 | | public float Position { |
| 0 | 147 | | get { if ((_hasBits0 & 2) != 0) { return position_; } else { return 0F; } } |
| | 148 | | set { |
| 0 | 149 | | _hasBits0 |= 2; |
| 0 | 150 | | position_ = value; |
| 0 | 151 | | } |
| | 152 | | } |
| | 153 | | /// <summary>Gets whether the "position" field is set</summary> |
| | 154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 156 | | public bool HasPosition { |
| 9 | 157 | | get { return (_hasBits0 & 2) != 0; } |
| | 158 | | } |
| | 159 | | /// <summary>Clears the value of the "position" field</summary> |
| | 160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 162 | | public void ClearPosition() { |
| 0 | 163 | | _hasBits0 &= ~2; |
| 0 | 164 | | } |
| | 165 | |
|
| | 166 | | /// <summary>Field number for the "volume" field.</summary> |
| | 167 | | public const int VolumeFieldNumber = 4; |
| | 168 | | private float volume_; |
| | 169 | | /// <summary> |
| | 170 | | /// default 1.0 |
| | 171 | | /// </summary> |
| | 172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 174 | | public float Volume { |
| 4 | 175 | | get { if ((_hasBits0 & 4) != 0) { return volume_; } else { return 0F; } } |
| | 176 | | set { |
| 2 | 177 | | _hasBits0 |= 4; |
| 2 | 178 | | volume_ = value; |
| 2 | 179 | | } |
| | 180 | | } |
| | 181 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 184 | | public bool HasVolume { |
| 11 | 185 | | get { return (_hasBits0 & 4) != 0; } |
| | 186 | | } |
| | 187 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 190 | | public void ClearVolume() { |
| 0 | 191 | | _hasBits0 &= ~4; |
| 0 | 192 | | } |
| | 193 | |
|
| | 194 | | /// <summary>Field number for the "playback_rate" field.</summary> |
| | 195 | | public const int PlaybackRateFieldNumber = 5; |
| | 196 | | private float playbackRate_; |
| | 197 | | /// <summary> |
| | 198 | | /// default 1.0 |
| | 199 | | /// </summary> |
| | 200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 202 | | public float PlaybackRate { |
| 0 | 203 | | get { if ((_hasBits0 & 8) != 0) { return playbackRate_; } else { return 0F; } } |
| | 204 | | set { |
| 0 | 205 | | _hasBits0 |= 8; |
| 0 | 206 | | playbackRate_ = value; |
| 0 | 207 | | } |
| | 208 | | } |
| | 209 | | /// <summary>Gets whether the "playback_rate" field is set</summary> |
| | 210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 212 | | public bool HasPlaybackRate { |
| 8 | 213 | | get { return (_hasBits0 & 8) != 0; } |
| | 214 | | } |
| | 215 | | /// <summary>Clears the value of the "playback_rate" field</summary> |
| | 216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 218 | | public void ClearPlaybackRate() { |
| 0 | 219 | | _hasBits0 &= ~8; |
| 0 | 220 | | } |
| | 221 | |
|
| | 222 | | /// <summary>Field number for the "loop" field.</summary> |
| | 223 | | public const int LoopFieldNumber = 6; |
| | 224 | | private bool loop_; |
| | 225 | | /// <summary> |
| | 226 | | /// default false |
| | 227 | | /// </summary> |
| | 228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 230 | | public bool Loop { |
| 0 | 231 | | get { if ((_hasBits0 & 16) != 0) { return loop_; } else { return false; } } |
| | 232 | | set { |
| 0 | 233 | | _hasBits0 |= 16; |
| 0 | 234 | | loop_ = value; |
| 0 | 235 | | } |
| | 236 | | } |
| | 237 | | /// <summary>Gets whether the "loop" field is set</summary> |
| | 238 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 239 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 240 | | public bool HasLoop { |
| 8 | 241 | | get { return (_hasBits0 & 16) != 0; } |
| | 242 | | } |
| | 243 | | /// <summary>Clears the value of the "loop" field</summary> |
| | 244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 246 | | public void ClearLoop() { |
| 0 | 247 | | _hasBits0 &= ~16; |
| 0 | 248 | | } |
| | 249 | |
|
| | 250 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 251 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 252 | | public override bool Equals(object other) { |
| 0 | 253 | | return Equals(other as PBVideoPlayer); |
| | 254 | | } |
| | 255 | |
|
| | 256 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 257 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 258 | | public bool Equals(PBVideoPlayer other) { |
| 0 | 259 | | if (ReferenceEquals(other, null)) { |
| 0 | 260 | | return false; |
| | 261 | | } |
| 0 | 262 | | if (ReferenceEquals(other, this)) { |
| 0 | 263 | | return true; |
| | 264 | | } |
| 0 | 265 | | if (Src != other.Src) return false; |
| 0 | 266 | | if (Playing != other.Playing) return false; |
| 0 | 267 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Position, other.Position)) return false; |
| 0 | 268 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| 0 | 269 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PlaybackRate, other.PlaybackRate)) return |
| 0 | 270 | | if (Loop != other.Loop) return false; |
| 0 | 271 | | return Equals(_unknownFields, other._unknownFields); |
| | 272 | | } |
| | 273 | |
|
| | 274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 276 | | public override int GetHashCode() { |
| 0 | 277 | | int hash = 1; |
| 0 | 278 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| 0 | 279 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| 0 | 280 | | if (HasPosition) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Position); |
| 0 | 281 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| 0 | 282 | | if (HasPlaybackRate) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PlaybackRate |
| 0 | 283 | | if (HasLoop) hash ^= Loop.GetHashCode(); |
| 0 | 284 | | if (_unknownFields != null) { |
| 0 | 285 | | hash ^= _unknownFields.GetHashCode(); |
| | 286 | | } |
| 0 | 287 | | return hash; |
| | 288 | | } |
| | 289 | |
|
| | 290 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 291 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 292 | | public override string ToString() { |
| 0 | 293 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 294 | | } |
| | 295 | |
|
| | 296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 298 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 299 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 300 | | output.WriteRawMessage(this); |
| | 301 | | #else |
| 0 | 302 | | if (Src.Length != 0) { |
| 0 | 303 | | output.WriteRawTag(10); |
| 0 | 304 | | output.WriteString(Src); |
| | 305 | | } |
| 0 | 306 | | if (HasPlaying) { |
| 0 | 307 | | output.WriteRawTag(16); |
| 0 | 308 | | output.WriteBool(Playing); |
| | 309 | | } |
| 0 | 310 | | if (HasPosition) { |
| 0 | 311 | | output.WriteRawTag(29); |
| 0 | 312 | | output.WriteFloat(Position); |
| | 313 | | } |
| 0 | 314 | | if (HasVolume) { |
| 0 | 315 | | output.WriteRawTag(37); |
| 0 | 316 | | output.WriteFloat(Volume); |
| | 317 | | } |
| 0 | 318 | | if (HasPlaybackRate) { |
| 0 | 319 | | output.WriteRawTag(45); |
| 0 | 320 | | output.WriteFloat(PlaybackRate); |
| | 321 | | } |
| 0 | 322 | | if (HasLoop) { |
| 0 | 323 | | output.WriteRawTag(48); |
| 0 | 324 | | output.WriteBool(Loop); |
| | 325 | | } |
| 0 | 326 | | if (_unknownFields != null) { |
| 0 | 327 | | _unknownFields.WriteTo(output); |
| | 328 | | } |
| | 329 | | #endif |
| 0 | 330 | | } |
| | 331 | |
|
| | 332 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 335 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 336 | | if (Src.Length != 0) { |
| | 337 | | output.WriteRawTag(10); |
| | 338 | | output.WriteString(Src); |
| | 339 | | } |
| | 340 | | if (HasPlaying) { |
| | 341 | | output.WriteRawTag(16); |
| | 342 | | output.WriteBool(Playing); |
| | 343 | | } |
| | 344 | | if (HasPosition) { |
| | 345 | | output.WriteRawTag(29); |
| | 346 | | output.WriteFloat(Position); |
| | 347 | | } |
| | 348 | | if (HasVolume) { |
| | 349 | | output.WriteRawTag(37); |
| | 350 | | output.WriteFloat(Volume); |
| | 351 | | } |
| | 352 | | if (HasPlaybackRate) { |
| | 353 | | output.WriteRawTag(45); |
| | 354 | | output.WriteFloat(PlaybackRate); |
| | 355 | | } |
| | 356 | | if (HasLoop) { |
| | 357 | | output.WriteRawTag(48); |
| | 358 | | output.WriteBool(Loop); |
| | 359 | | } |
| | 360 | | if (_unknownFields != null) { |
| | 361 | | _unknownFields.WriteTo(ref output); |
| | 362 | | } |
| | 363 | | } |
| | 364 | | #endif |
| | 365 | |
|
| | 366 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 367 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 368 | | public int CalculateSize() { |
| 0 | 369 | | int size = 0; |
| 0 | 370 | | if (Src.Length != 0) { |
| 0 | 371 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 372 | | } |
| 0 | 373 | | if (HasPlaying) { |
| 0 | 374 | | size += 1 + 1; |
| | 375 | | } |
| 0 | 376 | | if (HasPosition) { |
| 0 | 377 | | size += 1 + 4; |
| | 378 | | } |
| 0 | 379 | | if (HasVolume) { |
| 0 | 380 | | size += 1 + 4; |
| | 381 | | } |
| 0 | 382 | | if (HasPlaybackRate) { |
| 0 | 383 | | size += 1 + 4; |
| | 384 | | } |
| 0 | 385 | | if (HasLoop) { |
| 0 | 386 | | size += 1 + 1; |
| | 387 | | } |
| 0 | 388 | | if (_unknownFields != null) { |
| 0 | 389 | | size += _unknownFields.CalculateSize(); |
| | 390 | | } |
| 0 | 391 | | return size; |
| | 392 | | } |
| | 393 | |
|
| | 394 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 395 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 396 | | public void MergeFrom(PBVideoPlayer other) { |
| 0 | 397 | | if (other == null) { |
| 0 | 398 | | return; |
| | 399 | | } |
| 0 | 400 | | if (other.Src.Length != 0) { |
| 0 | 401 | | Src = other.Src; |
| | 402 | | } |
| 0 | 403 | | if (other.HasPlaying) { |
| 0 | 404 | | Playing = other.Playing; |
| | 405 | | } |
| 0 | 406 | | if (other.HasPosition) { |
| 0 | 407 | | Position = other.Position; |
| | 408 | | } |
| 0 | 409 | | if (other.HasVolume) { |
| 0 | 410 | | Volume = other.Volume; |
| | 411 | | } |
| 0 | 412 | | if (other.HasPlaybackRate) { |
| 0 | 413 | | PlaybackRate = other.PlaybackRate; |
| | 414 | | } |
| 0 | 415 | | if (other.HasLoop) { |
| 0 | 416 | | Loop = other.Loop; |
| | 417 | | } |
| 0 | 418 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 419 | | } |
| | 420 | |
|
| | 421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 423 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 424 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 425 | | input.ReadRawMessage(this); |
| | 426 | | #else |
| | 427 | | uint tag; |
| 0 | 428 | | while ((tag = input.ReadTag()) != 0) { |
| | 429 | | switch(tag) { |
| | 430 | | default: |
| 0 | 431 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 432 | | break; |
| | 433 | | case 10: { |
| 0 | 434 | | Src = input.ReadString(); |
| 0 | 435 | | break; |
| | 436 | | } |
| | 437 | | case 16: { |
| 0 | 438 | | Playing = input.ReadBool(); |
| 0 | 439 | | break; |
| | 440 | | } |
| | 441 | | case 29: { |
| 0 | 442 | | Position = input.ReadFloat(); |
| 0 | 443 | | break; |
| | 444 | | } |
| | 445 | | case 37: { |
| 0 | 446 | | Volume = input.ReadFloat(); |
| 0 | 447 | | break; |
| | 448 | | } |
| | 449 | | case 45: { |
| 0 | 450 | | PlaybackRate = input.ReadFloat(); |
| 0 | 451 | | break; |
| | 452 | | } |
| | 453 | | case 48: { |
| 0 | 454 | | Loop = input.ReadBool(); |
| | 455 | | break; |
| | 456 | | } |
| | 457 | | } |
| | 458 | | } |
| | 459 | | #endif |
| 0 | 460 | | } |
| | 461 | |
|
| | 462 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 465 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 466 | | uint tag; |
| | 467 | | while ((tag = input.ReadTag()) != 0) { |
| | 468 | | switch(tag) { |
| | 469 | | default: |
| | 470 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 471 | | break; |
| | 472 | | case 10: { |
| | 473 | | Src = input.ReadString(); |
| | 474 | | break; |
| | 475 | | } |
| | 476 | | case 16: { |
| | 477 | | Playing = input.ReadBool(); |
| | 478 | | break; |
| | 479 | | } |
| | 480 | | case 29: { |
| | 481 | | Position = input.ReadFloat(); |
| | 482 | | break; |
| | 483 | | } |
| | 484 | | case 37: { |
| | 485 | | Volume = input.ReadFloat(); |
| | 486 | | break; |
| | 487 | | } |
| | 488 | | case 45: { |
| | 489 | | PlaybackRate = input.ReadFloat(); |
| | 490 | | break; |
| | 491 | | } |
| | 492 | | case 48: { |
| | 493 | | Loop = input.ReadBool(); |
| | 494 | | break; |
| | 495 | | } |
| | 496 | | } |
| | 497 | | } |
| | 498 | | } |
| | 499 | | #endif |
| | 500 | |
|
| | 501 | | } |
| | 502 | |
|
| | 503 | | #endregion |
| | 504 | |
|
| | 505 | | } |
| | 506 | |
|
| | 507 | | #endregion Designer generated code |