| | 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 | | "b3RvEhtkZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMisAEKDVBCVmlkZW9Q", |
| | 29 | | "bGF5ZXISCwoDc3JjGAEgASgJEhQKB3BsYXlpbmcYAiABKAhIAIgBARIVCghw", |
| | 30 | | "b3NpdGlvbhgDIAEoAkgBiAEBEhMKBnZvbHVtZRgEIAEoAkgCiAEBEhoKDXBs", |
| | 31 | | "YXliYWNrX3JhdGUYBSABKAJIA4gBAUIKCghfcGxheWluZ0ILCglfcG9zaXRp", |
| | 32 | | "b25CCQoHX3ZvbHVtZUIQCg5fcGxheWJhY2tfcmF0ZUIUqgIRRENMLkVDU0Nv", |
| | 33 | | "bXBvbmVudHNiBnByb3RvMw==")); |
| | 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)] |
| 4 | 70 | | public PBVideoPlayer() { |
| | 71 | | OnConstruction(); |
| 4 | 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 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 86 | | } |
| | 87 | |
|
| | 88 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 89 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 90 | | public PBVideoPlayer Clone() { |
| 0 | 91 | | return new PBVideoPlayer(this); |
| | 92 | | } |
| | 93 | |
|
| | 94 | | /// <summary>Field number for the "src" field.</summary> |
| | 95 | | public const int SrcFieldNumber = 1; |
| 4 | 96 | | private string src_ = ""; |
| | 97 | | /// <summary> |
| | 98 | | /// which file to load |
| | 99 | | /// </summary> |
| | 100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 102 | | public string Src { |
| 12 | 103 | | get { return src_; } |
| | 104 | | set { |
| 4 | 105 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 4 | 106 | | } |
| | 107 | | } |
| | 108 | |
|
| | 109 | | /// <summary>Field number for the "playing" field.</summary> |
| | 110 | | public const int PlayingFieldNumber = 2; |
| | 111 | | private bool playing_; |
| | 112 | | /// <summary> |
| | 113 | | /// default true |
| | 114 | | /// </summary> |
| | 115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 116 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 117 | | public bool Playing { |
| 6 | 118 | | get { if ((_hasBits0 & 1) != 0) { return playing_; } else { return false; } } |
| | 119 | | set { |
| 2 | 120 | | _hasBits0 |= 1; |
| 2 | 121 | | playing_ = value; |
| 2 | 122 | | } |
| | 123 | | } |
| | 124 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 125 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 126 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 127 | | public bool HasPlaying { |
| 6 | 128 | | get { return (_hasBits0 & 1) != 0; } |
| | 129 | | } |
| | 130 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 131 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 132 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 133 | | public void ClearPlaying() { |
| 0 | 134 | | _hasBits0 &= ~1; |
| 0 | 135 | | } |
| | 136 | |
|
| | 137 | | /// <summary>Field number for the "position" field.</summary> |
| | 138 | | public const int PositionFieldNumber = 3; |
| | 139 | | private float position_; |
| | 140 | | /// <summary> |
| | 141 | | /// default 0.0 |
| | 142 | | /// </summary> |
| | 143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 145 | | public float Position { |
| 0 | 146 | | get { if ((_hasBits0 & 2) != 0) { return position_; } else { return 0F; } } |
| | 147 | | set { |
| 0 | 148 | | _hasBits0 |= 2; |
| 0 | 149 | | position_ = value; |
| 0 | 150 | | } |
| | 151 | | } |
| | 152 | | /// <summary>Gets whether the "position" field is set</summary> |
| | 153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 155 | | public bool HasPosition { |
| 5 | 156 | | get { return (_hasBits0 & 2) != 0; } |
| | 157 | | } |
| | 158 | | /// <summary>Clears the value of the "position" field</summary> |
| | 159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 161 | | public void ClearPosition() { |
| 0 | 162 | | _hasBits0 &= ~2; |
| 0 | 163 | | } |
| | 164 | |
|
| | 165 | | /// <summary>Field number for the "volume" field.</summary> |
| | 166 | | public const int VolumeFieldNumber = 4; |
| | 167 | | private float volume_; |
| | 168 | | /// <summary> |
| | 169 | | /// default 1.0 |
| | 170 | | /// </summary> |
| | 171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 172 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 173 | | public float Volume { |
| 2 | 174 | | get { if ((_hasBits0 & 4) != 0) { return volume_; } else { return 0F; } } |
| | 175 | | set { |
| 1 | 176 | | _hasBits0 |= 4; |
| 1 | 177 | | volume_ = value; |
| 1 | 178 | | } |
| | 179 | | } |
| | 180 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 183 | | public bool HasVolume { |
| 4 | 184 | | get { return (_hasBits0 & 4) != 0; } |
| | 185 | | } |
| | 186 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 189 | | public void ClearVolume() { |
| 0 | 190 | | _hasBits0 &= ~4; |
| 0 | 191 | | } |
| | 192 | |
|
| | 193 | | /// <summary>Field number for the "playback_rate" field.</summary> |
| | 194 | | public const int PlaybackRateFieldNumber = 5; |
| | 195 | | private float playbackRate_; |
| | 196 | | /// <summary> |
| | 197 | | /// default 1.0 |
| | 198 | | /// </summary> |
| | 199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 201 | | public float PlaybackRate { |
| 0 | 202 | | get { if ((_hasBits0 & 8) != 0) { return playbackRate_; } else { return 0F; } } |
| | 203 | | set { |
| 0 | 204 | | _hasBits0 |= 8; |
| 0 | 205 | | playbackRate_ = value; |
| 0 | 206 | | } |
| | 207 | | } |
| | 208 | | /// <summary>Gets whether the "playback_rate" field is set</summary> |
| | 209 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 210 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 211 | | public bool HasPlaybackRate { |
| 4 | 212 | | get { return (_hasBits0 & 8) != 0; } |
| | 213 | | } |
| | 214 | | /// <summary>Clears the value of the "playback_rate" field</summary> |
| | 215 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 216 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 217 | | public void ClearPlaybackRate() { |
| 0 | 218 | | _hasBits0 &= ~8; |
| 0 | 219 | | } |
| | 220 | |
|
| | 221 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 222 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 223 | | public override bool Equals(object other) { |
| 0 | 224 | | return Equals(other as PBVideoPlayer); |
| | 225 | | } |
| | 226 | |
|
| | 227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 229 | | public bool Equals(PBVideoPlayer other) { |
| 1 | 230 | | if (ReferenceEquals(other, null)) { |
| 0 | 231 | | return false; |
| | 232 | | } |
| 1 | 233 | | if (ReferenceEquals(other, this)) { |
| 0 | 234 | | return true; |
| | 235 | | } |
| 2 | 236 | | if (Src != other.Src) return false; |
| 0 | 237 | | if (Playing != other.Playing) return false; |
| 0 | 238 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Position, other.Position)) return false; |
| 0 | 239 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| 0 | 240 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PlaybackRate, other.PlaybackRate)) return |
| 0 | 241 | | return Equals(_unknownFields, other._unknownFields); |
| | 242 | | } |
| | 243 | |
|
| | 244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 246 | | public override int GetHashCode() { |
| 0 | 247 | | int hash = 1; |
| 0 | 248 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| 0 | 249 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| 0 | 250 | | if (HasPosition) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Position); |
| 0 | 251 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| 0 | 252 | | if (HasPlaybackRate) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PlaybackRate |
| 0 | 253 | | if (_unknownFields != null) { |
| 0 | 254 | | hash ^= _unknownFields.GetHashCode(); |
| | 255 | | } |
| 0 | 256 | | return hash; |
| | 257 | | } |
| | 258 | |
|
| | 259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 261 | | public override string ToString() { |
| 0 | 262 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 263 | | } |
| | 264 | |
|
| | 265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 267 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 268 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 269 | | output.WriteRawMessage(this); |
| | 270 | | #else |
| 0 | 271 | | if (Src.Length != 0) { |
| 0 | 272 | | output.WriteRawTag(10); |
| 0 | 273 | | output.WriteString(Src); |
| | 274 | | } |
| 0 | 275 | | if (HasPlaying) { |
| 0 | 276 | | output.WriteRawTag(16); |
| 0 | 277 | | output.WriteBool(Playing); |
| | 278 | | } |
| 0 | 279 | | if (HasPosition) { |
| 0 | 280 | | output.WriteRawTag(29); |
| 0 | 281 | | output.WriteFloat(Position); |
| | 282 | | } |
| 0 | 283 | | if (HasVolume) { |
| 0 | 284 | | output.WriteRawTag(37); |
| 0 | 285 | | output.WriteFloat(Volume); |
| | 286 | | } |
| 0 | 287 | | if (HasPlaybackRate) { |
| 0 | 288 | | output.WriteRawTag(45); |
| 0 | 289 | | output.WriteFloat(PlaybackRate); |
| | 290 | | } |
| 0 | 291 | | if (_unknownFields != null) { |
| 0 | 292 | | _unknownFields.WriteTo(output); |
| | 293 | | } |
| | 294 | | #endif |
| 0 | 295 | | } |
| | 296 | |
|
| | 297 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 300 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 301 | | if (Src.Length != 0) { |
| | 302 | | output.WriteRawTag(10); |
| | 303 | | output.WriteString(Src); |
| | 304 | | } |
| | 305 | | if (HasPlaying) { |
| | 306 | | output.WriteRawTag(16); |
| | 307 | | output.WriteBool(Playing); |
| | 308 | | } |
| | 309 | | if (HasPosition) { |
| | 310 | | output.WriteRawTag(29); |
| | 311 | | output.WriteFloat(Position); |
| | 312 | | } |
| | 313 | | if (HasVolume) { |
| | 314 | | output.WriteRawTag(37); |
| | 315 | | output.WriteFloat(Volume); |
| | 316 | | } |
| | 317 | | if (HasPlaybackRate) { |
| | 318 | | output.WriteRawTag(45); |
| | 319 | | output.WriteFloat(PlaybackRate); |
| | 320 | | } |
| | 321 | | if (_unknownFields != null) { |
| | 322 | | _unknownFields.WriteTo(ref output); |
| | 323 | | } |
| | 324 | | } |
| | 325 | | #endif |
| | 326 | |
|
| | 327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 329 | | public int CalculateSize() { |
| 0 | 330 | | int size = 0; |
| 0 | 331 | | if (Src.Length != 0) { |
| 0 | 332 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 333 | | } |
| 0 | 334 | | if (HasPlaying) { |
| 0 | 335 | | size += 1 + 1; |
| | 336 | | } |
| 0 | 337 | | if (HasPosition) { |
| 0 | 338 | | size += 1 + 4; |
| | 339 | | } |
| 0 | 340 | | if (HasVolume) { |
| 0 | 341 | | size += 1 + 4; |
| | 342 | | } |
| 0 | 343 | | if (HasPlaybackRate) { |
| 0 | 344 | | size += 1 + 4; |
| | 345 | | } |
| 0 | 346 | | if (_unknownFields != null) { |
| 0 | 347 | | size += _unknownFields.CalculateSize(); |
| | 348 | | } |
| 0 | 349 | | return size; |
| | 350 | | } |
| | 351 | |
|
| | 352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 354 | | public void MergeFrom(PBVideoPlayer other) { |
| 0 | 355 | | if (other == null) { |
| 0 | 356 | | return; |
| | 357 | | } |
| 0 | 358 | | if (other.Src.Length != 0) { |
| 0 | 359 | | Src = other.Src; |
| | 360 | | } |
| 0 | 361 | | if (other.HasPlaying) { |
| 0 | 362 | | Playing = other.Playing; |
| | 363 | | } |
| 0 | 364 | | if (other.HasPosition) { |
| 0 | 365 | | Position = other.Position; |
| | 366 | | } |
| 0 | 367 | | if (other.HasVolume) { |
| 0 | 368 | | Volume = other.Volume; |
| | 369 | | } |
| 0 | 370 | | if (other.HasPlaybackRate) { |
| 0 | 371 | | PlaybackRate = other.PlaybackRate; |
| | 372 | | } |
| 0 | 373 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 374 | | } |
| | 375 | |
|
| | 376 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 377 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 378 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 379 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 380 | | input.ReadRawMessage(this); |
| | 381 | | #else |
| | 382 | | uint tag; |
| 0 | 383 | | while ((tag = input.ReadTag()) != 0) { |
| | 384 | | switch(tag) { |
| | 385 | | default: |
| 0 | 386 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 387 | | break; |
| | 388 | | case 10: { |
| 0 | 389 | | Src = input.ReadString(); |
| 0 | 390 | | break; |
| | 391 | | } |
| | 392 | | case 16: { |
| 0 | 393 | | Playing = input.ReadBool(); |
| 0 | 394 | | break; |
| | 395 | | } |
| | 396 | | case 29: { |
| 0 | 397 | | Position = input.ReadFloat(); |
| 0 | 398 | | break; |
| | 399 | | } |
| | 400 | | case 37: { |
| 0 | 401 | | Volume = input.ReadFloat(); |
| 0 | 402 | | break; |
| | 403 | | } |
| | 404 | | case 45: { |
| 0 | 405 | | PlaybackRate = input.ReadFloat(); |
| | 406 | | break; |
| | 407 | | } |
| | 408 | | } |
| | 409 | | } |
| | 410 | | #endif |
| 0 | 411 | | } |
| | 412 | |
|
| | 413 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 414 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 415 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 416 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 417 | | uint tag; |
| | 418 | | while ((tag = input.ReadTag()) != 0) { |
| | 419 | | switch(tag) { |
| | 420 | | default: |
| | 421 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 422 | | break; |
| | 423 | | case 10: { |
| | 424 | | Src = input.ReadString(); |
| | 425 | | break; |
| | 426 | | } |
| | 427 | | case 16: { |
| | 428 | | Playing = input.ReadBool(); |
| | 429 | | break; |
| | 430 | | } |
| | 431 | | case 29: { |
| | 432 | | Position = input.ReadFloat(); |
| | 433 | | break; |
| | 434 | | } |
| | 435 | | case 37: { |
| | 436 | | Volume = input.ReadFloat(); |
| | 437 | | break; |
| | 438 | | } |
| | 439 | | case 45: { |
| | 440 | | PlaybackRate = input.ReadFloat(); |
| | 441 | | break; |
| | 442 | | } |
| | 443 | | } |
| | 444 | | } |
| | 445 | | } |
| | 446 | | #endif |
| | 447 | |
|
| | 448 | | } |
| | 449 | |
|
| | 450 | | #endregion |
| | 451 | |
|
| | 452 | | } |
| | 453 | |
|
| | 454 | | #endregion Designer generated code |