| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: ecs/components/PointerEvents.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 ecs/components/PointerEvents.proto</summary> |
| | 15 | | public static partial class PointerEventsReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for ecs/components/PointerEvents.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static PointerEventsReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CiJlY3MvY29tcG9uZW50cy9Qb2ludGVyRXZlbnRzLnByb3RvEhBkZWNlbnRy", |
| | 28 | | "YWxhbmQuZWNzGihlY3MvY29tcG9uZW50cy9jb21tb24vQWN0aW9uQnV0dG9u", |
| | 29 | | "LnByb3RvIpcDCg9QQlBvaW50ZXJFdmVudHMSPgoNcG9pbnRlckV2ZW50cxgB", |
| | 30 | | "IAMoCzInLmRlY2VudHJhbGFuZC5lY3MuUEJQb2ludGVyRXZlbnRzLkVudHJ5", |
| | 31 | | "GsgBCgRJbmZvEjMKBmJ1dHRvbhgBIAEoDjIeLmRlY2VudHJhbGFuZC5lY3Mu", |
| | 32 | | "QWN0aW9uQnV0dG9uSACIAQESFwoKaG92ZXJfdGV4dBgCIAEoCUgBiAEBEhkK", |
| | 33 | | "DG1heF9kaXN0YW5jZRgDIAEoAkgCiAEBEhoKDXNob3dfZmVlZGJhY2sYBCAB", |
| | 34 | | "KAhIA4gBAUIJCgdfYnV0dG9uQg0KC19ob3Zlcl90ZXh0Qg8KDV9tYXhfZGlz", |
| | 35 | | "dGFuY2VCEAoOX3Nob3dfZmVlZGJhY2saeQoFRW50cnkSNQoJZXZlbnRUeXBl", |
| | 36 | | "GAEgASgOMiIuZGVjZW50cmFsYW5kLmVjcy5Qb2ludGVyRXZlbnRUeXBlEjkK", |
| | 37 | | "CWV2ZW50SW5mbxgCIAEoCzImLmRlY2VudHJhbGFuZC5lY3MuUEJQb2ludGVy", |
| | 38 | | "RXZlbnRzLkluZm8qRgoQUG9pbnRlckV2ZW50VHlwZRIGCgJVUBAAEggKBERP", |
| | 39 | | "V04QARIPCgtIT1ZFUl9FTlRFUhACEg8KC0hPVkVSX0xFQVZFEANCFKoCEURD", |
| | 40 | | "TC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| | 41 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 42 | | new pbr::FileDescriptor[] { global::DCL.ECSComponents.ActionButtonReflection.Descriptor, }, |
| | 43 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.PointerEventType), }, null, new pbr::Gen |
| | 44 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerEvents), global::DCL.ECSComponents.P |
| | 45 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerEvents.Types.Entry), global::DCL.ECS |
| | 46 | | })); |
| | 47 | | } |
| | 48 | | #endregion |
| | 49 | |
|
| | 50 | | } |
| | 51 | | #region Enums |
| | 52 | | public enum PointerEventType { |
| | 53 | | [pbr::OriginalName("UP")] Up = 0, |
| | 54 | | [pbr::OriginalName("DOWN")] Down = 1, |
| | 55 | | [pbr::OriginalName("HOVER_ENTER")] HoverEnter = 2, |
| | 56 | | [pbr::OriginalName("HOVER_LEAVE")] HoverLeave = 3, |
| | 57 | | } |
| | 58 | |
|
| | 59 | | #endregion |
| | 60 | |
|
| | 61 | | #region Messages |
| | 62 | | public sealed partial class PBPointerEvents : pb::IMessage<PBPointerEvents> |
| | 63 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 64 | | , pb::IBufferMessage |
| | 65 | | #endif |
| | 66 | | { |
| 1 | 67 | | private static readonly pb::MessageParser<PBPointerEvents> _parser = new pb::MessageParser<PBPointerEvents>(() => ne |
| | 68 | | private pb::UnknownFieldSet _unknownFields; |
| | 69 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 70 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 71 | | public static pb::MessageParser<PBPointerEvents> Parser { get { return _parser; } } |
| | 72 | |
|
| | 73 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 74 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 75 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 76 | | get { return global::DCL.ECSComponents.PointerEventsReflection.Descriptor.MessageTypes[0]; } |
| | 77 | | } |
| | 78 | |
|
| | 79 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 80 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 81 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 82 | | get { return Descriptor; } |
| | 83 | | } |
| | 84 | |
|
| | 85 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 86 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 7 | 87 | | public PBPointerEvents() { |
| | 88 | | OnConstruction(); |
| 7 | 89 | | } |
| | 90 | |
|
| | 91 | | partial void OnConstruction(); |
| | 92 | |
|
| | 93 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 94 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 95 | | public PBPointerEvents(PBPointerEvents other) : this() { |
| 0 | 96 | | pointerEvents_ = other.pointerEvents_.Clone(); |
| 0 | 97 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 98 | | } |
| | 99 | |
|
| | 100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 102 | | public PBPointerEvents Clone() { |
| 0 | 103 | | return new PBPointerEvents(this); |
| | 104 | | } |
| | 105 | |
|
| | 106 | | /// <summary>Field number for the "pointerEvents" field.</summary> |
| | 107 | | public const int PointerEventsFieldNumber = 1; |
| 1 | 108 | | private static readonly pb::FieldCodec<global::DCL.ECSComponents.PBPointerEvents.Types.Entry> _repeated_pointerEvent |
| | 109 | | = pb::FieldCodec.ForMessage(10, global::DCL.ECSComponents.PBPointerEvents.Types.Entry.Parser); |
| 7 | 110 | | private readonly pbc::RepeatedField<global::DCL.ECSComponents.PBPointerEvents.Types.Entry> pointerEvents_ = new pbc: |
| | 111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 113 | | public pbc::RepeatedField<global::DCL.ECSComponents.PBPointerEvents.Types.Entry> PointerEvents { |
| 10 | 114 | | get { return pointerEvents_; } |
| | 115 | | } |
| | 116 | |
|
| | 117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 119 | | public override bool Equals(object other) { |
| 0 | 120 | | return Equals(other as PBPointerEvents); |
| | 121 | | } |
| | 122 | |
|
| | 123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 125 | | public bool Equals(PBPointerEvents other) { |
| 0 | 126 | | if (ReferenceEquals(other, null)) { |
| 0 | 127 | | return false; |
| | 128 | | } |
| 0 | 129 | | if (ReferenceEquals(other, this)) { |
| 0 | 130 | | return true; |
| | 131 | | } |
| 0 | 132 | | if(!pointerEvents_.Equals(other.pointerEvents_)) return false; |
| 0 | 133 | | return Equals(_unknownFields, other._unknownFields); |
| | 134 | | } |
| | 135 | |
|
| | 136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 138 | | public override int GetHashCode() { |
| 0 | 139 | | int hash = 1; |
| 0 | 140 | | hash ^= pointerEvents_.GetHashCode(); |
| 0 | 141 | | if (_unknownFields != null) { |
| 0 | 142 | | hash ^= _unknownFields.GetHashCode(); |
| | 143 | | } |
| 0 | 144 | | return hash; |
| | 145 | | } |
| | 146 | |
|
| | 147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 149 | | public override string ToString() { |
| 0 | 150 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 151 | | } |
| | 152 | |
|
| | 153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 155 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 156 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 157 | | output.WriteRawMessage(this); |
| | 158 | | #else |
| 6 | 159 | | pointerEvents_.WriteTo(output, _repeated_pointerEvents_codec); |
| 6 | 160 | | if (_unknownFields != null) { |
| 0 | 161 | | _unknownFields.WriteTo(output); |
| | 162 | | } |
| | 163 | | #endif |
| 6 | 164 | | } |
| | 165 | |
|
| | 166 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 167 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 168 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 169 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 170 | | pointerEvents_.WriteTo(ref output, _repeated_pointerEvents_codec); |
| | 171 | | if (_unknownFields != null) { |
| | 172 | | _unknownFields.WriteTo(ref output); |
| | 173 | | } |
| | 174 | | } |
| | 175 | | #endif |
| | 176 | |
|
| | 177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 179 | | public int CalculateSize() { |
| 6 | 180 | | int size = 0; |
| 6 | 181 | | size += pointerEvents_.CalculateSize(_repeated_pointerEvents_codec); |
| 6 | 182 | | if (_unknownFields != null) { |
| 0 | 183 | | size += _unknownFields.CalculateSize(); |
| | 184 | | } |
| 6 | 185 | | return size; |
| | 186 | | } |
| | 187 | |
|
| | 188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 190 | | public void MergeFrom(PBPointerEvents other) { |
| 0 | 191 | | if (other == null) { |
| 0 | 192 | | return; |
| | 193 | | } |
| 0 | 194 | | pointerEvents_.Add(other.pointerEvents_); |
| 0 | 195 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 196 | | } |
| | 197 | |
|
| | 198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 200 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 201 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 202 | | input.ReadRawMessage(this); |
| | 203 | | #else |
| | 204 | | uint tag; |
| 12 | 205 | | while ((tag = input.ReadTag()) != 0) { |
| | 206 | | switch(tag) { |
| | 207 | | default: |
| 0 | 208 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 209 | | break; |
| | 210 | | case 10: { |
| 6 | 211 | | pointerEvents_.AddEntriesFrom(input, _repeated_pointerEvents_codec); |
| | 212 | | break; |
| | 213 | | } |
| | 214 | | } |
| | 215 | | } |
| | 216 | | #endif |
| 6 | 217 | | } |
| | 218 | |
|
| | 219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 222 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 223 | | uint tag; |
| | 224 | | while ((tag = input.ReadTag()) != 0) { |
| | 225 | | switch(tag) { |
| | 226 | | default: |
| | 227 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 228 | | break; |
| | 229 | | case 10: { |
| | 230 | | pointerEvents_.AddEntriesFrom(ref input, _repeated_pointerEvents_codec); |
| | 231 | | break; |
| | 232 | | } |
| | 233 | | } |
| | 234 | | } |
| | 235 | | } |
| | 236 | | #endif |
| | 237 | |
|
| | 238 | | #region Nested types |
| | 239 | | /// <summary>Container for nested types declared in the PBPointerEvents message type.</summary> |
| | 240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 242 | | public static partial class Types { |
| | 243 | | public sealed partial class Info : pb::IMessage<Info> |
| | 244 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 245 | | , pb::IBufferMessage |
| | 246 | | #endif |
| | 247 | | { |
| 1 | 248 | | private static readonly pb::MessageParser<Info> _parser = new pb::MessageParser<Info>(() => new Info()); |
| | 249 | | private pb::UnknownFieldSet _unknownFields; |
| | 250 | | private int _hasBits0; |
| | 251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 253 | | public static pb::MessageParser<Info> Parser { get { return _parser; } } |
| | 254 | |
|
| | 255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 257 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 258 | | get { return global::DCL.ECSComponents.PBPointerEvents.Descriptor.NestedTypes[0]; } |
| | 259 | | } |
| | 260 | |
|
| | 261 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 262 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 263 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 264 | | get { return Descriptor; } |
| | 265 | | } |
| | 266 | |
|
| | 267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 3 | 269 | | public Info() { |
| | 270 | | OnConstruction(); |
| 3 | 271 | | } |
| | 272 | |
|
| | 273 | | partial void OnConstruction(); |
| | 274 | |
|
| | 275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 277 | | public Info(Info other) : this() { |
| 0 | 278 | | _hasBits0 = other._hasBits0; |
| 0 | 279 | | button_ = other.button_; |
| 0 | 280 | | hoverText_ = other.hoverText_; |
| 0 | 281 | | maxDistance_ = other.maxDistance_; |
| 0 | 282 | | showFeedback_ = other.showFeedback_; |
| 0 | 283 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 284 | | } |
| | 285 | |
|
| | 286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 288 | | public Info Clone() { |
| 0 | 289 | | return new Info(this); |
| | 290 | | } |
| | 291 | |
|
| | 292 | | /// <summary>Field number for the "button" field.</summary> |
| | 293 | | public const int ButtonFieldNumber = 1; |
| | 294 | | private global::DCL.ECSComponents.ActionButton button_; |
| | 295 | | /// <summary> |
| | 296 | | /// default=ActionButton.ANY |
| | 297 | | /// </summary> |
| | 298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 300 | | public global::DCL.ECSComponents.ActionButton Button { |
| 0 | 301 | | get { if ((_hasBits0 & 1) != 0) { return button_; } else { return global::DCL.ECSComponents.ActionButton.Point |
| | 302 | | set { |
| 16 | 303 | | _hasBits0 |= 1; |
| 16 | 304 | | button_ = value; |
| 16 | 305 | | } |
| | 306 | | } |
| | 307 | | /// <summary>Gets whether the "button" field is set</summary> |
| | 308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 310 | | public bool HasButton { |
| 0 | 311 | | get { return (_hasBits0 & 1) != 0; } |
| | 312 | | } |
| | 313 | | /// <summary>Clears the value of the "button" field</summary> |
| | 314 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 315 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 316 | | public void ClearButton() { |
| 0 | 317 | | _hasBits0 &= ~1; |
| 0 | 318 | | } |
| | 319 | |
|
| | 320 | | /// <summary>Field number for the "hover_text" field.</summary> |
| | 321 | | public const int HoverTextFieldNumber = 2; |
| | 322 | | private string hoverText_; |
| | 323 | | /// <summary> |
| | 324 | | /// default='Interact' |
| | 325 | | /// </summary> |
| | 326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 328 | | public string HoverText { |
| 0 | 329 | | get { return hoverText_ ?? ""; } |
| | 330 | | set { |
| 3 | 331 | | hoverText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 3 | 332 | | } |
| | 333 | | } |
| | 334 | | /// <summary>Gets whether the "hover_text" field is set</summary> |
| | 335 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 336 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 337 | | public bool HasHoverText { |
| 0 | 338 | | get { return hoverText_ != null; } |
| | 339 | | } |
| | 340 | | /// <summary>Clears the value of the "hover_text" field</summary> |
| | 341 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 342 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 343 | | public void ClearHoverText() { |
| 0 | 344 | | hoverText_ = null; |
| 0 | 345 | | } |
| | 346 | |
|
| | 347 | | /// <summary>Field number for the "max_distance" field.</summary> |
| | 348 | | public const int MaxDistanceFieldNumber = 3; |
| | 349 | | private float maxDistance_; |
| | 350 | | /// <summary> |
| | 351 | | /// default=10 |
| | 352 | | /// </summary> |
| | 353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 355 | | public float MaxDistance { |
| 8 | 356 | | get { if ((_hasBits0 & 2) != 0) { return maxDistance_; } else { return 0F; } } |
| | 357 | | set { |
| 4 | 358 | | _hasBits0 |= 2; |
| 4 | 359 | | maxDistance_ = value; |
| 4 | 360 | | } |
| | 361 | | } |
| | 362 | | /// <summary>Gets whether the "max_distance" field is set</summary> |
| | 363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 365 | | public bool HasMaxDistance { |
| 0 | 366 | | get { return (_hasBits0 & 2) != 0; } |
| | 367 | | } |
| | 368 | | /// <summary>Clears the value of the "max_distance" field</summary> |
| | 369 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 370 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 371 | | public void ClearMaxDistance() { |
| 0 | 372 | | _hasBits0 &= ~2; |
| 0 | 373 | | } |
| | 374 | |
|
| | 375 | | /// <summary>Field number for the "show_feedback" field.</summary> |
| | 376 | | public const int ShowFeedbackFieldNumber = 4; |
| | 377 | | private bool showFeedback_; |
| | 378 | | /// <summary> |
| | 379 | | /// default=true |
| | 380 | | /// </summary> |
| | 381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 383 | | public bool ShowFeedback { |
| 0 | 384 | | get { if ((_hasBits0 & 4) != 0) { return showFeedback_; } else { return false; } } |
| | 385 | | set { |
| 0 | 386 | | _hasBits0 |= 4; |
| 0 | 387 | | showFeedback_ = value; |
| 0 | 388 | | } |
| | 389 | | } |
| | 390 | | /// <summary>Gets whether the "show_feedback" field is set</summary> |
| | 391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 393 | | public bool HasShowFeedback { |
| 0 | 394 | | get { return (_hasBits0 & 4) != 0; } |
| | 395 | | } |
| | 396 | | /// <summary>Clears the value of the "show_feedback" field</summary> |
| | 397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 399 | | public void ClearShowFeedback() { |
| 0 | 400 | | _hasBits0 &= ~4; |
| 0 | 401 | | } |
| | 402 | |
|
| | 403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 405 | | public override bool Equals(object other) { |
| 0 | 406 | | return Equals(other as Info); |
| | 407 | | } |
| | 408 | |
|
| | 409 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 410 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 411 | | public bool Equals(Info other) { |
| 0 | 412 | | if (ReferenceEquals(other, null)) { |
| 0 | 413 | | return false; |
| | 414 | | } |
| 0 | 415 | | if (ReferenceEquals(other, this)) { |
| 0 | 416 | | return true; |
| | 417 | | } |
| 0 | 418 | | if (Button != other.Button) return false; |
| 0 | 419 | | if (HoverText != other.HoverText) return false; |
| 0 | 420 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxDistance, other.MaxDistance)) retu |
| 0 | 421 | | if (ShowFeedback != other.ShowFeedback) return false; |
| 0 | 422 | | return Equals(_unknownFields, other._unknownFields); |
| | 423 | | } |
| | 424 | |
|
| | 425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 427 | | public override int GetHashCode() { |
| 0 | 428 | | int hash = 1; |
| 0 | 429 | | if (HasButton) hash ^= Button.GetHashCode(); |
| 0 | 430 | | if (HasHoverText) hash ^= HoverText.GetHashCode(); |
| 0 | 431 | | if (HasMaxDistance) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxDistan |
| 0 | 432 | | if (HasShowFeedback) hash ^= ShowFeedback.GetHashCode(); |
| 0 | 433 | | if (_unknownFields != null) { |
| 0 | 434 | | hash ^= _unknownFields.GetHashCode(); |
| | 435 | | } |
| 0 | 436 | | return hash; |
| | 437 | | } |
| | 438 | |
|
| | 439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 441 | | public override string ToString() { |
| 0 | 442 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 443 | | } |
| | 444 | |
|
| | 445 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 446 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 447 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 448 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 449 | | output.WriteRawMessage(this); |
| | 450 | | #else |
| 8 | 451 | | if (HasButton) { |
| 8 | 452 | | output.WriteRawTag(8); |
| 8 | 453 | | output.WriteEnum((int) Button); |
| | 454 | | } |
| 8 | 455 | | if (HasHoverText) { |
| 8 | 456 | | output.WriteRawTag(18); |
| 8 | 457 | | output.WriteString(HoverText); |
| | 458 | | } |
| 8 | 459 | | if (HasMaxDistance) { |
| 2 | 460 | | output.WriteRawTag(29); |
| 2 | 461 | | output.WriteFloat(MaxDistance); |
| | 462 | | } |
| 8 | 463 | | if (HasShowFeedback) { |
| 0 | 464 | | output.WriteRawTag(32); |
| 0 | 465 | | output.WriteBool(ShowFeedback); |
| | 466 | | } |
| 8 | 467 | | if (_unknownFields != null) { |
| 0 | 468 | | _unknownFields.WriteTo(output); |
| | 469 | | } |
| | 470 | | #endif |
| 8 | 471 | | } |
| | 472 | |
|
| | 473 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 476 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 477 | | if (HasButton) { |
| | 478 | | output.WriteRawTag(8); |
| | 479 | | output.WriteEnum((int) Button); |
| | 480 | | } |
| | 481 | | if (HasHoverText) { |
| | 482 | | output.WriteRawTag(18); |
| | 483 | | output.WriteString(HoverText); |
| | 484 | | } |
| | 485 | | if (HasMaxDistance) { |
| | 486 | | output.WriteRawTag(29); |
| | 487 | | output.WriteFloat(MaxDistance); |
| | 488 | | } |
| | 489 | | if (HasShowFeedback) { |
| | 490 | | output.WriteRawTag(32); |
| | 491 | | output.WriteBool(ShowFeedback); |
| | 492 | | } |
| | 493 | | if (_unknownFields != null) { |
| | 494 | | _unknownFields.WriteTo(ref output); |
| | 495 | | } |
| | 496 | | } |
| | 497 | | #endif |
| | 498 | |
|
| | 499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 501 | | public int CalculateSize() { |
| 24 | 502 | | int size = 0; |
| 24 | 503 | | if (HasButton) { |
| 24 | 504 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Button); |
| | 505 | | } |
| 24 | 506 | | if (HasHoverText) { |
| 24 | 507 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HoverText); |
| | 508 | | } |
| 24 | 509 | | if (HasMaxDistance) { |
| 6 | 510 | | size += 1 + 4; |
| | 511 | | } |
| 24 | 512 | | if (HasShowFeedback) { |
| 0 | 513 | | size += 1 + 1; |
| | 514 | | } |
| 24 | 515 | | if (_unknownFields != null) { |
| 0 | 516 | | size += _unknownFields.CalculateSize(); |
| | 517 | | } |
| 24 | 518 | | return size; |
| | 519 | | } |
| | 520 | |
|
| | 521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 523 | | public void MergeFrom(Info other) { |
| 0 | 524 | | if (other == null) { |
| 0 | 525 | | return; |
| | 526 | | } |
| 0 | 527 | | if (other.HasButton) { |
| 0 | 528 | | Button = other.Button; |
| | 529 | | } |
| 0 | 530 | | if (other.HasHoverText) { |
| 0 | 531 | | HoverText = other.HoverText; |
| | 532 | | } |
| 0 | 533 | | if (other.HasMaxDistance) { |
| 0 | 534 | | MaxDistance = other.MaxDistance; |
| | 535 | | } |
| 0 | 536 | | if (other.HasShowFeedback) { |
| 0 | 537 | | ShowFeedback = other.ShowFeedback; |
| | 538 | | } |
| 0 | 539 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 540 | | } |
| | 541 | |
|
| | 542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 544 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 545 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 546 | | input.ReadRawMessage(this); |
| | 547 | | #else |
| | 548 | | uint tag; |
| 26 | 549 | | while ((tag = input.ReadTag()) != 0) { |
| | 550 | | switch(tag) { |
| | 551 | | default: |
| 0 | 552 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 553 | | break; |
| | 554 | | case 8: { |
| 8 | 555 | | Button = (global::DCL.ECSComponents.ActionButton) input.ReadEnum(); |
| 8 | 556 | | break; |
| | 557 | | } |
| | 558 | | case 18: { |
| 8 | 559 | | HoverText = input.ReadString(); |
| 8 | 560 | | break; |
| | 561 | | } |
| | 562 | | case 29: { |
| 2 | 563 | | MaxDistance = input.ReadFloat(); |
| 2 | 564 | | break; |
| | 565 | | } |
| | 566 | | case 32: { |
| 0 | 567 | | ShowFeedback = input.ReadBool(); |
| | 568 | | break; |
| | 569 | | } |
| | 570 | | } |
| | 571 | | } |
| | 572 | | #endif |
| 8 | 573 | | } |
| | 574 | |
|
| | 575 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 578 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 579 | | uint tag; |
| | 580 | | while ((tag = input.ReadTag()) != 0) { |
| | 581 | | switch(tag) { |
| | 582 | | default: |
| | 583 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 584 | | break; |
| | 585 | | case 8: { |
| | 586 | | Button = (global::DCL.ECSComponents.ActionButton) input.ReadEnum(); |
| | 587 | | break; |
| | 588 | | } |
| | 589 | | case 18: { |
| | 590 | | HoverText = input.ReadString(); |
| | 591 | | break; |
| | 592 | | } |
| | 593 | | case 29: { |
| | 594 | | MaxDistance = input.ReadFloat(); |
| | 595 | | break; |
| | 596 | | } |
| | 597 | | case 32: { |
| | 598 | | ShowFeedback = input.ReadBool(); |
| | 599 | | break; |
| | 600 | | } |
| | 601 | | } |
| | 602 | | } |
| | 603 | | } |
| | 604 | | #endif |
| | 605 | |
|
| | 606 | | } |
| | 607 | |
|
| | 608 | | public sealed partial class Entry : pb::IMessage<Entry> |
| | 609 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 610 | | , pb::IBufferMessage |
| | 611 | | #endif |
| | 612 | | { |
| 9 | 613 | | private static readonly pb::MessageParser<Entry> _parser = new pb::MessageParser<Entry>(() => new Entry()); |
| | 614 | | private pb::UnknownFieldSet _unknownFields; |
| | 615 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 616 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 617 | | public static pb::MessageParser<Entry> Parser { get { return _parser; } } |
| | 618 | |
|
| | 619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 621 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 622 | | get { return global::DCL.ECSComponents.PBPointerEvents.Descriptor.NestedTypes[1]; } |
| | 623 | | } |
| | 624 | |
|
| | 625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 627 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 628 | | get { return Descriptor; } |
| | 629 | | } |
| | 630 | |
|
| | 631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 3 | 633 | | public Entry() { |
| | 634 | | OnConstruction(); |
| 3 | 635 | | } |
| | 636 | |
|
| | 637 | | partial void OnConstruction(); |
| | 638 | |
|
| | 639 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 640 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 641 | | public Entry(Entry other) : this() { |
| 0 | 642 | | eventType_ = other.eventType_; |
| 0 | 643 | | eventInfo_ = other.eventInfo_ != null ? other.eventInfo_.Clone() : null; |
| 0 | 644 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 645 | | } |
| | 646 | |
|
| | 647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 649 | | public Entry Clone() { |
| 0 | 650 | | return new Entry(this); |
| | 651 | | } |
| | 652 | |
|
| | 653 | | /// <summary>Field number for the "eventType" field.</summary> |
| | 654 | | public const int EventTypeFieldNumber = 1; |
| | 655 | | private global::DCL.ECSComponents.PointerEventType eventType_ = global::DCL.ECSComponents.PointerEventType.Up; |
| | 656 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 657 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 658 | | public global::DCL.ECSComponents.PointerEventType EventType { |
| 0 | 659 | | get { return eventType_; } |
| | 660 | | set { |
| 3 | 661 | | eventType_ = value; |
| 3 | 662 | | } |
| | 663 | | } |
| | 664 | |
|
| | 665 | | /// <summary>Field number for the "eventInfo" field.</summary> |
| | 666 | | public const int EventInfoFieldNumber = 2; |
| | 667 | | private global::DCL.ECSComponents.PBPointerEvents.Types.Info eventInfo_; |
| | 668 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 669 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 670 | | public global::DCL.ECSComponents.PBPointerEvents.Types.Info EventInfo { |
| 0 | 671 | | get { return eventInfo_; } |
| | 672 | | set { |
| 3 | 673 | | eventInfo_ = value; |
| 3 | 674 | | } |
| | 675 | | } |
| | 676 | |
|
| | 677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 679 | | public override bool Equals(object other) { |
| 0 | 680 | | return Equals(other as Entry); |
| | 681 | | } |
| | 682 | |
|
| | 683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 685 | | public bool Equals(Entry other) { |
| 0 | 686 | | if (ReferenceEquals(other, null)) { |
| 0 | 687 | | return false; |
| | 688 | | } |
| 0 | 689 | | if (ReferenceEquals(other, this)) { |
| 0 | 690 | | return true; |
| | 691 | | } |
| 0 | 692 | | if (EventType != other.EventType) return false; |
| 0 | 693 | | if (!object.Equals(EventInfo, other.EventInfo)) return false; |
| 0 | 694 | | return Equals(_unknownFields, other._unknownFields); |
| | 695 | | } |
| | 696 | |
|
| | 697 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 698 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 699 | | public override int GetHashCode() { |
| 0 | 700 | | int hash = 1; |
| 0 | 701 | | if (EventType != global::DCL.ECSComponents.PointerEventType.Up) hash ^= EventType.GetHashCode(); |
| 0 | 702 | | if (eventInfo_ != null) hash ^= EventInfo.GetHashCode(); |
| 0 | 703 | | if (_unknownFields != null) { |
| 0 | 704 | | hash ^= _unknownFields.GetHashCode(); |
| | 705 | | } |
| 0 | 706 | | return hash; |
| | 707 | | } |
| | 708 | |
|
| | 709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 711 | | public override string ToString() { |
| 0 | 712 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 713 | | } |
| | 714 | |
|
| | 715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 717 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 718 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 719 | | output.WriteRawMessage(this); |
| | 720 | | #else |
| 8 | 721 | | if (EventType != global::DCL.ECSComponents.PointerEventType.Up) { |
| 5 | 722 | | output.WriteRawTag(8); |
| 5 | 723 | | output.WriteEnum((int) EventType); |
| | 724 | | } |
| 8 | 725 | | if (eventInfo_ != null) { |
| 8 | 726 | | output.WriteRawTag(18); |
| 8 | 727 | | output.WriteMessage(EventInfo); |
| | 728 | | } |
| 8 | 729 | | if (_unknownFields != null) { |
| 0 | 730 | | _unknownFields.WriteTo(output); |
| | 731 | | } |
| | 732 | | #endif |
| 8 | 733 | | } |
| | 734 | |
|
| | 735 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 738 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 739 | | if (EventType != global::DCL.ECSComponents.PointerEventType.Up) { |
| | 740 | | output.WriteRawTag(8); |
| | 741 | | output.WriteEnum((int) EventType); |
| | 742 | | } |
| | 743 | | if (eventInfo_ != null) { |
| | 744 | | output.WriteRawTag(18); |
| | 745 | | output.WriteMessage(EventInfo); |
| | 746 | | } |
| | 747 | | if (_unknownFields != null) { |
| | 748 | | _unknownFields.WriteTo(ref output); |
| | 749 | | } |
| | 750 | | } |
| | 751 | | #endif |
| | 752 | |
|
| | 753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 755 | | public int CalculateSize() { |
| 16 | 756 | | int size = 0; |
| 16 | 757 | | if (EventType != global::DCL.ECSComponents.PointerEventType.Up) { |
| 10 | 758 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EventType); |
| | 759 | | } |
| 16 | 760 | | if (eventInfo_ != null) { |
| 16 | 761 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(EventInfo); |
| | 762 | | } |
| 16 | 763 | | if (_unknownFields != null) { |
| 0 | 764 | | size += _unknownFields.CalculateSize(); |
| | 765 | | } |
| 16 | 766 | | return size; |
| | 767 | | } |
| | 768 | |
|
| | 769 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 770 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 771 | | public void MergeFrom(Entry other) { |
| 0 | 772 | | if (other == null) { |
| 0 | 773 | | return; |
| | 774 | | } |
| 0 | 775 | | if (other.EventType != global::DCL.ECSComponents.PointerEventType.Up) { |
| 0 | 776 | | EventType = other.EventType; |
| | 777 | | } |
| 0 | 778 | | if (other.eventInfo_ != null) { |
| 0 | 779 | | if (eventInfo_ == null) { |
| 0 | 780 | | EventInfo = new global::DCL.ECSComponents.PBPointerEvents.Types.Info(); |
| | 781 | | } |
| 0 | 782 | | EventInfo.MergeFrom(other.EventInfo); |
| | 783 | | } |
| 0 | 784 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 785 | | } |
| | 786 | |
|
| | 787 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 788 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 789 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 790 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 791 | | input.ReadRawMessage(this); |
| | 792 | | #else |
| | 793 | | uint tag; |
| 21 | 794 | | while ((tag = input.ReadTag()) != 0) { |
| | 795 | | switch(tag) { |
| | 796 | | default: |
| 0 | 797 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 798 | | break; |
| | 799 | | case 8: { |
| 5 | 800 | | EventType = (global::DCL.ECSComponents.PointerEventType) input.ReadEnum(); |
| 5 | 801 | | break; |
| | 802 | | } |
| | 803 | | case 18: { |
| 8 | 804 | | if (eventInfo_ == null) { |
| 8 | 805 | | EventInfo = new global::DCL.ECSComponents.PBPointerEvents.Types.Info(); |
| | 806 | | } |
| 8 | 807 | | input.ReadMessage(EventInfo); |
| | 808 | | break; |
| | 809 | | } |
| | 810 | | } |
| | 811 | | } |
| | 812 | | #endif |
| 8 | 813 | | } |
| | 814 | |
|
| | 815 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 818 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 819 | | uint tag; |
| | 820 | | while ((tag = input.ReadTag()) != 0) { |
| | 821 | | switch(tag) { |
| | 822 | | default: |
| | 823 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 824 | | break; |
| | 825 | | case 8: { |
| | 826 | | EventType = (global::DCL.ECSComponents.PointerEventType) input.ReadEnum(); |
| | 827 | | break; |
| | 828 | | } |
| | 829 | | case 18: { |
| | 830 | | if (eventInfo_ == null) { |
| | 831 | | EventInfo = new global::DCL.ECSComponents.PBPointerEvents.Types.Info(); |
| | 832 | | } |
| | 833 | | input.ReadMessage(EventInfo); |
| | 834 | | break; |
| | 835 | | } |
| | 836 | | } |
| | 837 | | } |
| | 838 | | } |
| | 839 | | #endif |
| | 840 | |
|
| | 841 | | } |
| | 842 | |
|
| | 843 | | } |
| | 844 | | #endregion |
| | 845 | |
|
| | 846 | | } |
| | 847 | |
|
| | 848 | | #endregion |
| | 849 | |
|
| | 850 | | } |
| | 851 | |
|
| | 852 | | #endregion Designer generated code |