| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/sdk/ecs6/engine_interface_ecs6.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 Decentraland.Sdk.Ecs6 { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/sdk/ecs6/engine_interface_ecs6.proto</summa |
| | 15 | | public static partial class EngineInterfaceEcs6Reflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/sdk/ecs6/engine_interface_ecs6.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static EngineInterfaceEcs6Reflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CjFkZWNlbnRyYWxhbmQvc2RrL2VjczYvZW5naW5lX2ludGVyZmFjZV9lY3M2", |
| | 28 | | "LnByb3RvEhVkZWNlbnRyYWxhbmQuc2RrLmVjczYaIWRlY2VudHJhbGFuZC9j", |
| | 29 | | "b21tb24vdmVjdG9ycy5wcm90bxorZGVjZW50cmFsYW5kL3Nkay9lY3M2L2Nv", |
| | 30 | | "bXBvbmVudHNfZWNzNi5wcm90byIiChNPcGVuRXh0ZXJuYWxVcmxCb2R5EgsK", |
| | 31 | | "A3VybBgBIAEoCSJnChFPcGVuTkZURGlhbG9nQm9keRIeChZhc3NldF9jb250", |
| | 32 | | "cmFjdF9hZGRyZXNzGAEgASgJEhAKCHRva2VuX2lkGAIgASgJEhQKB2NvbW1l", |
| | 33 | | "bnQYAyABKAlIAIgBAUIKCghfY29tbWVudCK8FwoUQ29tcG9uZW50Qm9keVBh", |
| | 34 | | "eWxvYWQSVgoUYXZhdGFyX21vZGlmaWVyX2FyZWEYASABKAsyNi5kZWNlbnRy", |
| | 35 | | "YWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudEF2YXRhck1vZGlmaWVyQXJl", |
| | 36 | | "YUgAEkIKCXRyYW5zZm9ybRgCIAEoCzItLmRlY2VudHJhbGFuZC5zZGsuZWNz", |
| | 37 | | "Ni5FQ1M2Q29tcG9uZW50VHJhbnNmb3JtSAASTgoQYXR0YWNoX3RvX2F2YXRh", |
| | 38 | | "chgDIAEoCzIyLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50", |
| | 39 | | "QXR0YWNoVG9BdmF0YXJIABJCCgliaWxsYm9hcmQYBCABKAsyLS5kZWNlbnRy", |
| | 40 | | "YWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudEJpbGxib2FyZEgAEkEKCWJv", |
| | 41 | | "eF9zaGFwZRgFIAEoCzIsLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29t", |
| | 42 | | "cG9uZW50Qm94U2hhcGVIABJHCgxzcGhlcmVfc2hhcGUYBiABKAsyLy5kZWNl", |
| | 43 | | "bnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudFNwaGVyZVNoYXBlSAAS", |
| | 44 | | "RwoMY2lyY2xlX3NoYXBlGAcgASgLMi8uZGVjZW50cmFsYW5kLnNkay5lY3M2", |
| | 45 | | "LkVDUzZDb21wb25lbnRDaXJjbGVTaGFwZUgAEkUKC3BsYW5lX3NoYXBlGAgg", |
| | 46 | | "ASgLMi4uZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRQbGFu", |
| | 47 | | "ZVNoYXBlSAASQwoKY29uZV9zaGFwZRgJIAEoCzItLmRlY2VudHJhbGFuZC5z", |
| | 48 | | "ZGsuZWNzNi5FQ1M2Q29tcG9uZW50Q29uZVNoYXBlSAASSwoOY3lsaW5kZXJf", |
| | 49 | | "c2hhcGUYCiABKAsyMS5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBv", |
| | 50 | | "bmVudEN5bGluZGVyU2hhcGVIABJDCgpnbHRmX3NoYXBlGAsgASgLMi0uZGVj", |
| | 51 | | "ZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRHbHRmU2hhcGVIABJB", |
| | 52 | | "CgluZnRfc2hhcGUYDCABKAsyLC5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNT", |
| | 53 | | "NkNvbXBvbmVudE5mdFNoYXBlSAASPgoHdGV4dHVyZRgNIAEoCzIrLmRlY2Vu", |
| | 54 | | "dHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50VGV4dHVyZUgAEkAKCGFu", |
| | 55 | | "aW1hdG9yGA4gASgLMiwuZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21w", |
| | 56 | | "b25lbnRBbmltYXRvckgAEkEKCW9ial9zaGFwZRgPIAEoCzIsLmRlY2VudHJh", |
| | 57 | | "bGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50T2JqU2hhcGVIABI4CgRmb250", |
| | 58 | | "GBAgASgLMiguZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRG", |
| | 59 | | "b250SAASQwoKdGV4dF9zaGFwZRgRIAEoCzItLmRlY2VudHJhbGFuZC5zZGsu", |
| | 60 | | "ZWNzNi5FQ1M2Q29tcG9uZW50VGV4dFNoYXBlSAASQAoIbWF0ZXJpYWwYEiAB", |
| | 61 | | "KAsyLC5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudE1hdGVy", |
| | 62 | | "aWFsSAASSwoOYmFzaWNfbWF0ZXJpYWwYEyABKAsyMS5kZWNlbnRyYWxhbmQu", |
| | 63 | | "c2RrLmVjczYuRUNTNkNvbXBvbmVudEJhc2ljTWF0ZXJpYWxIABJJCg11dWlk", |
| | 64 | | "X2NhbGxiYWNrGBQgASgLMjAuZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZD", |
| | 65 | | "b21wb25lbnRVdWlkQ2FsbGJhY2tIABJDCgpzbWFydF9pdGVtGBUgASgLMi0u", |
| | 66 | | "ZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRTbWFydEl0ZW1I", |
| | 67 | | "ABJDCgp2aWRlb19jbGlwGBYgASgLMi0uZGVjZW50cmFsYW5kLnNkay5lY3M2", |
| | 68 | | "LkVDUzZDb21wb25lbnRWaWRlb0NsaXBIABJJCg12aWRlb190ZXh0dXJlGBcg", |
| | 69 | | "ASgLMjAuZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRWaWRl", |
| | 70 | | "b1RleHR1cmVIABJOChBjYW1lcmFfbW9kZV9hcmVhGBggASgLMjIuZGVjZW50", |
| | 71 | | "cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRDYW1lcmFNb2RlQXJlYUgA", |
| | 72 | | "EksKDmF2YXRhcl90ZXh0dXJlGBkgASgLMjEuZGVjZW50cmFsYW5kLnNkay5l", |
| | 73 | | "Y3M2LkVDUzZDb21wb25lbnRBdmF0YXJUZXh0dXJlSAASQwoKYXVkaW9fY2xp", |
| | 74 | | "cBgaIAEoCzItLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50", |
| | 75 | | "QXVkaW9DbGlwSAASRwoMYXVkaW9fc291cmNlGBsgASgLMi8uZGVjZW50cmFs", |
| | 76 | | "YW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRBdWRpb1NvdXJjZUgAEkcKDGF1", |
| | 77 | | "ZGlvX3N0cmVhbRgcIAEoCzIvLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2", |
| | 78 | | "Q29tcG9uZW50QXVkaW9TdHJlYW1IABJHCgxhdmF0YXJfc2hhcGUYHSABKAsy", |
| | 79 | | "Ly5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudEF2YXRhclNo", |
| | 80 | | "YXBlSAASPAoGZ2l6bW9zGB4gASgLMiouZGVjZW50cmFsYW5kLnNkay5lY3M2", |
| | 81 | | "LkVDUzZDb21wb25lbnRHaXptb3NIABI/Cgh1aV9zaGFwZRgfIAEoCzIrLmRl", |
| | 82 | | "Y2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50VWlTaGFwZUgAElAK", |
| | 83 | | "EXVpX2NvbnRhaW5lcl9yZWN0GCAgASgLMjMuZGVjZW50cmFsYW5kLnNkay5l", |
| | 84 | | "Y3M2LkVDUzZDb21wb25lbnRVaUNvbnRhaW5lclJlY3RIABJSChJ1aV9jb250", |
| | 85 | | "YWluZXJfc3RhY2sYISABKAsyNC5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNT", |
| | 86 | | "NkNvbXBvbmVudFVpQ29udGFpbmVyU3RhY2tIABJBCgl1aV9idXR0b24YIiAB", |
| | 87 | | "KAsyLC5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudFVpQnV0", |
| | 88 | | "dG9uSAASPQoHdWlfdGV4dBgjIAEoCzIqLmRlY2VudHJhbGFuZC5zZGsuZWNz", |
| | 89 | | "Ni5FQ1M2Q29tcG9uZW50VWlUZXh0SAASSAoNdWlfaW5wdXRfdGV4dBgkIAEo", |
| | 90 | | "CzIvLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50VWlJbnB1", |
| | 91 | | "dFRleHRIABI/Cgh1aV9pbWFnZRglIAEoCzIrLmRlY2VudHJhbGFuZC5zZGsu", |
| | 92 | | "ZWNzNi5FQ1M2Q29tcG9uZW50VWlJbWFnZUgAEkoKDnVpX3Njcm9sbF9yZWN0", |
| | 93 | | "GCYgASgLMjAuZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRV", |
| | 94 | | "aVNjcm9sbFJlY3RIABJVChR1aV93b3JsZF9zcGFjZV9zaGFwZRgnIAEoCzI1", |
| | 95 | | "LmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29tcG9uZW50VWlXb3JsZFNw", |
| | 96 | | "YWNlU2hhcGVIABJXChV1aV9zY3JlZW5fc3BhY2Vfc2hhcGUYKCABKAsyNi5k", |
| | 97 | | "ZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudFVpU2NyZWVuU3Bh", |
| | 98 | | "Y2VTaGFwZUgAElUKFHVpX2Z1bGxfc2NyZWVuX3NoYXBlGCkgASgLMjUuZGVj", |
| | 99 | | "ZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25lbnRVaUZ1bGxTY3JlZW5T", |
| | 100 | | "aGFwZUgAQgkKB3BheWxvYWQiHgoQQ3JlYXRlRW50aXR5Qm9keRIKCgJpZBgB", |
| | 101 | | "IAEoCSIeChBSZW1vdmVFbnRpdHlCb2R5EgoKAmlkGAEgASgJIpMBChlVcGRh", |
| | 102 | | "dGVFbnRpdHlDb21wb25lbnRCb2R5EhEKCWVudGl0eV9pZBgBIAEoCRIQCghj", |
| | 103 | | "bGFzc19pZBgCIAEoBRIMCgRuYW1lGAMgASgJEkMKDmNvbXBvbmVudF9kYXRh", |
| | 104 | | "GAQgASgLMisuZGVjZW50cmFsYW5kLnNkay5lY3M2LkNvbXBvbmVudEJvZHlQ", |
| | 105 | | "YXlsb2FkIkgKGUF0dGFjaEVudGl0eUNvbXBvbmVudEJvZHkSEQoJZW50aXR5", |
| | 106 | | "X2lkGAEgASgJEgwKBG5hbWUYAiABKAkSCgoCaWQYAyABKAkiNwoUQ29tcG9u", |
| | 107 | | "ZW50UmVtb3ZlZEJvZHkSEQoJZW50aXR5X2lkGAEgASgJEgwKBG5hbWUYAiAB", |
| | 108 | | "KAkiOwoTU2V0RW50aXR5UGFyZW50Qm9keRIRCgllbnRpdHlfaWQYASABKAkS", |
| | 109 | | "EQoJcGFyZW50X2lkGAIgASgJIrYCCglRdWVyeUJvZHkSEAoIcXVlcnlfaWQY", |
| | 110 | | "ASABKAkSOgoHcGF5bG9hZBgCIAEoCzIpLmRlY2VudHJhbGFuZC5zZGsuZWNz", |
| | 111 | | "Ni5RdWVyeUJvZHkuUmF5UXVlcnkadgoDUmF5EiwKBm9yaWdpbhgBIAEoCzIc", |
| | 112 | | "LmRlY2VudHJhbGFuZC5jb21tb24uVmVjdG9yMxIvCglkaXJlY3Rpb24YAiAB", |
| | 113 | | "KAsyHC5kZWNlbnRyYWxhbmQuY29tbW9uLlZlY3RvcjMSEAoIZGlzdGFuY2UY", |
| | 114 | | "AyABKAIaYwoIUmF5UXVlcnkSEAoIcXVlcnlfaWQYASABKAkSEgoKcXVlcnlf", |
| | 115 | | "dHlwZRgCIAEoCRIxCgNyYXkYAyABKAsyJC5kZWNlbnRyYWxhbmQuc2RrLmVj", |
| | 116 | | "czYuUXVlcnlCb2R5LlJheSJCChRDb21wb25lbnRDcmVhdGVkQm9keRIKCgJp", |
| | 117 | | "ZBgBIAEoCRIQCghjbGFzc19pZBgCIAEoBRIMCgRuYW1lGAMgASgJIiMKFUNv", |
| | 118 | | "bXBvbmVudERpc3Bvc2VkQm9keRIKCgJpZBgBIAEoCSJnChRDb21wb25lbnRV", |
| | 119 | | "cGRhdGVkQm9keRIKCgJpZBgBIAEoCRJDCg5jb21wb25lbnRfZGF0YRgCIAEo", |
| | 120 | | "CzIrLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5Db21wb25lbnRCb2R5UGF5bG9h", |
| | 121 | | "ZCIaChhJbml0TWVzc2FnZXNGaW5pc2hlZEJvZHki1QcKE0VudGl0eUFjdGlv", |
| | 122 | | "blBheWxvYWQSRwoRb3Blbl9leHRlcm5hbF91cmwYASABKAsyKi5kZWNlbnRy", |
| | 123 | | "YWxhbmQuc2RrLmVjczYuT3BlbkV4dGVybmFsVXJsQm9keUgAEkMKD29wZW5f", |
| | 124 | | "bmZ0X2RpYWxvZxgCIAEoCzIoLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5PcGVu", |
| | 125 | | "TkZURGlhbG9nQm9keUgAEkAKDWNyZWF0ZV9lbnRpdHkYAyABKAsyJy5kZWNl", |
| | 126 | | "bnRyYWxhbmQuc2RrLmVjczYuQ3JlYXRlRW50aXR5Qm9keUgAEkAKDXJlbW92", |
| | 127 | | "ZV9lbnRpdHkYBCABKAsyJy5kZWNlbnRyYWxhbmQuc2RrLmVjczYuUmVtb3Zl", |
| | 128 | | "RW50aXR5Qm9keUgAElMKF3VwZGF0ZV9lbnRpdHlfY29tcG9uZW50GAUgASgL", |
| | 129 | | "MjAuZGVjZW50cmFsYW5kLnNkay5lY3M2LlVwZGF0ZUVudGl0eUNvbXBvbmVu", |
| | 130 | | "dEJvZHlIABJTChdhdHRhY2hfZW50aXR5X2NvbXBvbmVudBgGIAEoCzIwLmRl", |
| | 131 | | "Y2VudHJhbGFuZC5zZGsuZWNzNi5BdHRhY2hFbnRpdHlDb21wb25lbnRCb2R5", |
| | 132 | | "SAASSAoRY29tcG9uZW50X3JlbW92ZWQYByABKAsyKy5kZWNlbnRyYWxhbmQu", |
| | 133 | | "c2RrLmVjczYuQ29tcG9uZW50UmVtb3ZlZEJvZHlIABJHChFzZXRfZW50aXR5", |
| | 134 | | "X3BhcmVudBgIIAEoCzIqLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5TZXRFbnRp", |
| | 135 | | "dHlQYXJlbnRCb2R5SAASMQoFcXVlcnkYCSABKAsyIC5kZWNlbnRyYWxhbmQu", |
| | 136 | | "c2RrLmVjczYuUXVlcnlCb2R5SAASSAoRY29tcG9uZW50X2NyZWF0ZWQYCiAB", |
| | 137 | | "KAsyKy5kZWNlbnRyYWxhbmQuc2RrLmVjczYuQ29tcG9uZW50Q3JlYXRlZEJv", |
| | 138 | | "ZHlIABJKChJjb21wb25lbnRfZGlzcG9zZWQYCyABKAsyLC5kZWNlbnRyYWxh", |
| | 139 | | "bmQuc2RrLmVjczYuQ29tcG9uZW50RGlzcG9zZWRCb2R5SAASSAoRY29tcG9u", |
| | 140 | | "ZW50X3VwZGF0ZWQYDCABKAsyKy5kZWNlbnRyYWxhbmQuc2RrLmVjczYuQ29t", |
| | 141 | | "cG9uZW50VXBkYXRlZEJvZHlIABJRChZpbml0X21lc3NhZ2VzX2ZpbmlzaGVk", |
| | 142 | | "GA0gASgLMi8uZGVjZW50cmFsYW5kLnNkay5lY3M2LkluaXRNZXNzYWdlc0Zp", |
| | 143 | | "bmlzaGVkQm9keUgAQgkKB3BheWxvYWQiZQoMRW50aXR5QWN0aW9uEhAKA3Rh", |
| | 144 | | "ZxgCIAEoCUgAiAEBEjsKB3BheWxvYWQYAyABKAsyKi5kZWNlbnRyYWxhbmQu", |
| | 145 | | "c2RrLmVjczYuRW50aXR5QWN0aW9uUGF5bG9hZEIGCgRfdGFnYgZwcm90bzM=")); |
| | 146 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 147 | | new pbr::FileDescriptor[] { global::Decentraland.Common.VectorsReflection.Descriptor, global::Decentraland.Sdk |
| | 148 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 149 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody), global::Decentralan |
| | 150 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody), global::Decentraland. |
| | 151 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ComponentBodyPayload), global::Decentrala |
| | 152 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.CreateEntityBody), global::Decentraland.S |
| | 153 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.RemoveEntityBody), global::Decentraland.S |
| | 154 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.UpdateEntityComponentBody), global::Decen |
| | 155 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.AttachEntityComponentBody), global::Decen |
| | 156 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ComponentRemovedBody), global::Decentrala |
| | 157 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.SetEntityParentBody), global::Decentralan |
| | 158 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.QueryBody), global::Decentraland.Sdk.Ecs6 |
| | 159 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery), global::Decent |
| | 160 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ComponentCreatedBody), global::Decentrala |
| | 161 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ComponentDisposedBody), global::Decentral |
| | 162 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ComponentUpdatedBody), global::Decentrala |
| | 163 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.InitMessagesFinishedBody), global::Decent |
| | 164 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.EntityActionPayload), global::Decentralan |
| | 165 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.EntityAction), global::Decentraland.Sdk.E |
| | 166 | | })); |
| | 167 | | } |
| | 168 | | #endregion |
| | 169 | |
|
| | 170 | | } |
| | 171 | | #region Messages |
| | 172 | | public sealed partial class OpenExternalUrlBody : pb::IMessage<OpenExternalUrlBody> |
| | 173 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 174 | | , pb::IBufferMessage |
| | 175 | | #endif |
| | 176 | | { |
| | 177 | | private static readonly pb::MessageParser<OpenExternalUrlBody> _parser = new pb::MessageParser<OpenExternalUrlBody>( |
| | 178 | | private pb::UnknownFieldSet _unknownFields; |
| | 179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 181 | | public static pb::MessageParser<OpenExternalUrlBody> Parser { get { return _parser; } } |
| | 182 | |
|
| | 183 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 184 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 185 | | public static pbr::MessageDescriptor Descriptor { |
| | 186 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[0]; } |
| | 187 | | } |
| | 188 | |
|
| | 189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 191 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 192 | | get { return Descriptor; } |
| | 193 | | } |
| | 194 | |
|
| | 195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 197 | | public OpenExternalUrlBody() { |
| | 198 | | OnConstruction(); |
| | 199 | | } |
| | 200 | |
|
| | 201 | | partial void OnConstruction(); |
| | 202 | |
|
| | 203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 205 | | public OpenExternalUrlBody(OpenExternalUrlBody other) : this() { |
| | 206 | | url_ = other.url_; |
| | 207 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 208 | | } |
| | 209 | |
|
| | 210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 212 | | public OpenExternalUrlBody Clone() { |
| | 213 | | return new OpenExternalUrlBody(this); |
| | 214 | | } |
| | 215 | |
|
| | 216 | | /// <summary>Field number for the "url" field.</summary> |
| | 217 | | public const int UrlFieldNumber = 1; |
| | 218 | | private string url_ = ""; |
| | 219 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 220 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 221 | | public string Url { |
| | 222 | | get { return url_; } |
| | 223 | | set { |
| | 224 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 225 | | } |
| | 226 | | } |
| | 227 | |
|
| | 228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 230 | | public override bool Equals(object other) { |
| | 231 | | return Equals(other as OpenExternalUrlBody); |
| | 232 | | } |
| | 233 | |
|
| | 234 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 235 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 236 | | public bool Equals(OpenExternalUrlBody other) { |
| | 237 | | if (ReferenceEquals(other, null)) { |
| | 238 | | return false; |
| | 239 | | } |
| | 240 | | if (ReferenceEquals(other, this)) { |
| | 241 | | return true; |
| | 242 | | } |
| | 243 | | if (Url != other.Url) return false; |
| | 244 | | return Equals(_unknownFields, other._unknownFields); |
| | 245 | | } |
| | 246 | |
|
| | 247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 249 | | public override int GetHashCode() { |
| | 250 | | int hash = 1; |
| | 251 | | if (Url.Length != 0) hash ^= Url.GetHashCode(); |
| | 252 | | if (_unknownFields != null) { |
| | 253 | | hash ^= _unknownFields.GetHashCode(); |
| | 254 | | } |
| | 255 | | return hash; |
| | 256 | | } |
| | 257 | |
|
| | 258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 260 | | public override string ToString() { |
| | 261 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 262 | | } |
| | 263 | |
|
| | 264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 266 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 267 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 268 | | output.WriteRawMessage(this); |
| | 269 | | #else |
| | 270 | | if (Url.Length != 0) { |
| | 271 | | output.WriteRawTag(10); |
| | 272 | | output.WriteString(Url); |
| | 273 | | } |
| | 274 | | if (_unknownFields != null) { |
| | 275 | | _unknownFields.WriteTo(output); |
| | 276 | | } |
| | 277 | | #endif |
| | 278 | | } |
| | 279 | |
|
| | 280 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 283 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 284 | | if (Url.Length != 0) { |
| | 285 | | output.WriteRawTag(10); |
| | 286 | | output.WriteString(Url); |
| | 287 | | } |
| | 288 | | if (_unknownFields != null) { |
| | 289 | | _unknownFields.WriteTo(ref output); |
| | 290 | | } |
| | 291 | | } |
| | 292 | | #endif |
| | 293 | |
|
| | 294 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 295 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 296 | | public int CalculateSize() { |
| | 297 | | int size = 0; |
| | 298 | | if (Url.Length != 0) { |
| | 299 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 300 | | } |
| | 301 | | if (_unknownFields != null) { |
| | 302 | | size += _unknownFields.CalculateSize(); |
| | 303 | | } |
| | 304 | | return size; |
| | 305 | | } |
| | 306 | |
|
| | 307 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 308 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 309 | | public void MergeFrom(OpenExternalUrlBody other) { |
| | 310 | | if (other == null) { |
| | 311 | | return; |
| | 312 | | } |
| | 313 | | if (other.Url.Length != 0) { |
| | 314 | | Url = other.Url; |
| | 315 | | } |
| | 316 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 317 | | } |
| | 318 | |
|
| | 319 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 320 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 321 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 322 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 323 | | input.ReadRawMessage(this); |
| | 324 | | #else |
| | 325 | | uint tag; |
| | 326 | | while ((tag = input.ReadTag()) != 0) { |
| | 327 | | switch(tag) { |
| | 328 | | default: |
| | 329 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 330 | | break; |
| | 331 | | case 10: { |
| | 332 | | Url = input.ReadString(); |
| | 333 | | break; |
| | 334 | | } |
| | 335 | | } |
| | 336 | | } |
| | 337 | | #endif |
| | 338 | | } |
| | 339 | |
|
| | 340 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 341 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 342 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 343 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 344 | | uint tag; |
| | 345 | | while ((tag = input.ReadTag()) != 0) { |
| | 346 | | switch(tag) { |
| | 347 | | default: |
| | 348 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 349 | | break; |
| | 350 | | case 10: { |
| | 351 | | Url = input.ReadString(); |
| | 352 | | break; |
| | 353 | | } |
| | 354 | | } |
| | 355 | | } |
| | 356 | | } |
| | 357 | | #endif |
| | 358 | |
|
| | 359 | | } |
| | 360 | |
|
| | 361 | | public sealed partial class OpenNFTDialogBody : pb::IMessage<OpenNFTDialogBody> |
| | 362 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 363 | | , pb::IBufferMessage |
| | 364 | | #endif |
| | 365 | | { |
| | 366 | | private static readonly pb::MessageParser<OpenNFTDialogBody> _parser = new pb::MessageParser<OpenNFTDialogBody>(() = |
| | 367 | | private pb::UnknownFieldSet _unknownFields; |
| | 368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 370 | | public static pb::MessageParser<OpenNFTDialogBody> Parser { get { return _parser; } } |
| | 371 | |
|
| | 372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 374 | | public static pbr::MessageDescriptor Descriptor { |
| | 375 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[1]; } |
| | 376 | | } |
| | 377 | |
|
| | 378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 380 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 381 | | get { return Descriptor; } |
| | 382 | | } |
| | 383 | |
|
| | 384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 386 | | public OpenNFTDialogBody() { |
| | 387 | | OnConstruction(); |
| | 388 | | } |
| | 389 | |
|
| | 390 | | partial void OnConstruction(); |
| | 391 | |
|
| | 392 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 393 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 394 | | public OpenNFTDialogBody(OpenNFTDialogBody other) : this() { |
| | 395 | | assetContractAddress_ = other.assetContractAddress_; |
| | 396 | | tokenId_ = other.tokenId_; |
| | 397 | | comment_ = other.comment_; |
| | 398 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 399 | | } |
| | 400 | |
|
| | 401 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 402 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 403 | | public OpenNFTDialogBody Clone() { |
| | 404 | | return new OpenNFTDialogBody(this); |
| | 405 | | } |
| | 406 | |
|
| | 407 | | /// <summary>Field number for the "asset_contract_address" field.</summary> |
| | 408 | | public const int AssetContractAddressFieldNumber = 1; |
| | 409 | | private string assetContractAddress_ = ""; |
| | 410 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 411 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 412 | | public string AssetContractAddress { |
| | 413 | | get { return assetContractAddress_; } |
| | 414 | | set { |
| | 415 | | assetContractAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 416 | | } |
| | 417 | | } |
| | 418 | |
|
| | 419 | | /// <summary>Field number for the "token_id" field.</summary> |
| | 420 | | public const int TokenIdFieldNumber = 2; |
| | 421 | | private string tokenId_ = ""; |
| | 422 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 423 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 424 | | public string TokenId { |
| | 425 | | get { return tokenId_; } |
| | 426 | | set { |
| | 427 | | tokenId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 428 | | } |
| | 429 | | } |
| | 430 | |
|
| | 431 | | /// <summary>Field number for the "comment" field.</summary> |
| | 432 | | public const int CommentFieldNumber = 3; |
| | 433 | | private string comment_; |
| | 434 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 435 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 436 | | public string Comment { |
| | 437 | | get { return comment_ ?? ""; } |
| | 438 | | set { |
| | 439 | | comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 440 | | } |
| | 441 | | } |
| | 442 | | /// <summary>Gets whether the "comment" field is set</summary> |
| | 443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 445 | | public bool HasComment { |
| | 446 | | get { return comment_ != null; } |
| | 447 | | } |
| | 448 | | /// <summary>Clears the value of the "comment" field</summary> |
| | 449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 451 | | public void ClearComment() { |
| | 452 | | comment_ = null; |
| | 453 | | } |
| | 454 | |
|
| | 455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 457 | | public override bool Equals(object other) { |
| | 458 | | return Equals(other as OpenNFTDialogBody); |
| | 459 | | } |
| | 460 | |
|
| | 461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 463 | | public bool Equals(OpenNFTDialogBody other) { |
| | 464 | | if (ReferenceEquals(other, null)) { |
| | 465 | | return false; |
| | 466 | | } |
| | 467 | | if (ReferenceEquals(other, this)) { |
| | 468 | | return true; |
| | 469 | | } |
| | 470 | | if (AssetContractAddress != other.AssetContractAddress) return false; |
| | 471 | | if (TokenId != other.TokenId) return false; |
| | 472 | | if (Comment != other.Comment) return false; |
| | 473 | | return Equals(_unknownFields, other._unknownFields); |
| | 474 | | } |
| | 475 | |
|
| | 476 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 477 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 478 | | public override int GetHashCode() { |
| | 479 | | int hash = 1; |
| | 480 | | if (AssetContractAddress.Length != 0) hash ^= AssetContractAddress.GetHashCode(); |
| | 481 | | if (TokenId.Length != 0) hash ^= TokenId.GetHashCode(); |
| | 482 | | if (HasComment) hash ^= Comment.GetHashCode(); |
| | 483 | | if (_unknownFields != null) { |
| | 484 | | hash ^= _unknownFields.GetHashCode(); |
| | 485 | | } |
| | 486 | | return hash; |
| | 487 | | } |
| | 488 | |
|
| | 489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 491 | | public override string ToString() { |
| | 492 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 493 | | } |
| | 494 | |
|
| | 495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 497 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 498 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 499 | | output.WriteRawMessage(this); |
| | 500 | | #else |
| | 501 | | if (AssetContractAddress.Length != 0) { |
| | 502 | | output.WriteRawTag(10); |
| | 503 | | output.WriteString(AssetContractAddress); |
| | 504 | | } |
| | 505 | | if (TokenId.Length != 0) { |
| | 506 | | output.WriteRawTag(18); |
| | 507 | | output.WriteString(TokenId); |
| | 508 | | } |
| | 509 | | if (HasComment) { |
| | 510 | | output.WriteRawTag(26); |
| | 511 | | output.WriteString(Comment); |
| | 512 | | } |
| | 513 | | if (_unknownFields != null) { |
| | 514 | | _unknownFields.WriteTo(output); |
| | 515 | | } |
| | 516 | | #endif |
| | 517 | | } |
| | 518 | |
|
| | 519 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 520 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 521 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 522 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 523 | | if (AssetContractAddress.Length != 0) { |
| | 524 | | output.WriteRawTag(10); |
| | 525 | | output.WriteString(AssetContractAddress); |
| | 526 | | } |
| | 527 | | if (TokenId.Length != 0) { |
| | 528 | | output.WriteRawTag(18); |
| | 529 | | output.WriteString(TokenId); |
| | 530 | | } |
| | 531 | | if (HasComment) { |
| | 532 | | output.WriteRawTag(26); |
| | 533 | | output.WriteString(Comment); |
| | 534 | | } |
| | 535 | | if (_unknownFields != null) { |
| | 536 | | _unknownFields.WriteTo(ref output); |
| | 537 | | } |
| | 538 | | } |
| | 539 | | #endif |
| | 540 | |
|
| | 541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 543 | | public int CalculateSize() { |
| | 544 | | int size = 0; |
| | 545 | | if (AssetContractAddress.Length != 0) { |
| | 546 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AssetContractAddress); |
| | 547 | | } |
| | 548 | | if (TokenId.Length != 0) { |
| | 549 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(TokenId); |
| | 550 | | } |
| | 551 | | if (HasComment) { |
| | 552 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); |
| | 553 | | } |
| | 554 | | if (_unknownFields != null) { |
| | 555 | | size += _unknownFields.CalculateSize(); |
| | 556 | | } |
| | 557 | | return size; |
| | 558 | | } |
| | 559 | |
|
| | 560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 562 | | public void MergeFrom(OpenNFTDialogBody other) { |
| | 563 | | if (other == null) { |
| | 564 | | return; |
| | 565 | | } |
| | 566 | | if (other.AssetContractAddress.Length != 0) { |
| | 567 | | AssetContractAddress = other.AssetContractAddress; |
| | 568 | | } |
| | 569 | | if (other.TokenId.Length != 0) { |
| | 570 | | TokenId = other.TokenId; |
| | 571 | | } |
| | 572 | | if (other.HasComment) { |
| | 573 | | Comment = other.Comment; |
| | 574 | | } |
| | 575 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 576 | | } |
| | 577 | |
|
| | 578 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 579 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 580 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 581 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 582 | | input.ReadRawMessage(this); |
| | 583 | | #else |
| | 584 | | uint tag; |
| | 585 | | while ((tag = input.ReadTag()) != 0) { |
| | 586 | | switch(tag) { |
| | 587 | | default: |
| | 588 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 589 | | break; |
| | 590 | | case 10: { |
| | 591 | | AssetContractAddress = input.ReadString(); |
| | 592 | | break; |
| | 593 | | } |
| | 594 | | case 18: { |
| | 595 | | TokenId = input.ReadString(); |
| | 596 | | break; |
| | 597 | | } |
| | 598 | | case 26: { |
| | 599 | | Comment = input.ReadString(); |
| | 600 | | break; |
| | 601 | | } |
| | 602 | | } |
| | 603 | | } |
| | 604 | | #endif |
| | 605 | | } |
| | 606 | |
|
| | 607 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 608 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 609 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 610 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 611 | | uint tag; |
| | 612 | | while ((tag = input.ReadTag()) != 0) { |
| | 613 | | switch(tag) { |
| | 614 | | default: |
| | 615 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 616 | | break; |
| | 617 | | case 10: { |
| | 618 | | AssetContractAddress = input.ReadString(); |
| | 619 | | break; |
| | 620 | | } |
| | 621 | | case 18: { |
| | 622 | | TokenId = input.ReadString(); |
| | 623 | | break; |
| | 624 | | } |
| | 625 | | case 26: { |
| | 626 | | Comment = input.ReadString(); |
| | 627 | | break; |
| | 628 | | } |
| | 629 | | } |
| | 630 | | } |
| | 631 | | } |
| | 632 | | #endif |
| | 633 | |
|
| | 634 | | } |
| | 635 | |
|
| | 636 | | public sealed partial class ComponentBodyPayload : pb::IMessage<ComponentBodyPayload> |
| | 637 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 638 | | , pb::IBufferMessage |
| | 639 | | #endif |
| | 640 | | { |
| | 641 | | private static readonly pb::MessageParser<ComponentBodyPayload> _parser = new pb::MessageParser<ComponentBodyPayload |
| | 642 | | private pb::UnknownFieldSet _unknownFields; |
| | 643 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 644 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 645 | | public static pb::MessageParser<ComponentBodyPayload> Parser { get { return _parser; } } |
| | 646 | |
|
| | 647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 649 | | public static pbr::MessageDescriptor Descriptor { |
| | 650 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[2]; } |
| | 651 | | } |
| | 652 | |
|
| | 653 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 654 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 655 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 656 | | get { return Descriptor; } |
| | 657 | | } |
| | 658 | |
|
| | 659 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 660 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 661 | | public ComponentBodyPayload() { |
| | 662 | | OnConstruction(); |
| | 663 | | } |
| | 664 | |
|
| | 665 | | partial void OnConstruction(); |
| | 666 | |
|
| | 667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 669 | | public ComponentBodyPayload(ComponentBodyPayload other) : this() { |
| | 670 | | switch (other.PayloadCase) { |
| | 671 | | case PayloadOneofCase.AvatarModifierArea: |
| | 672 | | AvatarModifierArea = other.AvatarModifierArea.Clone(); |
| | 673 | | break; |
| | 674 | | case PayloadOneofCase.Transform: |
| | 675 | | Transform = other.Transform.Clone(); |
| | 676 | | break; |
| | 677 | | case PayloadOneofCase.AttachToAvatar: |
| | 678 | | AttachToAvatar = other.AttachToAvatar.Clone(); |
| | 679 | | break; |
| | 680 | | case PayloadOneofCase.Billboard: |
| | 681 | | Billboard = other.Billboard.Clone(); |
| | 682 | | break; |
| | 683 | | case PayloadOneofCase.BoxShape: |
| | 684 | | BoxShape = other.BoxShape.Clone(); |
| | 685 | | break; |
| | 686 | | case PayloadOneofCase.SphereShape: |
| | 687 | | SphereShape = other.SphereShape.Clone(); |
| | 688 | | break; |
| | 689 | | case PayloadOneofCase.CircleShape: |
| | 690 | | CircleShape = other.CircleShape.Clone(); |
| | 691 | | break; |
| | 692 | | case PayloadOneofCase.PlaneShape: |
| | 693 | | PlaneShape = other.PlaneShape.Clone(); |
| | 694 | | break; |
| | 695 | | case PayloadOneofCase.ConeShape: |
| | 696 | | ConeShape = other.ConeShape.Clone(); |
| | 697 | | break; |
| | 698 | | case PayloadOneofCase.CylinderShape: |
| | 699 | | CylinderShape = other.CylinderShape.Clone(); |
| | 700 | | break; |
| | 701 | | case PayloadOneofCase.GltfShape: |
| | 702 | | GltfShape = other.GltfShape.Clone(); |
| | 703 | | break; |
| | 704 | | case PayloadOneofCase.NftShape: |
| | 705 | | NftShape = other.NftShape.Clone(); |
| | 706 | | break; |
| | 707 | | case PayloadOneofCase.Texture: |
| | 708 | | Texture = other.Texture.Clone(); |
| | 709 | | break; |
| | 710 | | case PayloadOneofCase.Animator: |
| | 711 | | Animator = other.Animator.Clone(); |
| | 712 | | break; |
| | 713 | | case PayloadOneofCase.ObjShape: |
| | 714 | | ObjShape = other.ObjShape.Clone(); |
| | 715 | | break; |
| | 716 | | case PayloadOneofCase.Font: |
| | 717 | | Font = other.Font.Clone(); |
| | 718 | | break; |
| | 719 | | case PayloadOneofCase.TextShape: |
| | 720 | | TextShape = other.TextShape.Clone(); |
| | 721 | | break; |
| | 722 | | case PayloadOneofCase.Material: |
| | 723 | | Material = other.Material.Clone(); |
| | 724 | | break; |
| | 725 | | case PayloadOneofCase.BasicMaterial: |
| | 726 | | BasicMaterial = other.BasicMaterial.Clone(); |
| | 727 | | break; |
| | 728 | | case PayloadOneofCase.UuidCallback: |
| | 729 | | UuidCallback = other.UuidCallback.Clone(); |
| | 730 | | break; |
| | 731 | | case PayloadOneofCase.SmartItem: |
| | 732 | | SmartItem = other.SmartItem.Clone(); |
| | 733 | | break; |
| | 734 | | case PayloadOneofCase.VideoClip: |
| | 735 | | VideoClip = other.VideoClip.Clone(); |
| | 736 | | break; |
| | 737 | | case PayloadOneofCase.VideoTexture: |
| | 738 | | VideoTexture = other.VideoTexture.Clone(); |
| | 739 | | break; |
| | 740 | | case PayloadOneofCase.CameraModeArea: |
| | 741 | | CameraModeArea = other.CameraModeArea.Clone(); |
| | 742 | | break; |
| | 743 | | case PayloadOneofCase.AvatarTexture: |
| | 744 | | AvatarTexture = other.AvatarTexture.Clone(); |
| | 745 | | break; |
| | 746 | | case PayloadOneofCase.AudioClip: |
| | 747 | | AudioClip = other.AudioClip.Clone(); |
| | 748 | | break; |
| | 749 | | case PayloadOneofCase.AudioSource: |
| | 750 | | AudioSource = other.AudioSource.Clone(); |
| | 751 | | break; |
| | 752 | | case PayloadOneofCase.AudioStream: |
| | 753 | | AudioStream = other.AudioStream.Clone(); |
| | 754 | | break; |
| | 755 | | case PayloadOneofCase.AvatarShape: |
| | 756 | | AvatarShape = other.AvatarShape.Clone(); |
| | 757 | | break; |
| | 758 | | case PayloadOneofCase.Gizmos: |
| | 759 | | Gizmos = other.Gizmos.Clone(); |
| | 760 | | break; |
| | 761 | | case PayloadOneofCase.UiShape: |
| | 762 | | UiShape = other.UiShape.Clone(); |
| | 763 | | break; |
| | 764 | | case PayloadOneofCase.UiContainerRect: |
| | 765 | | UiContainerRect = other.UiContainerRect.Clone(); |
| | 766 | | break; |
| | 767 | | case PayloadOneofCase.UiContainerStack: |
| | 768 | | UiContainerStack = other.UiContainerStack.Clone(); |
| | 769 | | break; |
| | 770 | | case PayloadOneofCase.UiButton: |
| | 771 | | UiButton = other.UiButton.Clone(); |
| | 772 | | break; |
| | 773 | | case PayloadOneofCase.UiText: |
| | 774 | | UiText = other.UiText.Clone(); |
| | 775 | | break; |
| | 776 | | case PayloadOneofCase.UiInputText: |
| | 777 | | UiInputText = other.UiInputText.Clone(); |
| | 778 | | break; |
| | 779 | | case PayloadOneofCase.UiImage: |
| | 780 | | UiImage = other.UiImage.Clone(); |
| | 781 | | break; |
| | 782 | | case PayloadOneofCase.UiScrollRect: |
| | 783 | | UiScrollRect = other.UiScrollRect.Clone(); |
| | 784 | | break; |
| | 785 | | case PayloadOneofCase.UiWorldSpaceShape: |
| | 786 | | UiWorldSpaceShape = other.UiWorldSpaceShape.Clone(); |
| | 787 | | break; |
| | 788 | | case PayloadOneofCase.UiScreenSpaceShape: |
| | 789 | | UiScreenSpaceShape = other.UiScreenSpaceShape.Clone(); |
| | 790 | | break; |
| | 791 | | case PayloadOneofCase.UiFullScreenShape: |
| | 792 | | UiFullScreenShape = other.UiFullScreenShape.Clone(); |
| | 793 | | break; |
| | 794 | | } |
| | 795 | |
|
| | 796 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 797 | | } |
| | 798 | |
|
| | 799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 801 | | public ComponentBodyPayload Clone() { |
| | 802 | | return new ComponentBodyPayload(this); |
| | 803 | | } |
| | 804 | |
|
| | 805 | | /// <summary>Field number for the "avatar_modifier_area" field.</summary> |
| | 806 | | public const int AvatarModifierAreaFieldNumber = 1; |
| | 807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 809 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarModifierArea AvatarModifierArea { |
| | 810 | | get { return payloadCase_ == PayloadOneofCase.AvatarModifierArea ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAva |
| | 811 | | set { |
| | 812 | | payload_ = value; |
| | 813 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AvatarModifierArea; |
| | 814 | | } |
| | 815 | | } |
| | 816 | |
|
| | 817 | | /// <summary>Field number for the "transform" field.</summary> |
| | 818 | | public const int TransformFieldNumber = 2; |
| | 819 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 820 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 821 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform Transform { |
| | 822 | | get { return payloadCase_ == PayloadOneofCase.Transform ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform) p |
| | 823 | | set { |
| | 824 | | payload_ = value; |
| | 825 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Transform; |
| | 826 | | } |
| | 827 | | } |
| | 828 | |
|
| | 829 | | /// <summary>Field number for the "attach_to_avatar" field.</summary> |
| | 830 | | public const int AttachToAvatarFieldNumber = 3; |
| | 831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 833 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar AttachToAvatar { |
| | 834 | | get { return payloadCase_ == PayloadOneofCase.AttachToAvatar ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachT |
| | 835 | | set { |
| | 836 | | payload_ = value; |
| | 837 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AttachToAvatar; |
| | 838 | | } |
| | 839 | | } |
| | 840 | |
|
| | 841 | | /// <summary>Field number for the "billboard" field.</summary> |
| | 842 | | public const int BillboardFieldNumber = 4; |
| | 843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 845 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard Billboard { |
| | 846 | | get { return payloadCase_ == PayloadOneofCase.Billboard ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard) p |
| | 847 | | set { |
| | 848 | | payload_ = value; |
| | 849 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Billboard; |
| | 850 | | } |
| | 851 | | } |
| | 852 | |
|
| | 853 | | /// <summary>Field number for the "box_shape" field.</summary> |
| | 854 | | public const int BoxShapeFieldNumber = 5; |
| | 855 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 856 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 857 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape BoxShape { |
| | 858 | | get { return payloadCase_ == PayloadOneofCase.BoxShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape) pay |
| | 859 | | set { |
| | 860 | | payload_ = value; |
| | 861 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BoxShape; |
| | 862 | | } |
| | 863 | | } |
| | 864 | |
|
| | 865 | | /// <summary>Field number for the "sphere_shape" field.</summary> |
| | 866 | | public const int SphereShapeFieldNumber = 6; |
| | 867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 869 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShape SphereShape { |
| | 870 | | get { return payloadCase_ == PayloadOneofCase.SphereShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShap |
| | 871 | | set { |
| | 872 | | payload_ = value; |
| | 873 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SphereShape; |
| | 874 | | } |
| | 875 | | } |
| | 876 | |
|
| | 877 | | /// <summary>Field number for the "circle_shape" field.</summary> |
| | 878 | | public const int CircleShapeFieldNumber = 7; |
| | 879 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 880 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 881 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShape CircleShape { |
| | 882 | | get { return payloadCase_ == PayloadOneofCase.CircleShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShap |
| | 883 | | set { |
| | 884 | | payload_ = value; |
| | 885 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.CircleShape; |
| | 886 | | } |
| | 887 | | } |
| | 888 | |
|
| | 889 | | /// <summary>Field number for the "plane_shape" field.</summary> |
| | 890 | | public const int PlaneShapeFieldNumber = 8; |
| | 891 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 892 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 893 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape PlaneShape { |
| | 894 | | get { return payloadCase_ == PayloadOneofCase.PlaneShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape) |
| | 895 | | set { |
| | 896 | | payload_ = value; |
| | 897 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.PlaneShape; |
| | 898 | | } |
| | 899 | | } |
| | 900 | |
|
| | 901 | | /// <summary>Field number for the "cone_shape" field.</summary> |
| | 902 | | public const int ConeShapeFieldNumber = 9; |
| | 903 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 904 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 905 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape ConeShape { |
| | 906 | | get { return payloadCase_ == PayloadOneofCase.ConeShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape) p |
| | 907 | | set { |
| | 908 | | payload_ = value; |
| | 909 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ConeShape; |
| | 910 | | } |
| | 911 | | } |
| | 912 | |
|
| | 913 | | /// <summary>Field number for the "cylinder_shape" field.</summary> |
| | 914 | | public const int CylinderShapeFieldNumber = 10; |
| | 915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 917 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinderShape CylinderShape { |
| | 918 | | get { return payloadCase_ == PayloadOneofCase.CylinderShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinder |
| | 919 | | set { |
| | 920 | | payload_ = value; |
| | 921 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.CylinderShape; |
| | 922 | | } |
| | 923 | | } |
| | 924 | |
|
| | 925 | | /// <summary>Field number for the "gltf_shape" field.</summary> |
| | 926 | | public const int GltfShapeFieldNumber = 11; |
| | 927 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 928 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 929 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape GltfShape { |
| | 930 | | get { return payloadCase_ == PayloadOneofCase.GltfShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape) p |
| | 931 | | set { |
| | 932 | | payload_ = value; |
| | 933 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.GltfShape; |
| | 934 | | } |
| | 935 | | } |
| | 936 | |
|
| | 937 | | /// <summary>Field number for the "nft_shape" field.</summary> |
| | 938 | | public const int NftShapeFieldNumber = 12; |
| | 939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 941 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape NftShape { |
| | 942 | | get { return payloadCase_ == PayloadOneofCase.NftShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape) pay |
| | 943 | | set { |
| | 944 | | payload_ = value; |
| | 945 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.NftShape; |
| | 946 | | } |
| | 947 | | } |
| | 948 | |
|
| | 949 | | /// <summary>Field number for the "texture" field.</summary> |
| | 950 | | public const int TextureFieldNumber = 13; |
| | 951 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 952 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 953 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture Texture { |
| | 954 | | get { return payloadCase_ == PayloadOneofCase.Texture ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture) paylo |
| | 955 | | set { |
| | 956 | | payload_ = value; |
| | 957 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Texture; |
| | 958 | | } |
| | 959 | | } |
| | 960 | |
|
| | 961 | | /// <summary>Field number for the "animator" field.</summary> |
| | 962 | | public const int AnimatorFieldNumber = 14; |
| | 963 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 964 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 965 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator Animator { |
| | 966 | | get { return payloadCase_ == PayloadOneofCase.Animator ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator) pay |
| | 967 | | set { |
| | 968 | | payload_ = value; |
| | 969 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Animator; |
| | 970 | | } |
| | 971 | | } |
| | 972 | |
|
| | 973 | | /// <summary>Field number for the "obj_shape" field.</summary> |
| | 974 | | public const int ObjShapeFieldNumber = 15; |
| | 975 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 976 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 977 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape ObjShape { |
| | 978 | | get { return payloadCase_ == PayloadOneofCase.ObjShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape) pay |
| | 979 | | set { |
| | 980 | | payload_ = value; |
| | 981 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ObjShape; |
| | 982 | | } |
| | 983 | | } |
| | 984 | |
|
| | 985 | | /// <summary>Field number for the "font" field.</summary> |
| | 986 | | public const int FontFieldNumber = 16; |
| | 987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 989 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentFont Font { |
| | 990 | | get { return payloadCase_ == PayloadOneofCase.Font ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentFont) payload_ : |
| | 991 | | set { |
| | 992 | | payload_ = value; |
| | 993 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Font; |
| | 994 | | } |
| | 995 | | } |
| | 996 | |
|
| | 997 | | /// <summary>Field number for the "text_shape" field.</summary> |
| | 998 | | public const int TextShapeFieldNumber = 17; |
| | 999 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1000 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1001 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape TextShape { |
| | 1002 | | get { return payloadCase_ == PayloadOneofCase.TextShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape) p |
| | 1003 | | set { |
| | 1004 | | payload_ = value; |
| | 1005 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.TextShape; |
| | 1006 | | } |
| | 1007 | | } |
| | 1008 | |
|
| | 1009 | | /// <summary>Field number for the "material" field.</summary> |
| | 1010 | | public const int MaterialFieldNumber = 18; |
| | 1011 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1012 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1013 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial Material { |
| | 1014 | | get { return payloadCase_ == PayloadOneofCase.Material ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial) pay |
| | 1015 | | set { |
| | 1016 | | payload_ = value; |
| | 1017 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Material; |
| | 1018 | | } |
| | 1019 | | } |
| | 1020 | |
|
| | 1021 | | /// <summary>Field number for the "basic_material" field.</summary> |
| | 1022 | | public const int BasicMaterialFieldNumber = 19; |
| | 1023 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1024 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1025 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMaterial BasicMaterial { |
| | 1026 | | get { return payloadCase_ == PayloadOneofCase.BasicMaterial ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMat |
| | 1027 | | set { |
| | 1028 | | payload_ = value; |
| | 1029 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.BasicMaterial; |
| | 1030 | | } |
| | 1031 | | } |
| | 1032 | |
|
| | 1033 | | /// <summary>Field number for the "uuid_callback" field.</summary> |
| | 1034 | | public const int UuidCallbackFieldNumber = 20; |
| | 1035 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1036 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1037 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallback UuidCallback { |
| | 1038 | | get { return payloadCase_ == PayloadOneofCase.UuidCallback ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallb |
| | 1039 | | set { |
| | 1040 | | payload_ = value; |
| | 1041 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UuidCallback; |
| | 1042 | | } |
| | 1043 | | } |
| | 1044 | |
|
| | 1045 | | /// <summary>Field number for the "smart_item" field.</summary> |
| | 1046 | | public const int SmartItemFieldNumber = 21; |
| | 1047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1049 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem SmartItem { |
| | 1050 | | get { return payloadCase_ == PayloadOneofCase.SmartItem ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem) p |
| | 1051 | | set { |
| | 1052 | | payload_ = value; |
| | 1053 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SmartItem; |
| | 1054 | | } |
| | 1055 | | } |
| | 1056 | |
|
| | 1057 | | /// <summary>Field number for the "video_clip" field.</summary> |
| | 1058 | | public const int VideoClipFieldNumber = 22; |
| | 1059 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1060 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1061 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip VideoClip { |
| | 1062 | | get { return payloadCase_ == PayloadOneofCase.VideoClip ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip) p |
| | 1063 | | set { |
| | 1064 | | payload_ = value; |
| | 1065 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VideoClip; |
| | 1066 | | } |
| | 1067 | | } |
| | 1068 | |
|
| | 1069 | | /// <summary>Field number for the "video_texture" field.</summary> |
| | 1070 | | public const int VideoTextureFieldNumber = 23; |
| | 1071 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1072 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1073 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoTexture VideoTexture { |
| | 1074 | | get { return payloadCase_ == PayloadOneofCase.VideoTexture ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoText |
| | 1075 | | set { |
| | 1076 | | payload_ = value; |
| | 1077 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.VideoTexture; |
| | 1078 | | } |
| | 1079 | | } |
| | 1080 | |
|
| | 1081 | | /// <summary>Field number for the "camera_mode_area" field.</summary> |
| | 1082 | | public const int CameraModeAreaFieldNumber = 24; |
| | 1083 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1084 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1085 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea CameraModeArea { |
| | 1086 | | get { return payloadCase_ == PayloadOneofCase.CameraModeArea ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraM |
| | 1087 | | set { |
| | 1088 | | payload_ = value; |
| | 1089 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.CameraModeArea; |
| | 1090 | | } |
| | 1091 | | } |
| | 1092 | |
|
| | 1093 | | /// <summary>Field number for the "avatar_texture" field.</summary> |
| | 1094 | | public const int AvatarTextureFieldNumber = 25; |
| | 1095 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1096 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1097 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTexture AvatarTexture { |
| | 1098 | | get { return payloadCase_ == PayloadOneofCase.AvatarTexture ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTe |
| | 1099 | | set { |
| | 1100 | | payload_ = value; |
| | 1101 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AvatarTexture; |
| | 1102 | | } |
| | 1103 | | } |
| | 1104 | |
|
| | 1105 | | /// <summary>Field number for the "audio_clip" field.</summary> |
| | 1106 | | public const int AudioClipFieldNumber = 26; |
| | 1107 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1108 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1109 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip AudioClip { |
| | 1110 | | get { return payloadCase_ == PayloadOneofCase.AudioClip ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip) p |
| | 1111 | | set { |
| | 1112 | | payload_ = value; |
| | 1113 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AudioClip; |
| | 1114 | | } |
| | 1115 | | } |
| | 1116 | |
|
| | 1117 | | /// <summary>Field number for the "audio_source" field.</summary> |
| | 1118 | | public const int AudioSourceFieldNumber = 27; |
| | 1119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1121 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSource AudioSource { |
| | 1122 | | get { return payloadCase_ == PayloadOneofCase.AudioSource ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSourc |
| | 1123 | | set { |
| | 1124 | | payload_ = value; |
| | 1125 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AudioSource; |
| | 1126 | | } |
| | 1127 | | } |
| | 1128 | |
|
| | 1129 | | /// <summary>Field number for the "audio_stream" field.</summary> |
| | 1130 | | public const int AudioStreamFieldNumber = 28; |
| | 1131 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1132 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1133 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStream AudioStream { |
| | 1134 | | get { return payloadCase_ == PayloadOneofCase.AudioStream ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStrea |
| | 1135 | | set { |
| | 1136 | | payload_ = value; |
| | 1137 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AudioStream; |
| | 1138 | | } |
| | 1139 | | } |
| | 1140 | |
|
| | 1141 | | /// <summary>Field number for the "avatar_shape" field.</summary> |
| | 1142 | | public const int AvatarShapeFieldNumber = 29; |
| | 1143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1145 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape AvatarShape { |
| | 1146 | | get { return payloadCase_ == PayloadOneofCase.AvatarShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShap |
| | 1147 | | set { |
| | 1148 | | payload_ = value; |
| | 1149 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AvatarShape; |
| | 1150 | | } |
| | 1151 | | } |
| | 1152 | |
|
| | 1153 | | /// <summary>Field number for the "gizmos" field.</summary> |
| | 1154 | | public const int GizmosFieldNumber = 30; |
| | 1155 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1156 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1157 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos Gizmos { |
| | 1158 | | get { return payloadCase_ == PayloadOneofCase.Gizmos ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos) payload |
| | 1159 | | set { |
| | 1160 | | payload_ = value; |
| | 1161 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Gizmos; |
| | 1162 | | } |
| | 1163 | | } |
| | 1164 | |
|
| | 1165 | | /// <summary>Field number for the "ui_shape" field.</summary> |
| | 1166 | | public const int UiShapeFieldNumber = 31; |
| | 1167 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1168 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1169 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape UiShape { |
| | 1170 | | get { return payloadCase_ == PayloadOneofCase.UiShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape) paylo |
| | 1171 | | set { |
| | 1172 | | payload_ = value; |
| | 1173 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiShape; |
| | 1174 | | } |
| | 1175 | | } |
| | 1176 | |
|
| | 1177 | | /// <summary>Field number for the "ui_container_rect" field.</summary> |
| | 1178 | | public const int UiContainerRectFieldNumber = 32; |
| | 1179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1181 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerRect UiContainerRect { |
| | 1182 | | get { return payloadCase_ == PayloadOneofCase.UiContainerRect ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiCont |
| | 1183 | | set { |
| | 1184 | | payload_ = value; |
| | 1185 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiContainerRect; |
| | 1186 | | } |
| | 1187 | | } |
| | 1188 | |
|
| | 1189 | | /// <summary>Field number for the "ui_container_stack" field.</summary> |
| | 1190 | | public const int UiContainerStackFieldNumber = 33; |
| | 1191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1193 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack UiContainerStack { |
| | 1194 | | get { return payloadCase_ == PayloadOneofCase.UiContainerStack ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiCon |
| | 1195 | | set { |
| | 1196 | | payload_ = value; |
| | 1197 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiContainerStack; |
| | 1198 | | } |
| | 1199 | | } |
| | 1200 | |
|
| | 1201 | | /// <summary>Field number for the "ui_button" field.</summary> |
| | 1202 | | public const int UiButtonFieldNumber = 34; |
| | 1203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1205 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton UiButton { |
| | 1206 | | get { return payloadCase_ == PayloadOneofCase.UiButton ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton) pay |
| | 1207 | | set { |
| | 1208 | | payload_ = value; |
| | 1209 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiButton; |
| | 1210 | | } |
| | 1211 | | } |
| | 1212 | |
|
| | 1213 | | /// <summary>Field number for the "ui_text" field.</summary> |
| | 1214 | | public const int UiTextFieldNumber = 35; |
| | 1215 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1216 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1217 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText UiText { |
| | 1218 | | get { return payloadCase_ == PayloadOneofCase.UiText ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText) payload |
| | 1219 | | set { |
| | 1220 | | payload_ = value; |
| | 1221 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiText; |
| | 1222 | | } |
| | 1223 | | } |
| | 1224 | |
|
| | 1225 | | /// <summary>Field number for the "ui_input_text" field.</summary> |
| | 1226 | | public const int UiInputTextFieldNumber = 36; |
| | 1227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1229 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputText UiInputText { |
| | 1230 | | get { return payloadCase_ == PayloadOneofCase.UiInputText ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputTex |
| | 1231 | | set { |
| | 1232 | | payload_ = value; |
| | 1233 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiInputText; |
| | 1234 | | } |
| | 1235 | | } |
| | 1236 | |
|
| | 1237 | | /// <summary>Field number for the "ui_image" field.</summary> |
| | 1238 | | public const int UiImageFieldNumber = 37; |
| | 1239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1241 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage UiImage { |
| | 1242 | | get { return payloadCase_ == PayloadOneofCase.UiImage ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage) paylo |
| | 1243 | | set { |
| | 1244 | | payload_ = value; |
| | 1245 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiImage; |
| | 1246 | | } |
| | 1247 | | } |
| | 1248 | |
|
| | 1249 | | /// <summary>Field number for the "ui_scroll_rect" field.</summary> |
| | 1250 | | public const int UiScrollRectFieldNumber = 38; |
| | 1251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1253 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollRect UiScrollRect { |
| | 1254 | | get { return payloadCase_ == PayloadOneofCase.UiScrollRect ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollR |
| | 1255 | | set { |
| | 1256 | | payload_ = value; |
| | 1257 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiScrollRect; |
| | 1258 | | } |
| | 1259 | | } |
| | 1260 | |
|
| | 1261 | | /// <summary>Field number for the "ui_world_space_shape" field.</summary> |
| | 1262 | | public const int UiWorldSpaceShapeFieldNumber = 39; |
| | 1263 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1264 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1265 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWorldSpaceShape UiWorldSpaceShape { |
| | 1266 | | get { return payloadCase_ == PayloadOneofCase.UiWorldSpaceShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWo |
| | 1267 | | set { |
| | 1268 | | payload_ = value; |
| | 1269 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiWorldSpaceShape; |
| | 1270 | | } |
| | 1271 | | } |
| | 1272 | |
|
| | 1273 | | /// <summary>Field number for the "ui_screen_space_shape" field.</summary> |
| | 1274 | | public const int UiScreenSpaceShapeFieldNumber = 40; |
| | 1275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1277 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScreenSpaceShape UiScreenSpaceShape { |
| | 1278 | | get { return payloadCase_ == PayloadOneofCase.UiScreenSpaceShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiS |
| | 1279 | | set { |
| | 1280 | | payload_ = value; |
| | 1281 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiScreenSpaceShape; |
| | 1282 | | } |
| | 1283 | | } |
| | 1284 | |
|
| | 1285 | | /// <summary>Field number for the "ui_full_screen_shape" field.</summary> |
| | 1286 | | public const int UiFullScreenShapeFieldNumber = 41; |
| | 1287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1289 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFullScreenShape UiFullScreenShape { |
| | 1290 | | get { return payloadCase_ == PayloadOneofCase.UiFullScreenShape ? (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFu |
| | 1291 | | set { |
| | 1292 | | payload_ = value; |
| | 1293 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UiFullScreenShape; |
| | 1294 | | } |
| | 1295 | | } |
| | 1296 | |
|
| | 1297 | | private object payload_; |
| | 1298 | | /// <summary>Enum of possible cases for the "payload" oneof.</summary> |
| | 1299 | | public enum PayloadOneofCase { |
| | 1300 | | None = 0, |
| | 1301 | | AvatarModifierArea = 1, |
| | 1302 | | Transform = 2, |
| | 1303 | | AttachToAvatar = 3, |
| | 1304 | | Billboard = 4, |
| | 1305 | | BoxShape = 5, |
| | 1306 | | SphereShape = 6, |
| | 1307 | | CircleShape = 7, |
| | 1308 | | PlaneShape = 8, |
| | 1309 | | ConeShape = 9, |
| | 1310 | | CylinderShape = 10, |
| | 1311 | | GltfShape = 11, |
| | 1312 | | NftShape = 12, |
| | 1313 | | Texture = 13, |
| | 1314 | | Animator = 14, |
| | 1315 | | ObjShape = 15, |
| | 1316 | | Font = 16, |
| | 1317 | | TextShape = 17, |
| | 1318 | | Material = 18, |
| | 1319 | | BasicMaterial = 19, |
| | 1320 | | UuidCallback = 20, |
| | 1321 | | SmartItem = 21, |
| | 1322 | | VideoClip = 22, |
| | 1323 | | VideoTexture = 23, |
| | 1324 | | CameraModeArea = 24, |
| | 1325 | | AvatarTexture = 25, |
| | 1326 | | AudioClip = 26, |
| | 1327 | | AudioSource = 27, |
| | 1328 | | AudioStream = 28, |
| | 1329 | | AvatarShape = 29, |
| | 1330 | | Gizmos = 30, |
| | 1331 | | UiShape = 31, |
| | 1332 | | UiContainerRect = 32, |
| | 1333 | | UiContainerStack = 33, |
| | 1334 | | UiButton = 34, |
| | 1335 | | UiText = 35, |
| | 1336 | | UiInputText = 36, |
| | 1337 | | UiImage = 37, |
| | 1338 | | UiScrollRect = 38, |
| | 1339 | | UiWorldSpaceShape = 39, |
| | 1340 | | UiScreenSpaceShape = 40, |
| | 1341 | | UiFullScreenShape = 41, |
| | 1342 | | } |
| | 1343 | | private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; |
| | 1344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1346 | | public PayloadOneofCase PayloadCase { |
| | 1347 | | get { return payloadCase_; } |
| | 1348 | | } |
| | 1349 | |
|
| | 1350 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1351 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1352 | | public void ClearPayload() { |
| | 1353 | | payloadCase_ = PayloadOneofCase.None; |
| | 1354 | | payload_ = null; |
| | 1355 | | } |
| | 1356 | |
|
| | 1357 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1358 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1359 | | public override bool Equals(object other) { |
| | 1360 | | return Equals(other as ComponentBodyPayload); |
| | 1361 | | } |
| | 1362 | |
|
| | 1363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1365 | | public bool Equals(ComponentBodyPayload other) { |
| | 1366 | | if (ReferenceEquals(other, null)) { |
| | 1367 | | return false; |
| | 1368 | | } |
| | 1369 | | if (ReferenceEquals(other, this)) { |
| | 1370 | | return true; |
| | 1371 | | } |
| | 1372 | | if (!object.Equals(AvatarModifierArea, other.AvatarModifierArea)) return false; |
| | 1373 | | if (!object.Equals(Transform, other.Transform)) return false; |
| | 1374 | | if (!object.Equals(AttachToAvatar, other.AttachToAvatar)) return false; |
| | 1375 | | if (!object.Equals(Billboard, other.Billboard)) return false; |
| | 1376 | | if (!object.Equals(BoxShape, other.BoxShape)) return false; |
| | 1377 | | if (!object.Equals(SphereShape, other.SphereShape)) return false; |
| | 1378 | | if (!object.Equals(CircleShape, other.CircleShape)) return false; |
| | 1379 | | if (!object.Equals(PlaneShape, other.PlaneShape)) return false; |
| | 1380 | | if (!object.Equals(ConeShape, other.ConeShape)) return false; |
| | 1381 | | if (!object.Equals(CylinderShape, other.CylinderShape)) return false; |
| | 1382 | | if (!object.Equals(GltfShape, other.GltfShape)) return false; |
| | 1383 | | if (!object.Equals(NftShape, other.NftShape)) return false; |
| | 1384 | | if (!object.Equals(Texture, other.Texture)) return false; |
| | 1385 | | if (!object.Equals(Animator, other.Animator)) return false; |
| | 1386 | | if (!object.Equals(ObjShape, other.ObjShape)) return false; |
| | 1387 | | if (!object.Equals(Font, other.Font)) return false; |
| | 1388 | | if (!object.Equals(TextShape, other.TextShape)) return false; |
| | 1389 | | if (!object.Equals(Material, other.Material)) return false; |
| | 1390 | | if (!object.Equals(BasicMaterial, other.BasicMaterial)) return false; |
| | 1391 | | if (!object.Equals(UuidCallback, other.UuidCallback)) return false; |
| | 1392 | | if (!object.Equals(SmartItem, other.SmartItem)) return false; |
| | 1393 | | if (!object.Equals(VideoClip, other.VideoClip)) return false; |
| | 1394 | | if (!object.Equals(VideoTexture, other.VideoTexture)) return false; |
| | 1395 | | if (!object.Equals(CameraModeArea, other.CameraModeArea)) return false; |
| | 1396 | | if (!object.Equals(AvatarTexture, other.AvatarTexture)) return false; |
| | 1397 | | if (!object.Equals(AudioClip, other.AudioClip)) return false; |
| | 1398 | | if (!object.Equals(AudioSource, other.AudioSource)) return false; |
| | 1399 | | if (!object.Equals(AudioStream, other.AudioStream)) return false; |
| | 1400 | | if (!object.Equals(AvatarShape, other.AvatarShape)) return false; |
| | 1401 | | if (!object.Equals(Gizmos, other.Gizmos)) return false; |
| | 1402 | | if (!object.Equals(UiShape, other.UiShape)) return false; |
| | 1403 | | if (!object.Equals(UiContainerRect, other.UiContainerRect)) return false; |
| | 1404 | | if (!object.Equals(UiContainerStack, other.UiContainerStack)) return false; |
| | 1405 | | if (!object.Equals(UiButton, other.UiButton)) return false; |
| | 1406 | | if (!object.Equals(UiText, other.UiText)) return false; |
| | 1407 | | if (!object.Equals(UiInputText, other.UiInputText)) return false; |
| | 1408 | | if (!object.Equals(UiImage, other.UiImage)) return false; |
| | 1409 | | if (!object.Equals(UiScrollRect, other.UiScrollRect)) return false; |
| | 1410 | | if (!object.Equals(UiWorldSpaceShape, other.UiWorldSpaceShape)) return false; |
| | 1411 | | if (!object.Equals(UiScreenSpaceShape, other.UiScreenSpaceShape)) return false; |
| | 1412 | | if (!object.Equals(UiFullScreenShape, other.UiFullScreenShape)) return false; |
| | 1413 | | if (PayloadCase != other.PayloadCase) return false; |
| | 1414 | | return Equals(_unknownFields, other._unknownFields); |
| | 1415 | | } |
| | 1416 | |
|
| | 1417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1419 | | public override int GetHashCode() { |
| | 1420 | | int hash = 1; |
| | 1421 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) hash ^= AvatarModifierArea.GetHashCode(); |
| | 1422 | | if (payloadCase_ == PayloadOneofCase.Transform) hash ^= Transform.GetHashCode(); |
| | 1423 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) hash ^= AttachToAvatar.GetHashCode(); |
| | 1424 | | if (payloadCase_ == PayloadOneofCase.Billboard) hash ^= Billboard.GetHashCode(); |
| | 1425 | | if (payloadCase_ == PayloadOneofCase.BoxShape) hash ^= BoxShape.GetHashCode(); |
| | 1426 | | if (payloadCase_ == PayloadOneofCase.SphereShape) hash ^= SphereShape.GetHashCode(); |
| | 1427 | | if (payloadCase_ == PayloadOneofCase.CircleShape) hash ^= CircleShape.GetHashCode(); |
| | 1428 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) hash ^= PlaneShape.GetHashCode(); |
| | 1429 | | if (payloadCase_ == PayloadOneofCase.ConeShape) hash ^= ConeShape.GetHashCode(); |
| | 1430 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) hash ^= CylinderShape.GetHashCode(); |
| | 1431 | | if (payloadCase_ == PayloadOneofCase.GltfShape) hash ^= GltfShape.GetHashCode(); |
| | 1432 | | if (payloadCase_ == PayloadOneofCase.NftShape) hash ^= NftShape.GetHashCode(); |
| | 1433 | | if (payloadCase_ == PayloadOneofCase.Texture) hash ^= Texture.GetHashCode(); |
| | 1434 | | if (payloadCase_ == PayloadOneofCase.Animator) hash ^= Animator.GetHashCode(); |
| | 1435 | | if (payloadCase_ == PayloadOneofCase.ObjShape) hash ^= ObjShape.GetHashCode(); |
| | 1436 | | if (payloadCase_ == PayloadOneofCase.Font) hash ^= Font.GetHashCode(); |
| | 1437 | | if (payloadCase_ == PayloadOneofCase.TextShape) hash ^= TextShape.GetHashCode(); |
| | 1438 | | if (payloadCase_ == PayloadOneofCase.Material) hash ^= Material.GetHashCode(); |
| | 1439 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) hash ^= BasicMaterial.GetHashCode(); |
| | 1440 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) hash ^= UuidCallback.GetHashCode(); |
| | 1441 | | if (payloadCase_ == PayloadOneofCase.SmartItem) hash ^= SmartItem.GetHashCode(); |
| | 1442 | | if (payloadCase_ == PayloadOneofCase.VideoClip) hash ^= VideoClip.GetHashCode(); |
| | 1443 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) hash ^= VideoTexture.GetHashCode(); |
| | 1444 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) hash ^= CameraModeArea.GetHashCode(); |
| | 1445 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) hash ^= AvatarTexture.GetHashCode(); |
| | 1446 | | if (payloadCase_ == PayloadOneofCase.AudioClip) hash ^= AudioClip.GetHashCode(); |
| | 1447 | | if (payloadCase_ == PayloadOneofCase.AudioSource) hash ^= AudioSource.GetHashCode(); |
| | 1448 | | if (payloadCase_ == PayloadOneofCase.AudioStream) hash ^= AudioStream.GetHashCode(); |
| | 1449 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) hash ^= AvatarShape.GetHashCode(); |
| | 1450 | | if (payloadCase_ == PayloadOneofCase.Gizmos) hash ^= Gizmos.GetHashCode(); |
| | 1451 | | if (payloadCase_ == PayloadOneofCase.UiShape) hash ^= UiShape.GetHashCode(); |
| | 1452 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) hash ^= UiContainerRect.GetHashCode(); |
| | 1453 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) hash ^= UiContainerStack.GetHashCode(); |
| | 1454 | | if (payloadCase_ == PayloadOneofCase.UiButton) hash ^= UiButton.GetHashCode(); |
| | 1455 | | if (payloadCase_ == PayloadOneofCase.UiText) hash ^= UiText.GetHashCode(); |
| | 1456 | | if (payloadCase_ == PayloadOneofCase.UiInputText) hash ^= UiInputText.GetHashCode(); |
| | 1457 | | if (payloadCase_ == PayloadOneofCase.UiImage) hash ^= UiImage.GetHashCode(); |
| | 1458 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) hash ^= UiScrollRect.GetHashCode(); |
| | 1459 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) hash ^= UiWorldSpaceShape.GetHashCode(); |
| | 1460 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) hash ^= UiScreenSpaceShape.GetHashCode(); |
| | 1461 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) hash ^= UiFullScreenShape.GetHashCode(); |
| | 1462 | | hash ^= (int) payloadCase_; |
| | 1463 | | if (_unknownFields != null) { |
| | 1464 | | hash ^= _unknownFields.GetHashCode(); |
| | 1465 | | } |
| | 1466 | | return hash; |
| | 1467 | | } |
| | 1468 | |
|
| | 1469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1471 | | public override string ToString() { |
| | 1472 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1473 | | } |
| | 1474 | |
|
| | 1475 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1476 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1477 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1478 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1479 | | output.WriteRawMessage(this); |
| | 1480 | | #else |
| | 1481 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) { |
| | 1482 | | output.WriteRawTag(10); |
| | 1483 | | output.WriteMessage(AvatarModifierArea); |
| | 1484 | | } |
| | 1485 | | if (payloadCase_ == PayloadOneofCase.Transform) { |
| | 1486 | | output.WriteRawTag(18); |
| | 1487 | | output.WriteMessage(Transform); |
| | 1488 | | } |
| | 1489 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) { |
| | 1490 | | output.WriteRawTag(26); |
| | 1491 | | output.WriteMessage(AttachToAvatar); |
| | 1492 | | } |
| | 1493 | | if (payloadCase_ == PayloadOneofCase.Billboard) { |
| | 1494 | | output.WriteRawTag(34); |
| | 1495 | | output.WriteMessage(Billboard); |
| | 1496 | | } |
| | 1497 | | if (payloadCase_ == PayloadOneofCase.BoxShape) { |
| | 1498 | | output.WriteRawTag(42); |
| | 1499 | | output.WriteMessage(BoxShape); |
| | 1500 | | } |
| | 1501 | | if (payloadCase_ == PayloadOneofCase.SphereShape) { |
| | 1502 | | output.WriteRawTag(50); |
| | 1503 | | output.WriteMessage(SphereShape); |
| | 1504 | | } |
| | 1505 | | if (payloadCase_ == PayloadOneofCase.CircleShape) { |
| | 1506 | | output.WriteRawTag(58); |
| | 1507 | | output.WriteMessage(CircleShape); |
| | 1508 | | } |
| | 1509 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) { |
| | 1510 | | output.WriteRawTag(66); |
| | 1511 | | output.WriteMessage(PlaneShape); |
| | 1512 | | } |
| | 1513 | | if (payloadCase_ == PayloadOneofCase.ConeShape) { |
| | 1514 | | output.WriteRawTag(74); |
| | 1515 | | output.WriteMessage(ConeShape); |
| | 1516 | | } |
| | 1517 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) { |
| | 1518 | | output.WriteRawTag(82); |
| | 1519 | | output.WriteMessage(CylinderShape); |
| | 1520 | | } |
| | 1521 | | if (payloadCase_ == PayloadOneofCase.GltfShape) { |
| | 1522 | | output.WriteRawTag(90); |
| | 1523 | | output.WriteMessage(GltfShape); |
| | 1524 | | } |
| | 1525 | | if (payloadCase_ == PayloadOneofCase.NftShape) { |
| | 1526 | | output.WriteRawTag(98); |
| | 1527 | | output.WriteMessage(NftShape); |
| | 1528 | | } |
| | 1529 | | if (payloadCase_ == PayloadOneofCase.Texture) { |
| | 1530 | | output.WriteRawTag(106); |
| | 1531 | | output.WriteMessage(Texture); |
| | 1532 | | } |
| | 1533 | | if (payloadCase_ == PayloadOneofCase.Animator) { |
| | 1534 | | output.WriteRawTag(114); |
| | 1535 | | output.WriteMessage(Animator); |
| | 1536 | | } |
| | 1537 | | if (payloadCase_ == PayloadOneofCase.ObjShape) { |
| | 1538 | | output.WriteRawTag(122); |
| | 1539 | | output.WriteMessage(ObjShape); |
| | 1540 | | } |
| | 1541 | | if (payloadCase_ == PayloadOneofCase.Font) { |
| | 1542 | | output.WriteRawTag(130, 1); |
| | 1543 | | output.WriteMessage(Font); |
| | 1544 | | } |
| | 1545 | | if (payloadCase_ == PayloadOneofCase.TextShape) { |
| | 1546 | | output.WriteRawTag(138, 1); |
| | 1547 | | output.WriteMessage(TextShape); |
| | 1548 | | } |
| | 1549 | | if (payloadCase_ == PayloadOneofCase.Material) { |
| | 1550 | | output.WriteRawTag(146, 1); |
| | 1551 | | output.WriteMessage(Material); |
| | 1552 | | } |
| | 1553 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) { |
| | 1554 | | output.WriteRawTag(154, 1); |
| | 1555 | | output.WriteMessage(BasicMaterial); |
| | 1556 | | } |
| | 1557 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) { |
| | 1558 | | output.WriteRawTag(162, 1); |
| | 1559 | | output.WriteMessage(UuidCallback); |
| | 1560 | | } |
| | 1561 | | if (payloadCase_ == PayloadOneofCase.SmartItem) { |
| | 1562 | | output.WriteRawTag(170, 1); |
| | 1563 | | output.WriteMessage(SmartItem); |
| | 1564 | | } |
| | 1565 | | if (payloadCase_ == PayloadOneofCase.VideoClip) { |
| | 1566 | | output.WriteRawTag(178, 1); |
| | 1567 | | output.WriteMessage(VideoClip); |
| | 1568 | | } |
| | 1569 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) { |
| | 1570 | | output.WriteRawTag(186, 1); |
| | 1571 | | output.WriteMessage(VideoTexture); |
| | 1572 | | } |
| | 1573 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) { |
| | 1574 | | output.WriteRawTag(194, 1); |
| | 1575 | | output.WriteMessage(CameraModeArea); |
| | 1576 | | } |
| | 1577 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) { |
| | 1578 | | output.WriteRawTag(202, 1); |
| | 1579 | | output.WriteMessage(AvatarTexture); |
| | 1580 | | } |
| | 1581 | | if (payloadCase_ == PayloadOneofCase.AudioClip) { |
| | 1582 | | output.WriteRawTag(210, 1); |
| | 1583 | | output.WriteMessage(AudioClip); |
| | 1584 | | } |
| | 1585 | | if (payloadCase_ == PayloadOneofCase.AudioSource) { |
| | 1586 | | output.WriteRawTag(218, 1); |
| | 1587 | | output.WriteMessage(AudioSource); |
| | 1588 | | } |
| | 1589 | | if (payloadCase_ == PayloadOneofCase.AudioStream) { |
| | 1590 | | output.WriteRawTag(226, 1); |
| | 1591 | | output.WriteMessage(AudioStream); |
| | 1592 | | } |
| | 1593 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) { |
| | 1594 | | output.WriteRawTag(234, 1); |
| | 1595 | | output.WriteMessage(AvatarShape); |
| | 1596 | | } |
| | 1597 | | if (payloadCase_ == PayloadOneofCase.Gizmos) { |
| | 1598 | | output.WriteRawTag(242, 1); |
| | 1599 | | output.WriteMessage(Gizmos); |
| | 1600 | | } |
| | 1601 | | if (payloadCase_ == PayloadOneofCase.UiShape) { |
| | 1602 | | output.WriteRawTag(250, 1); |
| | 1603 | | output.WriteMessage(UiShape); |
| | 1604 | | } |
| | 1605 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) { |
| | 1606 | | output.WriteRawTag(130, 2); |
| | 1607 | | output.WriteMessage(UiContainerRect); |
| | 1608 | | } |
| | 1609 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) { |
| | 1610 | | output.WriteRawTag(138, 2); |
| | 1611 | | output.WriteMessage(UiContainerStack); |
| | 1612 | | } |
| | 1613 | | if (payloadCase_ == PayloadOneofCase.UiButton) { |
| | 1614 | | output.WriteRawTag(146, 2); |
| | 1615 | | output.WriteMessage(UiButton); |
| | 1616 | | } |
| | 1617 | | if (payloadCase_ == PayloadOneofCase.UiText) { |
| | 1618 | | output.WriteRawTag(154, 2); |
| | 1619 | | output.WriteMessage(UiText); |
| | 1620 | | } |
| | 1621 | | if (payloadCase_ == PayloadOneofCase.UiInputText) { |
| | 1622 | | output.WriteRawTag(162, 2); |
| | 1623 | | output.WriteMessage(UiInputText); |
| | 1624 | | } |
| | 1625 | | if (payloadCase_ == PayloadOneofCase.UiImage) { |
| | 1626 | | output.WriteRawTag(170, 2); |
| | 1627 | | output.WriteMessage(UiImage); |
| | 1628 | | } |
| | 1629 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) { |
| | 1630 | | output.WriteRawTag(178, 2); |
| | 1631 | | output.WriteMessage(UiScrollRect); |
| | 1632 | | } |
| | 1633 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) { |
| | 1634 | | output.WriteRawTag(186, 2); |
| | 1635 | | output.WriteMessage(UiWorldSpaceShape); |
| | 1636 | | } |
| | 1637 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) { |
| | 1638 | | output.WriteRawTag(194, 2); |
| | 1639 | | output.WriteMessage(UiScreenSpaceShape); |
| | 1640 | | } |
| | 1641 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) { |
| | 1642 | | output.WriteRawTag(202, 2); |
| | 1643 | | output.WriteMessage(UiFullScreenShape); |
| | 1644 | | } |
| | 1645 | | if (_unknownFields != null) { |
| | 1646 | | _unknownFields.WriteTo(output); |
| | 1647 | | } |
| | 1648 | | #endif |
| | 1649 | | } |
| | 1650 | |
|
| | 1651 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1654 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1655 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) { |
| | 1656 | | output.WriteRawTag(10); |
| | 1657 | | output.WriteMessage(AvatarModifierArea); |
| | 1658 | | } |
| | 1659 | | if (payloadCase_ == PayloadOneofCase.Transform) { |
| | 1660 | | output.WriteRawTag(18); |
| | 1661 | | output.WriteMessage(Transform); |
| | 1662 | | } |
| | 1663 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) { |
| | 1664 | | output.WriteRawTag(26); |
| | 1665 | | output.WriteMessage(AttachToAvatar); |
| | 1666 | | } |
| | 1667 | | if (payloadCase_ == PayloadOneofCase.Billboard) { |
| | 1668 | | output.WriteRawTag(34); |
| | 1669 | | output.WriteMessage(Billboard); |
| | 1670 | | } |
| | 1671 | | if (payloadCase_ == PayloadOneofCase.BoxShape) { |
| | 1672 | | output.WriteRawTag(42); |
| | 1673 | | output.WriteMessage(BoxShape); |
| | 1674 | | } |
| | 1675 | | if (payloadCase_ == PayloadOneofCase.SphereShape) { |
| | 1676 | | output.WriteRawTag(50); |
| | 1677 | | output.WriteMessage(SphereShape); |
| | 1678 | | } |
| | 1679 | | if (payloadCase_ == PayloadOneofCase.CircleShape) { |
| | 1680 | | output.WriteRawTag(58); |
| | 1681 | | output.WriteMessage(CircleShape); |
| | 1682 | | } |
| | 1683 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) { |
| | 1684 | | output.WriteRawTag(66); |
| | 1685 | | output.WriteMessage(PlaneShape); |
| | 1686 | | } |
| | 1687 | | if (payloadCase_ == PayloadOneofCase.ConeShape) { |
| | 1688 | | output.WriteRawTag(74); |
| | 1689 | | output.WriteMessage(ConeShape); |
| | 1690 | | } |
| | 1691 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) { |
| | 1692 | | output.WriteRawTag(82); |
| | 1693 | | output.WriteMessage(CylinderShape); |
| | 1694 | | } |
| | 1695 | | if (payloadCase_ == PayloadOneofCase.GltfShape) { |
| | 1696 | | output.WriteRawTag(90); |
| | 1697 | | output.WriteMessage(GltfShape); |
| | 1698 | | } |
| | 1699 | | if (payloadCase_ == PayloadOneofCase.NftShape) { |
| | 1700 | | output.WriteRawTag(98); |
| | 1701 | | output.WriteMessage(NftShape); |
| | 1702 | | } |
| | 1703 | | if (payloadCase_ == PayloadOneofCase.Texture) { |
| | 1704 | | output.WriteRawTag(106); |
| | 1705 | | output.WriteMessage(Texture); |
| | 1706 | | } |
| | 1707 | | if (payloadCase_ == PayloadOneofCase.Animator) { |
| | 1708 | | output.WriteRawTag(114); |
| | 1709 | | output.WriteMessage(Animator); |
| | 1710 | | } |
| | 1711 | | if (payloadCase_ == PayloadOneofCase.ObjShape) { |
| | 1712 | | output.WriteRawTag(122); |
| | 1713 | | output.WriteMessage(ObjShape); |
| | 1714 | | } |
| | 1715 | | if (payloadCase_ == PayloadOneofCase.Font) { |
| | 1716 | | output.WriteRawTag(130, 1); |
| | 1717 | | output.WriteMessage(Font); |
| | 1718 | | } |
| | 1719 | | if (payloadCase_ == PayloadOneofCase.TextShape) { |
| | 1720 | | output.WriteRawTag(138, 1); |
| | 1721 | | output.WriteMessage(TextShape); |
| | 1722 | | } |
| | 1723 | | if (payloadCase_ == PayloadOneofCase.Material) { |
| | 1724 | | output.WriteRawTag(146, 1); |
| | 1725 | | output.WriteMessage(Material); |
| | 1726 | | } |
| | 1727 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) { |
| | 1728 | | output.WriteRawTag(154, 1); |
| | 1729 | | output.WriteMessage(BasicMaterial); |
| | 1730 | | } |
| | 1731 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) { |
| | 1732 | | output.WriteRawTag(162, 1); |
| | 1733 | | output.WriteMessage(UuidCallback); |
| | 1734 | | } |
| | 1735 | | if (payloadCase_ == PayloadOneofCase.SmartItem) { |
| | 1736 | | output.WriteRawTag(170, 1); |
| | 1737 | | output.WriteMessage(SmartItem); |
| | 1738 | | } |
| | 1739 | | if (payloadCase_ == PayloadOneofCase.VideoClip) { |
| | 1740 | | output.WriteRawTag(178, 1); |
| | 1741 | | output.WriteMessage(VideoClip); |
| | 1742 | | } |
| | 1743 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) { |
| | 1744 | | output.WriteRawTag(186, 1); |
| | 1745 | | output.WriteMessage(VideoTexture); |
| | 1746 | | } |
| | 1747 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) { |
| | 1748 | | output.WriteRawTag(194, 1); |
| | 1749 | | output.WriteMessage(CameraModeArea); |
| | 1750 | | } |
| | 1751 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) { |
| | 1752 | | output.WriteRawTag(202, 1); |
| | 1753 | | output.WriteMessage(AvatarTexture); |
| | 1754 | | } |
| | 1755 | | if (payloadCase_ == PayloadOneofCase.AudioClip) { |
| | 1756 | | output.WriteRawTag(210, 1); |
| | 1757 | | output.WriteMessage(AudioClip); |
| | 1758 | | } |
| | 1759 | | if (payloadCase_ == PayloadOneofCase.AudioSource) { |
| | 1760 | | output.WriteRawTag(218, 1); |
| | 1761 | | output.WriteMessage(AudioSource); |
| | 1762 | | } |
| | 1763 | | if (payloadCase_ == PayloadOneofCase.AudioStream) { |
| | 1764 | | output.WriteRawTag(226, 1); |
| | 1765 | | output.WriteMessage(AudioStream); |
| | 1766 | | } |
| | 1767 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) { |
| | 1768 | | output.WriteRawTag(234, 1); |
| | 1769 | | output.WriteMessage(AvatarShape); |
| | 1770 | | } |
| | 1771 | | if (payloadCase_ == PayloadOneofCase.Gizmos) { |
| | 1772 | | output.WriteRawTag(242, 1); |
| | 1773 | | output.WriteMessage(Gizmos); |
| | 1774 | | } |
| | 1775 | | if (payloadCase_ == PayloadOneofCase.UiShape) { |
| | 1776 | | output.WriteRawTag(250, 1); |
| | 1777 | | output.WriteMessage(UiShape); |
| | 1778 | | } |
| | 1779 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) { |
| | 1780 | | output.WriteRawTag(130, 2); |
| | 1781 | | output.WriteMessage(UiContainerRect); |
| | 1782 | | } |
| | 1783 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) { |
| | 1784 | | output.WriteRawTag(138, 2); |
| | 1785 | | output.WriteMessage(UiContainerStack); |
| | 1786 | | } |
| | 1787 | | if (payloadCase_ == PayloadOneofCase.UiButton) { |
| | 1788 | | output.WriteRawTag(146, 2); |
| | 1789 | | output.WriteMessage(UiButton); |
| | 1790 | | } |
| | 1791 | | if (payloadCase_ == PayloadOneofCase.UiText) { |
| | 1792 | | output.WriteRawTag(154, 2); |
| | 1793 | | output.WriteMessage(UiText); |
| | 1794 | | } |
| | 1795 | | if (payloadCase_ == PayloadOneofCase.UiInputText) { |
| | 1796 | | output.WriteRawTag(162, 2); |
| | 1797 | | output.WriteMessage(UiInputText); |
| | 1798 | | } |
| | 1799 | | if (payloadCase_ == PayloadOneofCase.UiImage) { |
| | 1800 | | output.WriteRawTag(170, 2); |
| | 1801 | | output.WriteMessage(UiImage); |
| | 1802 | | } |
| | 1803 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) { |
| | 1804 | | output.WriteRawTag(178, 2); |
| | 1805 | | output.WriteMessage(UiScrollRect); |
| | 1806 | | } |
| | 1807 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) { |
| | 1808 | | output.WriteRawTag(186, 2); |
| | 1809 | | output.WriteMessage(UiWorldSpaceShape); |
| | 1810 | | } |
| | 1811 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) { |
| | 1812 | | output.WriteRawTag(194, 2); |
| | 1813 | | output.WriteMessage(UiScreenSpaceShape); |
| | 1814 | | } |
| | 1815 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) { |
| | 1816 | | output.WriteRawTag(202, 2); |
| | 1817 | | output.WriteMessage(UiFullScreenShape); |
| | 1818 | | } |
| | 1819 | | if (_unknownFields != null) { |
| | 1820 | | _unknownFields.WriteTo(ref output); |
| | 1821 | | } |
| | 1822 | | } |
| | 1823 | | #endif |
| | 1824 | |
|
| | 1825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1827 | | public int CalculateSize() { |
| | 1828 | | int size = 0; |
| | 1829 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) { |
| | 1830 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarModifierArea); |
| | 1831 | | } |
| | 1832 | | if (payloadCase_ == PayloadOneofCase.Transform) { |
| | 1833 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Transform); |
| | 1834 | | } |
| | 1835 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) { |
| | 1836 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttachToAvatar); |
| | 1837 | | } |
| | 1838 | | if (payloadCase_ == PayloadOneofCase.Billboard) { |
| | 1839 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Billboard); |
| | 1840 | | } |
| | 1841 | | if (payloadCase_ == PayloadOneofCase.BoxShape) { |
| | 1842 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BoxShape); |
| | 1843 | | } |
| | 1844 | | if (payloadCase_ == PayloadOneofCase.SphereShape) { |
| | 1845 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SphereShape); |
| | 1846 | | } |
| | 1847 | | if (payloadCase_ == PayloadOneofCase.CircleShape) { |
| | 1848 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(CircleShape); |
| | 1849 | | } |
| | 1850 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) { |
| | 1851 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlaneShape); |
| | 1852 | | } |
| | 1853 | | if (payloadCase_ == PayloadOneofCase.ConeShape) { |
| | 1854 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConeShape); |
| | 1855 | | } |
| | 1856 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) { |
| | 1857 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(CylinderShape); |
| | 1858 | | } |
| | 1859 | | if (payloadCase_ == PayloadOneofCase.GltfShape) { |
| | 1860 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(GltfShape); |
| | 1861 | | } |
| | 1862 | | if (payloadCase_ == PayloadOneofCase.NftShape) { |
| | 1863 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(NftShape); |
| | 1864 | | } |
| | 1865 | | if (payloadCase_ == PayloadOneofCase.Texture) { |
| | 1866 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Texture); |
| | 1867 | | } |
| | 1868 | | if (payloadCase_ == PayloadOneofCase.Animator) { |
| | 1869 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Animator); |
| | 1870 | | } |
| | 1871 | | if (payloadCase_ == PayloadOneofCase.ObjShape) { |
| | 1872 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjShape); |
| | 1873 | | } |
| | 1874 | | if (payloadCase_ == PayloadOneofCase.Font) { |
| | 1875 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Font); |
| | 1876 | | } |
| | 1877 | | if (payloadCase_ == PayloadOneofCase.TextShape) { |
| | 1878 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextShape); |
| | 1879 | | } |
| | 1880 | | if (payloadCase_ == PayloadOneofCase.Material) { |
| | 1881 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Material); |
| | 1882 | | } |
| | 1883 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) { |
| | 1884 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(BasicMaterial); |
| | 1885 | | } |
| | 1886 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) { |
| | 1887 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UuidCallback); |
| | 1888 | | } |
| | 1889 | | if (payloadCase_ == PayloadOneofCase.SmartItem) { |
| | 1890 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(SmartItem); |
| | 1891 | | } |
| | 1892 | | if (payloadCase_ == PayloadOneofCase.VideoClip) { |
| | 1893 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(VideoClip); |
| | 1894 | | } |
| | 1895 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) { |
| | 1896 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(VideoTexture); |
| | 1897 | | } |
| | 1898 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) { |
| | 1899 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(CameraModeArea); |
| | 1900 | | } |
| | 1901 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) { |
| | 1902 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AvatarTexture); |
| | 1903 | | } |
| | 1904 | | if (payloadCase_ == PayloadOneofCase.AudioClip) { |
| | 1905 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AudioClip); |
| | 1906 | | } |
| | 1907 | | if (payloadCase_ == PayloadOneofCase.AudioSource) { |
| | 1908 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AudioSource); |
| | 1909 | | } |
| | 1910 | | if (payloadCase_ == PayloadOneofCase.AudioStream) { |
| | 1911 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AudioStream); |
| | 1912 | | } |
| | 1913 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) { |
| | 1914 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AvatarShape); |
| | 1915 | | } |
| | 1916 | | if (payloadCase_ == PayloadOneofCase.Gizmos) { |
| | 1917 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Gizmos); |
| | 1918 | | } |
| | 1919 | | if (payloadCase_ == PayloadOneofCase.UiShape) { |
| | 1920 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiShape); |
| | 1921 | | } |
| | 1922 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) { |
| | 1923 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiContainerRect); |
| | 1924 | | } |
| | 1925 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) { |
| | 1926 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiContainerStack); |
| | 1927 | | } |
| | 1928 | | if (payloadCase_ == PayloadOneofCase.UiButton) { |
| | 1929 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiButton); |
| | 1930 | | } |
| | 1931 | | if (payloadCase_ == PayloadOneofCase.UiText) { |
| | 1932 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiText); |
| | 1933 | | } |
| | 1934 | | if (payloadCase_ == PayloadOneofCase.UiInputText) { |
| | 1935 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiInputText); |
| | 1936 | | } |
| | 1937 | | if (payloadCase_ == PayloadOneofCase.UiImage) { |
| | 1938 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiImage); |
| | 1939 | | } |
| | 1940 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) { |
| | 1941 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiScrollRect); |
| | 1942 | | } |
| | 1943 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) { |
| | 1944 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiWorldSpaceShape); |
| | 1945 | | } |
| | 1946 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) { |
| | 1947 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiScreenSpaceShape); |
| | 1948 | | } |
| | 1949 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) { |
| | 1950 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiFullScreenShape); |
| | 1951 | | } |
| | 1952 | | if (_unknownFields != null) { |
| | 1953 | | size += _unknownFields.CalculateSize(); |
| | 1954 | | } |
| | 1955 | | return size; |
| | 1956 | | } |
| | 1957 | |
|
| | 1958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1960 | | public void MergeFrom(ComponentBodyPayload other) { |
| | 1961 | | if (other == null) { |
| | 1962 | | return; |
| | 1963 | | } |
| | 1964 | | switch (other.PayloadCase) { |
| | 1965 | | case PayloadOneofCase.AvatarModifierArea: |
| | 1966 | | if (AvatarModifierArea == null) { |
| | 1967 | | AvatarModifierArea = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarModifierArea(); |
| | 1968 | | } |
| | 1969 | | AvatarModifierArea.MergeFrom(other.AvatarModifierArea); |
| | 1970 | | break; |
| | 1971 | | case PayloadOneofCase.Transform: |
| | 1972 | | if (Transform == null) { |
| | 1973 | | Transform = new global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform(); |
| | 1974 | | } |
| | 1975 | | Transform.MergeFrom(other.Transform); |
| | 1976 | | break; |
| | 1977 | | case PayloadOneofCase.AttachToAvatar: |
| | 1978 | | if (AttachToAvatar == null) { |
| | 1979 | | AttachToAvatar = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar(); |
| | 1980 | | } |
| | 1981 | | AttachToAvatar.MergeFrom(other.AttachToAvatar); |
| | 1982 | | break; |
| | 1983 | | case PayloadOneofCase.Billboard: |
| | 1984 | | if (Billboard == null) { |
| | 1985 | | Billboard = new global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard(); |
| | 1986 | | } |
| | 1987 | | Billboard.MergeFrom(other.Billboard); |
| | 1988 | | break; |
| | 1989 | | case PayloadOneofCase.BoxShape: |
| | 1990 | | if (BoxShape == null) { |
| | 1991 | | BoxShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape(); |
| | 1992 | | } |
| | 1993 | | BoxShape.MergeFrom(other.BoxShape); |
| | 1994 | | break; |
| | 1995 | | case PayloadOneofCase.SphereShape: |
| | 1996 | | if (SphereShape == null) { |
| | 1997 | | SphereShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShape(); |
| | 1998 | | } |
| | 1999 | | SphereShape.MergeFrom(other.SphereShape); |
| | 2000 | | break; |
| | 2001 | | case PayloadOneofCase.CircleShape: |
| | 2002 | | if (CircleShape == null) { |
| | 2003 | | CircleShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShape(); |
| | 2004 | | } |
| | 2005 | | CircleShape.MergeFrom(other.CircleShape); |
| | 2006 | | break; |
| | 2007 | | case PayloadOneofCase.PlaneShape: |
| | 2008 | | if (PlaneShape == null) { |
| | 2009 | | PlaneShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape(); |
| | 2010 | | } |
| | 2011 | | PlaneShape.MergeFrom(other.PlaneShape); |
| | 2012 | | break; |
| | 2013 | | case PayloadOneofCase.ConeShape: |
| | 2014 | | if (ConeShape == null) { |
| | 2015 | | ConeShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape(); |
| | 2016 | | } |
| | 2017 | | ConeShape.MergeFrom(other.ConeShape); |
| | 2018 | | break; |
| | 2019 | | case PayloadOneofCase.CylinderShape: |
| | 2020 | | if (CylinderShape == null) { |
| | 2021 | | CylinderShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinderShape(); |
| | 2022 | | } |
| | 2023 | | CylinderShape.MergeFrom(other.CylinderShape); |
| | 2024 | | break; |
| | 2025 | | case PayloadOneofCase.GltfShape: |
| | 2026 | | if (GltfShape == null) { |
| | 2027 | | GltfShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape(); |
| | 2028 | | } |
| | 2029 | | GltfShape.MergeFrom(other.GltfShape); |
| | 2030 | | break; |
| | 2031 | | case PayloadOneofCase.NftShape: |
| | 2032 | | if (NftShape == null) { |
| | 2033 | | NftShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape(); |
| | 2034 | | } |
| | 2035 | | NftShape.MergeFrom(other.NftShape); |
| | 2036 | | break; |
| | 2037 | | case PayloadOneofCase.Texture: |
| | 2038 | | if (Texture == null) { |
| | 2039 | | Texture = new global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture(); |
| | 2040 | | } |
| | 2041 | | Texture.MergeFrom(other.Texture); |
| | 2042 | | break; |
| | 2043 | | case PayloadOneofCase.Animator: |
| | 2044 | | if (Animator == null) { |
| | 2045 | | Animator = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator(); |
| | 2046 | | } |
| | 2047 | | Animator.MergeFrom(other.Animator); |
| | 2048 | | break; |
| | 2049 | | case PayloadOneofCase.ObjShape: |
| | 2050 | | if (ObjShape == null) { |
| | 2051 | | ObjShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape(); |
| | 2052 | | } |
| | 2053 | | ObjShape.MergeFrom(other.ObjShape); |
| | 2054 | | break; |
| | 2055 | | case PayloadOneofCase.Font: |
| | 2056 | | if (Font == null) { |
| | 2057 | | Font = new global::Decentraland.Sdk.Ecs6.ECS6ComponentFont(); |
| | 2058 | | } |
| | 2059 | | Font.MergeFrom(other.Font); |
| | 2060 | | break; |
| | 2061 | | case PayloadOneofCase.TextShape: |
| | 2062 | | if (TextShape == null) { |
| | 2063 | | TextShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape(); |
| | 2064 | | } |
| | 2065 | | TextShape.MergeFrom(other.TextShape); |
| | 2066 | | break; |
| | 2067 | | case PayloadOneofCase.Material: |
| | 2068 | | if (Material == null) { |
| | 2069 | | Material = new global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial(); |
| | 2070 | | } |
| | 2071 | | Material.MergeFrom(other.Material); |
| | 2072 | | break; |
| | 2073 | | case PayloadOneofCase.BasicMaterial: |
| | 2074 | | if (BasicMaterial == null) { |
| | 2075 | | BasicMaterial = new global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMaterial(); |
| | 2076 | | } |
| | 2077 | | BasicMaterial.MergeFrom(other.BasicMaterial); |
| | 2078 | | break; |
| | 2079 | | case PayloadOneofCase.UuidCallback: |
| | 2080 | | if (UuidCallback == null) { |
| | 2081 | | UuidCallback = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallback(); |
| | 2082 | | } |
| | 2083 | | UuidCallback.MergeFrom(other.UuidCallback); |
| | 2084 | | break; |
| | 2085 | | case PayloadOneofCase.SmartItem: |
| | 2086 | | if (SmartItem == null) { |
| | 2087 | | SmartItem = new global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem(); |
| | 2088 | | } |
| | 2089 | | SmartItem.MergeFrom(other.SmartItem); |
| | 2090 | | break; |
| | 2091 | | case PayloadOneofCase.VideoClip: |
| | 2092 | | if (VideoClip == null) { |
| | 2093 | | VideoClip = new global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip(); |
| | 2094 | | } |
| | 2095 | | VideoClip.MergeFrom(other.VideoClip); |
| | 2096 | | break; |
| | 2097 | | case PayloadOneofCase.VideoTexture: |
| | 2098 | | if (VideoTexture == null) { |
| | 2099 | | VideoTexture = new global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoTexture(); |
| | 2100 | | } |
| | 2101 | | VideoTexture.MergeFrom(other.VideoTexture); |
| | 2102 | | break; |
| | 2103 | | case PayloadOneofCase.CameraModeArea: |
| | 2104 | | if (CameraModeArea == null) { |
| | 2105 | | CameraModeArea = new global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea(); |
| | 2106 | | } |
| | 2107 | | CameraModeArea.MergeFrom(other.CameraModeArea); |
| | 2108 | | break; |
| | 2109 | | case PayloadOneofCase.AvatarTexture: |
| | 2110 | | if (AvatarTexture == null) { |
| | 2111 | | AvatarTexture = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTexture(); |
| | 2112 | | } |
| | 2113 | | AvatarTexture.MergeFrom(other.AvatarTexture); |
| | 2114 | | break; |
| | 2115 | | case PayloadOneofCase.AudioClip: |
| | 2116 | | if (AudioClip == null) { |
| | 2117 | | AudioClip = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip(); |
| | 2118 | | } |
| | 2119 | | AudioClip.MergeFrom(other.AudioClip); |
| | 2120 | | break; |
| | 2121 | | case PayloadOneofCase.AudioSource: |
| | 2122 | | if (AudioSource == null) { |
| | 2123 | | AudioSource = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSource(); |
| | 2124 | | } |
| | 2125 | | AudioSource.MergeFrom(other.AudioSource); |
| | 2126 | | break; |
| | 2127 | | case PayloadOneofCase.AudioStream: |
| | 2128 | | if (AudioStream == null) { |
| | 2129 | | AudioStream = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStream(); |
| | 2130 | | } |
| | 2131 | | AudioStream.MergeFrom(other.AudioStream); |
| | 2132 | | break; |
| | 2133 | | case PayloadOneofCase.AvatarShape: |
| | 2134 | | if (AvatarShape == null) { |
| | 2135 | | AvatarShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape(); |
| | 2136 | | } |
| | 2137 | | AvatarShape.MergeFrom(other.AvatarShape); |
| | 2138 | | break; |
| | 2139 | | case PayloadOneofCase.Gizmos: |
| | 2140 | | if (Gizmos == null) { |
| | 2141 | | Gizmos = new global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos(); |
| | 2142 | | } |
| | 2143 | | Gizmos.MergeFrom(other.Gizmos); |
| | 2144 | | break; |
| | 2145 | | case PayloadOneofCase.UiShape: |
| | 2146 | | if (UiShape == null) { |
| | 2147 | | UiShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape(); |
| | 2148 | | } |
| | 2149 | | UiShape.MergeFrom(other.UiShape); |
| | 2150 | | break; |
| | 2151 | | case PayloadOneofCase.UiContainerRect: |
| | 2152 | | if (UiContainerRect == null) { |
| | 2153 | | UiContainerRect = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerRect(); |
| | 2154 | | } |
| | 2155 | | UiContainerRect.MergeFrom(other.UiContainerRect); |
| | 2156 | | break; |
| | 2157 | | case PayloadOneofCase.UiContainerStack: |
| | 2158 | | if (UiContainerStack == null) { |
| | 2159 | | UiContainerStack = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack(); |
| | 2160 | | } |
| | 2161 | | UiContainerStack.MergeFrom(other.UiContainerStack); |
| | 2162 | | break; |
| | 2163 | | case PayloadOneofCase.UiButton: |
| | 2164 | | if (UiButton == null) { |
| | 2165 | | UiButton = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton(); |
| | 2166 | | } |
| | 2167 | | UiButton.MergeFrom(other.UiButton); |
| | 2168 | | break; |
| | 2169 | | case PayloadOneofCase.UiText: |
| | 2170 | | if (UiText == null) { |
| | 2171 | | UiText = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText(); |
| | 2172 | | } |
| | 2173 | | UiText.MergeFrom(other.UiText); |
| | 2174 | | break; |
| | 2175 | | case PayloadOneofCase.UiInputText: |
| | 2176 | | if (UiInputText == null) { |
| | 2177 | | UiInputText = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputText(); |
| | 2178 | | } |
| | 2179 | | UiInputText.MergeFrom(other.UiInputText); |
| | 2180 | | break; |
| | 2181 | | case PayloadOneofCase.UiImage: |
| | 2182 | | if (UiImage == null) { |
| | 2183 | | UiImage = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage(); |
| | 2184 | | } |
| | 2185 | | UiImage.MergeFrom(other.UiImage); |
| | 2186 | | break; |
| | 2187 | | case PayloadOneofCase.UiScrollRect: |
| | 2188 | | if (UiScrollRect == null) { |
| | 2189 | | UiScrollRect = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollRect(); |
| | 2190 | | } |
| | 2191 | | UiScrollRect.MergeFrom(other.UiScrollRect); |
| | 2192 | | break; |
| | 2193 | | case PayloadOneofCase.UiWorldSpaceShape: |
| | 2194 | | if (UiWorldSpaceShape == null) { |
| | 2195 | | UiWorldSpaceShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWorldSpaceShape(); |
| | 2196 | | } |
| | 2197 | | UiWorldSpaceShape.MergeFrom(other.UiWorldSpaceShape); |
| | 2198 | | break; |
| | 2199 | | case PayloadOneofCase.UiScreenSpaceShape: |
| | 2200 | | if (UiScreenSpaceShape == null) { |
| | 2201 | | UiScreenSpaceShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScreenSpaceShape(); |
| | 2202 | | } |
| | 2203 | | UiScreenSpaceShape.MergeFrom(other.UiScreenSpaceShape); |
| | 2204 | | break; |
| | 2205 | | case PayloadOneofCase.UiFullScreenShape: |
| | 2206 | | if (UiFullScreenShape == null) { |
| | 2207 | | UiFullScreenShape = new global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFullScreenShape(); |
| | 2208 | | } |
| | 2209 | | UiFullScreenShape.MergeFrom(other.UiFullScreenShape); |
| | 2210 | | break; |
| | 2211 | | } |
| | 2212 | |
|
| | 2213 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2214 | | } |
| | 2215 | |
|
| | 2216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2218 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2220 | | input.ReadRawMessage(this); |
| | 2221 | | #else |
| | 2222 | | uint tag; |
| | 2223 | | while ((tag = input.ReadTag()) != 0) { |
| | 2224 | | switch(tag) { |
| | 2225 | | default: |
| | 2226 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2227 | | break; |
| | 2228 | | case 10: { |
| | 2229 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarModifierArea subBuilder = new global::Decentraland.Sdk.Ecs6 |
| | 2230 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) { |
| | 2231 | | subBuilder.MergeFrom(AvatarModifierArea); |
| | 2232 | | } |
| | 2233 | | input.ReadMessage(subBuilder); |
| | 2234 | | AvatarModifierArea = subBuilder; |
| | 2235 | | break; |
| | 2236 | | } |
| | 2237 | | case 18: { |
| | 2238 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2239 | | if (payloadCase_ == PayloadOneofCase.Transform) { |
| | 2240 | | subBuilder.MergeFrom(Transform); |
| | 2241 | | } |
| | 2242 | | input.ReadMessage(subBuilder); |
| | 2243 | | Transform = subBuilder; |
| | 2244 | | break; |
| | 2245 | | } |
| | 2246 | | case 26: { |
| | 2247 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar subBuilder = new global::Decentraland.Sdk.Ecs6.ECS |
| | 2248 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) { |
| | 2249 | | subBuilder.MergeFrom(AttachToAvatar); |
| | 2250 | | } |
| | 2251 | | input.ReadMessage(subBuilder); |
| | 2252 | | AttachToAvatar = subBuilder; |
| | 2253 | | break; |
| | 2254 | | } |
| | 2255 | | case 34: { |
| | 2256 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2257 | | if (payloadCase_ == PayloadOneofCase.Billboard) { |
| | 2258 | | subBuilder.MergeFrom(Billboard); |
| | 2259 | | } |
| | 2260 | | input.ReadMessage(subBuilder); |
| | 2261 | | Billboard = subBuilder; |
| | 2262 | | break; |
| | 2263 | | } |
| | 2264 | | case 42: { |
| | 2265 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2266 | | if (payloadCase_ == PayloadOneofCase.BoxShape) { |
| | 2267 | | subBuilder.MergeFrom(BoxShape); |
| | 2268 | | } |
| | 2269 | | input.ReadMessage(subBuilder); |
| | 2270 | | BoxShape = subBuilder; |
| | 2271 | | break; |
| | 2272 | | } |
| | 2273 | | case 50: { |
| | 2274 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2275 | | if (payloadCase_ == PayloadOneofCase.SphereShape) { |
| | 2276 | | subBuilder.MergeFrom(SphereShape); |
| | 2277 | | } |
| | 2278 | | input.ReadMessage(subBuilder); |
| | 2279 | | SphereShape = subBuilder; |
| | 2280 | | break; |
| | 2281 | | } |
| | 2282 | | case 58: { |
| | 2283 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2284 | | if (payloadCase_ == PayloadOneofCase.CircleShape) { |
| | 2285 | | subBuilder.MergeFrom(CircleShape); |
| | 2286 | | } |
| | 2287 | | input.ReadMessage(subBuilder); |
| | 2288 | | CircleShape = subBuilder; |
| | 2289 | | break; |
| | 2290 | | } |
| | 2291 | | case 66: { |
| | 2292 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Com |
| | 2293 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) { |
| | 2294 | | subBuilder.MergeFrom(PlaneShape); |
| | 2295 | | } |
| | 2296 | | input.ReadMessage(subBuilder); |
| | 2297 | | PlaneShape = subBuilder; |
| | 2298 | | break; |
| | 2299 | | } |
| | 2300 | | case 74: { |
| | 2301 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2302 | | if (payloadCase_ == PayloadOneofCase.ConeShape) { |
| | 2303 | | subBuilder.MergeFrom(ConeShape); |
| | 2304 | | } |
| | 2305 | | input.ReadMessage(subBuilder); |
| | 2306 | | ConeShape = subBuilder; |
| | 2307 | | break; |
| | 2308 | | } |
| | 2309 | | case 82: { |
| | 2310 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinderShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2311 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) { |
| | 2312 | | subBuilder.MergeFrom(CylinderShape); |
| | 2313 | | } |
| | 2314 | | input.ReadMessage(subBuilder); |
| | 2315 | | CylinderShape = subBuilder; |
| | 2316 | | break; |
| | 2317 | | } |
| | 2318 | | case 90: { |
| | 2319 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2320 | | if (payloadCase_ == PayloadOneofCase.GltfShape) { |
| | 2321 | | subBuilder.MergeFrom(GltfShape); |
| | 2322 | | } |
| | 2323 | | input.ReadMessage(subBuilder); |
| | 2324 | | GltfShape = subBuilder; |
| | 2325 | | break; |
| | 2326 | | } |
| | 2327 | | case 98: { |
| | 2328 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2329 | | if (payloadCase_ == PayloadOneofCase.NftShape) { |
| | 2330 | | subBuilder.MergeFrom(NftShape); |
| | 2331 | | } |
| | 2332 | | input.ReadMessage(subBuilder); |
| | 2333 | | NftShape = subBuilder; |
| | 2334 | | break; |
| | 2335 | | } |
| | 2336 | | case 106: { |
| | 2337 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2338 | | if (payloadCase_ == PayloadOneofCase.Texture) { |
| | 2339 | | subBuilder.MergeFrom(Texture); |
| | 2340 | | } |
| | 2341 | | input.ReadMessage(subBuilder); |
| | 2342 | | Texture = subBuilder; |
| | 2343 | | break; |
| | 2344 | | } |
| | 2345 | | case 114: { |
| | 2346 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2347 | | if (payloadCase_ == PayloadOneofCase.Animator) { |
| | 2348 | | subBuilder.MergeFrom(Animator); |
| | 2349 | | } |
| | 2350 | | input.ReadMessage(subBuilder); |
| | 2351 | | Animator = subBuilder; |
| | 2352 | | break; |
| | 2353 | | } |
| | 2354 | | case 122: { |
| | 2355 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2356 | | if (payloadCase_ == PayloadOneofCase.ObjShape) { |
| | 2357 | | subBuilder.MergeFrom(ObjShape); |
| | 2358 | | } |
| | 2359 | | input.ReadMessage(subBuilder); |
| | 2360 | | ObjShape = subBuilder; |
| | 2361 | | break; |
| | 2362 | | } |
| | 2363 | | case 130: { |
| | 2364 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentFont subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Component |
| | 2365 | | if (payloadCase_ == PayloadOneofCase.Font) { |
| | 2366 | | subBuilder.MergeFrom(Font); |
| | 2367 | | } |
| | 2368 | | input.ReadMessage(subBuilder); |
| | 2369 | | Font = subBuilder; |
| | 2370 | | break; |
| | 2371 | | } |
| | 2372 | | case 138: { |
| | 2373 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2374 | | if (payloadCase_ == PayloadOneofCase.TextShape) { |
| | 2375 | | subBuilder.MergeFrom(TextShape); |
| | 2376 | | } |
| | 2377 | | input.ReadMessage(subBuilder); |
| | 2378 | | TextShape = subBuilder; |
| | 2379 | | break; |
| | 2380 | | } |
| | 2381 | | case 146: { |
| | 2382 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2383 | | if (payloadCase_ == PayloadOneofCase.Material) { |
| | 2384 | | subBuilder.MergeFrom(Material); |
| | 2385 | | } |
| | 2386 | | input.ReadMessage(subBuilder); |
| | 2387 | | Material = subBuilder; |
| | 2388 | | break; |
| | 2389 | | } |
| | 2390 | | case 154: { |
| | 2391 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMaterial subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2392 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) { |
| | 2393 | | subBuilder.MergeFrom(BasicMaterial); |
| | 2394 | | } |
| | 2395 | | input.ReadMessage(subBuilder); |
| | 2396 | | BasicMaterial = subBuilder; |
| | 2397 | | break; |
| | 2398 | | } |
| | 2399 | | case 162: { |
| | 2400 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallback subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2401 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) { |
| | 2402 | | subBuilder.MergeFrom(UuidCallback); |
| | 2403 | | } |
| | 2404 | | input.ReadMessage(subBuilder); |
| | 2405 | | UuidCallback = subBuilder; |
| | 2406 | | break; |
| | 2407 | | } |
| | 2408 | | case 170: { |
| | 2409 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2410 | | if (payloadCase_ == PayloadOneofCase.SmartItem) { |
| | 2411 | | subBuilder.MergeFrom(SmartItem); |
| | 2412 | | } |
| | 2413 | | input.ReadMessage(subBuilder); |
| | 2414 | | SmartItem = subBuilder; |
| | 2415 | | break; |
| | 2416 | | } |
| | 2417 | | case 178: { |
| | 2418 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2419 | | if (payloadCase_ == PayloadOneofCase.VideoClip) { |
| | 2420 | | subBuilder.MergeFrom(VideoClip); |
| | 2421 | | } |
| | 2422 | | input.ReadMessage(subBuilder); |
| | 2423 | | VideoClip = subBuilder; |
| | 2424 | | break; |
| | 2425 | | } |
| | 2426 | | case 186: { |
| | 2427 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2428 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) { |
| | 2429 | | subBuilder.MergeFrom(VideoTexture); |
| | 2430 | | } |
| | 2431 | | input.ReadMessage(subBuilder); |
| | 2432 | | VideoTexture = subBuilder; |
| | 2433 | | break; |
| | 2434 | | } |
| | 2435 | | case 194: { |
| | 2436 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea subBuilder = new global::Decentraland.Sdk.Ecs6.ECS |
| | 2437 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) { |
| | 2438 | | subBuilder.MergeFrom(CameraModeArea); |
| | 2439 | | } |
| | 2440 | | input.ReadMessage(subBuilder); |
| | 2441 | | CameraModeArea = subBuilder; |
| | 2442 | | break; |
| | 2443 | | } |
| | 2444 | | case 202: { |
| | 2445 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2446 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) { |
| | 2447 | | subBuilder.MergeFrom(AvatarTexture); |
| | 2448 | | } |
| | 2449 | | input.ReadMessage(subBuilder); |
| | 2450 | | AvatarTexture = subBuilder; |
| | 2451 | | break; |
| | 2452 | | } |
| | 2453 | | case 210: { |
| | 2454 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2455 | | if (payloadCase_ == PayloadOneofCase.AudioClip) { |
| | 2456 | | subBuilder.MergeFrom(AudioClip); |
| | 2457 | | } |
| | 2458 | | input.ReadMessage(subBuilder); |
| | 2459 | | AudioClip = subBuilder; |
| | 2460 | | break; |
| | 2461 | | } |
| | 2462 | | case 218: { |
| | 2463 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSource subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2464 | | if (payloadCase_ == PayloadOneofCase.AudioSource) { |
| | 2465 | | subBuilder.MergeFrom(AudioSource); |
| | 2466 | | } |
| | 2467 | | input.ReadMessage(subBuilder); |
| | 2468 | | AudioSource = subBuilder; |
| | 2469 | | break; |
| | 2470 | | } |
| | 2471 | | case 226: { |
| | 2472 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStream subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2473 | | if (payloadCase_ == PayloadOneofCase.AudioStream) { |
| | 2474 | | subBuilder.MergeFrom(AudioStream); |
| | 2475 | | } |
| | 2476 | | input.ReadMessage(subBuilder); |
| | 2477 | | AudioStream = subBuilder; |
| | 2478 | | break; |
| | 2479 | | } |
| | 2480 | | case 234: { |
| | 2481 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2482 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) { |
| | 2483 | | subBuilder.MergeFrom(AvatarShape); |
| | 2484 | | } |
| | 2485 | | input.ReadMessage(subBuilder); |
| | 2486 | | AvatarShape = subBuilder; |
| | 2487 | | break; |
| | 2488 | | } |
| | 2489 | | case 242: { |
| | 2490 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compone |
| | 2491 | | if (payloadCase_ == PayloadOneofCase.Gizmos) { |
| | 2492 | | subBuilder.MergeFrom(Gizmos); |
| | 2493 | | } |
| | 2494 | | input.ReadMessage(subBuilder); |
| | 2495 | | Gizmos = subBuilder; |
| | 2496 | | break; |
| | 2497 | | } |
| | 2498 | | case 250: { |
| | 2499 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2500 | | if (payloadCase_ == PayloadOneofCase.UiShape) { |
| | 2501 | | subBuilder.MergeFrom(UiShape); |
| | 2502 | | } |
| | 2503 | | input.ReadMessage(subBuilder); |
| | 2504 | | UiShape = subBuilder; |
| | 2505 | | break; |
| | 2506 | | } |
| | 2507 | | case 258: { |
| | 2508 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerRect subBuilder = new global::Decentraland.Sdk.Ecs6.EC |
| | 2509 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) { |
| | 2510 | | subBuilder.MergeFrom(UiContainerRect); |
| | 2511 | | } |
| | 2512 | | input.ReadMessage(subBuilder); |
| | 2513 | | UiContainerRect = subBuilder; |
| | 2514 | | break; |
| | 2515 | | } |
| | 2516 | | case 266: { |
| | 2517 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack subBuilder = new global::Decentraland.Sdk.Ecs6.E |
| | 2518 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) { |
| | 2519 | | subBuilder.MergeFrom(UiContainerStack); |
| | 2520 | | } |
| | 2521 | | input.ReadMessage(subBuilder); |
| | 2522 | | UiContainerStack = subBuilder; |
| | 2523 | | break; |
| | 2524 | | } |
| | 2525 | | case 274: { |
| | 2526 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2527 | | if (payloadCase_ == PayloadOneofCase.UiButton) { |
| | 2528 | | subBuilder.MergeFrom(UiButton); |
| | 2529 | | } |
| | 2530 | | input.ReadMessage(subBuilder); |
| | 2531 | | UiButton = subBuilder; |
| | 2532 | | break; |
| | 2533 | | } |
| | 2534 | | case 282: { |
| | 2535 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compone |
| | 2536 | | if (payloadCase_ == PayloadOneofCase.UiText) { |
| | 2537 | | subBuilder.MergeFrom(UiText); |
| | 2538 | | } |
| | 2539 | | input.ReadMessage(subBuilder); |
| | 2540 | | UiText = subBuilder; |
| | 2541 | | break; |
| | 2542 | | } |
| | 2543 | | case 290: { |
| | 2544 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputText subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2545 | | if (payloadCase_ == PayloadOneofCase.UiInputText) { |
| | 2546 | | subBuilder.MergeFrom(UiInputText); |
| | 2547 | | } |
| | 2548 | | input.ReadMessage(subBuilder); |
| | 2549 | | UiInputText = subBuilder; |
| | 2550 | | break; |
| | 2551 | | } |
| | 2552 | | case 298: { |
| | 2553 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2554 | | if (payloadCase_ == PayloadOneofCase.UiImage) { |
| | 2555 | | subBuilder.MergeFrom(UiImage); |
| | 2556 | | } |
| | 2557 | | input.ReadMessage(subBuilder); |
| | 2558 | | UiImage = subBuilder; |
| | 2559 | | break; |
| | 2560 | | } |
| | 2561 | | case 306: { |
| | 2562 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollRect subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2563 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) { |
| | 2564 | | subBuilder.MergeFrom(UiScrollRect); |
| | 2565 | | } |
| | 2566 | | input.ReadMessage(subBuilder); |
| | 2567 | | UiScrollRect = subBuilder; |
| | 2568 | | break; |
| | 2569 | | } |
| | 2570 | | case 314: { |
| | 2571 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWorldSpaceShape subBuilder = new global::Decentraland.Sdk.Ecs6. |
| | 2572 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) { |
| | 2573 | | subBuilder.MergeFrom(UiWorldSpaceShape); |
| | 2574 | | } |
| | 2575 | | input.ReadMessage(subBuilder); |
| | 2576 | | UiWorldSpaceShape = subBuilder; |
| | 2577 | | break; |
| | 2578 | | } |
| | 2579 | | case 322: { |
| | 2580 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScreenSpaceShape subBuilder = new global::Decentraland.Sdk.Ecs6 |
| | 2581 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) { |
| | 2582 | | subBuilder.MergeFrom(UiScreenSpaceShape); |
| | 2583 | | } |
| | 2584 | | input.ReadMessage(subBuilder); |
| | 2585 | | UiScreenSpaceShape = subBuilder; |
| | 2586 | | break; |
| | 2587 | | } |
| | 2588 | | case 330: { |
| | 2589 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFullScreenShape subBuilder = new global::Decentraland.Sdk.Ecs6. |
| | 2590 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) { |
| | 2591 | | subBuilder.MergeFrom(UiFullScreenShape); |
| | 2592 | | } |
| | 2593 | | input.ReadMessage(subBuilder); |
| | 2594 | | UiFullScreenShape = subBuilder; |
| | 2595 | | break; |
| | 2596 | | } |
| | 2597 | | } |
| | 2598 | | } |
| | 2599 | | #endif |
| | 2600 | | } |
| | 2601 | |
|
| | 2602 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2605 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2606 | | uint tag; |
| | 2607 | | while ((tag = input.ReadTag()) != 0) { |
| | 2608 | | switch(tag) { |
| | 2609 | | default: |
| | 2610 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2611 | | break; |
| | 2612 | | case 10: { |
| | 2613 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarModifierArea subBuilder = new global::Decentraland.Sdk.Ecs6 |
| | 2614 | | if (payloadCase_ == PayloadOneofCase.AvatarModifierArea) { |
| | 2615 | | subBuilder.MergeFrom(AvatarModifierArea); |
| | 2616 | | } |
| | 2617 | | input.ReadMessage(subBuilder); |
| | 2618 | | AvatarModifierArea = subBuilder; |
| | 2619 | | break; |
| | 2620 | | } |
| | 2621 | | case 18: { |
| | 2622 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2623 | | if (payloadCase_ == PayloadOneofCase.Transform) { |
| | 2624 | | subBuilder.MergeFrom(Transform); |
| | 2625 | | } |
| | 2626 | | input.ReadMessage(subBuilder); |
| | 2627 | | Transform = subBuilder; |
| | 2628 | | break; |
| | 2629 | | } |
| | 2630 | | case 26: { |
| | 2631 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar subBuilder = new global::Decentraland.Sdk.Ecs6.ECS |
| | 2632 | | if (payloadCase_ == PayloadOneofCase.AttachToAvatar) { |
| | 2633 | | subBuilder.MergeFrom(AttachToAvatar); |
| | 2634 | | } |
| | 2635 | | input.ReadMessage(subBuilder); |
| | 2636 | | AttachToAvatar = subBuilder; |
| | 2637 | | break; |
| | 2638 | | } |
| | 2639 | | case 34: { |
| | 2640 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2641 | | if (payloadCase_ == PayloadOneofCase.Billboard) { |
| | 2642 | | subBuilder.MergeFrom(Billboard); |
| | 2643 | | } |
| | 2644 | | input.ReadMessage(subBuilder); |
| | 2645 | | Billboard = subBuilder; |
| | 2646 | | break; |
| | 2647 | | } |
| | 2648 | | case 42: { |
| | 2649 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2650 | | if (payloadCase_ == PayloadOneofCase.BoxShape) { |
| | 2651 | | subBuilder.MergeFrom(BoxShape); |
| | 2652 | | } |
| | 2653 | | input.ReadMessage(subBuilder); |
| | 2654 | | BoxShape = subBuilder; |
| | 2655 | | break; |
| | 2656 | | } |
| | 2657 | | case 50: { |
| | 2658 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2659 | | if (payloadCase_ == PayloadOneofCase.SphereShape) { |
| | 2660 | | subBuilder.MergeFrom(SphereShape); |
| | 2661 | | } |
| | 2662 | | input.ReadMessage(subBuilder); |
| | 2663 | | SphereShape = subBuilder; |
| | 2664 | | break; |
| | 2665 | | } |
| | 2666 | | case 58: { |
| | 2667 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2668 | | if (payloadCase_ == PayloadOneofCase.CircleShape) { |
| | 2669 | | subBuilder.MergeFrom(CircleShape); |
| | 2670 | | } |
| | 2671 | | input.ReadMessage(subBuilder); |
| | 2672 | | CircleShape = subBuilder; |
| | 2673 | | break; |
| | 2674 | | } |
| | 2675 | | case 66: { |
| | 2676 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Com |
| | 2677 | | if (payloadCase_ == PayloadOneofCase.PlaneShape) { |
| | 2678 | | subBuilder.MergeFrom(PlaneShape); |
| | 2679 | | } |
| | 2680 | | input.ReadMessage(subBuilder); |
| | 2681 | | PlaneShape = subBuilder; |
| | 2682 | | break; |
| | 2683 | | } |
| | 2684 | | case 74: { |
| | 2685 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2686 | | if (payloadCase_ == PayloadOneofCase.ConeShape) { |
| | 2687 | | subBuilder.MergeFrom(ConeShape); |
| | 2688 | | } |
| | 2689 | | input.ReadMessage(subBuilder); |
| | 2690 | | ConeShape = subBuilder; |
| | 2691 | | break; |
| | 2692 | | } |
| | 2693 | | case 82: { |
| | 2694 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinderShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2695 | | if (payloadCase_ == PayloadOneofCase.CylinderShape) { |
| | 2696 | | subBuilder.MergeFrom(CylinderShape); |
| | 2697 | | } |
| | 2698 | | input.ReadMessage(subBuilder); |
| | 2699 | | CylinderShape = subBuilder; |
| | 2700 | | break; |
| | 2701 | | } |
| | 2702 | | case 90: { |
| | 2703 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2704 | | if (payloadCase_ == PayloadOneofCase.GltfShape) { |
| | 2705 | | subBuilder.MergeFrom(GltfShape); |
| | 2706 | | } |
| | 2707 | | input.ReadMessage(subBuilder); |
| | 2708 | | GltfShape = subBuilder; |
| | 2709 | | break; |
| | 2710 | | } |
| | 2711 | | case 98: { |
| | 2712 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2713 | | if (payloadCase_ == PayloadOneofCase.NftShape) { |
| | 2714 | | subBuilder.MergeFrom(NftShape); |
| | 2715 | | } |
| | 2716 | | input.ReadMessage(subBuilder); |
| | 2717 | | NftShape = subBuilder; |
| | 2718 | | break; |
| | 2719 | | } |
| | 2720 | | case 106: { |
| | 2721 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2722 | | if (payloadCase_ == PayloadOneofCase.Texture) { |
| | 2723 | | subBuilder.MergeFrom(Texture); |
| | 2724 | | } |
| | 2725 | | input.ReadMessage(subBuilder); |
| | 2726 | | Texture = subBuilder; |
| | 2727 | | break; |
| | 2728 | | } |
| | 2729 | | case 114: { |
| | 2730 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2731 | | if (payloadCase_ == PayloadOneofCase.Animator) { |
| | 2732 | | subBuilder.MergeFrom(Animator); |
| | 2733 | | } |
| | 2734 | | input.ReadMessage(subBuilder); |
| | 2735 | | Animator = subBuilder; |
| | 2736 | | break; |
| | 2737 | | } |
| | 2738 | | case 122: { |
| | 2739 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2740 | | if (payloadCase_ == PayloadOneofCase.ObjShape) { |
| | 2741 | | subBuilder.MergeFrom(ObjShape); |
| | 2742 | | } |
| | 2743 | | input.ReadMessage(subBuilder); |
| | 2744 | | ObjShape = subBuilder; |
| | 2745 | | break; |
| | 2746 | | } |
| | 2747 | | case 130: { |
| | 2748 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentFont subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Component |
| | 2749 | | if (payloadCase_ == PayloadOneofCase.Font) { |
| | 2750 | | subBuilder.MergeFrom(Font); |
| | 2751 | | } |
| | 2752 | | input.ReadMessage(subBuilder); |
| | 2753 | | Font = subBuilder; |
| | 2754 | | break; |
| | 2755 | | } |
| | 2756 | | case 138: { |
| | 2757 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2758 | | if (payloadCase_ == PayloadOneofCase.TextShape) { |
| | 2759 | | subBuilder.MergeFrom(TextShape); |
| | 2760 | | } |
| | 2761 | | input.ReadMessage(subBuilder); |
| | 2762 | | TextShape = subBuilder; |
| | 2763 | | break; |
| | 2764 | | } |
| | 2765 | | case 146: { |
| | 2766 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2767 | | if (payloadCase_ == PayloadOneofCase.Material) { |
| | 2768 | | subBuilder.MergeFrom(Material); |
| | 2769 | | } |
| | 2770 | | input.ReadMessage(subBuilder); |
| | 2771 | | Material = subBuilder; |
| | 2772 | | break; |
| | 2773 | | } |
| | 2774 | | case 154: { |
| | 2775 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMaterial subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2776 | | if (payloadCase_ == PayloadOneofCase.BasicMaterial) { |
| | 2777 | | subBuilder.MergeFrom(BasicMaterial); |
| | 2778 | | } |
| | 2779 | | input.ReadMessage(subBuilder); |
| | 2780 | | BasicMaterial = subBuilder; |
| | 2781 | | break; |
| | 2782 | | } |
| | 2783 | | case 162: { |
| | 2784 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallback subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2785 | | if (payloadCase_ == PayloadOneofCase.UuidCallback) { |
| | 2786 | | subBuilder.MergeFrom(UuidCallback); |
| | 2787 | | } |
| | 2788 | | input.ReadMessage(subBuilder); |
| | 2789 | | UuidCallback = subBuilder; |
| | 2790 | | break; |
| | 2791 | | } |
| | 2792 | | case 170: { |
| | 2793 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2794 | | if (payloadCase_ == PayloadOneofCase.SmartItem) { |
| | 2795 | | subBuilder.MergeFrom(SmartItem); |
| | 2796 | | } |
| | 2797 | | input.ReadMessage(subBuilder); |
| | 2798 | | SmartItem = subBuilder; |
| | 2799 | | break; |
| | 2800 | | } |
| | 2801 | | case 178: { |
| | 2802 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2803 | | if (payloadCase_ == PayloadOneofCase.VideoClip) { |
| | 2804 | | subBuilder.MergeFrom(VideoClip); |
| | 2805 | | } |
| | 2806 | | input.ReadMessage(subBuilder); |
| | 2807 | | VideoClip = subBuilder; |
| | 2808 | | break; |
| | 2809 | | } |
| | 2810 | | case 186: { |
| | 2811 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2812 | | if (payloadCase_ == PayloadOneofCase.VideoTexture) { |
| | 2813 | | subBuilder.MergeFrom(VideoTexture); |
| | 2814 | | } |
| | 2815 | | input.ReadMessage(subBuilder); |
| | 2816 | | VideoTexture = subBuilder; |
| | 2817 | | break; |
| | 2818 | | } |
| | 2819 | | case 194: { |
| | 2820 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea subBuilder = new global::Decentraland.Sdk.Ecs6.ECS |
| | 2821 | | if (payloadCase_ == PayloadOneofCase.CameraModeArea) { |
| | 2822 | | subBuilder.MergeFrom(CameraModeArea); |
| | 2823 | | } |
| | 2824 | | input.ReadMessage(subBuilder); |
| | 2825 | | CameraModeArea = subBuilder; |
| | 2826 | | break; |
| | 2827 | | } |
| | 2828 | | case 202: { |
| | 2829 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTexture subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6 |
| | 2830 | | if (payloadCase_ == PayloadOneofCase.AvatarTexture) { |
| | 2831 | | subBuilder.MergeFrom(AvatarTexture); |
| | 2832 | | } |
| | 2833 | | input.ReadMessage(subBuilder); |
| | 2834 | | AvatarTexture = subBuilder; |
| | 2835 | | break; |
| | 2836 | | } |
| | 2837 | | case 210: { |
| | 2838 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Comp |
| | 2839 | | if (payloadCase_ == PayloadOneofCase.AudioClip) { |
| | 2840 | | subBuilder.MergeFrom(AudioClip); |
| | 2841 | | } |
| | 2842 | | input.ReadMessage(subBuilder); |
| | 2843 | | AudioClip = subBuilder; |
| | 2844 | | break; |
| | 2845 | | } |
| | 2846 | | case 218: { |
| | 2847 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSource subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2848 | | if (payloadCase_ == PayloadOneofCase.AudioSource) { |
| | 2849 | | subBuilder.MergeFrom(AudioSource); |
| | 2850 | | } |
| | 2851 | | input.ReadMessage(subBuilder); |
| | 2852 | | AudioSource = subBuilder; |
| | 2853 | | break; |
| | 2854 | | } |
| | 2855 | | case 226: { |
| | 2856 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStream subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2857 | | if (payloadCase_ == PayloadOneofCase.AudioStream) { |
| | 2858 | | subBuilder.MergeFrom(AudioStream); |
| | 2859 | | } |
| | 2860 | | input.ReadMessage(subBuilder); |
| | 2861 | | AudioStream = subBuilder; |
| | 2862 | | break; |
| | 2863 | | } |
| | 2864 | | case 234: { |
| | 2865 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2866 | | if (payloadCase_ == PayloadOneofCase.AvatarShape) { |
| | 2867 | | subBuilder.MergeFrom(AvatarShape); |
| | 2868 | | } |
| | 2869 | | input.ReadMessage(subBuilder); |
| | 2870 | | AvatarShape = subBuilder; |
| | 2871 | | break; |
| | 2872 | | } |
| | 2873 | | case 242: { |
| | 2874 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compone |
| | 2875 | | if (payloadCase_ == PayloadOneofCase.Gizmos) { |
| | 2876 | | subBuilder.MergeFrom(Gizmos); |
| | 2877 | | } |
| | 2878 | | input.ReadMessage(subBuilder); |
| | 2879 | | Gizmos = subBuilder; |
| | 2880 | | break; |
| | 2881 | | } |
| | 2882 | | case 250: { |
| | 2883 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2884 | | if (payloadCase_ == PayloadOneofCase.UiShape) { |
| | 2885 | | subBuilder.MergeFrom(UiShape); |
| | 2886 | | } |
| | 2887 | | input.ReadMessage(subBuilder); |
| | 2888 | | UiShape = subBuilder; |
| | 2889 | | break; |
| | 2890 | | } |
| | 2891 | | case 258: { |
| | 2892 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerRect subBuilder = new global::Decentraland.Sdk.Ecs6.EC |
| | 2893 | | if (payloadCase_ == PayloadOneofCase.UiContainerRect) { |
| | 2894 | | subBuilder.MergeFrom(UiContainerRect); |
| | 2895 | | } |
| | 2896 | | input.ReadMessage(subBuilder); |
| | 2897 | | UiContainerRect = subBuilder; |
| | 2898 | | break; |
| | 2899 | | } |
| | 2900 | | case 266: { |
| | 2901 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack subBuilder = new global::Decentraland.Sdk.Ecs6.E |
| | 2902 | | if (payloadCase_ == PayloadOneofCase.UiContainerStack) { |
| | 2903 | | subBuilder.MergeFrom(UiContainerStack); |
| | 2904 | | } |
| | 2905 | | input.ReadMessage(subBuilder); |
| | 2906 | | UiContainerStack = subBuilder; |
| | 2907 | | break; |
| | 2908 | | } |
| | 2909 | | case 274: { |
| | 2910 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compo |
| | 2911 | | if (payloadCase_ == PayloadOneofCase.UiButton) { |
| | 2912 | | subBuilder.MergeFrom(UiButton); |
| | 2913 | | } |
| | 2914 | | input.ReadMessage(subBuilder); |
| | 2915 | | UiButton = subBuilder; |
| | 2916 | | break; |
| | 2917 | | } |
| | 2918 | | case 282: { |
| | 2919 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compone |
| | 2920 | | if (payloadCase_ == PayloadOneofCase.UiText) { |
| | 2921 | | subBuilder.MergeFrom(UiText); |
| | 2922 | | } |
| | 2923 | | input.ReadMessage(subBuilder); |
| | 2924 | | UiText = subBuilder; |
| | 2925 | | break; |
| | 2926 | | } |
| | 2927 | | case 290: { |
| | 2928 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputText subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Co |
| | 2929 | | if (payloadCase_ == PayloadOneofCase.UiInputText) { |
| | 2930 | | subBuilder.MergeFrom(UiInputText); |
| | 2931 | | } |
| | 2932 | | input.ReadMessage(subBuilder); |
| | 2933 | | UiInputText = subBuilder; |
| | 2934 | | break; |
| | 2935 | | } |
| | 2936 | | case 298: { |
| | 2937 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6Compon |
| | 2938 | | if (payloadCase_ == PayloadOneofCase.UiImage) { |
| | 2939 | | subBuilder.MergeFrom(UiImage); |
| | 2940 | | } |
| | 2941 | | input.ReadMessage(subBuilder); |
| | 2942 | | UiImage = subBuilder; |
| | 2943 | | break; |
| | 2944 | | } |
| | 2945 | | case 306: { |
| | 2946 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollRect subBuilder = new global::Decentraland.Sdk.Ecs6.ECS6C |
| | 2947 | | if (payloadCase_ == PayloadOneofCase.UiScrollRect) { |
| | 2948 | | subBuilder.MergeFrom(UiScrollRect); |
| | 2949 | | } |
| | 2950 | | input.ReadMessage(subBuilder); |
| | 2951 | | UiScrollRect = subBuilder; |
| | 2952 | | break; |
| | 2953 | | } |
| | 2954 | | case 314: { |
| | 2955 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWorldSpaceShape subBuilder = new global::Decentraland.Sdk.Ecs6. |
| | 2956 | | if (payloadCase_ == PayloadOneofCase.UiWorldSpaceShape) { |
| | 2957 | | subBuilder.MergeFrom(UiWorldSpaceShape); |
| | 2958 | | } |
| | 2959 | | input.ReadMessage(subBuilder); |
| | 2960 | | UiWorldSpaceShape = subBuilder; |
| | 2961 | | break; |
| | 2962 | | } |
| | 2963 | | case 322: { |
| | 2964 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScreenSpaceShape subBuilder = new global::Decentraland.Sdk.Ecs6 |
| | 2965 | | if (payloadCase_ == PayloadOneofCase.UiScreenSpaceShape) { |
| | 2966 | | subBuilder.MergeFrom(UiScreenSpaceShape); |
| | 2967 | | } |
| | 2968 | | input.ReadMessage(subBuilder); |
| | 2969 | | UiScreenSpaceShape = subBuilder; |
| | 2970 | | break; |
| | 2971 | | } |
| | 2972 | | case 330: { |
| | 2973 | | global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFullScreenShape subBuilder = new global::Decentraland.Sdk.Ecs6. |
| | 2974 | | if (payloadCase_ == PayloadOneofCase.UiFullScreenShape) { |
| | 2975 | | subBuilder.MergeFrom(UiFullScreenShape); |
| | 2976 | | } |
| | 2977 | | input.ReadMessage(subBuilder); |
| | 2978 | | UiFullScreenShape = subBuilder; |
| | 2979 | | break; |
| | 2980 | | } |
| | 2981 | | } |
| | 2982 | | } |
| | 2983 | | } |
| | 2984 | | #endif |
| | 2985 | |
|
| | 2986 | | } |
| | 2987 | |
|
| | 2988 | | public sealed partial class CreateEntityBody : pb::IMessage<CreateEntityBody> |
| | 2989 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2990 | | , pb::IBufferMessage |
| | 2991 | | #endif |
| | 2992 | | { |
| | 2993 | | private static readonly pb::MessageParser<CreateEntityBody> _parser = new pb::MessageParser<CreateEntityBody>(() => |
| | 2994 | | private pb::UnknownFieldSet _unknownFields; |
| | 2995 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2996 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2997 | | public static pb::MessageParser<CreateEntityBody> Parser { get { return _parser; } } |
| | 2998 | |
|
| | 2999 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3000 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3001 | | public static pbr::MessageDescriptor Descriptor { |
| | 3002 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[3]; } |
| | 3003 | | } |
| | 3004 | |
|
| | 3005 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3006 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3007 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3008 | | get { return Descriptor; } |
| | 3009 | | } |
| | 3010 | |
|
| | 3011 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3012 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3013 | | public CreateEntityBody() { |
| | 3014 | | OnConstruction(); |
| | 3015 | | } |
| | 3016 | |
|
| | 3017 | | partial void OnConstruction(); |
| | 3018 | |
|
| | 3019 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3020 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3021 | | public CreateEntityBody(CreateEntityBody other) : this() { |
| | 3022 | | id_ = other.id_; |
| | 3023 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3024 | | } |
| | 3025 | |
|
| | 3026 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3027 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3028 | | public CreateEntityBody Clone() { |
| | 3029 | | return new CreateEntityBody(this); |
| | 3030 | | } |
| | 3031 | |
|
| | 3032 | | /// <summary>Field number for the "id" field.</summary> |
| | 3033 | | public const int IdFieldNumber = 1; |
| | 3034 | | private string id_ = ""; |
| | 3035 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3036 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3037 | | public string Id { |
| | 3038 | | get { return id_; } |
| | 3039 | | set { |
| | 3040 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3041 | | } |
| | 3042 | | } |
| | 3043 | |
|
| | 3044 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3045 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3046 | | public override bool Equals(object other) { |
| | 3047 | | return Equals(other as CreateEntityBody); |
| | 3048 | | } |
| | 3049 | |
|
| | 3050 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3051 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3052 | | public bool Equals(CreateEntityBody other) { |
| | 3053 | | if (ReferenceEquals(other, null)) { |
| | 3054 | | return false; |
| | 3055 | | } |
| | 3056 | | if (ReferenceEquals(other, this)) { |
| | 3057 | | return true; |
| | 3058 | | } |
| | 3059 | | if (Id != other.Id) return false; |
| | 3060 | | return Equals(_unknownFields, other._unknownFields); |
| | 3061 | | } |
| | 3062 | |
|
| | 3063 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3064 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3065 | | public override int GetHashCode() { |
| | 3066 | | int hash = 1; |
| | 3067 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 3068 | | if (_unknownFields != null) { |
| | 3069 | | hash ^= _unknownFields.GetHashCode(); |
| | 3070 | | } |
| | 3071 | | return hash; |
| | 3072 | | } |
| | 3073 | |
|
| | 3074 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3075 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3076 | | public override string ToString() { |
| | 3077 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3078 | | } |
| | 3079 | |
|
| | 3080 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3081 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3082 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3083 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3084 | | output.WriteRawMessage(this); |
| | 3085 | | #else |
| | 3086 | | if (Id.Length != 0) { |
| | 3087 | | output.WriteRawTag(10); |
| | 3088 | | output.WriteString(Id); |
| | 3089 | | } |
| | 3090 | | if (_unknownFields != null) { |
| | 3091 | | _unknownFields.WriteTo(output); |
| | 3092 | | } |
| | 3093 | | #endif |
| | 3094 | | } |
| | 3095 | |
|
| | 3096 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3097 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3098 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3099 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3100 | | if (Id.Length != 0) { |
| | 3101 | | output.WriteRawTag(10); |
| | 3102 | | output.WriteString(Id); |
| | 3103 | | } |
| | 3104 | | if (_unknownFields != null) { |
| | 3105 | | _unknownFields.WriteTo(ref output); |
| | 3106 | | } |
| | 3107 | | } |
| | 3108 | | #endif |
| | 3109 | |
|
| | 3110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3112 | | public int CalculateSize() { |
| | 3113 | | int size = 0; |
| | 3114 | | if (Id.Length != 0) { |
| | 3115 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 3116 | | } |
| | 3117 | | if (_unknownFields != null) { |
| | 3118 | | size += _unknownFields.CalculateSize(); |
| | 3119 | | } |
| | 3120 | | return size; |
| | 3121 | | } |
| | 3122 | |
|
| | 3123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3125 | | public void MergeFrom(CreateEntityBody other) { |
| | 3126 | | if (other == null) { |
| | 3127 | | return; |
| | 3128 | | } |
| | 3129 | | if (other.Id.Length != 0) { |
| | 3130 | | Id = other.Id; |
| | 3131 | | } |
| | 3132 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3133 | | } |
| | 3134 | |
|
| | 3135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3137 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3138 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3139 | | input.ReadRawMessage(this); |
| | 3140 | | #else |
| | 3141 | | uint tag; |
| | 3142 | | while ((tag = input.ReadTag()) != 0) { |
| | 3143 | | switch(tag) { |
| | 3144 | | default: |
| | 3145 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3146 | | break; |
| | 3147 | | case 10: { |
| | 3148 | | Id = input.ReadString(); |
| | 3149 | | break; |
| | 3150 | | } |
| | 3151 | | } |
| | 3152 | | } |
| | 3153 | | #endif |
| | 3154 | | } |
| | 3155 | |
|
| | 3156 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3159 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3160 | | uint tag; |
| | 3161 | | while ((tag = input.ReadTag()) != 0) { |
| | 3162 | | switch(tag) { |
| | 3163 | | default: |
| | 3164 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3165 | | break; |
| | 3166 | | case 10: { |
| | 3167 | | Id = input.ReadString(); |
| | 3168 | | break; |
| | 3169 | | } |
| | 3170 | | } |
| | 3171 | | } |
| | 3172 | | } |
| | 3173 | | #endif |
| | 3174 | |
|
| | 3175 | | } |
| | 3176 | |
|
| | 3177 | | public sealed partial class RemoveEntityBody : pb::IMessage<RemoveEntityBody> |
| | 3178 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3179 | | , pb::IBufferMessage |
| | 3180 | | #endif |
| | 3181 | | { |
| | 3182 | | private static readonly pb::MessageParser<RemoveEntityBody> _parser = new pb::MessageParser<RemoveEntityBody>(() => |
| | 3183 | | private pb::UnknownFieldSet _unknownFields; |
| | 3184 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3185 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3186 | | public static pb::MessageParser<RemoveEntityBody> Parser { get { return _parser; } } |
| | 3187 | |
|
| | 3188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3190 | | public static pbr::MessageDescriptor Descriptor { |
| | 3191 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[4]; } |
| | 3192 | | } |
| | 3193 | |
|
| | 3194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3196 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3197 | | get { return Descriptor; } |
| | 3198 | | } |
| | 3199 | |
|
| | 3200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3202 | | public RemoveEntityBody() { |
| | 3203 | | OnConstruction(); |
| | 3204 | | } |
| | 3205 | |
|
| | 3206 | | partial void OnConstruction(); |
| | 3207 | |
|
| | 3208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3210 | | public RemoveEntityBody(RemoveEntityBody other) : this() { |
| | 3211 | | id_ = other.id_; |
| | 3212 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3213 | | } |
| | 3214 | |
|
| | 3215 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3216 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3217 | | public RemoveEntityBody Clone() { |
| | 3218 | | return new RemoveEntityBody(this); |
| | 3219 | | } |
| | 3220 | |
|
| | 3221 | | /// <summary>Field number for the "id" field.</summary> |
| | 3222 | | public const int IdFieldNumber = 1; |
| | 3223 | | private string id_ = ""; |
| | 3224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3226 | | public string Id { |
| | 3227 | | get { return id_; } |
| | 3228 | | set { |
| | 3229 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3230 | | } |
| | 3231 | | } |
| | 3232 | |
|
| | 3233 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3234 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3235 | | public override bool Equals(object other) { |
| | 3236 | | return Equals(other as RemoveEntityBody); |
| | 3237 | | } |
| | 3238 | |
|
| | 3239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3241 | | public bool Equals(RemoveEntityBody other) { |
| | 3242 | | if (ReferenceEquals(other, null)) { |
| | 3243 | | return false; |
| | 3244 | | } |
| | 3245 | | if (ReferenceEquals(other, this)) { |
| | 3246 | | return true; |
| | 3247 | | } |
| | 3248 | | if (Id != other.Id) return false; |
| | 3249 | | return Equals(_unknownFields, other._unknownFields); |
| | 3250 | | } |
| | 3251 | |
|
| | 3252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3254 | | public override int GetHashCode() { |
| | 3255 | | int hash = 1; |
| | 3256 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 3257 | | if (_unknownFields != null) { |
| | 3258 | | hash ^= _unknownFields.GetHashCode(); |
| | 3259 | | } |
| | 3260 | | return hash; |
| | 3261 | | } |
| | 3262 | |
|
| | 3263 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3264 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3265 | | public override string ToString() { |
| | 3266 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3267 | | } |
| | 3268 | |
|
| | 3269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3271 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3272 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3273 | | output.WriteRawMessage(this); |
| | 3274 | | #else |
| | 3275 | | if (Id.Length != 0) { |
| | 3276 | | output.WriteRawTag(10); |
| | 3277 | | output.WriteString(Id); |
| | 3278 | | } |
| | 3279 | | if (_unknownFields != null) { |
| | 3280 | | _unknownFields.WriteTo(output); |
| | 3281 | | } |
| | 3282 | | #endif |
| | 3283 | | } |
| | 3284 | |
|
| | 3285 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3288 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3289 | | if (Id.Length != 0) { |
| | 3290 | | output.WriteRawTag(10); |
| | 3291 | | output.WriteString(Id); |
| | 3292 | | } |
| | 3293 | | if (_unknownFields != null) { |
| | 3294 | | _unknownFields.WriteTo(ref output); |
| | 3295 | | } |
| | 3296 | | } |
| | 3297 | | #endif |
| | 3298 | |
|
| | 3299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3301 | | public int CalculateSize() { |
| | 3302 | | int size = 0; |
| | 3303 | | if (Id.Length != 0) { |
| | 3304 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 3305 | | } |
| | 3306 | | if (_unknownFields != null) { |
| | 3307 | | size += _unknownFields.CalculateSize(); |
| | 3308 | | } |
| | 3309 | | return size; |
| | 3310 | | } |
| | 3311 | |
|
| | 3312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3314 | | public void MergeFrom(RemoveEntityBody other) { |
| | 3315 | | if (other == null) { |
| | 3316 | | return; |
| | 3317 | | } |
| | 3318 | | if (other.Id.Length != 0) { |
| | 3319 | | Id = other.Id; |
| | 3320 | | } |
| | 3321 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3322 | | } |
| | 3323 | |
|
| | 3324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3326 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3327 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3328 | | input.ReadRawMessage(this); |
| | 3329 | | #else |
| | 3330 | | uint tag; |
| | 3331 | | while ((tag = input.ReadTag()) != 0) { |
| | 3332 | | switch(tag) { |
| | 3333 | | default: |
| | 3334 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3335 | | break; |
| | 3336 | | case 10: { |
| | 3337 | | Id = input.ReadString(); |
| | 3338 | | break; |
| | 3339 | | } |
| | 3340 | | } |
| | 3341 | | } |
| | 3342 | | #endif |
| | 3343 | | } |
| | 3344 | |
|
| | 3345 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3348 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3349 | | uint tag; |
| | 3350 | | while ((tag = input.ReadTag()) != 0) { |
| | 3351 | | switch(tag) { |
| | 3352 | | default: |
| | 3353 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3354 | | break; |
| | 3355 | | case 10: { |
| | 3356 | | Id = input.ReadString(); |
| | 3357 | | break; |
| | 3358 | | } |
| | 3359 | | } |
| | 3360 | | } |
| | 3361 | | } |
| | 3362 | | #endif |
| | 3363 | |
|
| | 3364 | | } |
| | 3365 | |
|
| | 3366 | | public sealed partial class UpdateEntityComponentBody : pb::IMessage<UpdateEntityComponentBody> |
| | 3367 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3368 | | , pb::IBufferMessage |
| | 3369 | | #endif |
| | 3370 | | { |
| 1 | 3371 | | private static readonly pb::MessageParser<UpdateEntityComponentBody> _parser = new pb::MessageParser<UpdateEntityCom |
| | 3372 | | private pb::UnknownFieldSet _unknownFields; |
| | 3373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 3375 | | public static pb::MessageParser<UpdateEntityComponentBody> Parser { get { return _parser; } } |
| | 3376 | |
|
| | 3377 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3378 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3379 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 3380 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[5]; } |
| | 3381 | | } |
| | 3382 | |
|
| | 3383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3385 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 3386 | | get { return Descriptor; } |
| | 3387 | | } |
| | 3388 | |
|
| | 3389 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3390 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 3391 | | public UpdateEntityComponentBody() { |
| | 3392 | | OnConstruction(); |
| 0 | 3393 | | } |
| | 3394 | |
|
| | 3395 | | partial void OnConstruction(); |
| | 3396 | |
|
| | 3397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 3399 | | public UpdateEntityComponentBody(UpdateEntityComponentBody other) : this() { |
| 0 | 3400 | | entityId_ = other.entityId_; |
| 0 | 3401 | | classId_ = other.classId_; |
| 0 | 3402 | | name_ = other.name_; |
| 0 | 3403 | | componentData_ = other.componentData_ != null ? other.componentData_.Clone() : null; |
| 0 | 3404 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 3405 | | } |
| | 3406 | |
|
| | 3407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3409 | | public UpdateEntityComponentBody Clone() { |
| 0 | 3410 | | return new UpdateEntityComponentBody(this); |
| | 3411 | | } |
| | 3412 | |
|
| | 3413 | | /// <summary>Field number for the "entity_id" field.</summary> |
| | 3414 | | public const int EntityIdFieldNumber = 1; |
| 0 | 3415 | | private string entityId_ = ""; |
| | 3416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3418 | | public string EntityId { |
| 0 | 3419 | | get { return entityId_; } |
| | 3420 | | set { |
| 0 | 3421 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 3422 | | } |
| | 3423 | | } |
| | 3424 | |
|
| | 3425 | | /// <summary>Field number for the "class_id" field.</summary> |
| | 3426 | | public const int ClassIdFieldNumber = 2; |
| | 3427 | | private int classId_; |
| | 3428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3430 | | public int ClassId { |
| 0 | 3431 | | get { return classId_; } |
| | 3432 | | set { |
| 0 | 3433 | | classId_ = value; |
| 0 | 3434 | | } |
| | 3435 | | } |
| | 3436 | |
|
| | 3437 | | /// <summary>Field number for the "name" field.</summary> |
| | 3438 | | public const int NameFieldNumber = 3; |
| 0 | 3439 | | private string name_ = ""; |
| | 3440 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3441 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3442 | | public string Name { |
| 0 | 3443 | | get { return name_; } |
| | 3444 | | set { |
| 0 | 3445 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 3446 | | } |
| | 3447 | | } |
| | 3448 | |
|
| | 3449 | | /// <summary>Field number for the "component_data" field.</summary> |
| | 3450 | | public const int ComponentDataFieldNumber = 4; |
| | 3451 | | private global::Decentraland.Sdk.Ecs6.ComponentBodyPayload componentData_; |
| | 3452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3454 | | public global::Decentraland.Sdk.Ecs6.ComponentBodyPayload ComponentData { |
| 0 | 3455 | | get { return componentData_; } |
| | 3456 | | set { |
| 0 | 3457 | | componentData_ = value; |
| 0 | 3458 | | } |
| | 3459 | | } |
| | 3460 | |
|
| | 3461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3463 | | public override bool Equals(object other) { |
| 0 | 3464 | | return Equals(other as UpdateEntityComponentBody); |
| | 3465 | | } |
| | 3466 | |
|
| | 3467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3469 | | public bool Equals(UpdateEntityComponentBody other) { |
| 0 | 3470 | | if (ReferenceEquals(other, null)) { |
| 0 | 3471 | | return false; |
| | 3472 | | } |
| 0 | 3473 | | if (ReferenceEquals(other, this)) { |
| 0 | 3474 | | return true; |
| | 3475 | | } |
| 0 | 3476 | | if (EntityId != other.EntityId) return false; |
| 0 | 3477 | | if (ClassId != other.ClassId) return false; |
| 0 | 3478 | | if (Name != other.Name) return false; |
| 0 | 3479 | | if (!object.Equals(ComponentData, other.ComponentData)) return false; |
| 0 | 3480 | | return Equals(_unknownFields, other._unknownFields); |
| | 3481 | | } |
| | 3482 | |
|
| | 3483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3485 | | public override int GetHashCode() { |
| 0 | 3486 | | int hash = 1; |
| 0 | 3487 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| 0 | 3488 | | if (ClassId != 0) hash ^= ClassId.GetHashCode(); |
| 0 | 3489 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| 0 | 3490 | | if (componentData_ != null) hash ^= ComponentData.GetHashCode(); |
| 0 | 3491 | | if (_unknownFields != null) { |
| 0 | 3492 | | hash ^= _unknownFields.GetHashCode(); |
| | 3493 | | } |
| 0 | 3494 | | return hash; |
| | 3495 | | } |
| | 3496 | |
|
| | 3497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3499 | | public override string ToString() { |
| 0 | 3500 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3501 | | } |
| | 3502 | |
|
| | 3503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3505 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3506 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3507 | | output.WriteRawMessage(this); |
| | 3508 | | #else |
| 0 | 3509 | | if (EntityId.Length != 0) { |
| 0 | 3510 | | output.WriteRawTag(10); |
| 0 | 3511 | | output.WriteString(EntityId); |
| | 3512 | | } |
| 0 | 3513 | | if (ClassId != 0) { |
| 0 | 3514 | | output.WriteRawTag(16); |
| 0 | 3515 | | output.WriteInt32(ClassId); |
| | 3516 | | } |
| 0 | 3517 | | if (Name.Length != 0) { |
| 0 | 3518 | | output.WriteRawTag(26); |
| 0 | 3519 | | output.WriteString(Name); |
| | 3520 | | } |
| 0 | 3521 | | if (componentData_ != null) { |
| 0 | 3522 | | output.WriteRawTag(34); |
| 0 | 3523 | | output.WriteMessage(ComponentData); |
| | 3524 | | } |
| 0 | 3525 | | if (_unknownFields != null) { |
| 0 | 3526 | | _unknownFields.WriteTo(output); |
| | 3527 | | } |
| | 3528 | | #endif |
| 0 | 3529 | | } |
| | 3530 | |
|
| | 3531 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3534 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3535 | | if (EntityId.Length != 0) { |
| | 3536 | | output.WriteRawTag(10); |
| | 3537 | | output.WriteString(EntityId); |
| | 3538 | | } |
| | 3539 | | if (ClassId != 0) { |
| | 3540 | | output.WriteRawTag(16); |
| | 3541 | | output.WriteInt32(ClassId); |
| | 3542 | | } |
| | 3543 | | if (Name.Length != 0) { |
| | 3544 | | output.WriteRawTag(26); |
| | 3545 | | output.WriteString(Name); |
| | 3546 | | } |
| | 3547 | | if (componentData_ != null) { |
| | 3548 | | output.WriteRawTag(34); |
| | 3549 | | output.WriteMessage(ComponentData); |
| | 3550 | | } |
| | 3551 | | if (_unknownFields != null) { |
| | 3552 | | _unknownFields.WriteTo(ref output); |
| | 3553 | | } |
| | 3554 | | } |
| | 3555 | | #endif |
| | 3556 | |
|
| | 3557 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3558 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3559 | | public int CalculateSize() { |
| 0 | 3560 | | int size = 0; |
| 0 | 3561 | | if (EntityId.Length != 0) { |
| 0 | 3562 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 3563 | | } |
| 0 | 3564 | | if (ClassId != 0) { |
| 0 | 3565 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClassId); |
| | 3566 | | } |
| 0 | 3567 | | if (Name.Length != 0) { |
| 0 | 3568 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 3569 | | } |
| 0 | 3570 | | if (componentData_ != null) { |
| 0 | 3571 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentData); |
| | 3572 | | } |
| 0 | 3573 | | if (_unknownFields != null) { |
| 0 | 3574 | | size += _unknownFields.CalculateSize(); |
| | 3575 | | } |
| 0 | 3576 | | return size; |
| | 3577 | | } |
| | 3578 | |
|
| | 3579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3581 | | public void MergeFrom(UpdateEntityComponentBody other) { |
| 0 | 3582 | | if (other == null) { |
| 0 | 3583 | | return; |
| | 3584 | | } |
| 0 | 3585 | | if (other.EntityId.Length != 0) { |
| 0 | 3586 | | EntityId = other.EntityId; |
| | 3587 | | } |
| 0 | 3588 | | if (other.ClassId != 0) { |
| 0 | 3589 | | ClassId = other.ClassId; |
| | 3590 | | } |
| 0 | 3591 | | if (other.Name.Length != 0) { |
| 0 | 3592 | | Name = other.Name; |
| | 3593 | | } |
| 0 | 3594 | | if (other.componentData_ != null) { |
| 0 | 3595 | | if (componentData_ == null) { |
| 0 | 3596 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 3597 | | } |
| 0 | 3598 | | ComponentData.MergeFrom(other.ComponentData); |
| | 3599 | | } |
| 0 | 3600 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 3601 | | } |
| | 3602 | |
|
| | 3603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3605 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3606 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3607 | | input.ReadRawMessage(this); |
| | 3608 | | #else |
| | 3609 | | uint tag; |
| 0 | 3610 | | while ((tag = input.ReadTag()) != 0) { |
| | 3611 | | switch(tag) { |
| | 3612 | | default: |
| 0 | 3613 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 3614 | | break; |
| | 3615 | | case 10: { |
| 0 | 3616 | | EntityId = input.ReadString(); |
| 0 | 3617 | | break; |
| | 3618 | | } |
| | 3619 | | case 16: { |
| 0 | 3620 | | ClassId = input.ReadInt32(); |
| 0 | 3621 | | break; |
| | 3622 | | } |
| | 3623 | | case 26: { |
| 0 | 3624 | | Name = input.ReadString(); |
| 0 | 3625 | | break; |
| | 3626 | | } |
| | 3627 | | case 34: { |
| 0 | 3628 | | if (componentData_ == null) { |
| 0 | 3629 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 3630 | | } |
| 0 | 3631 | | input.ReadMessage(ComponentData); |
| | 3632 | | break; |
| | 3633 | | } |
| | 3634 | | } |
| | 3635 | | } |
| | 3636 | | #endif |
| 0 | 3637 | | } |
| | 3638 | |
|
| | 3639 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3642 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3643 | | uint tag; |
| | 3644 | | while ((tag = input.ReadTag()) != 0) { |
| | 3645 | | switch(tag) { |
| | 3646 | | default: |
| | 3647 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3648 | | break; |
| | 3649 | | case 10: { |
| | 3650 | | EntityId = input.ReadString(); |
| | 3651 | | break; |
| | 3652 | | } |
| | 3653 | | case 16: { |
| | 3654 | | ClassId = input.ReadInt32(); |
| | 3655 | | break; |
| | 3656 | | } |
| | 3657 | | case 26: { |
| | 3658 | | Name = input.ReadString(); |
| | 3659 | | break; |
| | 3660 | | } |
| | 3661 | | case 34: { |
| | 3662 | | if (componentData_ == null) { |
| | 3663 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 3664 | | } |
| | 3665 | | input.ReadMessage(ComponentData); |
| | 3666 | | break; |
| | 3667 | | } |
| | 3668 | | } |
| | 3669 | | } |
| | 3670 | | } |
| | 3671 | | #endif |
| | 3672 | |
|
| | 3673 | | } |
| | 3674 | |
|
| | 3675 | | public sealed partial class AttachEntityComponentBody : pb::IMessage<AttachEntityComponentBody> |
| | 3676 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3677 | | , pb::IBufferMessage |
| | 3678 | | #endif |
| | 3679 | | { |
| | 3680 | | private static readonly pb::MessageParser<AttachEntityComponentBody> _parser = new pb::MessageParser<AttachEntityCom |
| | 3681 | | private pb::UnknownFieldSet _unknownFields; |
| | 3682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3684 | | public static pb::MessageParser<AttachEntityComponentBody> Parser { get { return _parser; } } |
| | 3685 | |
|
| | 3686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3688 | | public static pbr::MessageDescriptor Descriptor { |
| | 3689 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[6]; } |
| | 3690 | | } |
| | 3691 | |
|
| | 3692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3694 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3695 | | get { return Descriptor; } |
| | 3696 | | } |
| | 3697 | |
|
| | 3698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3700 | | public AttachEntityComponentBody() { |
| | 3701 | | OnConstruction(); |
| | 3702 | | } |
| | 3703 | |
|
| | 3704 | | partial void OnConstruction(); |
| | 3705 | |
|
| | 3706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3708 | | public AttachEntityComponentBody(AttachEntityComponentBody other) : this() { |
| | 3709 | | entityId_ = other.entityId_; |
| | 3710 | | name_ = other.name_; |
| | 3711 | | id_ = other.id_; |
| | 3712 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3713 | | } |
| | 3714 | |
|
| | 3715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3717 | | public AttachEntityComponentBody Clone() { |
| | 3718 | | return new AttachEntityComponentBody(this); |
| | 3719 | | } |
| | 3720 | |
|
| | 3721 | | /// <summary>Field number for the "entity_id" field.</summary> |
| | 3722 | | public const int EntityIdFieldNumber = 1; |
| | 3723 | | private string entityId_ = ""; |
| | 3724 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3725 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3726 | | public string EntityId { |
| | 3727 | | get { return entityId_; } |
| | 3728 | | set { |
| | 3729 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3730 | | } |
| | 3731 | | } |
| | 3732 | |
|
| | 3733 | | /// <summary>Field number for the "name" field.</summary> |
| | 3734 | | public const int NameFieldNumber = 2; |
| | 3735 | | private string name_ = ""; |
| | 3736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3738 | | public string Name { |
| | 3739 | | get { return name_; } |
| | 3740 | | set { |
| | 3741 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3742 | | } |
| | 3743 | | } |
| | 3744 | |
|
| | 3745 | | /// <summary>Field number for the "id" field.</summary> |
| | 3746 | | public const int IdFieldNumber = 3; |
| | 3747 | | private string id_ = ""; |
| | 3748 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3749 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3750 | | public string Id { |
| | 3751 | | get { return id_; } |
| | 3752 | | set { |
| | 3753 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3754 | | } |
| | 3755 | | } |
| | 3756 | |
|
| | 3757 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3758 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3759 | | public override bool Equals(object other) { |
| | 3760 | | return Equals(other as AttachEntityComponentBody); |
| | 3761 | | } |
| | 3762 | |
|
| | 3763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3765 | | public bool Equals(AttachEntityComponentBody other) { |
| | 3766 | | if (ReferenceEquals(other, null)) { |
| | 3767 | | return false; |
| | 3768 | | } |
| | 3769 | | if (ReferenceEquals(other, this)) { |
| | 3770 | | return true; |
| | 3771 | | } |
| | 3772 | | if (EntityId != other.EntityId) return false; |
| | 3773 | | if (Name != other.Name) return false; |
| | 3774 | | if (Id != other.Id) return false; |
| | 3775 | | return Equals(_unknownFields, other._unknownFields); |
| | 3776 | | } |
| | 3777 | |
|
| | 3778 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3779 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3780 | | public override int GetHashCode() { |
| | 3781 | | int hash = 1; |
| | 3782 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 3783 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 3784 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 3785 | | if (_unknownFields != null) { |
| | 3786 | | hash ^= _unknownFields.GetHashCode(); |
| | 3787 | | } |
| | 3788 | | return hash; |
| | 3789 | | } |
| | 3790 | |
|
| | 3791 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3792 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3793 | | public override string ToString() { |
| | 3794 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3795 | | } |
| | 3796 | |
|
| | 3797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3799 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3800 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3801 | | output.WriteRawMessage(this); |
| | 3802 | | #else |
| | 3803 | | if (EntityId.Length != 0) { |
| | 3804 | | output.WriteRawTag(10); |
| | 3805 | | output.WriteString(EntityId); |
| | 3806 | | } |
| | 3807 | | if (Name.Length != 0) { |
| | 3808 | | output.WriteRawTag(18); |
| | 3809 | | output.WriteString(Name); |
| | 3810 | | } |
| | 3811 | | if (Id.Length != 0) { |
| | 3812 | | output.WriteRawTag(26); |
| | 3813 | | output.WriteString(Id); |
| | 3814 | | } |
| | 3815 | | if (_unknownFields != null) { |
| | 3816 | | _unknownFields.WriteTo(output); |
| | 3817 | | } |
| | 3818 | | #endif |
| | 3819 | | } |
| | 3820 | |
|
| | 3821 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3824 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3825 | | if (EntityId.Length != 0) { |
| | 3826 | | output.WriteRawTag(10); |
| | 3827 | | output.WriteString(EntityId); |
| | 3828 | | } |
| | 3829 | | if (Name.Length != 0) { |
| | 3830 | | output.WriteRawTag(18); |
| | 3831 | | output.WriteString(Name); |
| | 3832 | | } |
| | 3833 | | if (Id.Length != 0) { |
| | 3834 | | output.WriteRawTag(26); |
| | 3835 | | output.WriteString(Id); |
| | 3836 | | } |
| | 3837 | | if (_unknownFields != null) { |
| | 3838 | | _unknownFields.WriteTo(ref output); |
| | 3839 | | } |
| | 3840 | | } |
| | 3841 | | #endif |
| | 3842 | |
|
| | 3843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3845 | | public int CalculateSize() { |
| | 3846 | | int size = 0; |
| | 3847 | | if (EntityId.Length != 0) { |
| | 3848 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 3849 | | } |
| | 3850 | | if (Name.Length != 0) { |
| | 3851 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 3852 | | } |
| | 3853 | | if (Id.Length != 0) { |
| | 3854 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 3855 | | } |
| | 3856 | | if (_unknownFields != null) { |
| | 3857 | | size += _unknownFields.CalculateSize(); |
| | 3858 | | } |
| | 3859 | | return size; |
| | 3860 | | } |
| | 3861 | |
|
| | 3862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3864 | | public void MergeFrom(AttachEntityComponentBody other) { |
| | 3865 | | if (other == null) { |
| | 3866 | | return; |
| | 3867 | | } |
| | 3868 | | if (other.EntityId.Length != 0) { |
| | 3869 | | EntityId = other.EntityId; |
| | 3870 | | } |
| | 3871 | | if (other.Name.Length != 0) { |
| | 3872 | | Name = other.Name; |
| | 3873 | | } |
| | 3874 | | if (other.Id.Length != 0) { |
| | 3875 | | Id = other.Id; |
| | 3876 | | } |
| | 3877 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3878 | | } |
| | 3879 | |
|
| | 3880 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3881 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3882 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3883 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3884 | | input.ReadRawMessage(this); |
| | 3885 | | #else |
| | 3886 | | uint tag; |
| | 3887 | | while ((tag = input.ReadTag()) != 0) { |
| | 3888 | | switch(tag) { |
| | 3889 | | default: |
| | 3890 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3891 | | break; |
| | 3892 | | case 10: { |
| | 3893 | | EntityId = input.ReadString(); |
| | 3894 | | break; |
| | 3895 | | } |
| | 3896 | | case 18: { |
| | 3897 | | Name = input.ReadString(); |
| | 3898 | | break; |
| | 3899 | | } |
| | 3900 | | case 26: { |
| | 3901 | | Id = input.ReadString(); |
| | 3902 | | break; |
| | 3903 | | } |
| | 3904 | | } |
| | 3905 | | } |
| | 3906 | | #endif |
| | 3907 | | } |
| | 3908 | |
|
| | 3909 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3912 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3913 | | uint tag; |
| | 3914 | | while ((tag = input.ReadTag()) != 0) { |
| | 3915 | | switch(tag) { |
| | 3916 | | default: |
| | 3917 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3918 | | break; |
| | 3919 | | case 10: { |
| | 3920 | | EntityId = input.ReadString(); |
| | 3921 | | break; |
| | 3922 | | } |
| | 3923 | | case 18: { |
| | 3924 | | Name = input.ReadString(); |
| | 3925 | | break; |
| | 3926 | | } |
| | 3927 | | case 26: { |
| | 3928 | | Id = input.ReadString(); |
| | 3929 | | break; |
| | 3930 | | } |
| | 3931 | | } |
| | 3932 | | } |
| | 3933 | | } |
| | 3934 | | #endif |
| | 3935 | |
|
| | 3936 | | } |
| | 3937 | |
|
| | 3938 | | public sealed partial class ComponentRemovedBody : pb::IMessage<ComponentRemovedBody> |
| | 3939 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3940 | | , pb::IBufferMessage |
| | 3941 | | #endif |
| | 3942 | | { |
| | 3943 | | private static readonly pb::MessageParser<ComponentRemovedBody> _parser = new pb::MessageParser<ComponentRemovedBody |
| | 3944 | | private pb::UnknownFieldSet _unknownFields; |
| | 3945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3947 | | public static pb::MessageParser<ComponentRemovedBody> Parser { get { return _parser; } } |
| | 3948 | |
|
| | 3949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3951 | | public static pbr::MessageDescriptor Descriptor { |
| | 3952 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[7]; } |
| | 3953 | | } |
| | 3954 | |
|
| | 3955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3957 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3958 | | get { return Descriptor; } |
| | 3959 | | } |
| | 3960 | |
|
| | 3961 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3962 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3963 | | public ComponentRemovedBody() { |
| | 3964 | | OnConstruction(); |
| | 3965 | | } |
| | 3966 | |
|
| | 3967 | | partial void OnConstruction(); |
| | 3968 | |
|
| | 3969 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3970 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3971 | | public ComponentRemovedBody(ComponentRemovedBody other) : this() { |
| | 3972 | | entityId_ = other.entityId_; |
| | 3973 | | name_ = other.name_; |
| | 3974 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3975 | | } |
| | 3976 | |
|
| | 3977 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3978 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3979 | | public ComponentRemovedBody Clone() { |
| | 3980 | | return new ComponentRemovedBody(this); |
| | 3981 | | } |
| | 3982 | |
|
| | 3983 | | /// <summary>Field number for the "entity_id" field.</summary> |
| | 3984 | | public const int EntityIdFieldNumber = 1; |
| | 3985 | | private string entityId_ = ""; |
| | 3986 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3987 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3988 | | public string EntityId { |
| | 3989 | | get { return entityId_; } |
| | 3990 | | set { |
| | 3991 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3992 | | } |
| | 3993 | | } |
| | 3994 | |
|
| | 3995 | | /// <summary>Field number for the "name" field.</summary> |
| | 3996 | | public const int NameFieldNumber = 2; |
| | 3997 | | private string name_ = ""; |
| | 3998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4000 | | public string Name { |
| | 4001 | | get { return name_; } |
| | 4002 | | set { |
| | 4003 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4004 | | } |
| | 4005 | | } |
| | 4006 | |
|
| | 4007 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4008 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4009 | | public override bool Equals(object other) { |
| | 4010 | | return Equals(other as ComponentRemovedBody); |
| | 4011 | | } |
| | 4012 | |
|
| | 4013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4015 | | public bool Equals(ComponentRemovedBody other) { |
| | 4016 | | if (ReferenceEquals(other, null)) { |
| | 4017 | | return false; |
| | 4018 | | } |
| | 4019 | | if (ReferenceEquals(other, this)) { |
| | 4020 | | return true; |
| | 4021 | | } |
| | 4022 | | if (EntityId != other.EntityId) return false; |
| | 4023 | | if (Name != other.Name) return false; |
| | 4024 | | return Equals(_unknownFields, other._unknownFields); |
| | 4025 | | } |
| | 4026 | |
|
| | 4027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4029 | | public override int GetHashCode() { |
| | 4030 | | int hash = 1; |
| | 4031 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 4032 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 4033 | | if (_unknownFields != null) { |
| | 4034 | | hash ^= _unknownFields.GetHashCode(); |
| | 4035 | | } |
| | 4036 | | return hash; |
| | 4037 | | } |
| | 4038 | |
|
| | 4039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4041 | | public override string ToString() { |
| | 4042 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4043 | | } |
| | 4044 | |
|
| | 4045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4047 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4048 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4049 | | output.WriteRawMessage(this); |
| | 4050 | | #else |
| | 4051 | | if (EntityId.Length != 0) { |
| | 4052 | | output.WriteRawTag(10); |
| | 4053 | | output.WriteString(EntityId); |
| | 4054 | | } |
| | 4055 | | if (Name.Length != 0) { |
| | 4056 | | output.WriteRawTag(18); |
| | 4057 | | output.WriteString(Name); |
| | 4058 | | } |
| | 4059 | | if (_unknownFields != null) { |
| | 4060 | | _unknownFields.WriteTo(output); |
| | 4061 | | } |
| | 4062 | | #endif |
| | 4063 | | } |
| | 4064 | |
|
| | 4065 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4066 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4067 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4068 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4069 | | if (EntityId.Length != 0) { |
| | 4070 | | output.WriteRawTag(10); |
| | 4071 | | output.WriteString(EntityId); |
| | 4072 | | } |
| | 4073 | | if (Name.Length != 0) { |
| | 4074 | | output.WriteRawTag(18); |
| | 4075 | | output.WriteString(Name); |
| | 4076 | | } |
| | 4077 | | if (_unknownFields != null) { |
| | 4078 | | _unknownFields.WriteTo(ref output); |
| | 4079 | | } |
| | 4080 | | } |
| | 4081 | | #endif |
| | 4082 | |
|
| | 4083 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4084 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4085 | | public int CalculateSize() { |
| | 4086 | | int size = 0; |
| | 4087 | | if (EntityId.Length != 0) { |
| | 4088 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 4089 | | } |
| | 4090 | | if (Name.Length != 0) { |
| | 4091 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 4092 | | } |
| | 4093 | | if (_unknownFields != null) { |
| | 4094 | | size += _unknownFields.CalculateSize(); |
| | 4095 | | } |
| | 4096 | | return size; |
| | 4097 | | } |
| | 4098 | |
|
| | 4099 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4101 | | public void MergeFrom(ComponentRemovedBody other) { |
| | 4102 | | if (other == null) { |
| | 4103 | | return; |
| | 4104 | | } |
| | 4105 | | if (other.EntityId.Length != 0) { |
| | 4106 | | EntityId = other.EntityId; |
| | 4107 | | } |
| | 4108 | | if (other.Name.Length != 0) { |
| | 4109 | | Name = other.Name; |
| | 4110 | | } |
| | 4111 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4112 | | } |
| | 4113 | |
|
| | 4114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4116 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4117 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4118 | | input.ReadRawMessage(this); |
| | 4119 | | #else |
| | 4120 | | uint tag; |
| | 4121 | | while ((tag = input.ReadTag()) != 0) { |
| | 4122 | | switch(tag) { |
| | 4123 | | default: |
| | 4124 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4125 | | break; |
| | 4126 | | case 10: { |
| | 4127 | | EntityId = input.ReadString(); |
| | 4128 | | break; |
| | 4129 | | } |
| | 4130 | | case 18: { |
| | 4131 | | Name = input.ReadString(); |
| | 4132 | | break; |
| | 4133 | | } |
| | 4134 | | } |
| | 4135 | | } |
| | 4136 | | #endif |
| | 4137 | | } |
| | 4138 | |
|
| | 4139 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4140 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4141 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4142 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4143 | | uint tag; |
| | 4144 | | while ((tag = input.ReadTag()) != 0) { |
| | 4145 | | switch(tag) { |
| | 4146 | | default: |
| | 4147 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4148 | | break; |
| | 4149 | | case 10: { |
| | 4150 | | EntityId = input.ReadString(); |
| | 4151 | | break; |
| | 4152 | | } |
| | 4153 | | case 18: { |
| | 4154 | | Name = input.ReadString(); |
| | 4155 | | break; |
| | 4156 | | } |
| | 4157 | | } |
| | 4158 | | } |
| | 4159 | | } |
| | 4160 | | #endif |
| | 4161 | |
|
| | 4162 | | } |
| | 4163 | |
|
| | 4164 | | public sealed partial class SetEntityParentBody : pb::IMessage<SetEntityParentBody> |
| | 4165 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4166 | | , pb::IBufferMessage |
| | 4167 | | #endif |
| | 4168 | | { |
| | 4169 | | private static readonly pb::MessageParser<SetEntityParentBody> _parser = new pb::MessageParser<SetEntityParentBody>( |
| | 4170 | | private pb::UnknownFieldSet _unknownFields; |
| | 4171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4172 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4173 | | public static pb::MessageParser<SetEntityParentBody> Parser { get { return _parser; } } |
| | 4174 | |
|
| | 4175 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4176 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4177 | | public static pbr::MessageDescriptor Descriptor { |
| | 4178 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[8]; } |
| | 4179 | | } |
| | 4180 | |
|
| | 4181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4183 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4184 | | get { return Descriptor; } |
| | 4185 | | } |
| | 4186 | |
|
| | 4187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4189 | | public SetEntityParentBody() { |
| | 4190 | | OnConstruction(); |
| | 4191 | | } |
| | 4192 | |
|
| | 4193 | | partial void OnConstruction(); |
| | 4194 | |
|
| | 4195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4197 | | public SetEntityParentBody(SetEntityParentBody other) : this() { |
| | 4198 | | entityId_ = other.entityId_; |
| | 4199 | | parentId_ = other.parentId_; |
| | 4200 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4201 | | } |
| | 4202 | |
|
| | 4203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4205 | | public SetEntityParentBody Clone() { |
| | 4206 | | return new SetEntityParentBody(this); |
| | 4207 | | } |
| | 4208 | |
|
| | 4209 | | /// <summary>Field number for the "entity_id" field.</summary> |
| | 4210 | | public const int EntityIdFieldNumber = 1; |
| | 4211 | | private string entityId_ = ""; |
| | 4212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4214 | | public string EntityId { |
| | 4215 | | get { return entityId_; } |
| | 4216 | | set { |
| | 4217 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4218 | | } |
| | 4219 | | } |
| | 4220 | |
|
| | 4221 | | /// <summary>Field number for the "parent_id" field.</summary> |
| | 4222 | | public const int ParentIdFieldNumber = 2; |
| | 4223 | | private string parentId_ = ""; |
| | 4224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4226 | | public string ParentId { |
| | 4227 | | get { return parentId_; } |
| | 4228 | | set { |
| | 4229 | | parentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4230 | | } |
| | 4231 | | } |
| | 4232 | |
|
| | 4233 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4234 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4235 | | public override bool Equals(object other) { |
| | 4236 | | return Equals(other as SetEntityParentBody); |
| | 4237 | | } |
| | 4238 | |
|
| | 4239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4241 | | public bool Equals(SetEntityParentBody other) { |
| | 4242 | | if (ReferenceEquals(other, null)) { |
| | 4243 | | return false; |
| | 4244 | | } |
| | 4245 | | if (ReferenceEquals(other, this)) { |
| | 4246 | | return true; |
| | 4247 | | } |
| | 4248 | | if (EntityId != other.EntityId) return false; |
| | 4249 | | if (ParentId != other.ParentId) return false; |
| | 4250 | | return Equals(_unknownFields, other._unknownFields); |
| | 4251 | | } |
| | 4252 | |
|
| | 4253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4255 | | public override int GetHashCode() { |
| | 4256 | | int hash = 1; |
| | 4257 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 4258 | | if (ParentId.Length != 0) hash ^= ParentId.GetHashCode(); |
| | 4259 | | if (_unknownFields != null) { |
| | 4260 | | hash ^= _unknownFields.GetHashCode(); |
| | 4261 | | } |
| | 4262 | | return hash; |
| | 4263 | | } |
| | 4264 | |
|
| | 4265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4267 | | public override string ToString() { |
| | 4268 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4269 | | } |
| | 4270 | |
|
| | 4271 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4272 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4273 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4274 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4275 | | output.WriteRawMessage(this); |
| | 4276 | | #else |
| | 4277 | | if (EntityId.Length != 0) { |
| | 4278 | | output.WriteRawTag(10); |
| | 4279 | | output.WriteString(EntityId); |
| | 4280 | | } |
| | 4281 | | if (ParentId.Length != 0) { |
| | 4282 | | output.WriteRawTag(18); |
| | 4283 | | output.WriteString(ParentId); |
| | 4284 | | } |
| | 4285 | | if (_unknownFields != null) { |
| | 4286 | | _unknownFields.WriteTo(output); |
| | 4287 | | } |
| | 4288 | | #endif |
| | 4289 | | } |
| | 4290 | |
|
| | 4291 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4294 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4295 | | if (EntityId.Length != 0) { |
| | 4296 | | output.WriteRawTag(10); |
| | 4297 | | output.WriteString(EntityId); |
| | 4298 | | } |
| | 4299 | | if (ParentId.Length != 0) { |
| | 4300 | | output.WriteRawTag(18); |
| | 4301 | | output.WriteString(ParentId); |
| | 4302 | | } |
| | 4303 | | if (_unknownFields != null) { |
| | 4304 | | _unknownFields.WriteTo(ref output); |
| | 4305 | | } |
| | 4306 | | } |
| | 4307 | | #endif |
| | 4308 | |
|
| | 4309 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4310 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4311 | | public int CalculateSize() { |
| | 4312 | | int size = 0; |
| | 4313 | | if (EntityId.Length != 0) { |
| | 4314 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 4315 | | } |
| | 4316 | | if (ParentId.Length != 0) { |
| | 4317 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentId); |
| | 4318 | | } |
| | 4319 | | if (_unknownFields != null) { |
| | 4320 | | size += _unknownFields.CalculateSize(); |
| | 4321 | | } |
| | 4322 | | return size; |
| | 4323 | | } |
| | 4324 | |
|
| | 4325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4327 | | public void MergeFrom(SetEntityParentBody other) { |
| | 4328 | | if (other == null) { |
| | 4329 | | return; |
| | 4330 | | } |
| | 4331 | | if (other.EntityId.Length != 0) { |
| | 4332 | | EntityId = other.EntityId; |
| | 4333 | | } |
| | 4334 | | if (other.ParentId.Length != 0) { |
| | 4335 | | ParentId = other.ParentId; |
| | 4336 | | } |
| | 4337 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4338 | | } |
| | 4339 | |
|
| | 4340 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4341 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4342 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4343 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4344 | | input.ReadRawMessage(this); |
| | 4345 | | #else |
| | 4346 | | uint tag; |
| | 4347 | | while ((tag = input.ReadTag()) != 0) { |
| | 4348 | | switch(tag) { |
| | 4349 | | default: |
| | 4350 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4351 | | break; |
| | 4352 | | case 10: { |
| | 4353 | | EntityId = input.ReadString(); |
| | 4354 | | break; |
| | 4355 | | } |
| | 4356 | | case 18: { |
| | 4357 | | ParentId = input.ReadString(); |
| | 4358 | | break; |
| | 4359 | | } |
| | 4360 | | } |
| | 4361 | | } |
| | 4362 | | #endif |
| | 4363 | | } |
| | 4364 | |
|
| | 4365 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4366 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4367 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4368 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4369 | | uint tag; |
| | 4370 | | while ((tag = input.ReadTag()) != 0) { |
| | 4371 | | switch(tag) { |
| | 4372 | | default: |
| | 4373 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4374 | | break; |
| | 4375 | | case 10: { |
| | 4376 | | EntityId = input.ReadString(); |
| | 4377 | | break; |
| | 4378 | | } |
| | 4379 | | case 18: { |
| | 4380 | | ParentId = input.ReadString(); |
| | 4381 | | break; |
| | 4382 | | } |
| | 4383 | | } |
| | 4384 | | } |
| | 4385 | | } |
| | 4386 | | #endif |
| | 4387 | |
|
| | 4388 | | } |
| | 4389 | |
|
| | 4390 | | public sealed partial class QueryBody : pb::IMessage<QueryBody> |
| | 4391 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4392 | | , pb::IBufferMessage |
| | 4393 | | #endif |
| | 4394 | | { |
| | 4395 | | private static readonly pb::MessageParser<QueryBody> _parser = new pb::MessageParser<QueryBody>(() => new QueryBody( |
| | 4396 | | private pb::UnknownFieldSet _unknownFields; |
| | 4397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4399 | | public static pb::MessageParser<QueryBody> Parser { get { return _parser; } } |
| | 4400 | |
|
| | 4401 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4402 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4403 | | public static pbr::MessageDescriptor Descriptor { |
| | 4404 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[9]; } |
| | 4405 | | } |
| | 4406 | |
|
| | 4407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4409 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4410 | | get { return Descriptor; } |
| | 4411 | | } |
| | 4412 | |
|
| | 4413 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4414 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4415 | | public QueryBody() { |
| | 4416 | | OnConstruction(); |
| | 4417 | | } |
| | 4418 | |
|
| | 4419 | | partial void OnConstruction(); |
| | 4420 | |
|
| | 4421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4423 | | public QueryBody(QueryBody other) : this() { |
| | 4424 | | queryId_ = other.queryId_; |
| | 4425 | | payload_ = other.payload_ != null ? other.payload_.Clone() : null; |
| | 4426 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4427 | | } |
| | 4428 | |
|
| | 4429 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4430 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4431 | | public QueryBody Clone() { |
| | 4432 | | return new QueryBody(this); |
| | 4433 | | } |
| | 4434 | |
|
| | 4435 | | /// <summary>Field number for the "query_id" field.</summary> |
| | 4436 | | public const int QueryIdFieldNumber = 1; |
| | 4437 | | private string queryId_ = ""; |
| | 4438 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4439 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4440 | | public string QueryId { |
| | 4441 | | get { return queryId_; } |
| | 4442 | | set { |
| | 4443 | | queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4444 | | } |
| | 4445 | | } |
| | 4446 | |
|
| | 4447 | | /// <summary>Field number for the "payload" field.</summary> |
| | 4448 | | public const int PayloadFieldNumber = 2; |
| | 4449 | | private global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery payload_; |
| | 4450 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4451 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4452 | | public global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery Payload { |
| | 4453 | | get { return payload_; } |
| | 4454 | | set { |
| | 4455 | | payload_ = value; |
| | 4456 | | } |
| | 4457 | | } |
| | 4458 | |
|
| | 4459 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4460 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4461 | | public override bool Equals(object other) { |
| | 4462 | | return Equals(other as QueryBody); |
| | 4463 | | } |
| | 4464 | |
|
| | 4465 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4466 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4467 | | public bool Equals(QueryBody other) { |
| | 4468 | | if (ReferenceEquals(other, null)) { |
| | 4469 | | return false; |
| | 4470 | | } |
| | 4471 | | if (ReferenceEquals(other, this)) { |
| | 4472 | | return true; |
| | 4473 | | } |
| | 4474 | | if (QueryId != other.QueryId) return false; |
| | 4475 | | if (!object.Equals(Payload, other.Payload)) return false; |
| | 4476 | | return Equals(_unknownFields, other._unknownFields); |
| | 4477 | | } |
| | 4478 | |
|
| | 4479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4481 | | public override int GetHashCode() { |
| | 4482 | | int hash = 1; |
| | 4483 | | if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); |
| | 4484 | | if (payload_ != null) hash ^= Payload.GetHashCode(); |
| | 4485 | | if (_unknownFields != null) { |
| | 4486 | | hash ^= _unknownFields.GetHashCode(); |
| | 4487 | | } |
| | 4488 | | return hash; |
| | 4489 | | } |
| | 4490 | |
|
| | 4491 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4492 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4493 | | public override string ToString() { |
| | 4494 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4495 | | } |
| | 4496 | |
|
| | 4497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4499 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4500 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4501 | | output.WriteRawMessage(this); |
| | 4502 | | #else |
| | 4503 | | if (QueryId.Length != 0) { |
| | 4504 | | output.WriteRawTag(10); |
| | 4505 | | output.WriteString(QueryId); |
| | 4506 | | } |
| | 4507 | | if (payload_ != null) { |
| | 4508 | | output.WriteRawTag(18); |
| | 4509 | | output.WriteMessage(Payload); |
| | 4510 | | } |
| | 4511 | | if (_unknownFields != null) { |
| | 4512 | | _unknownFields.WriteTo(output); |
| | 4513 | | } |
| | 4514 | | #endif |
| | 4515 | | } |
| | 4516 | |
|
| | 4517 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4520 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4521 | | if (QueryId.Length != 0) { |
| | 4522 | | output.WriteRawTag(10); |
| | 4523 | | output.WriteString(QueryId); |
| | 4524 | | } |
| | 4525 | | if (payload_ != null) { |
| | 4526 | | output.WriteRawTag(18); |
| | 4527 | | output.WriteMessage(Payload); |
| | 4528 | | } |
| | 4529 | | if (_unknownFields != null) { |
| | 4530 | | _unknownFields.WriteTo(ref output); |
| | 4531 | | } |
| | 4532 | | } |
| | 4533 | | #endif |
| | 4534 | |
|
| | 4535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4537 | | public int CalculateSize() { |
| | 4538 | | int size = 0; |
| | 4539 | | if (QueryId.Length != 0) { |
| | 4540 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); |
| | 4541 | | } |
| | 4542 | | if (payload_ != null) { |
| | 4543 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); |
| | 4544 | | } |
| | 4545 | | if (_unknownFields != null) { |
| | 4546 | | size += _unknownFields.CalculateSize(); |
| | 4547 | | } |
| | 4548 | | return size; |
| | 4549 | | } |
| | 4550 | |
|
| | 4551 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4552 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4553 | | public void MergeFrom(QueryBody other) { |
| | 4554 | | if (other == null) { |
| | 4555 | | return; |
| | 4556 | | } |
| | 4557 | | if (other.QueryId.Length != 0) { |
| | 4558 | | QueryId = other.QueryId; |
| | 4559 | | } |
| | 4560 | | if (other.payload_ != null) { |
| | 4561 | | if (payload_ == null) { |
| | 4562 | | Payload = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery(); |
| | 4563 | | } |
| | 4564 | | Payload.MergeFrom(other.Payload); |
| | 4565 | | } |
| | 4566 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4567 | | } |
| | 4568 | |
|
| | 4569 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4570 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4571 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4572 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4573 | | input.ReadRawMessage(this); |
| | 4574 | | #else |
| | 4575 | | uint tag; |
| | 4576 | | while ((tag = input.ReadTag()) != 0) { |
| | 4577 | | switch(tag) { |
| | 4578 | | default: |
| | 4579 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4580 | | break; |
| | 4581 | | case 10: { |
| | 4582 | | QueryId = input.ReadString(); |
| | 4583 | | break; |
| | 4584 | | } |
| | 4585 | | case 18: { |
| | 4586 | | if (payload_ == null) { |
| | 4587 | | Payload = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery(); |
| | 4588 | | } |
| | 4589 | | input.ReadMessage(Payload); |
| | 4590 | | break; |
| | 4591 | | } |
| | 4592 | | } |
| | 4593 | | } |
| | 4594 | | #endif |
| | 4595 | | } |
| | 4596 | |
|
| | 4597 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4600 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4601 | | uint tag; |
| | 4602 | | while ((tag = input.ReadTag()) != 0) { |
| | 4603 | | switch(tag) { |
| | 4604 | | default: |
| | 4605 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4606 | | break; |
| | 4607 | | case 10: { |
| | 4608 | | QueryId = input.ReadString(); |
| | 4609 | | break; |
| | 4610 | | } |
| | 4611 | | case 18: { |
| | 4612 | | if (payload_ == null) { |
| | 4613 | | Payload = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.RayQuery(); |
| | 4614 | | } |
| | 4615 | | input.ReadMessage(Payload); |
| | 4616 | | break; |
| | 4617 | | } |
| | 4618 | | } |
| | 4619 | | } |
| | 4620 | | } |
| | 4621 | | #endif |
| | 4622 | |
|
| | 4623 | | #region Nested types |
| | 4624 | | /// <summary>Container for nested types declared in the QueryBody message type.</summary> |
| | 4625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4627 | | public static partial class Types { |
| | 4628 | | public sealed partial class Ray : pb::IMessage<Ray> |
| | 4629 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4630 | | , pb::IBufferMessage |
| | 4631 | | #endif |
| | 4632 | | { |
| | 4633 | | private static readonly pb::MessageParser<Ray> _parser = new pb::MessageParser<Ray>(() => new Ray()); |
| | 4634 | | private pb::UnknownFieldSet _unknownFields; |
| | 4635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4637 | | public static pb::MessageParser<Ray> Parser { get { return _parser; } } |
| | 4638 | |
|
| | 4639 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4640 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4641 | | public static pbr::MessageDescriptor Descriptor { |
| | 4642 | | get { return global::Decentraland.Sdk.Ecs6.QueryBody.Descriptor.NestedTypes[0]; } |
| | 4643 | | } |
| | 4644 | |
|
| | 4645 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4646 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4647 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4648 | | get { return Descriptor; } |
| | 4649 | | } |
| | 4650 | |
|
| | 4651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4653 | | public Ray() { |
| | 4654 | | OnConstruction(); |
| | 4655 | | } |
| | 4656 | |
|
| | 4657 | | partial void OnConstruction(); |
| | 4658 | |
|
| | 4659 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4660 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4661 | | public Ray(Ray other) : this() { |
| | 4662 | | origin_ = other.origin_ != null ? other.origin_.Clone() : null; |
| | 4663 | | direction_ = other.direction_ != null ? other.direction_.Clone() : null; |
| | 4664 | | distance_ = other.distance_; |
| | 4665 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4666 | | } |
| | 4667 | |
|
| | 4668 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4669 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4670 | | public Ray Clone() { |
| | 4671 | | return new Ray(this); |
| | 4672 | | } |
| | 4673 | |
|
| | 4674 | | /// <summary>Field number for the "origin" field.</summary> |
| | 4675 | | public const int OriginFieldNumber = 1; |
| | 4676 | | private global::Decentraland.Common.Vector3 origin_; |
| | 4677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4679 | | public global::Decentraland.Common.Vector3 Origin { |
| | 4680 | | get { return origin_; } |
| | 4681 | | set { |
| | 4682 | | origin_ = value; |
| | 4683 | | } |
| | 4684 | | } |
| | 4685 | |
|
| | 4686 | | /// <summary>Field number for the "direction" field.</summary> |
| | 4687 | | public const int DirectionFieldNumber = 2; |
| | 4688 | | private global::Decentraland.Common.Vector3 direction_; |
| | 4689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4691 | | public global::Decentraland.Common.Vector3 Direction { |
| | 4692 | | get { return direction_; } |
| | 4693 | | set { |
| | 4694 | | direction_ = value; |
| | 4695 | | } |
| | 4696 | | } |
| | 4697 | |
|
| | 4698 | | /// <summary>Field number for the "distance" field.</summary> |
| | 4699 | | public const int DistanceFieldNumber = 3; |
| | 4700 | | private float distance_; |
| | 4701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4703 | | public float Distance { |
| | 4704 | | get { return distance_; } |
| | 4705 | | set { |
| | 4706 | | distance_ = value; |
| | 4707 | | } |
| | 4708 | | } |
| | 4709 | |
|
| | 4710 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4711 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4712 | | public override bool Equals(object other) { |
| | 4713 | | return Equals(other as Ray); |
| | 4714 | | } |
| | 4715 | |
|
| | 4716 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4717 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4718 | | public bool Equals(Ray other) { |
| | 4719 | | if (ReferenceEquals(other, null)) { |
| | 4720 | | return false; |
| | 4721 | | } |
| | 4722 | | if (ReferenceEquals(other, this)) { |
| | 4723 | | return true; |
| | 4724 | | } |
| | 4725 | | if (!object.Equals(Origin, other.Origin)) return false; |
| | 4726 | | if (!object.Equals(Direction, other.Direction)) return false; |
| | 4727 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Distance, other.Distance)) return fal |
| | 4728 | | return Equals(_unknownFields, other._unknownFields); |
| | 4729 | | } |
| | 4730 | |
|
| | 4731 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4732 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4733 | | public override int GetHashCode() { |
| | 4734 | | int hash = 1; |
| | 4735 | | if (origin_ != null) hash ^= Origin.GetHashCode(); |
| | 4736 | | if (direction_ != null) hash ^= Direction.GetHashCode(); |
| | 4737 | | if (Distance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Distance) |
| | 4738 | | if (_unknownFields != null) { |
| | 4739 | | hash ^= _unknownFields.GetHashCode(); |
| | 4740 | | } |
| | 4741 | | return hash; |
| | 4742 | | } |
| | 4743 | |
|
| | 4744 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4745 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4746 | | public override string ToString() { |
| | 4747 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4748 | | } |
| | 4749 | |
|
| | 4750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4752 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4753 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4754 | | output.WriteRawMessage(this); |
| | 4755 | | #else |
| | 4756 | | if (origin_ != null) { |
| | 4757 | | output.WriteRawTag(10); |
| | 4758 | | output.WriteMessage(Origin); |
| | 4759 | | } |
| | 4760 | | if (direction_ != null) { |
| | 4761 | | output.WriteRawTag(18); |
| | 4762 | | output.WriteMessage(Direction); |
| | 4763 | | } |
| | 4764 | | if (Distance != 0F) { |
| | 4765 | | output.WriteRawTag(29); |
| | 4766 | | output.WriteFloat(Distance); |
| | 4767 | | } |
| | 4768 | | if (_unknownFields != null) { |
| | 4769 | | _unknownFields.WriteTo(output); |
| | 4770 | | } |
| | 4771 | | #endif |
| | 4772 | | } |
| | 4773 | |
|
| | 4774 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4777 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4778 | | if (origin_ != null) { |
| | 4779 | | output.WriteRawTag(10); |
| | 4780 | | output.WriteMessage(Origin); |
| | 4781 | | } |
| | 4782 | | if (direction_ != null) { |
| | 4783 | | output.WriteRawTag(18); |
| | 4784 | | output.WriteMessage(Direction); |
| | 4785 | | } |
| | 4786 | | if (Distance != 0F) { |
| | 4787 | | output.WriteRawTag(29); |
| | 4788 | | output.WriteFloat(Distance); |
| | 4789 | | } |
| | 4790 | | if (_unknownFields != null) { |
| | 4791 | | _unknownFields.WriteTo(ref output); |
| | 4792 | | } |
| | 4793 | | } |
| | 4794 | | #endif |
| | 4795 | |
|
| | 4796 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4797 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4798 | | public int CalculateSize() { |
| | 4799 | | int size = 0; |
| | 4800 | | if (origin_ != null) { |
| | 4801 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Origin); |
| | 4802 | | } |
| | 4803 | | if (direction_ != null) { |
| | 4804 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Direction); |
| | 4805 | | } |
| | 4806 | | if (Distance != 0F) { |
| | 4807 | | size += 1 + 4; |
| | 4808 | | } |
| | 4809 | | if (_unknownFields != null) { |
| | 4810 | | size += _unknownFields.CalculateSize(); |
| | 4811 | | } |
| | 4812 | | return size; |
| | 4813 | | } |
| | 4814 | |
|
| | 4815 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4816 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4817 | | public void MergeFrom(Ray other) { |
| | 4818 | | if (other == null) { |
| | 4819 | | return; |
| | 4820 | | } |
| | 4821 | | if (other.origin_ != null) { |
| | 4822 | | if (origin_ == null) { |
| | 4823 | | Origin = new global::Decentraland.Common.Vector3(); |
| | 4824 | | } |
| | 4825 | | Origin.MergeFrom(other.Origin); |
| | 4826 | | } |
| | 4827 | | if (other.direction_ != null) { |
| | 4828 | | if (direction_ == null) { |
| | 4829 | | Direction = new global::Decentraland.Common.Vector3(); |
| | 4830 | | } |
| | 4831 | | Direction.MergeFrom(other.Direction); |
| | 4832 | | } |
| | 4833 | | if (other.Distance != 0F) { |
| | 4834 | | Distance = other.Distance; |
| | 4835 | | } |
| | 4836 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4837 | | } |
| | 4838 | |
|
| | 4839 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4840 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4841 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4842 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4843 | | input.ReadRawMessage(this); |
| | 4844 | | #else |
| | 4845 | | uint tag; |
| | 4846 | | while ((tag = input.ReadTag()) != 0) { |
| | 4847 | | switch(tag) { |
| | 4848 | | default: |
| | 4849 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4850 | | break; |
| | 4851 | | case 10: { |
| | 4852 | | if (origin_ == null) { |
| | 4853 | | Origin = new global::Decentraland.Common.Vector3(); |
| | 4854 | | } |
| | 4855 | | input.ReadMessage(Origin); |
| | 4856 | | break; |
| | 4857 | | } |
| | 4858 | | case 18: { |
| | 4859 | | if (direction_ == null) { |
| | 4860 | | Direction = new global::Decentraland.Common.Vector3(); |
| | 4861 | | } |
| | 4862 | | input.ReadMessage(Direction); |
| | 4863 | | break; |
| | 4864 | | } |
| | 4865 | | case 29: { |
| | 4866 | | Distance = input.ReadFloat(); |
| | 4867 | | break; |
| | 4868 | | } |
| | 4869 | | } |
| | 4870 | | } |
| | 4871 | | #endif |
| | 4872 | | } |
| | 4873 | |
|
| | 4874 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4877 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4878 | | uint tag; |
| | 4879 | | while ((tag = input.ReadTag()) != 0) { |
| | 4880 | | switch(tag) { |
| | 4881 | | default: |
| | 4882 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4883 | | break; |
| | 4884 | | case 10: { |
| | 4885 | | if (origin_ == null) { |
| | 4886 | | Origin = new global::Decentraland.Common.Vector3(); |
| | 4887 | | } |
| | 4888 | | input.ReadMessage(Origin); |
| | 4889 | | break; |
| | 4890 | | } |
| | 4891 | | case 18: { |
| | 4892 | | if (direction_ == null) { |
| | 4893 | | Direction = new global::Decentraland.Common.Vector3(); |
| | 4894 | | } |
| | 4895 | | input.ReadMessage(Direction); |
| | 4896 | | break; |
| | 4897 | | } |
| | 4898 | | case 29: { |
| | 4899 | | Distance = input.ReadFloat(); |
| | 4900 | | break; |
| | 4901 | | } |
| | 4902 | | } |
| | 4903 | | } |
| | 4904 | | } |
| | 4905 | | #endif |
| | 4906 | |
|
| | 4907 | | } |
| | 4908 | |
|
| | 4909 | | public sealed partial class RayQuery : pb::IMessage<RayQuery> |
| | 4910 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4911 | | , pb::IBufferMessage |
| | 4912 | | #endif |
| | 4913 | | { |
| | 4914 | | private static readonly pb::MessageParser<RayQuery> _parser = new pb::MessageParser<RayQuery>(() => new RayQuery |
| | 4915 | | private pb::UnknownFieldSet _unknownFields; |
| | 4916 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4917 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4918 | | public static pb::MessageParser<RayQuery> Parser { get { return _parser; } } |
| | 4919 | |
|
| | 4920 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4921 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4922 | | public static pbr::MessageDescriptor Descriptor { |
| | 4923 | | get { return global::Decentraland.Sdk.Ecs6.QueryBody.Descriptor.NestedTypes[1]; } |
| | 4924 | | } |
| | 4925 | |
|
| | 4926 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4927 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4928 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4929 | | get { return Descriptor; } |
| | 4930 | | } |
| | 4931 | |
|
| | 4932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4934 | | public RayQuery() { |
| | 4935 | | OnConstruction(); |
| | 4936 | | } |
| | 4937 | |
|
| | 4938 | | partial void OnConstruction(); |
| | 4939 | |
|
| | 4940 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4941 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4942 | | public RayQuery(RayQuery other) : this() { |
| | 4943 | | queryId_ = other.queryId_; |
| | 4944 | | queryType_ = other.queryType_; |
| | 4945 | | ray_ = other.ray_ != null ? other.ray_.Clone() : null; |
| | 4946 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4947 | | } |
| | 4948 | |
|
| | 4949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4951 | | public RayQuery Clone() { |
| | 4952 | | return new RayQuery(this); |
| | 4953 | | } |
| | 4954 | |
|
| | 4955 | | /// <summary>Field number for the "query_id" field.</summary> |
| | 4956 | | public const int QueryIdFieldNumber = 1; |
| | 4957 | | private string queryId_ = ""; |
| | 4958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4960 | | public string QueryId { |
| | 4961 | | get { return queryId_; } |
| | 4962 | | set { |
| | 4963 | | queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4964 | | } |
| | 4965 | | } |
| | 4966 | |
|
| | 4967 | | /// <summary>Field number for the "query_type" field.</summary> |
| | 4968 | | public const int QueryTypeFieldNumber = 2; |
| | 4969 | | private string queryType_ = ""; |
| | 4970 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4971 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4972 | | public string QueryType { |
| | 4973 | | get { return queryType_; } |
| | 4974 | | set { |
| | 4975 | | queryType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 4976 | | } |
| | 4977 | | } |
| | 4978 | |
|
| | 4979 | | /// <summary>Field number for the "ray" field.</summary> |
| | 4980 | | public const int RayFieldNumber = 3; |
| | 4981 | | private global::Decentraland.Sdk.Ecs6.QueryBody.Types.Ray ray_; |
| | 4982 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4983 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4984 | | public global::Decentraland.Sdk.Ecs6.QueryBody.Types.Ray Ray { |
| | 4985 | | get { return ray_; } |
| | 4986 | | set { |
| | 4987 | | ray_ = value; |
| | 4988 | | } |
| | 4989 | | } |
| | 4990 | |
|
| | 4991 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4992 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4993 | | public override bool Equals(object other) { |
| | 4994 | | return Equals(other as RayQuery); |
| | 4995 | | } |
| | 4996 | |
|
| | 4997 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4998 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4999 | | public bool Equals(RayQuery other) { |
| | 5000 | | if (ReferenceEquals(other, null)) { |
| | 5001 | | return false; |
| | 5002 | | } |
| | 5003 | | if (ReferenceEquals(other, this)) { |
| | 5004 | | return true; |
| | 5005 | | } |
| | 5006 | | if (QueryId != other.QueryId) return false; |
| | 5007 | | if (QueryType != other.QueryType) return false; |
| | 5008 | | if (!object.Equals(Ray, other.Ray)) return false; |
| | 5009 | | return Equals(_unknownFields, other._unknownFields); |
| | 5010 | | } |
| | 5011 | |
|
| | 5012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5014 | | public override int GetHashCode() { |
| | 5015 | | int hash = 1; |
| | 5016 | | if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); |
| | 5017 | | if (QueryType.Length != 0) hash ^= QueryType.GetHashCode(); |
| | 5018 | | if (ray_ != null) hash ^= Ray.GetHashCode(); |
| | 5019 | | if (_unknownFields != null) { |
| | 5020 | | hash ^= _unknownFields.GetHashCode(); |
| | 5021 | | } |
| | 5022 | | return hash; |
| | 5023 | | } |
| | 5024 | |
|
| | 5025 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5026 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5027 | | public override string ToString() { |
| | 5028 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5029 | | } |
| | 5030 | |
|
| | 5031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5033 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5034 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5035 | | output.WriteRawMessage(this); |
| | 5036 | | #else |
| | 5037 | | if (QueryId.Length != 0) { |
| | 5038 | | output.WriteRawTag(10); |
| | 5039 | | output.WriteString(QueryId); |
| | 5040 | | } |
| | 5041 | | if (QueryType.Length != 0) { |
| | 5042 | | output.WriteRawTag(18); |
| | 5043 | | output.WriteString(QueryType); |
| | 5044 | | } |
| | 5045 | | if (ray_ != null) { |
| | 5046 | | output.WriteRawTag(26); |
| | 5047 | | output.WriteMessage(Ray); |
| | 5048 | | } |
| | 5049 | | if (_unknownFields != null) { |
| | 5050 | | _unknownFields.WriteTo(output); |
| | 5051 | | } |
| | 5052 | | #endif |
| | 5053 | | } |
| | 5054 | |
|
| | 5055 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5056 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5057 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5058 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5059 | | if (QueryId.Length != 0) { |
| | 5060 | | output.WriteRawTag(10); |
| | 5061 | | output.WriteString(QueryId); |
| | 5062 | | } |
| | 5063 | | if (QueryType.Length != 0) { |
| | 5064 | | output.WriteRawTag(18); |
| | 5065 | | output.WriteString(QueryType); |
| | 5066 | | } |
| | 5067 | | if (ray_ != null) { |
| | 5068 | | output.WriteRawTag(26); |
| | 5069 | | output.WriteMessage(Ray); |
| | 5070 | | } |
| | 5071 | | if (_unknownFields != null) { |
| | 5072 | | _unknownFields.WriteTo(ref output); |
| | 5073 | | } |
| | 5074 | | } |
| | 5075 | | #endif |
| | 5076 | |
|
| | 5077 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5078 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5079 | | public int CalculateSize() { |
| | 5080 | | int size = 0; |
| | 5081 | | if (QueryId.Length != 0) { |
| | 5082 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); |
| | 5083 | | } |
| | 5084 | | if (QueryType.Length != 0) { |
| | 5085 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryType); |
| | 5086 | | } |
| | 5087 | | if (ray_ != null) { |
| | 5088 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ray); |
| | 5089 | | } |
| | 5090 | | if (_unknownFields != null) { |
| | 5091 | | size += _unknownFields.CalculateSize(); |
| | 5092 | | } |
| | 5093 | | return size; |
| | 5094 | | } |
| | 5095 | |
|
| | 5096 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5097 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5098 | | public void MergeFrom(RayQuery other) { |
| | 5099 | | if (other == null) { |
| | 5100 | | return; |
| | 5101 | | } |
| | 5102 | | if (other.QueryId.Length != 0) { |
| | 5103 | | QueryId = other.QueryId; |
| | 5104 | | } |
| | 5105 | | if (other.QueryType.Length != 0) { |
| | 5106 | | QueryType = other.QueryType; |
| | 5107 | | } |
| | 5108 | | if (other.ray_ != null) { |
| | 5109 | | if (ray_ == null) { |
| | 5110 | | Ray = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.Ray(); |
| | 5111 | | } |
| | 5112 | | Ray.MergeFrom(other.Ray); |
| | 5113 | | } |
| | 5114 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5115 | | } |
| | 5116 | |
|
| | 5117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5119 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5120 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5121 | | input.ReadRawMessage(this); |
| | 5122 | | #else |
| | 5123 | | uint tag; |
| | 5124 | | while ((tag = input.ReadTag()) != 0) { |
| | 5125 | | switch(tag) { |
| | 5126 | | default: |
| | 5127 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5128 | | break; |
| | 5129 | | case 10: { |
| | 5130 | | QueryId = input.ReadString(); |
| | 5131 | | break; |
| | 5132 | | } |
| | 5133 | | case 18: { |
| | 5134 | | QueryType = input.ReadString(); |
| | 5135 | | break; |
| | 5136 | | } |
| | 5137 | | case 26: { |
| | 5138 | | if (ray_ == null) { |
| | 5139 | | Ray = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.Ray(); |
| | 5140 | | } |
| | 5141 | | input.ReadMessage(Ray); |
| | 5142 | | break; |
| | 5143 | | } |
| | 5144 | | } |
| | 5145 | | } |
| | 5146 | | #endif |
| | 5147 | | } |
| | 5148 | |
|
| | 5149 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5151 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5152 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5153 | | uint tag; |
| | 5154 | | while ((tag = input.ReadTag()) != 0) { |
| | 5155 | | switch(tag) { |
| | 5156 | | default: |
| | 5157 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5158 | | break; |
| | 5159 | | case 10: { |
| | 5160 | | QueryId = input.ReadString(); |
| | 5161 | | break; |
| | 5162 | | } |
| | 5163 | | case 18: { |
| | 5164 | | QueryType = input.ReadString(); |
| | 5165 | | break; |
| | 5166 | | } |
| | 5167 | | case 26: { |
| | 5168 | | if (ray_ == null) { |
| | 5169 | | Ray = new global::Decentraland.Sdk.Ecs6.QueryBody.Types.Ray(); |
| | 5170 | | } |
| | 5171 | | input.ReadMessage(Ray); |
| | 5172 | | break; |
| | 5173 | | } |
| | 5174 | | } |
| | 5175 | | } |
| | 5176 | | } |
| | 5177 | | #endif |
| | 5178 | |
|
| | 5179 | | } |
| | 5180 | |
|
| | 5181 | | } |
| | 5182 | | #endregion |
| | 5183 | |
|
| | 5184 | | } |
| | 5185 | |
|
| | 5186 | | public sealed partial class ComponentCreatedBody : pb::IMessage<ComponentCreatedBody> |
| | 5187 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5188 | | , pb::IBufferMessage |
| | 5189 | | #endif |
| | 5190 | | { |
| | 5191 | | private static readonly pb::MessageParser<ComponentCreatedBody> _parser = new pb::MessageParser<ComponentCreatedBody |
| | 5192 | | private pb::UnknownFieldSet _unknownFields; |
| | 5193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5195 | | public static pb::MessageParser<ComponentCreatedBody> Parser { get { return _parser; } } |
| | 5196 | |
|
| | 5197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5199 | | public static pbr::MessageDescriptor Descriptor { |
| | 5200 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[10]; } |
| | 5201 | | } |
| | 5202 | |
|
| | 5203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5205 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5206 | | get { return Descriptor; } |
| | 5207 | | } |
| | 5208 | |
|
| | 5209 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5210 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5211 | | public ComponentCreatedBody() { |
| | 5212 | | OnConstruction(); |
| | 5213 | | } |
| | 5214 | |
|
| | 5215 | | partial void OnConstruction(); |
| | 5216 | |
|
| | 5217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5219 | | public ComponentCreatedBody(ComponentCreatedBody other) : this() { |
| | 5220 | | id_ = other.id_; |
| | 5221 | | classId_ = other.classId_; |
| | 5222 | | name_ = other.name_; |
| | 5223 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5224 | | } |
| | 5225 | |
|
| | 5226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5228 | | public ComponentCreatedBody Clone() { |
| | 5229 | | return new ComponentCreatedBody(this); |
| | 5230 | | } |
| | 5231 | |
|
| | 5232 | | /// <summary>Field number for the "id" field.</summary> |
| | 5233 | | public const int IdFieldNumber = 1; |
| | 5234 | | private string id_ = ""; |
| | 5235 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5236 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5237 | | public string Id { |
| | 5238 | | get { return id_; } |
| | 5239 | | set { |
| | 5240 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5241 | | } |
| | 5242 | | } |
| | 5243 | |
|
| | 5244 | | /// <summary>Field number for the "class_id" field.</summary> |
| | 5245 | | public const int ClassIdFieldNumber = 2; |
| | 5246 | | private int classId_; |
| | 5247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5249 | | public int ClassId { |
| | 5250 | | get { return classId_; } |
| | 5251 | | set { |
| | 5252 | | classId_ = value; |
| | 5253 | | } |
| | 5254 | | } |
| | 5255 | |
|
| | 5256 | | /// <summary>Field number for the "name" field.</summary> |
| | 5257 | | public const int NameFieldNumber = 3; |
| | 5258 | | private string name_ = ""; |
| | 5259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5261 | | public string Name { |
| | 5262 | | get { return name_; } |
| | 5263 | | set { |
| | 5264 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5265 | | } |
| | 5266 | | } |
| | 5267 | |
|
| | 5268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5270 | | public override bool Equals(object other) { |
| | 5271 | | return Equals(other as ComponentCreatedBody); |
| | 5272 | | } |
| | 5273 | |
|
| | 5274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5276 | | public bool Equals(ComponentCreatedBody other) { |
| | 5277 | | if (ReferenceEquals(other, null)) { |
| | 5278 | | return false; |
| | 5279 | | } |
| | 5280 | | if (ReferenceEquals(other, this)) { |
| | 5281 | | return true; |
| | 5282 | | } |
| | 5283 | | if (Id != other.Id) return false; |
| | 5284 | | if (ClassId != other.ClassId) return false; |
| | 5285 | | if (Name != other.Name) return false; |
| | 5286 | | return Equals(_unknownFields, other._unknownFields); |
| | 5287 | | } |
| | 5288 | |
|
| | 5289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5291 | | public override int GetHashCode() { |
| | 5292 | | int hash = 1; |
| | 5293 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 5294 | | if (ClassId != 0) hash ^= ClassId.GetHashCode(); |
| | 5295 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 5296 | | if (_unknownFields != null) { |
| | 5297 | | hash ^= _unknownFields.GetHashCode(); |
| | 5298 | | } |
| | 5299 | | return hash; |
| | 5300 | | } |
| | 5301 | |
|
| | 5302 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5303 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5304 | | public override string ToString() { |
| | 5305 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5306 | | } |
| | 5307 | |
|
| | 5308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5310 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5311 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5312 | | output.WriteRawMessage(this); |
| | 5313 | | #else |
| | 5314 | | if (Id.Length != 0) { |
| | 5315 | | output.WriteRawTag(10); |
| | 5316 | | output.WriteString(Id); |
| | 5317 | | } |
| | 5318 | | if (ClassId != 0) { |
| | 5319 | | output.WriteRawTag(16); |
| | 5320 | | output.WriteInt32(ClassId); |
| | 5321 | | } |
| | 5322 | | if (Name.Length != 0) { |
| | 5323 | | output.WriteRawTag(26); |
| | 5324 | | output.WriteString(Name); |
| | 5325 | | } |
| | 5326 | | if (_unknownFields != null) { |
| | 5327 | | _unknownFields.WriteTo(output); |
| | 5328 | | } |
| | 5329 | | #endif |
| | 5330 | | } |
| | 5331 | |
|
| | 5332 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5335 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5336 | | if (Id.Length != 0) { |
| | 5337 | | output.WriteRawTag(10); |
| | 5338 | | output.WriteString(Id); |
| | 5339 | | } |
| | 5340 | | if (ClassId != 0) { |
| | 5341 | | output.WriteRawTag(16); |
| | 5342 | | output.WriteInt32(ClassId); |
| | 5343 | | } |
| | 5344 | | if (Name.Length != 0) { |
| | 5345 | | output.WriteRawTag(26); |
| | 5346 | | output.WriteString(Name); |
| | 5347 | | } |
| | 5348 | | if (_unknownFields != null) { |
| | 5349 | | _unknownFields.WriteTo(ref output); |
| | 5350 | | } |
| | 5351 | | } |
| | 5352 | | #endif |
| | 5353 | |
|
| | 5354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5356 | | public int CalculateSize() { |
| | 5357 | | int size = 0; |
| | 5358 | | if (Id.Length != 0) { |
| | 5359 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 5360 | | } |
| | 5361 | | if (ClassId != 0) { |
| | 5362 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClassId); |
| | 5363 | | } |
| | 5364 | | if (Name.Length != 0) { |
| | 5365 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 5366 | | } |
| | 5367 | | if (_unknownFields != null) { |
| | 5368 | | size += _unknownFields.CalculateSize(); |
| | 5369 | | } |
| | 5370 | | return size; |
| | 5371 | | } |
| | 5372 | |
|
| | 5373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5375 | | public void MergeFrom(ComponentCreatedBody other) { |
| | 5376 | | if (other == null) { |
| | 5377 | | return; |
| | 5378 | | } |
| | 5379 | | if (other.Id.Length != 0) { |
| | 5380 | | Id = other.Id; |
| | 5381 | | } |
| | 5382 | | if (other.ClassId != 0) { |
| | 5383 | | ClassId = other.ClassId; |
| | 5384 | | } |
| | 5385 | | if (other.Name.Length != 0) { |
| | 5386 | | Name = other.Name; |
| | 5387 | | } |
| | 5388 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5389 | | } |
| | 5390 | |
|
| | 5391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5393 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5394 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5395 | | input.ReadRawMessage(this); |
| | 5396 | | #else |
| | 5397 | | uint tag; |
| | 5398 | | while ((tag = input.ReadTag()) != 0) { |
| | 5399 | | switch(tag) { |
| | 5400 | | default: |
| | 5401 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5402 | | break; |
| | 5403 | | case 10: { |
| | 5404 | | Id = input.ReadString(); |
| | 5405 | | break; |
| | 5406 | | } |
| | 5407 | | case 16: { |
| | 5408 | | ClassId = input.ReadInt32(); |
| | 5409 | | break; |
| | 5410 | | } |
| | 5411 | | case 26: { |
| | 5412 | | Name = input.ReadString(); |
| | 5413 | | break; |
| | 5414 | | } |
| | 5415 | | } |
| | 5416 | | } |
| | 5417 | | #endif |
| | 5418 | | } |
| | 5419 | |
|
| | 5420 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5423 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5424 | | uint tag; |
| | 5425 | | while ((tag = input.ReadTag()) != 0) { |
| | 5426 | | switch(tag) { |
| | 5427 | | default: |
| | 5428 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5429 | | break; |
| | 5430 | | case 10: { |
| | 5431 | | Id = input.ReadString(); |
| | 5432 | | break; |
| | 5433 | | } |
| | 5434 | | case 16: { |
| | 5435 | | ClassId = input.ReadInt32(); |
| | 5436 | | break; |
| | 5437 | | } |
| | 5438 | | case 26: { |
| | 5439 | | Name = input.ReadString(); |
| | 5440 | | break; |
| | 5441 | | } |
| | 5442 | | } |
| | 5443 | | } |
| | 5444 | | } |
| | 5445 | | #endif |
| | 5446 | |
|
| | 5447 | | } |
| | 5448 | |
|
| | 5449 | | public sealed partial class ComponentDisposedBody : pb::IMessage<ComponentDisposedBody> |
| | 5450 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5451 | | , pb::IBufferMessage |
| | 5452 | | #endif |
| | 5453 | | { |
| | 5454 | | private static readonly pb::MessageParser<ComponentDisposedBody> _parser = new pb::MessageParser<ComponentDisposedBo |
| | 5455 | | private pb::UnknownFieldSet _unknownFields; |
| | 5456 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5457 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5458 | | public static pb::MessageParser<ComponentDisposedBody> Parser { get { return _parser; } } |
| | 5459 | |
|
| | 5460 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5461 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5462 | | public static pbr::MessageDescriptor Descriptor { |
| | 5463 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[11]; } |
| | 5464 | | } |
| | 5465 | |
|
| | 5466 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5467 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5468 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5469 | | get { return Descriptor; } |
| | 5470 | | } |
| | 5471 | |
|
| | 5472 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5473 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5474 | | public ComponentDisposedBody() { |
| | 5475 | | OnConstruction(); |
| | 5476 | | } |
| | 5477 | |
|
| | 5478 | | partial void OnConstruction(); |
| | 5479 | |
|
| | 5480 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5481 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5482 | | public ComponentDisposedBody(ComponentDisposedBody other) : this() { |
| | 5483 | | id_ = other.id_; |
| | 5484 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5485 | | } |
| | 5486 | |
|
| | 5487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5489 | | public ComponentDisposedBody Clone() { |
| | 5490 | | return new ComponentDisposedBody(this); |
| | 5491 | | } |
| | 5492 | |
|
| | 5493 | | /// <summary>Field number for the "id" field.</summary> |
| | 5494 | | public const int IdFieldNumber = 1; |
| | 5495 | | private string id_ = ""; |
| | 5496 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5497 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5498 | | public string Id { |
| | 5499 | | get { return id_; } |
| | 5500 | | set { |
| | 5501 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5502 | | } |
| | 5503 | | } |
| | 5504 | |
|
| | 5505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5507 | | public override bool Equals(object other) { |
| | 5508 | | return Equals(other as ComponentDisposedBody); |
| | 5509 | | } |
| | 5510 | |
|
| | 5511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5513 | | public bool Equals(ComponentDisposedBody other) { |
| | 5514 | | if (ReferenceEquals(other, null)) { |
| | 5515 | | return false; |
| | 5516 | | } |
| | 5517 | | if (ReferenceEquals(other, this)) { |
| | 5518 | | return true; |
| | 5519 | | } |
| | 5520 | | if (Id != other.Id) return false; |
| | 5521 | | return Equals(_unknownFields, other._unknownFields); |
| | 5522 | | } |
| | 5523 | |
|
| | 5524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5526 | | public override int GetHashCode() { |
| | 5527 | | int hash = 1; |
| | 5528 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 5529 | | if (_unknownFields != null) { |
| | 5530 | | hash ^= _unknownFields.GetHashCode(); |
| | 5531 | | } |
| | 5532 | | return hash; |
| | 5533 | | } |
| | 5534 | |
|
| | 5535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5537 | | public override string ToString() { |
| | 5538 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5539 | | } |
| | 5540 | |
|
| | 5541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5543 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5544 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5545 | | output.WriteRawMessage(this); |
| | 5546 | | #else |
| | 5547 | | if (Id.Length != 0) { |
| | 5548 | | output.WriteRawTag(10); |
| | 5549 | | output.WriteString(Id); |
| | 5550 | | } |
| | 5551 | | if (_unknownFields != null) { |
| | 5552 | | _unknownFields.WriteTo(output); |
| | 5553 | | } |
| | 5554 | | #endif |
| | 5555 | | } |
| | 5556 | |
|
| | 5557 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5560 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5561 | | if (Id.Length != 0) { |
| | 5562 | | output.WriteRawTag(10); |
| | 5563 | | output.WriteString(Id); |
| | 5564 | | } |
| | 5565 | | if (_unknownFields != null) { |
| | 5566 | | _unknownFields.WriteTo(ref output); |
| | 5567 | | } |
| | 5568 | | } |
| | 5569 | | #endif |
| | 5570 | |
|
| | 5571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5573 | | public int CalculateSize() { |
| | 5574 | | int size = 0; |
| | 5575 | | if (Id.Length != 0) { |
| | 5576 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 5577 | | } |
| | 5578 | | if (_unknownFields != null) { |
| | 5579 | | size += _unknownFields.CalculateSize(); |
| | 5580 | | } |
| | 5581 | | return size; |
| | 5582 | | } |
| | 5583 | |
|
| | 5584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5586 | | public void MergeFrom(ComponentDisposedBody other) { |
| | 5587 | | if (other == null) { |
| | 5588 | | return; |
| | 5589 | | } |
| | 5590 | | if (other.Id.Length != 0) { |
| | 5591 | | Id = other.Id; |
| | 5592 | | } |
| | 5593 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5594 | | } |
| | 5595 | |
|
| | 5596 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5597 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5598 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5599 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5600 | | input.ReadRawMessage(this); |
| | 5601 | | #else |
| | 5602 | | uint tag; |
| | 5603 | | while ((tag = input.ReadTag()) != 0) { |
| | 5604 | | switch(tag) { |
| | 5605 | | default: |
| | 5606 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5607 | | break; |
| | 5608 | | case 10: { |
| | 5609 | | Id = input.ReadString(); |
| | 5610 | | break; |
| | 5611 | | } |
| | 5612 | | } |
| | 5613 | | } |
| | 5614 | | #endif |
| | 5615 | | } |
| | 5616 | |
|
| | 5617 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5618 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5619 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5620 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5621 | | uint tag; |
| | 5622 | | while ((tag = input.ReadTag()) != 0) { |
| | 5623 | | switch(tag) { |
| | 5624 | | default: |
| | 5625 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5626 | | break; |
| | 5627 | | case 10: { |
| | 5628 | | Id = input.ReadString(); |
| | 5629 | | break; |
| | 5630 | | } |
| | 5631 | | } |
| | 5632 | | } |
| | 5633 | | } |
| | 5634 | | #endif |
| | 5635 | |
|
| | 5636 | | } |
| | 5637 | |
|
| | 5638 | | public sealed partial class ComponentUpdatedBody : pb::IMessage<ComponentUpdatedBody> |
| | 5639 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5640 | | , pb::IBufferMessage |
| | 5641 | | #endif |
| | 5642 | | { |
| | 5643 | | private static readonly pb::MessageParser<ComponentUpdatedBody> _parser = new pb::MessageParser<ComponentUpdatedBody |
| | 5644 | | private pb::UnknownFieldSet _unknownFields; |
| | 5645 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5646 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5647 | | public static pb::MessageParser<ComponentUpdatedBody> Parser { get { return _parser; } } |
| | 5648 | |
|
| | 5649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5651 | | public static pbr::MessageDescriptor Descriptor { |
| | 5652 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[12]; } |
| | 5653 | | } |
| | 5654 | |
|
| | 5655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5657 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5658 | | get { return Descriptor; } |
| | 5659 | | } |
| | 5660 | |
|
| | 5661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5663 | | public ComponentUpdatedBody() { |
| | 5664 | | OnConstruction(); |
| | 5665 | | } |
| | 5666 | |
|
| | 5667 | | partial void OnConstruction(); |
| | 5668 | |
|
| | 5669 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5670 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5671 | | public ComponentUpdatedBody(ComponentUpdatedBody other) : this() { |
| | 5672 | | id_ = other.id_; |
| | 5673 | | componentData_ = other.componentData_ != null ? other.componentData_.Clone() : null; |
| | 5674 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5675 | | } |
| | 5676 | |
|
| | 5677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5679 | | public ComponentUpdatedBody Clone() { |
| | 5680 | | return new ComponentUpdatedBody(this); |
| | 5681 | | } |
| | 5682 | |
|
| | 5683 | | /// <summary>Field number for the "id" field.</summary> |
| | 5684 | | public const int IdFieldNumber = 1; |
| | 5685 | | private string id_ = ""; |
| | 5686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5688 | | public string Id { |
| | 5689 | | get { return id_; } |
| | 5690 | | set { |
| | 5691 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5692 | | } |
| | 5693 | | } |
| | 5694 | |
|
| | 5695 | | /// <summary>Field number for the "component_data" field.</summary> |
| | 5696 | | public const int ComponentDataFieldNumber = 2; |
| | 5697 | | private global::Decentraland.Sdk.Ecs6.ComponentBodyPayload componentData_; |
| | 5698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5700 | | public global::Decentraland.Sdk.Ecs6.ComponentBodyPayload ComponentData { |
| | 5701 | | get { return componentData_; } |
| | 5702 | | set { |
| | 5703 | | componentData_ = value; |
| | 5704 | | } |
| | 5705 | | } |
| | 5706 | |
|
| | 5707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5709 | | public override bool Equals(object other) { |
| | 5710 | | return Equals(other as ComponentUpdatedBody); |
| | 5711 | | } |
| | 5712 | |
|
| | 5713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5715 | | public bool Equals(ComponentUpdatedBody other) { |
| | 5716 | | if (ReferenceEquals(other, null)) { |
| | 5717 | | return false; |
| | 5718 | | } |
| | 5719 | | if (ReferenceEquals(other, this)) { |
| | 5720 | | return true; |
| | 5721 | | } |
| | 5722 | | if (Id != other.Id) return false; |
| | 5723 | | if (!object.Equals(ComponentData, other.ComponentData)) return false; |
| | 5724 | | return Equals(_unknownFields, other._unknownFields); |
| | 5725 | | } |
| | 5726 | |
|
| | 5727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5729 | | public override int GetHashCode() { |
| | 5730 | | int hash = 1; |
| | 5731 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 5732 | | if (componentData_ != null) hash ^= ComponentData.GetHashCode(); |
| | 5733 | | if (_unknownFields != null) { |
| | 5734 | | hash ^= _unknownFields.GetHashCode(); |
| | 5735 | | } |
| | 5736 | | return hash; |
| | 5737 | | } |
| | 5738 | |
|
| | 5739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5741 | | public override string ToString() { |
| | 5742 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5743 | | } |
| | 5744 | |
|
| | 5745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5747 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5748 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5749 | | output.WriteRawMessage(this); |
| | 5750 | | #else |
| | 5751 | | if (Id.Length != 0) { |
| | 5752 | | output.WriteRawTag(10); |
| | 5753 | | output.WriteString(Id); |
| | 5754 | | } |
| | 5755 | | if (componentData_ != null) { |
| | 5756 | | output.WriteRawTag(18); |
| | 5757 | | output.WriteMessage(ComponentData); |
| | 5758 | | } |
| | 5759 | | if (_unknownFields != null) { |
| | 5760 | | _unknownFields.WriteTo(output); |
| | 5761 | | } |
| | 5762 | | #endif |
| | 5763 | | } |
| | 5764 | |
|
| | 5765 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5768 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5769 | | if (Id.Length != 0) { |
| | 5770 | | output.WriteRawTag(10); |
| | 5771 | | output.WriteString(Id); |
| | 5772 | | } |
| | 5773 | | if (componentData_ != null) { |
| | 5774 | | output.WriteRawTag(18); |
| | 5775 | | output.WriteMessage(ComponentData); |
| | 5776 | | } |
| | 5777 | | if (_unknownFields != null) { |
| | 5778 | | _unknownFields.WriteTo(ref output); |
| | 5779 | | } |
| | 5780 | | } |
| | 5781 | | #endif |
| | 5782 | |
|
| | 5783 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5784 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5785 | | public int CalculateSize() { |
| | 5786 | | int size = 0; |
| | 5787 | | if (Id.Length != 0) { |
| | 5788 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 5789 | | } |
| | 5790 | | if (componentData_ != null) { |
| | 5791 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentData); |
| | 5792 | | } |
| | 5793 | | if (_unknownFields != null) { |
| | 5794 | | size += _unknownFields.CalculateSize(); |
| | 5795 | | } |
| | 5796 | | return size; |
| | 5797 | | } |
| | 5798 | |
|
| | 5799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5801 | | public void MergeFrom(ComponentUpdatedBody other) { |
| | 5802 | | if (other == null) { |
| | 5803 | | return; |
| | 5804 | | } |
| | 5805 | | if (other.Id.Length != 0) { |
| | 5806 | | Id = other.Id; |
| | 5807 | | } |
| | 5808 | | if (other.componentData_ != null) { |
| | 5809 | | if (componentData_ == null) { |
| | 5810 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 5811 | | } |
| | 5812 | | ComponentData.MergeFrom(other.ComponentData); |
| | 5813 | | } |
| | 5814 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5815 | | } |
| | 5816 | |
|
| | 5817 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5818 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5819 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5820 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5821 | | input.ReadRawMessage(this); |
| | 5822 | | #else |
| | 5823 | | uint tag; |
| | 5824 | | while ((tag = input.ReadTag()) != 0) { |
| | 5825 | | switch(tag) { |
| | 5826 | | default: |
| | 5827 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5828 | | break; |
| | 5829 | | case 10: { |
| | 5830 | | Id = input.ReadString(); |
| | 5831 | | break; |
| | 5832 | | } |
| | 5833 | | case 18: { |
| | 5834 | | if (componentData_ == null) { |
| | 5835 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 5836 | | } |
| | 5837 | | input.ReadMessage(ComponentData); |
| | 5838 | | break; |
| | 5839 | | } |
| | 5840 | | } |
| | 5841 | | } |
| | 5842 | | #endif |
| | 5843 | | } |
| | 5844 | |
|
| | 5845 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5848 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5849 | | uint tag; |
| | 5850 | | while ((tag = input.ReadTag()) != 0) { |
| | 5851 | | switch(tag) { |
| | 5852 | | default: |
| | 5853 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5854 | | break; |
| | 5855 | | case 10: { |
| | 5856 | | Id = input.ReadString(); |
| | 5857 | | break; |
| | 5858 | | } |
| | 5859 | | case 18: { |
| | 5860 | | if (componentData_ == null) { |
| | 5861 | | ComponentData = new global::Decentraland.Sdk.Ecs6.ComponentBodyPayload(); |
| | 5862 | | } |
| | 5863 | | input.ReadMessage(ComponentData); |
| | 5864 | | break; |
| | 5865 | | } |
| | 5866 | | } |
| | 5867 | | } |
| | 5868 | | } |
| | 5869 | | #endif |
| | 5870 | |
|
| | 5871 | | } |
| | 5872 | |
|
| | 5873 | | public sealed partial class InitMessagesFinishedBody : pb::IMessage<InitMessagesFinishedBody> |
| | 5874 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5875 | | , pb::IBufferMessage |
| | 5876 | | #endif |
| | 5877 | | { |
| | 5878 | | private static readonly pb::MessageParser<InitMessagesFinishedBody> _parser = new pb::MessageParser<InitMessagesFini |
| | 5879 | | private pb::UnknownFieldSet _unknownFields; |
| | 5880 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5881 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5882 | | public static pb::MessageParser<InitMessagesFinishedBody> Parser { get { return _parser; } } |
| | 5883 | |
|
| | 5884 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5885 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5886 | | public static pbr::MessageDescriptor Descriptor { |
| | 5887 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[13]; } |
| | 5888 | | } |
| | 5889 | |
|
| | 5890 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5891 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5892 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5893 | | get { return Descriptor; } |
| | 5894 | | } |
| | 5895 | |
|
| | 5896 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5897 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5898 | | public InitMessagesFinishedBody() { |
| | 5899 | | OnConstruction(); |
| | 5900 | | } |
| | 5901 | |
|
| | 5902 | | partial void OnConstruction(); |
| | 5903 | |
|
| | 5904 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5905 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5906 | | public InitMessagesFinishedBody(InitMessagesFinishedBody other) : this() { |
| | 5907 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5908 | | } |
| | 5909 | |
|
| | 5910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5912 | | public InitMessagesFinishedBody Clone() { |
| | 5913 | | return new InitMessagesFinishedBody(this); |
| | 5914 | | } |
| | 5915 | |
|
| | 5916 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5917 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5918 | | public override bool Equals(object other) { |
| | 5919 | | return Equals(other as InitMessagesFinishedBody); |
| | 5920 | | } |
| | 5921 | |
|
| | 5922 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5923 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5924 | | public bool Equals(InitMessagesFinishedBody other) { |
| | 5925 | | if (ReferenceEquals(other, null)) { |
| | 5926 | | return false; |
| | 5927 | | } |
| | 5928 | | if (ReferenceEquals(other, this)) { |
| | 5929 | | return true; |
| | 5930 | | } |
| | 5931 | | return Equals(_unknownFields, other._unknownFields); |
| | 5932 | | } |
| | 5933 | |
|
| | 5934 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5935 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5936 | | public override int GetHashCode() { |
| | 5937 | | int hash = 1; |
| | 5938 | | if (_unknownFields != null) { |
| | 5939 | | hash ^= _unknownFields.GetHashCode(); |
| | 5940 | | } |
| | 5941 | | return hash; |
| | 5942 | | } |
| | 5943 | |
|
| | 5944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5946 | | public override string ToString() { |
| | 5947 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5948 | | } |
| | 5949 | |
|
| | 5950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5952 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5953 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5954 | | output.WriteRawMessage(this); |
| | 5955 | | #else |
| | 5956 | | if (_unknownFields != null) { |
| | 5957 | | _unknownFields.WriteTo(output); |
| | 5958 | | } |
| | 5959 | | #endif |
| | 5960 | | } |
| | 5961 | |
|
| | 5962 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5963 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5964 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5965 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5966 | | if (_unknownFields != null) { |
| | 5967 | | _unknownFields.WriteTo(ref output); |
| | 5968 | | } |
| | 5969 | | } |
| | 5970 | | #endif |
| | 5971 | |
|
| | 5972 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5973 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5974 | | public int CalculateSize() { |
| | 5975 | | int size = 0; |
| | 5976 | | if (_unknownFields != null) { |
| | 5977 | | size += _unknownFields.CalculateSize(); |
| | 5978 | | } |
| | 5979 | | return size; |
| | 5980 | | } |
| | 5981 | |
|
| | 5982 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5983 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5984 | | public void MergeFrom(InitMessagesFinishedBody other) { |
| | 5985 | | if (other == null) { |
| | 5986 | | return; |
| | 5987 | | } |
| | 5988 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5989 | | } |
| | 5990 | |
|
| | 5991 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5992 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5993 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5994 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5995 | | input.ReadRawMessage(this); |
| | 5996 | | #else |
| | 5997 | | uint tag; |
| | 5998 | | while ((tag = input.ReadTag()) != 0) { |
| | 5999 | | switch(tag) { |
| | 6000 | | default: |
| | 6001 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6002 | | break; |
| | 6003 | | } |
| | 6004 | | } |
| | 6005 | | #endif |
| | 6006 | | } |
| | 6007 | |
|
| | 6008 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6009 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6010 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6011 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6012 | | uint tag; |
| | 6013 | | while ((tag = input.ReadTag()) != 0) { |
| | 6014 | | switch(tag) { |
| | 6015 | | default: |
| | 6016 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6017 | | break; |
| | 6018 | | } |
| | 6019 | | } |
| | 6020 | | } |
| | 6021 | | #endif |
| | 6022 | |
|
| | 6023 | | } |
| | 6024 | |
|
| | 6025 | | public sealed partial class EntityActionPayload : pb::IMessage<EntityActionPayload> |
| | 6026 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6027 | | , pb::IBufferMessage |
| | 6028 | | #endif |
| | 6029 | | { |
| | 6030 | | private static readonly pb::MessageParser<EntityActionPayload> _parser = new pb::MessageParser<EntityActionPayload>( |
| | 6031 | | private pb::UnknownFieldSet _unknownFields; |
| | 6032 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6033 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6034 | | public static pb::MessageParser<EntityActionPayload> Parser { get { return _parser; } } |
| | 6035 | |
|
| | 6036 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6037 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6038 | | public static pbr::MessageDescriptor Descriptor { |
| | 6039 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[14]; } |
| | 6040 | | } |
| | 6041 | |
|
| | 6042 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6043 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6044 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6045 | | get { return Descriptor; } |
| | 6046 | | } |
| | 6047 | |
|
| | 6048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6050 | | public EntityActionPayload() { |
| | 6051 | | OnConstruction(); |
| | 6052 | | } |
| | 6053 | |
|
| | 6054 | | partial void OnConstruction(); |
| | 6055 | |
|
| | 6056 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6057 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6058 | | public EntityActionPayload(EntityActionPayload other) : this() { |
| | 6059 | | switch (other.PayloadCase) { |
| | 6060 | | case PayloadOneofCase.OpenExternalUrl: |
| | 6061 | | OpenExternalUrl = other.OpenExternalUrl.Clone(); |
| | 6062 | | break; |
| | 6063 | | case PayloadOneofCase.OpenNftDialog: |
| | 6064 | | OpenNftDialog = other.OpenNftDialog.Clone(); |
| | 6065 | | break; |
| | 6066 | | case PayloadOneofCase.CreateEntity: |
| | 6067 | | CreateEntity = other.CreateEntity.Clone(); |
| | 6068 | | break; |
| | 6069 | | case PayloadOneofCase.RemoveEntity: |
| | 6070 | | RemoveEntity = other.RemoveEntity.Clone(); |
| | 6071 | | break; |
| | 6072 | | case PayloadOneofCase.UpdateEntityComponent: |
| | 6073 | | UpdateEntityComponent = other.UpdateEntityComponent.Clone(); |
| | 6074 | | break; |
| | 6075 | | case PayloadOneofCase.AttachEntityComponent: |
| | 6076 | | AttachEntityComponent = other.AttachEntityComponent.Clone(); |
| | 6077 | | break; |
| | 6078 | | case PayloadOneofCase.ComponentRemoved: |
| | 6079 | | ComponentRemoved = other.ComponentRemoved.Clone(); |
| | 6080 | | break; |
| | 6081 | | case PayloadOneofCase.SetEntityParent: |
| | 6082 | | SetEntityParent = other.SetEntityParent.Clone(); |
| | 6083 | | break; |
| | 6084 | | case PayloadOneofCase.Query: |
| | 6085 | | Query = other.Query.Clone(); |
| | 6086 | | break; |
| | 6087 | | case PayloadOneofCase.ComponentCreated: |
| | 6088 | | ComponentCreated = other.ComponentCreated.Clone(); |
| | 6089 | | break; |
| | 6090 | | case PayloadOneofCase.ComponentDisposed: |
| | 6091 | | ComponentDisposed = other.ComponentDisposed.Clone(); |
| | 6092 | | break; |
| | 6093 | | case PayloadOneofCase.ComponentUpdated: |
| | 6094 | | ComponentUpdated = other.ComponentUpdated.Clone(); |
| | 6095 | | break; |
| | 6096 | | case PayloadOneofCase.InitMessagesFinished: |
| | 6097 | | InitMessagesFinished = other.InitMessagesFinished.Clone(); |
| | 6098 | | break; |
| | 6099 | | } |
| | 6100 | |
|
| | 6101 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6102 | | } |
| | 6103 | |
|
| | 6104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6106 | | public EntityActionPayload Clone() { |
| | 6107 | | return new EntityActionPayload(this); |
| | 6108 | | } |
| | 6109 | |
|
| | 6110 | | /// <summary>Field number for the "open_external_url" field.</summary> |
| | 6111 | | public const int OpenExternalUrlFieldNumber = 1; |
| | 6112 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6113 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6114 | | public global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody OpenExternalUrl { |
| | 6115 | | get { return payloadCase_ == PayloadOneofCase.OpenExternalUrl ? (global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody |
| | 6116 | | set { |
| | 6117 | | payload_ = value; |
| | 6118 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.OpenExternalUrl; |
| | 6119 | | } |
| | 6120 | | } |
| | 6121 | |
|
| | 6122 | | /// <summary>Field number for the "open_nft_dialog" field.</summary> |
| | 6123 | | public const int OpenNftDialogFieldNumber = 2; |
| | 6124 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6125 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6126 | | public global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody OpenNftDialog { |
| | 6127 | | get { return payloadCase_ == PayloadOneofCase.OpenNftDialog ? (global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody) pa |
| | 6128 | | set { |
| | 6129 | | payload_ = value; |
| | 6130 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.OpenNftDialog; |
| | 6131 | | } |
| | 6132 | | } |
| | 6133 | |
|
| | 6134 | | /// <summary>Field number for the "create_entity" field.</summary> |
| | 6135 | | public const int CreateEntityFieldNumber = 3; |
| | 6136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6138 | | public global::Decentraland.Sdk.Ecs6.CreateEntityBody CreateEntity { |
| | 6139 | | get { return payloadCase_ == PayloadOneofCase.CreateEntity ? (global::Decentraland.Sdk.Ecs6.CreateEntityBody) payl |
| | 6140 | | set { |
| | 6141 | | payload_ = value; |
| | 6142 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.CreateEntity; |
| | 6143 | | } |
| | 6144 | | } |
| | 6145 | |
|
| | 6146 | | /// <summary>Field number for the "remove_entity" field.</summary> |
| | 6147 | | public const int RemoveEntityFieldNumber = 4; |
| | 6148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6150 | | public global::Decentraland.Sdk.Ecs6.RemoveEntityBody RemoveEntity { |
| | 6151 | | get { return payloadCase_ == PayloadOneofCase.RemoveEntity ? (global::Decentraland.Sdk.Ecs6.RemoveEntityBody) payl |
| | 6152 | | set { |
| | 6153 | | payload_ = value; |
| | 6154 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RemoveEntity; |
| | 6155 | | } |
| | 6156 | | } |
| | 6157 | |
|
| | 6158 | | /// <summary>Field number for the "update_entity_component" field.</summary> |
| | 6159 | | public const int UpdateEntityComponentFieldNumber = 5; |
| | 6160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6162 | | public global::Decentraland.Sdk.Ecs6.UpdateEntityComponentBody UpdateEntityComponent { |
| | 6163 | | get { return payloadCase_ == PayloadOneofCase.UpdateEntityComponent ? (global::Decentraland.Sdk.Ecs6.UpdateEntityC |
| | 6164 | | set { |
| | 6165 | | payload_ = value; |
| | 6166 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UpdateEntityComponent; |
| | 6167 | | } |
| | 6168 | | } |
| | 6169 | |
|
| | 6170 | | /// <summary>Field number for the "attach_entity_component" field.</summary> |
| | 6171 | | public const int AttachEntityComponentFieldNumber = 6; |
| | 6172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6174 | | public global::Decentraland.Sdk.Ecs6.AttachEntityComponentBody AttachEntityComponent { |
| | 6175 | | get { return payloadCase_ == PayloadOneofCase.AttachEntityComponent ? (global::Decentraland.Sdk.Ecs6.AttachEntityC |
| | 6176 | | set { |
| | 6177 | | payload_ = value; |
| | 6178 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AttachEntityComponent; |
| | 6179 | | } |
| | 6180 | | } |
| | 6181 | |
|
| | 6182 | | /// <summary>Field number for the "component_removed" field.</summary> |
| | 6183 | | public const int ComponentRemovedFieldNumber = 7; |
| | 6184 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6185 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6186 | | public global::Decentraland.Sdk.Ecs6.ComponentRemovedBody ComponentRemoved { |
| | 6187 | | get { return payloadCase_ == PayloadOneofCase.ComponentRemoved ? (global::Decentraland.Sdk.Ecs6.ComponentRemovedBo |
| | 6188 | | set { |
| | 6189 | | payload_ = value; |
| | 6190 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentRemoved; |
| | 6191 | | } |
| | 6192 | | } |
| | 6193 | |
|
| | 6194 | | /// <summary>Field number for the "set_entity_parent" field.</summary> |
| | 6195 | | public const int SetEntityParentFieldNumber = 8; |
| | 6196 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6197 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6198 | | public global::Decentraland.Sdk.Ecs6.SetEntityParentBody SetEntityParent { |
| | 6199 | | get { return payloadCase_ == PayloadOneofCase.SetEntityParent ? (global::Decentraland.Sdk.Ecs6.SetEntityParentBody |
| | 6200 | | set { |
| | 6201 | | payload_ = value; |
| | 6202 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SetEntityParent; |
| | 6203 | | } |
| | 6204 | | } |
| | 6205 | |
|
| | 6206 | | /// <summary>Field number for the "query" field.</summary> |
| | 6207 | | public const int QueryFieldNumber = 9; |
| | 6208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6210 | | public global::Decentraland.Sdk.Ecs6.QueryBody Query { |
| | 6211 | | get { return payloadCase_ == PayloadOneofCase.Query ? (global::Decentraland.Sdk.Ecs6.QueryBody) payload_ : null; } |
| | 6212 | | set { |
| | 6213 | | payload_ = value; |
| | 6214 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Query; |
| | 6215 | | } |
| | 6216 | | } |
| | 6217 | |
|
| | 6218 | | /// <summary>Field number for the "component_created" field.</summary> |
| | 6219 | | public const int ComponentCreatedFieldNumber = 10; |
| | 6220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6222 | | public global::Decentraland.Sdk.Ecs6.ComponentCreatedBody ComponentCreated { |
| | 6223 | | get { return payloadCase_ == PayloadOneofCase.ComponentCreated ? (global::Decentraland.Sdk.Ecs6.ComponentCreatedBo |
| | 6224 | | set { |
| | 6225 | | payload_ = value; |
| | 6226 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentCreated; |
| | 6227 | | } |
| | 6228 | | } |
| | 6229 | |
|
| | 6230 | | /// <summary>Field number for the "component_disposed" field.</summary> |
| | 6231 | | public const int ComponentDisposedFieldNumber = 11; |
| | 6232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6234 | | public global::Decentraland.Sdk.Ecs6.ComponentDisposedBody ComponentDisposed { |
| | 6235 | | get { return payloadCase_ == PayloadOneofCase.ComponentDisposed ? (global::Decentraland.Sdk.Ecs6.ComponentDisposed |
| | 6236 | | set { |
| | 6237 | | payload_ = value; |
| | 6238 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentDisposed; |
| | 6239 | | } |
| | 6240 | | } |
| | 6241 | |
|
| | 6242 | | /// <summary>Field number for the "component_updated" field.</summary> |
| | 6243 | | public const int ComponentUpdatedFieldNumber = 12; |
| | 6244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6246 | | public global::Decentraland.Sdk.Ecs6.ComponentUpdatedBody ComponentUpdated { |
| | 6247 | | get { return payloadCase_ == PayloadOneofCase.ComponentUpdated ? (global::Decentraland.Sdk.Ecs6.ComponentUpdatedBo |
| | 6248 | | set { |
| | 6249 | | payload_ = value; |
| | 6250 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentUpdated; |
| | 6251 | | } |
| | 6252 | | } |
| | 6253 | |
|
| | 6254 | | /// <summary>Field number for the "init_messages_finished" field.</summary> |
| | 6255 | | public const int InitMessagesFinishedFieldNumber = 13; |
| | 6256 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6257 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6258 | | public global::Decentraland.Sdk.Ecs6.InitMessagesFinishedBody InitMessagesFinished { |
| | 6259 | | get { return payloadCase_ == PayloadOneofCase.InitMessagesFinished ? (global::Decentraland.Sdk.Ecs6.InitMessagesFi |
| | 6260 | | set { |
| | 6261 | | payload_ = value; |
| | 6262 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.InitMessagesFinished; |
| | 6263 | | } |
| | 6264 | | } |
| | 6265 | |
|
| | 6266 | | private object payload_; |
| | 6267 | | /// <summary>Enum of possible cases for the "payload" oneof.</summary> |
| | 6268 | | public enum PayloadOneofCase { |
| | 6269 | | None = 0, |
| | 6270 | | OpenExternalUrl = 1, |
| | 6271 | | OpenNftDialog = 2, |
| | 6272 | | CreateEntity = 3, |
| | 6273 | | RemoveEntity = 4, |
| | 6274 | | UpdateEntityComponent = 5, |
| | 6275 | | AttachEntityComponent = 6, |
| | 6276 | | ComponentRemoved = 7, |
| | 6277 | | SetEntityParent = 8, |
| | 6278 | | Query = 9, |
| | 6279 | | ComponentCreated = 10, |
| | 6280 | | ComponentDisposed = 11, |
| | 6281 | | ComponentUpdated = 12, |
| | 6282 | | InitMessagesFinished = 13, |
| | 6283 | | } |
| | 6284 | | private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; |
| | 6285 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6286 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6287 | | public PayloadOneofCase PayloadCase { |
| | 6288 | | get { return payloadCase_; } |
| | 6289 | | } |
| | 6290 | |
|
| | 6291 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6292 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6293 | | public void ClearPayload() { |
| | 6294 | | payloadCase_ = PayloadOneofCase.None; |
| | 6295 | | payload_ = null; |
| | 6296 | | } |
| | 6297 | |
|
| | 6298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6300 | | public override bool Equals(object other) { |
| | 6301 | | return Equals(other as EntityActionPayload); |
| | 6302 | | } |
| | 6303 | |
|
| | 6304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6306 | | public bool Equals(EntityActionPayload other) { |
| | 6307 | | if (ReferenceEquals(other, null)) { |
| | 6308 | | return false; |
| | 6309 | | } |
| | 6310 | | if (ReferenceEquals(other, this)) { |
| | 6311 | | return true; |
| | 6312 | | } |
| | 6313 | | if (!object.Equals(OpenExternalUrl, other.OpenExternalUrl)) return false; |
| | 6314 | | if (!object.Equals(OpenNftDialog, other.OpenNftDialog)) return false; |
| | 6315 | | if (!object.Equals(CreateEntity, other.CreateEntity)) return false; |
| | 6316 | | if (!object.Equals(RemoveEntity, other.RemoveEntity)) return false; |
| | 6317 | | if (!object.Equals(UpdateEntityComponent, other.UpdateEntityComponent)) return false; |
| | 6318 | | if (!object.Equals(AttachEntityComponent, other.AttachEntityComponent)) return false; |
| | 6319 | | if (!object.Equals(ComponentRemoved, other.ComponentRemoved)) return false; |
| | 6320 | | if (!object.Equals(SetEntityParent, other.SetEntityParent)) return false; |
| | 6321 | | if (!object.Equals(Query, other.Query)) return false; |
| | 6322 | | if (!object.Equals(ComponentCreated, other.ComponentCreated)) return false; |
| | 6323 | | if (!object.Equals(ComponentDisposed, other.ComponentDisposed)) return false; |
| | 6324 | | if (!object.Equals(ComponentUpdated, other.ComponentUpdated)) return false; |
| | 6325 | | if (!object.Equals(InitMessagesFinished, other.InitMessagesFinished)) return false; |
| | 6326 | | if (PayloadCase != other.PayloadCase) return false; |
| | 6327 | | return Equals(_unknownFields, other._unknownFields); |
| | 6328 | | } |
| | 6329 | |
|
| | 6330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6332 | | public override int GetHashCode() { |
| | 6333 | | int hash = 1; |
| | 6334 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) hash ^= OpenExternalUrl.GetHashCode(); |
| | 6335 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) hash ^= OpenNftDialog.GetHashCode(); |
| | 6336 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) hash ^= CreateEntity.GetHashCode(); |
| | 6337 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) hash ^= RemoveEntity.GetHashCode(); |
| | 6338 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) hash ^= UpdateEntityComponent.GetHashCode(); |
| | 6339 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) hash ^= AttachEntityComponent.GetHashCode(); |
| | 6340 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) hash ^= ComponentRemoved.GetHashCode(); |
| | 6341 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) hash ^= SetEntityParent.GetHashCode(); |
| | 6342 | | if (payloadCase_ == PayloadOneofCase.Query) hash ^= Query.GetHashCode(); |
| | 6343 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) hash ^= ComponentCreated.GetHashCode(); |
| | 6344 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) hash ^= ComponentDisposed.GetHashCode(); |
| | 6345 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) hash ^= ComponentUpdated.GetHashCode(); |
| | 6346 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) hash ^= InitMessagesFinished.GetHashCode(); |
| | 6347 | | hash ^= (int) payloadCase_; |
| | 6348 | | if (_unknownFields != null) { |
| | 6349 | | hash ^= _unknownFields.GetHashCode(); |
| | 6350 | | } |
| | 6351 | | return hash; |
| | 6352 | | } |
| | 6353 | |
|
| | 6354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6356 | | public override string ToString() { |
| | 6357 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6358 | | } |
| | 6359 | |
|
| | 6360 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6361 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6362 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6363 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6364 | | output.WriteRawMessage(this); |
| | 6365 | | #else |
| | 6366 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 6367 | | output.WriteRawTag(10); |
| | 6368 | | output.WriteMessage(OpenExternalUrl); |
| | 6369 | | } |
| | 6370 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) { |
| | 6371 | | output.WriteRawTag(18); |
| | 6372 | | output.WriteMessage(OpenNftDialog); |
| | 6373 | | } |
| | 6374 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 6375 | | output.WriteRawTag(26); |
| | 6376 | | output.WriteMessage(CreateEntity); |
| | 6377 | | } |
| | 6378 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 6379 | | output.WriteRawTag(34); |
| | 6380 | | output.WriteMessage(RemoveEntity); |
| | 6381 | | } |
| | 6382 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 6383 | | output.WriteRawTag(42); |
| | 6384 | | output.WriteMessage(UpdateEntityComponent); |
| | 6385 | | } |
| | 6386 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 6387 | | output.WriteRawTag(50); |
| | 6388 | | output.WriteMessage(AttachEntityComponent); |
| | 6389 | | } |
| | 6390 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 6391 | | output.WriteRawTag(58); |
| | 6392 | | output.WriteMessage(ComponentRemoved); |
| | 6393 | | } |
| | 6394 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 6395 | | output.WriteRawTag(66); |
| | 6396 | | output.WriteMessage(SetEntityParent); |
| | 6397 | | } |
| | 6398 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 6399 | | output.WriteRawTag(74); |
| | 6400 | | output.WriteMessage(Query); |
| | 6401 | | } |
| | 6402 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 6403 | | output.WriteRawTag(82); |
| | 6404 | | output.WriteMessage(ComponentCreated); |
| | 6405 | | } |
| | 6406 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 6407 | | output.WriteRawTag(90); |
| | 6408 | | output.WriteMessage(ComponentDisposed); |
| | 6409 | | } |
| | 6410 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 6411 | | output.WriteRawTag(98); |
| | 6412 | | output.WriteMessage(ComponentUpdated); |
| | 6413 | | } |
| | 6414 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) { |
| | 6415 | | output.WriteRawTag(106); |
| | 6416 | | output.WriteMessage(InitMessagesFinished); |
| | 6417 | | } |
| | 6418 | | if (_unknownFields != null) { |
| | 6419 | | _unknownFields.WriteTo(output); |
| | 6420 | | } |
| | 6421 | | #endif |
| | 6422 | | } |
| | 6423 | |
|
| | 6424 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6427 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6428 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 6429 | | output.WriteRawTag(10); |
| | 6430 | | output.WriteMessage(OpenExternalUrl); |
| | 6431 | | } |
| | 6432 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) { |
| | 6433 | | output.WriteRawTag(18); |
| | 6434 | | output.WriteMessage(OpenNftDialog); |
| | 6435 | | } |
| | 6436 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 6437 | | output.WriteRawTag(26); |
| | 6438 | | output.WriteMessage(CreateEntity); |
| | 6439 | | } |
| | 6440 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 6441 | | output.WriteRawTag(34); |
| | 6442 | | output.WriteMessage(RemoveEntity); |
| | 6443 | | } |
| | 6444 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 6445 | | output.WriteRawTag(42); |
| | 6446 | | output.WriteMessage(UpdateEntityComponent); |
| | 6447 | | } |
| | 6448 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 6449 | | output.WriteRawTag(50); |
| | 6450 | | output.WriteMessage(AttachEntityComponent); |
| | 6451 | | } |
| | 6452 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 6453 | | output.WriteRawTag(58); |
| | 6454 | | output.WriteMessage(ComponentRemoved); |
| | 6455 | | } |
| | 6456 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 6457 | | output.WriteRawTag(66); |
| | 6458 | | output.WriteMessage(SetEntityParent); |
| | 6459 | | } |
| | 6460 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 6461 | | output.WriteRawTag(74); |
| | 6462 | | output.WriteMessage(Query); |
| | 6463 | | } |
| | 6464 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 6465 | | output.WriteRawTag(82); |
| | 6466 | | output.WriteMessage(ComponentCreated); |
| | 6467 | | } |
| | 6468 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 6469 | | output.WriteRawTag(90); |
| | 6470 | | output.WriteMessage(ComponentDisposed); |
| | 6471 | | } |
| | 6472 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 6473 | | output.WriteRawTag(98); |
| | 6474 | | output.WriteMessage(ComponentUpdated); |
| | 6475 | | } |
| | 6476 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) { |
| | 6477 | | output.WriteRawTag(106); |
| | 6478 | | output.WriteMessage(InitMessagesFinished); |
| | 6479 | | } |
| | 6480 | | if (_unknownFields != null) { |
| | 6481 | | _unknownFields.WriteTo(ref output); |
| | 6482 | | } |
| | 6483 | | } |
| | 6484 | | #endif |
| | 6485 | |
|
| | 6486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6488 | | public int CalculateSize() { |
| | 6489 | | int size = 0; |
| | 6490 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 6491 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OpenExternalUrl); |
| | 6492 | | } |
| | 6493 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) { |
| | 6494 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OpenNftDialog); |
| | 6495 | | } |
| | 6496 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 6497 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateEntity); |
| | 6498 | | } |
| | 6499 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 6500 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemoveEntity); |
| | 6501 | | } |
| | 6502 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 6503 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateEntityComponent); |
| | 6504 | | } |
| | 6505 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 6506 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttachEntityComponent); |
| | 6507 | | } |
| | 6508 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 6509 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentRemoved); |
| | 6510 | | } |
| | 6511 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 6512 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetEntityParent); |
| | 6513 | | } |
| | 6514 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 6515 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Query); |
| | 6516 | | } |
| | 6517 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 6518 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentCreated); |
| | 6519 | | } |
| | 6520 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 6521 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentDisposed); |
| | 6522 | | } |
| | 6523 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 6524 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentUpdated); |
| | 6525 | | } |
| | 6526 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) { |
| | 6527 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(InitMessagesFinished); |
| | 6528 | | } |
| | 6529 | | if (_unknownFields != null) { |
| | 6530 | | size += _unknownFields.CalculateSize(); |
| | 6531 | | } |
| | 6532 | | return size; |
| | 6533 | | } |
| | 6534 | |
|
| | 6535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6537 | | public void MergeFrom(EntityActionPayload other) { |
| | 6538 | | if (other == null) { |
| | 6539 | | return; |
| | 6540 | | } |
| | 6541 | | switch (other.PayloadCase) { |
| | 6542 | | case PayloadOneofCase.OpenExternalUrl: |
| | 6543 | | if (OpenExternalUrl == null) { |
| | 6544 | | OpenExternalUrl = new global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody(); |
| | 6545 | | } |
| | 6546 | | OpenExternalUrl.MergeFrom(other.OpenExternalUrl); |
| | 6547 | | break; |
| | 6548 | | case PayloadOneofCase.OpenNftDialog: |
| | 6549 | | if (OpenNftDialog == null) { |
| | 6550 | | OpenNftDialog = new global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody(); |
| | 6551 | | } |
| | 6552 | | OpenNftDialog.MergeFrom(other.OpenNftDialog); |
| | 6553 | | break; |
| | 6554 | | case PayloadOneofCase.CreateEntity: |
| | 6555 | | if (CreateEntity == null) { |
| | 6556 | | CreateEntity = new global::Decentraland.Sdk.Ecs6.CreateEntityBody(); |
| | 6557 | | } |
| | 6558 | | CreateEntity.MergeFrom(other.CreateEntity); |
| | 6559 | | break; |
| | 6560 | | case PayloadOneofCase.RemoveEntity: |
| | 6561 | | if (RemoveEntity == null) { |
| | 6562 | | RemoveEntity = new global::Decentraland.Sdk.Ecs6.RemoveEntityBody(); |
| | 6563 | | } |
| | 6564 | | RemoveEntity.MergeFrom(other.RemoveEntity); |
| | 6565 | | break; |
| | 6566 | | case PayloadOneofCase.UpdateEntityComponent: |
| | 6567 | | if (UpdateEntityComponent == null) { |
| | 6568 | | UpdateEntityComponent = new global::Decentraland.Sdk.Ecs6.UpdateEntityComponentBody(); |
| | 6569 | | } |
| | 6570 | | UpdateEntityComponent.MergeFrom(other.UpdateEntityComponent); |
| | 6571 | | break; |
| | 6572 | | case PayloadOneofCase.AttachEntityComponent: |
| | 6573 | | if (AttachEntityComponent == null) { |
| | 6574 | | AttachEntityComponent = new global::Decentraland.Sdk.Ecs6.AttachEntityComponentBody(); |
| | 6575 | | } |
| | 6576 | | AttachEntityComponent.MergeFrom(other.AttachEntityComponent); |
| | 6577 | | break; |
| | 6578 | | case PayloadOneofCase.ComponentRemoved: |
| | 6579 | | if (ComponentRemoved == null) { |
| | 6580 | | ComponentRemoved = new global::Decentraland.Sdk.Ecs6.ComponentRemovedBody(); |
| | 6581 | | } |
| | 6582 | | ComponentRemoved.MergeFrom(other.ComponentRemoved); |
| | 6583 | | break; |
| | 6584 | | case PayloadOneofCase.SetEntityParent: |
| | 6585 | | if (SetEntityParent == null) { |
| | 6586 | | SetEntityParent = new global::Decentraland.Sdk.Ecs6.SetEntityParentBody(); |
| | 6587 | | } |
| | 6588 | | SetEntityParent.MergeFrom(other.SetEntityParent); |
| | 6589 | | break; |
| | 6590 | | case PayloadOneofCase.Query: |
| | 6591 | | if (Query == null) { |
| | 6592 | | Query = new global::Decentraland.Sdk.Ecs6.QueryBody(); |
| | 6593 | | } |
| | 6594 | | Query.MergeFrom(other.Query); |
| | 6595 | | break; |
| | 6596 | | case PayloadOneofCase.ComponentCreated: |
| | 6597 | | if (ComponentCreated == null) { |
| | 6598 | | ComponentCreated = new global::Decentraland.Sdk.Ecs6.ComponentCreatedBody(); |
| | 6599 | | } |
| | 6600 | | ComponentCreated.MergeFrom(other.ComponentCreated); |
| | 6601 | | break; |
| | 6602 | | case PayloadOneofCase.ComponentDisposed: |
| | 6603 | | if (ComponentDisposed == null) { |
| | 6604 | | ComponentDisposed = new global::Decentraland.Sdk.Ecs6.ComponentDisposedBody(); |
| | 6605 | | } |
| | 6606 | | ComponentDisposed.MergeFrom(other.ComponentDisposed); |
| | 6607 | | break; |
| | 6608 | | case PayloadOneofCase.ComponentUpdated: |
| | 6609 | | if (ComponentUpdated == null) { |
| | 6610 | | ComponentUpdated = new global::Decentraland.Sdk.Ecs6.ComponentUpdatedBody(); |
| | 6611 | | } |
| | 6612 | | ComponentUpdated.MergeFrom(other.ComponentUpdated); |
| | 6613 | | break; |
| | 6614 | | case PayloadOneofCase.InitMessagesFinished: |
| | 6615 | | if (InitMessagesFinished == null) { |
| | 6616 | | InitMessagesFinished = new global::Decentraland.Sdk.Ecs6.InitMessagesFinishedBody(); |
| | 6617 | | } |
| | 6618 | | InitMessagesFinished.MergeFrom(other.InitMessagesFinished); |
| | 6619 | | break; |
| | 6620 | | } |
| | 6621 | |
|
| | 6622 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6623 | | } |
| | 6624 | |
|
| | 6625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6627 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6628 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6629 | | input.ReadRawMessage(this); |
| | 6630 | | #else |
| | 6631 | | uint tag; |
| | 6632 | | while ((tag = input.ReadTag()) != 0) { |
| | 6633 | | switch(tag) { |
| | 6634 | | default: |
| | 6635 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6636 | | break; |
| | 6637 | | case 10: { |
| | 6638 | | global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody subBuilder = new global::Decentraland.Sdk.Ecs6.OpenExterna |
| | 6639 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 6640 | | subBuilder.MergeFrom(OpenExternalUrl); |
| | 6641 | | } |
| | 6642 | | input.ReadMessage(subBuilder); |
| | 6643 | | OpenExternalUrl = subBuilder; |
| | 6644 | | break; |
| | 6645 | | } |
| | 6646 | | case 18: { |
| | 6647 | | global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody subBuilder = new global::Decentraland.Sdk.Ecs6.OpenNFTDialog |
| | 6648 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) { |
| | 6649 | | subBuilder.MergeFrom(OpenNftDialog); |
| | 6650 | | } |
| | 6651 | | input.ReadMessage(subBuilder); |
| | 6652 | | OpenNftDialog = subBuilder; |
| | 6653 | | break; |
| | 6654 | | } |
| | 6655 | | case 26: { |
| | 6656 | | global::Decentraland.Sdk.Ecs6.CreateEntityBody subBuilder = new global::Decentraland.Sdk.Ecs6.CreateEntityBo |
| | 6657 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 6658 | | subBuilder.MergeFrom(CreateEntity); |
| | 6659 | | } |
| | 6660 | | input.ReadMessage(subBuilder); |
| | 6661 | | CreateEntity = subBuilder; |
| | 6662 | | break; |
| | 6663 | | } |
| | 6664 | | case 34: { |
| | 6665 | | global::Decentraland.Sdk.Ecs6.RemoveEntityBody subBuilder = new global::Decentraland.Sdk.Ecs6.RemoveEntityBo |
| | 6666 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 6667 | | subBuilder.MergeFrom(RemoveEntity); |
| | 6668 | | } |
| | 6669 | | input.ReadMessage(subBuilder); |
| | 6670 | | RemoveEntity = subBuilder; |
| | 6671 | | break; |
| | 6672 | | } |
| | 6673 | | case 42: { |
| | 6674 | | global::Decentraland.Sdk.Ecs6.UpdateEntityComponentBody subBuilder = new global::Decentraland.Sdk.Ecs6.Updat |
| | 6675 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 6676 | | subBuilder.MergeFrom(UpdateEntityComponent); |
| | 6677 | | } |
| | 6678 | | input.ReadMessage(subBuilder); |
| | 6679 | | UpdateEntityComponent = subBuilder; |
| | 6680 | | break; |
| | 6681 | | } |
| | 6682 | | case 50: { |
| | 6683 | | global::Decentraland.Sdk.Ecs6.AttachEntityComponentBody subBuilder = new global::Decentraland.Sdk.Ecs6.Attac |
| | 6684 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 6685 | | subBuilder.MergeFrom(AttachEntityComponent); |
| | 6686 | | } |
| | 6687 | | input.ReadMessage(subBuilder); |
| | 6688 | | AttachEntityComponent = subBuilder; |
| | 6689 | | break; |
| | 6690 | | } |
| | 6691 | | case 58: { |
| | 6692 | | global::Decentraland.Sdk.Ecs6.ComponentRemovedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentR |
| | 6693 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 6694 | | subBuilder.MergeFrom(ComponentRemoved); |
| | 6695 | | } |
| | 6696 | | input.ReadMessage(subBuilder); |
| | 6697 | | ComponentRemoved = subBuilder; |
| | 6698 | | break; |
| | 6699 | | } |
| | 6700 | | case 66: { |
| | 6701 | | global::Decentraland.Sdk.Ecs6.SetEntityParentBody subBuilder = new global::Decentraland.Sdk.Ecs6.SetEntityPa |
| | 6702 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 6703 | | subBuilder.MergeFrom(SetEntityParent); |
| | 6704 | | } |
| | 6705 | | input.ReadMessage(subBuilder); |
| | 6706 | | SetEntityParent = subBuilder; |
| | 6707 | | break; |
| | 6708 | | } |
| | 6709 | | case 74: { |
| | 6710 | | global::Decentraland.Sdk.Ecs6.QueryBody subBuilder = new global::Decentraland.Sdk.Ecs6.QueryBody(); |
| | 6711 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 6712 | | subBuilder.MergeFrom(Query); |
| | 6713 | | } |
| | 6714 | | input.ReadMessage(subBuilder); |
| | 6715 | | Query = subBuilder; |
| | 6716 | | break; |
| | 6717 | | } |
| | 6718 | | case 82: { |
| | 6719 | | global::Decentraland.Sdk.Ecs6.ComponentCreatedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentC |
| | 6720 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 6721 | | subBuilder.MergeFrom(ComponentCreated); |
| | 6722 | | } |
| | 6723 | | input.ReadMessage(subBuilder); |
| | 6724 | | ComponentCreated = subBuilder; |
| | 6725 | | break; |
| | 6726 | | } |
| | 6727 | | case 90: { |
| | 6728 | | global::Decentraland.Sdk.Ecs6.ComponentDisposedBody subBuilder = new global::Decentraland.Sdk.Ecs6.Component |
| | 6729 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 6730 | | subBuilder.MergeFrom(ComponentDisposed); |
| | 6731 | | } |
| | 6732 | | input.ReadMessage(subBuilder); |
| | 6733 | | ComponentDisposed = subBuilder; |
| | 6734 | | break; |
| | 6735 | | } |
| | 6736 | | case 98: { |
| | 6737 | | global::Decentraland.Sdk.Ecs6.ComponentUpdatedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentU |
| | 6738 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 6739 | | subBuilder.MergeFrom(ComponentUpdated); |
| | 6740 | | } |
| | 6741 | | input.ReadMessage(subBuilder); |
| | 6742 | | ComponentUpdated = subBuilder; |
| | 6743 | | break; |
| | 6744 | | } |
| | 6745 | | case 106: { |
| | 6746 | | global::Decentraland.Sdk.Ecs6.InitMessagesFinishedBody subBuilder = new global::Decentraland.Sdk.Ecs6.InitMe |
| | 6747 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) { |
| | 6748 | | subBuilder.MergeFrom(InitMessagesFinished); |
| | 6749 | | } |
| | 6750 | | input.ReadMessage(subBuilder); |
| | 6751 | | InitMessagesFinished = subBuilder; |
| | 6752 | | break; |
| | 6753 | | } |
| | 6754 | | } |
| | 6755 | | } |
| | 6756 | | #endif |
| | 6757 | | } |
| | 6758 | |
|
| | 6759 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6762 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6763 | | uint tag; |
| | 6764 | | while ((tag = input.ReadTag()) != 0) { |
| | 6765 | | switch(tag) { |
| | 6766 | | default: |
| | 6767 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6768 | | break; |
| | 6769 | | case 10: { |
| | 6770 | | global::Decentraland.Sdk.Ecs6.OpenExternalUrlBody subBuilder = new global::Decentraland.Sdk.Ecs6.OpenExterna |
| | 6771 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 6772 | | subBuilder.MergeFrom(OpenExternalUrl); |
| | 6773 | | } |
| | 6774 | | input.ReadMessage(subBuilder); |
| | 6775 | | OpenExternalUrl = subBuilder; |
| | 6776 | | break; |
| | 6777 | | } |
| | 6778 | | case 18: { |
| | 6779 | | global::Decentraland.Sdk.Ecs6.OpenNFTDialogBody subBuilder = new global::Decentraland.Sdk.Ecs6.OpenNFTDialog |
| | 6780 | | if (payloadCase_ == PayloadOneofCase.OpenNftDialog) { |
| | 6781 | | subBuilder.MergeFrom(OpenNftDialog); |
| | 6782 | | } |
| | 6783 | | input.ReadMessage(subBuilder); |
| | 6784 | | OpenNftDialog = subBuilder; |
| | 6785 | | break; |
| | 6786 | | } |
| | 6787 | | case 26: { |
| | 6788 | | global::Decentraland.Sdk.Ecs6.CreateEntityBody subBuilder = new global::Decentraland.Sdk.Ecs6.CreateEntityBo |
| | 6789 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 6790 | | subBuilder.MergeFrom(CreateEntity); |
| | 6791 | | } |
| | 6792 | | input.ReadMessage(subBuilder); |
| | 6793 | | CreateEntity = subBuilder; |
| | 6794 | | break; |
| | 6795 | | } |
| | 6796 | | case 34: { |
| | 6797 | | global::Decentraland.Sdk.Ecs6.RemoveEntityBody subBuilder = new global::Decentraland.Sdk.Ecs6.RemoveEntityBo |
| | 6798 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 6799 | | subBuilder.MergeFrom(RemoveEntity); |
| | 6800 | | } |
| | 6801 | | input.ReadMessage(subBuilder); |
| | 6802 | | RemoveEntity = subBuilder; |
| | 6803 | | break; |
| | 6804 | | } |
| | 6805 | | case 42: { |
| | 6806 | | global::Decentraland.Sdk.Ecs6.UpdateEntityComponentBody subBuilder = new global::Decentraland.Sdk.Ecs6.Updat |
| | 6807 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 6808 | | subBuilder.MergeFrom(UpdateEntityComponent); |
| | 6809 | | } |
| | 6810 | | input.ReadMessage(subBuilder); |
| | 6811 | | UpdateEntityComponent = subBuilder; |
| | 6812 | | break; |
| | 6813 | | } |
| | 6814 | | case 50: { |
| | 6815 | | global::Decentraland.Sdk.Ecs6.AttachEntityComponentBody subBuilder = new global::Decentraland.Sdk.Ecs6.Attac |
| | 6816 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 6817 | | subBuilder.MergeFrom(AttachEntityComponent); |
| | 6818 | | } |
| | 6819 | | input.ReadMessage(subBuilder); |
| | 6820 | | AttachEntityComponent = subBuilder; |
| | 6821 | | break; |
| | 6822 | | } |
| | 6823 | | case 58: { |
| | 6824 | | global::Decentraland.Sdk.Ecs6.ComponentRemovedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentR |
| | 6825 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 6826 | | subBuilder.MergeFrom(ComponentRemoved); |
| | 6827 | | } |
| | 6828 | | input.ReadMessage(subBuilder); |
| | 6829 | | ComponentRemoved = subBuilder; |
| | 6830 | | break; |
| | 6831 | | } |
| | 6832 | | case 66: { |
| | 6833 | | global::Decentraland.Sdk.Ecs6.SetEntityParentBody subBuilder = new global::Decentraland.Sdk.Ecs6.SetEntityPa |
| | 6834 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 6835 | | subBuilder.MergeFrom(SetEntityParent); |
| | 6836 | | } |
| | 6837 | | input.ReadMessage(subBuilder); |
| | 6838 | | SetEntityParent = subBuilder; |
| | 6839 | | break; |
| | 6840 | | } |
| | 6841 | | case 74: { |
| | 6842 | | global::Decentraland.Sdk.Ecs6.QueryBody subBuilder = new global::Decentraland.Sdk.Ecs6.QueryBody(); |
| | 6843 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 6844 | | subBuilder.MergeFrom(Query); |
| | 6845 | | } |
| | 6846 | | input.ReadMessage(subBuilder); |
| | 6847 | | Query = subBuilder; |
| | 6848 | | break; |
| | 6849 | | } |
| | 6850 | | case 82: { |
| | 6851 | | global::Decentraland.Sdk.Ecs6.ComponentCreatedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentC |
| | 6852 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 6853 | | subBuilder.MergeFrom(ComponentCreated); |
| | 6854 | | } |
| | 6855 | | input.ReadMessage(subBuilder); |
| | 6856 | | ComponentCreated = subBuilder; |
| | 6857 | | break; |
| | 6858 | | } |
| | 6859 | | case 90: { |
| | 6860 | | global::Decentraland.Sdk.Ecs6.ComponentDisposedBody subBuilder = new global::Decentraland.Sdk.Ecs6.Component |
| | 6861 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 6862 | | subBuilder.MergeFrom(ComponentDisposed); |
| | 6863 | | } |
| | 6864 | | input.ReadMessage(subBuilder); |
| | 6865 | | ComponentDisposed = subBuilder; |
| | 6866 | | break; |
| | 6867 | | } |
| | 6868 | | case 98: { |
| | 6869 | | global::Decentraland.Sdk.Ecs6.ComponentUpdatedBody subBuilder = new global::Decentraland.Sdk.Ecs6.ComponentU |
| | 6870 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 6871 | | subBuilder.MergeFrom(ComponentUpdated); |
| | 6872 | | } |
| | 6873 | | input.ReadMessage(subBuilder); |
| | 6874 | | ComponentUpdated = subBuilder; |
| | 6875 | | break; |
| | 6876 | | } |
| | 6877 | | case 106: { |
| | 6878 | | global::Decentraland.Sdk.Ecs6.InitMessagesFinishedBody subBuilder = new global::Decentraland.Sdk.Ecs6.InitMe |
| | 6879 | | if (payloadCase_ == PayloadOneofCase.InitMessagesFinished) { |
| | 6880 | | subBuilder.MergeFrom(InitMessagesFinished); |
| | 6881 | | } |
| | 6882 | | input.ReadMessage(subBuilder); |
| | 6883 | | InitMessagesFinished = subBuilder; |
| | 6884 | | break; |
| | 6885 | | } |
| | 6886 | | } |
| | 6887 | | } |
| | 6888 | | } |
| | 6889 | | #endif |
| | 6890 | |
|
| | 6891 | | } |
| | 6892 | |
|
| | 6893 | | public sealed partial class EntityAction : pb::IMessage<EntityAction> |
| | 6894 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6895 | | , pb::IBufferMessage |
| | 6896 | | #endif |
| | 6897 | | { |
| | 6898 | | private static readonly pb::MessageParser<EntityAction> _parser = new pb::MessageParser<EntityAction>(() => new Enti |
| | 6899 | | private pb::UnknownFieldSet _unknownFields; |
| | 6900 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6901 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6902 | | public static pb::MessageParser<EntityAction> Parser { get { return _parser; } } |
| | 6903 | |
|
| | 6904 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6905 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6906 | | public static pbr::MessageDescriptor Descriptor { |
| | 6907 | | get { return global::Decentraland.Sdk.Ecs6.EngineInterfaceEcs6Reflection.Descriptor.MessageTypes[15]; } |
| | 6908 | | } |
| | 6909 | |
|
| | 6910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6912 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6913 | | get { return Descriptor; } |
| | 6914 | | } |
| | 6915 | |
|
| | 6916 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6917 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6918 | | public EntityAction() { |
| | 6919 | | OnConstruction(); |
| | 6920 | | } |
| | 6921 | |
|
| | 6922 | | partial void OnConstruction(); |
| | 6923 | |
|
| | 6924 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6925 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6926 | | public EntityAction(EntityAction other) : this() { |
| | 6927 | | tag_ = other.tag_; |
| | 6928 | | payload_ = other.payload_ != null ? other.payload_.Clone() : null; |
| | 6929 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6930 | | } |
| | 6931 | |
|
| | 6932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6934 | | public EntityAction Clone() { |
| | 6935 | | return new EntityAction(this); |
| | 6936 | | } |
| | 6937 | |
|
| | 6938 | | /// <summary>Field number for the "tag" field.</summary> |
| | 6939 | | public const int TagFieldNumber = 2; |
| | 6940 | | private string tag_; |
| | 6941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6943 | | public string Tag { |
| | 6944 | | get { return tag_ ?? ""; } |
| | 6945 | | set { |
| | 6946 | | tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6947 | | } |
| | 6948 | | } |
| | 6949 | | /// <summary>Gets whether the "tag" field is set</summary> |
| | 6950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6952 | | public bool HasTag { |
| | 6953 | | get { return tag_ != null; } |
| | 6954 | | } |
| | 6955 | | /// <summary>Clears the value of the "tag" field</summary> |
| | 6956 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6957 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6958 | | public void ClearTag() { |
| | 6959 | | tag_ = null; |
| | 6960 | | } |
| | 6961 | |
|
| | 6962 | | /// <summary>Field number for the "payload" field.</summary> |
| | 6963 | | public const int PayloadFieldNumber = 3; |
| | 6964 | | private global::Decentraland.Sdk.Ecs6.EntityActionPayload payload_; |
| | 6965 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6966 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6967 | | public global::Decentraland.Sdk.Ecs6.EntityActionPayload Payload { |
| | 6968 | | get { return payload_; } |
| | 6969 | | set { |
| | 6970 | | payload_ = value; |
| | 6971 | | } |
| | 6972 | | } |
| | 6973 | |
|
| | 6974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6976 | | public override bool Equals(object other) { |
| | 6977 | | return Equals(other as EntityAction); |
| | 6978 | | } |
| | 6979 | |
|
| | 6980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6982 | | public bool Equals(EntityAction other) { |
| | 6983 | | if (ReferenceEquals(other, null)) { |
| | 6984 | | return false; |
| | 6985 | | } |
| | 6986 | | if (ReferenceEquals(other, this)) { |
| | 6987 | | return true; |
| | 6988 | | } |
| | 6989 | | if (Tag != other.Tag) return false; |
| | 6990 | | if (!object.Equals(Payload, other.Payload)) return false; |
| | 6991 | | return Equals(_unknownFields, other._unknownFields); |
| | 6992 | | } |
| | 6993 | |
|
| | 6994 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6995 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6996 | | public override int GetHashCode() { |
| | 6997 | | int hash = 1; |
| | 6998 | | if (HasTag) hash ^= Tag.GetHashCode(); |
| | 6999 | | if (payload_ != null) hash ^= Payload.GetHashCode(); |
| | 7000 | | if (_unknownFields != null) { |
| | 7001 | | hash ^= _unknownFields.GetHashCode(); |
| | 7002 | | } |
| | 7003 | | return hash; |
| | 7004 | | } |
| | 7005 | |
|
| | 7006 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7007 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7008 | | public override string ToString() { |
| | 7009 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7010 | | } |
| | 7011 | |
|
| | 7012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7014 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7015 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7016 | | output.WriteRawMessage(this); |
| | 7017 | | #else |
| | 7018 | | if (HasTag) { |
| | 7019 | | output.WriteRawTag(18); |
| | 7020 | | output.WriteString(Tag); |
| | 7021 | | } |
| | 7022 | | if (payload_ != null) { |
| | 7023 | | output.WriteRawTag(26); |
| | 7024 | | output.WriteMessage(Payload); |
| | 7025 | | } |
| | 7026 | | if (_unknownFields != null) { |
| | 7027 | | _unknownFields.WriteTo(output); |
| | 7028 | | } |
| | 7029 | | #endif |
| | 7030 | | } |
| | 7031 | |
|
| | 7032 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7035 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7036 | | if (HasTag) { |
| | 7037 | | output.WriteRawTag(18); |
| | 7038 | | output.WriteString(Tag); |
| | 7039 | | } |
| | 7040 | | if (payload_ != null) { |
| | 7041 | | output.WriteRawTag(26); |
| | 7042 | | output.WriteMessage(Payload); |
| | 7043 | | } |
| | 7044 | | if (_unknownFields != null) { |
| | 7045 | | _unknownFields.WriteTo(ref output); |
| | 7046 | | } |
| | 7047 | | } |
| | 7048 | | #endif |
| | 7049 | |
|
| | 7050 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7051 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7052 | | public int CalculateSize() { |
| | 7053 | | int size = 0; |
| | 7054 | | if (HasTag) { |
| | 7055 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); |
| | 7056 | | } |
| | 7057 | | if (payload_ != null) { |
| | 7058 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); |
| | 7059 | | } |
| | 7060 | | if (_unknownFields != null) { |
| | 7061 | | size += _unknownFields.CalculateSize(); |
| | 7062 | | } |
| | 7063 | | return size; |
| | 7064 | | } |
| | 7065 | |
|
| | 7066 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7067 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7068 | | public void MergeFrom(EntityAction other) { |
| | 7069 | | if (other == null) { |
| | 7070 | | return; |
| | 7071 | | } |
| | 7072 | | if (other.HasTag) { |
| | 7073 | | Tag = other.Tag; |
| | 7074 | | } |
| | 7075 | | if (other.payload_ != null) { |
| | 7076 | | if (payload_ == null) { |
| | 7077 | | Payload = new global::Decentraland.Sdk.Ecs6.EntityActionPayload(); |
| | 7078 | | } |
| | 7079 | | Payload.MergeFrom(other.Payload); |
| | 7080 | | } |
| | 7081 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7082 | | } |
| | 7083 | |
|
| | 7084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7086 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7087 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7088 | | input.ReadRawMessage(this); |
| | 7089 | | #else |
| | 7090 | | uint tag; |
| | 7091 | | while ((tag = input.ReadTag()) != 0) { |
| | 7092 | | switch(tag) { |
| | 7093 | | default: |
| | 7094 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7095 | | break; |
| | 7096 | | case 18: { |
| | 7097 | | Tag = input.ReadString(); |
| | 7098 | | break; |
| | 7099 | | } |
| | 7100 | | case 26: { |
| | 7101 | | if (payload_ == null) { |
| | 7102 | | Payload = new global::Decentraland.Sdk.Ecs6.EntityActionPayload(); |
| | 7103 | | } |
| | 7104 | | input.ReadMessage(Payload); |
| | 7105 | | break; |
| | 7106 | | } |
| | 7107 | | } |
| | 7108 | | } |
| | 7109 | | #endif |
| | 7110 | | } |
| | 7111 | |
|
| | 7112 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7115 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7116 | | uint tag; |
| | 7117 | | while ((tag = input.ReadTag()) != 0) { |
| | 7118 | | switch(tag) { |
| | 7119 | | default: |
| | 7120 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7121 | | break; |
| | 7122 | | case 18: { |
| | 7123 | | Tag = input.ReadString(); |
| | 7124 | | break; |
| | 7125 | | } |
| | 7126 | | case 26: { |
| | 7127 | | if (payload_ == null) { |
| | 7128 | | Payload = new global::Decentraland.Sdk.Ecs6.EntityActionPayload(); |
| | 7129 | | } |
| | 7130 | | input.ReadMessage(Payload); |
| | 7131 | | break; |
| | 7132 | | } |
| | 7133 | | } |
| | 7134 | | } |
| | 7135 | | } |
| | 7136 | | #endif |
| | 7137 | |
|
| | 7138 | | } |
| | 7139 | |
|
| | 7140 | | #endregion |
| | 7141 | |
|
| | 7142 | | } |
| | 7143 | |
|
| | 7144 | | #endregion Designer generated code |