| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/sdk/ecs6/components_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/components_ecs6.proto</summary> |
| | 15 | | public static partial class ComponentsEcs6Reflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/sdk/ecs6/components_ecs6.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static ComponentsEcs6Reflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CitkZWNlbnRyYWxhbmQvc2RrL2VjczYvY29tcG9uZW50c19lY3M2LnByb3Rv", |
| | 28 | | "EhVkZWNlbnRyYWxhbmQuc2RrLmVjczYaIWRlY2VudHJhbGFuZC9jb21tb24v", |
| | 29 | | "dmVjdG9ycy5wcm90bxogZGVjZW50cmFsYW5kL2NvbW1vbi9jb2xvcnMucHJv", |
| | 30 | | "dG8iQwoKRUNTNkNvbG9yNBIJCgFyGAEgASgCEgkKAWcYAiABKAISCQoBYhgD", |
| | 31 | | "IAEoAhIOCgFhGAQgASgCSACIAQFCBAoCX2EiPgoEQXJlYRIuCgNib3gYASAB", |
| | 32 | | "KAsyHC5kZWNlbnRyYWxhbmQuY29tbW9uLlZlY3RvcjNIAIgBAUIGCgRfYm94", |
| | 33 | | "IpsBCgdVaVZhbHVlEhIKBXZhbHVlGAEgASgCSACIAQESPQoEdHlwZRgCIAEo", |
| | 34 | | "DjIqLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVlLlVpVmFsdWVUeXBl", |
| | 35 | | "SAGIAQEiKgoLVWlWYWx1ZVR5cGUSDwoLVVZUX1BFUkNFTlQQABIKCgZQSVhF", |
| | 36 | | "TFMQAUIICgZfdmFsdWVCBwoFX3R5cGUiggEKH0VDUzZDb21wb25lbnRBdmF0", |
| | 37 | | "YXJNb2RpZmllckFyZWESLgoEYXJlYRgBIAEoCzIbLmRlY2VudHJhbGFuZC5z", |
| | 38 | | "ZGsuZWNzNi5BcmVhSACIAQESEQoJbW9kaWZpZXJzGAIgAygJEhMKC2V4Y2x1", |
| | 39 | | "ZGVfaWRzGAMgAygJQgcKBV9hcmVhItsBChZFQ1M2Q29tcG9uZW50VHJhbnNm", |
| | 40 | | "b3JtEjMKCHBvc2l0aW9uGAEgASgLMhwuZGVjZW50cmFsYW5kLmNvbW1vbi5W", |
| | 41 | | "ZWN0b3IzSACIAQESNgoIcm90YXRpb24YAiABKAsyHy5kZWNlbnRyYWxhbmQu", |
| | 42 | | "Y29tbW9uLlF1YXRlcm5pb25IAYgBARIwCgVzY2FsZRgDIAEoCzIcLmRlY2Vu", |
| | 43 | | "dHJhbGFuZC5jb21tb24uVmVjdG9yM0gCiAEBQgsKCV9wb3NpdGlvbkILCglf", |
| | 44 | | "cm90YXRpb25CCAoGX3NjYWxlIukCChtFQ1M2Q29tcG9uZW50QXR0YWNoVG9B", |
| | 45 | | "dmF0YXISFgoJYXZhdGFyX2lkGAEgASgJSACIAQESbAoPYW5jaG9yX3BvaW50", |
| | 46 | | "X2lkGAIgASgOMk4uZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb21wb25l", |
| | 47 | | "bnRBdHRhY2hUb0F2YXRhci5BdHRhY2hUb0F2YXRhckFuY2hvclBvaW50SWRI", |
| | 48 | | "AYgBARIcCg9hdmF0YXJfc2NlbmVfaWQYAyABKAlIAogBASJwChtBdHRhY2hU", |
| | 49 | | "b0F2YXRhckFuY2hvclBvaW50SWQSEgoOQVRBQVBfUE9TSVRJT04QABISCg5B", |
| | 50 | | "VEFBUF9OQU1FX1RBRxABEhMKD0FUQUFQX0xFRlRfSEFORBACEhQKEEFUQUFQ", |
| | 51 | | "X1JJR0hUX0hBTkQQA0IMCgpfYXZhdGFyX2lkQhIKEF9hbmNob3JfcG9pbnRf", |
| | 52 | | "aWRCEgoQX2F2YXRhcl9zY2VuZV9pZCJaChZFQ1M2Q29tcG9uZW50QmlsbGJv", |
| | 53 | | "YXJkEg4KAXgYASABKAhIAIgBARIOCgF5GAIgASgISAGIAQESDgoBehgDIAEo", |
| | 54 | | "CEgCiAEBQgQKAl94QgQKAl95QgQKAl96IrABChVFQ1M2Q29tcG9uZW50Qm94", |
| | 55 | | "U2hhcGUSHAoPd2l0aF9jb2xsaXNpb25zGAEgASgISACIAQESHwoSaXNfcG9p", |
| | 56 | | "bnRlcl9ibG9ja2VyGAIgASgISAGIAQESFAoHdmlzaWJsZRgDIAEoCEgCiAEB", |
| | 57 | | "EgsKA3V2cxgEIAMoAkISChBfd2l0aF9jb2xsaXNpb25zQhUKE19pc19wb2lu", |
| | 58 | | "dGVyX2Jsb2NrZXJCCgoIX3Zpc2libGUipgEKGEVDUzZDb21wb25lbnRTcGhl", |
| | 59 | | "cmVTaGFwZRIcCg93aXRoX2NvbGxpc2lvbnMYASABKAhIAIgBARIfChJpc19w", |
| | 60 | | "b2ludGVyX2Jsb2NrZXIYAiABKAhIAYgBARIUCgd2aXNpYmxlGAMgASgISAKI", |
| | 61 | | "AQFCEgoQX3dpdGhfY29sbGlzaW9uc0IVChNfaXNfcG9pbnRlcl9ibG9ja2Vy", |
| | 62 | | "QgoKCF92aXNpYmxlIuQBChhFQ1M2Q29tcG9uZW50Q2lyY2xlU2hhcGUSHAoP", |
| | 63 | | "d2l0aF9jb2xsaXNpb25zGAEgASgISACIAQESHwoSaXNfcG9pbnRlcl9ibG9j", |
| | 64 | | "a2VyGAIgASgISAGIAQESFAoHdmlzaWJsZRgDIAEoCEgCiAEBEhUKCHNlZ21l", |
| | 65 | | "bnRzGAQgASgCSAOIAQESEAoDYXJjGAUgASgCSASIAQFCEgoQX3dpdGhfY29s", |
| | 66 | | "bGlzaW9uc0IVChNfaXNfcG9pbnRlcl9ibG9ja2VyQgoKCF92aXNpYmxlQgsK", |
| | 67 | | "CV9zZWdtZW50c0IGCgRfYXJjIvABChdFQ1M2Q29tcG9uZW50UGxhbmVTaGFw", |
| | 68 | | "ZRIcCg93aXRoX2NvbGxpc2lvbnMYASABKAhIAIgBARIfChJpc19wb2ludGVy", |
| | 69 | | "X2Jsb2NrZXIYAiABKAhIAYgBARIUCgd2aXNpYmxlGAMgASgISAKIAQESCwoD", |
| | 70 | | "dXZzGAQgAygCEhIKBXdpZHRoGAYgASgCSAOIAQESEwoGaGVpZ2h0GAcgASgC", |
| | 71 | | "SASIAQFCEgoQX3dpdGhfY29sbGlzaW9uc0IVChNfaXNfcG9pbnRlcl9ibG9j", |
| | 72 | | "a2VyQgoKCF92aXNpYmxlQggKBl93aWR0aEIJCgdfaGVpZ2h0IsADChZFQ1M2", |
| | 73 | | "Q29tcG9uZW50Q29uZVNoYXBlEhwKD3dpdGhfY29sbGlzaW9ucxgBIAEoCEgA", |
| | 74 | | "iAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgCIAEoCEgBiAEBEhQKB3Zpc2li", |
| | 75 | | "bGUYAyABKAhIAogBARIXCgpyYWRpdXNfdG9wGAQgASgCSAOIAQESGgoNcmFk", |
| | 76 | | "aXVzX2JvdHRvbRgFIAEoAkgEiAEBEhwKD3NlZ21lbnRzX2hlaWdodBgGIAEo", |
| | 77 | | "AkgFiAEBEhwKD3NlZ21lbnRzX3JhZGlhbBgHIAEoAkgGiAEBEhcKCm9wZW5f", |
| | 78 | | "ZW5kZWQYCCABKAhIB4gBARITCgZyYWRpdXMYCSABKAJICIgBARIQCgNhcmMY", |
| | 79 | | "CiABKAJICYgBAUISChBfd2l0aF9jb2xsaXNpb25zQhUKE19pc19wb2ludGVy", |
| | 80 | | "X2Jsb2NrZXJCCgoIX3Zpc2libGVCDQoLX3JhZGl1c190b3BCEAoOX3JhZGl1", |
| | 81 | | "c19ib3R0b21CEgoQX3NlZ21lbnRzX2hlaWdodEISChBfc2VnbWVudHNfcmFk", |
| | 82 | | "aWFsQg0KC19vcGVuX2VuZGVkQgkKB19yYWRpdXNCBgoEX2FyYyLEAwoaRUNT", |
| | 83 | | "NkNvbXBvbmVudEN5bGluZGVyU2hhcGUSHAoPd2l0aF9jb2xsaXNpb25zGAEg", |
| | 84 | | "ASgISACIAQESHwoSaXNfcG9pbnRlcl9ibG9ja2VyGAIgASgISAGIAQESFAoH", |
| | 85 | | "dmlzaWJsZRgDIAEoCEgCiAEBEhcKCnJhZGl1c190b3AYBCABKAJIA4gBARIa", |
| | 86 | | "Cg1yYWRpdXNfYm90dG9tGAUgASgCSASIAQESHAoPc2VnbWVudHNfaGVpZ2h0", |
| | 87 | | "GAYgASgCSAWIAQESHAoPc2VnbWVudHNfcmFkaWFsGAcgASgCSAaIAQESFwoK", |
| | 88 | | "b3Blbl9lbmRlZBgIIAEoCEgHiAEBEhMKBnJhZGl1cxgJIAEoAkgIiAEBEhAK", |
| | 89 | | "A2FyYxgKIAEoAkgJiAEBQhIKEF93aXRoX2NvbGxpc2lvbnNCFQoTX2lzX3Bv", |
| | 90 | | "aW50ZXJfYmxvY2tlckIKCghfdmlzaWJsZUINCgtfcmFkaXVzX3RvcEIQCg5f", |
| | 91 | | "cmFkaXVzX2JvdHRvbUISChBfc2VnbWVudHNfaGVpZ2h0QhIKEF9zZWdtZW50", |
| | 92 | | "c19yYWRpYWxCDQoLX29wZW5fZW5kZWRCCQoHX3JhZGl1c0IGCgRfYXJjIr4B", |
| | 93 | | "ChZFQ1M2Q29tcG9uZW50R2x0ZlNoYXBlEhwKD3dpdGhfY29sbGlzaW9ucxgB", |
| | 94 | | "IAEoCEgAiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgCIAEoCEgBiAEBEhQK", |
| | 95 | | "B3Zpc2libGUYAyABKAhIAogBARIQCgNzcmMYBCABKAlIA4gBAUISChBfd2l0", |
| | 96 | | "aF9jb2xsaXNpb25zQhUKE19pc19wb2ludGVyX2Jsb2NrZXJCCgoIX3Zpc2li", |
| | 97 | | "bGVCBgoEX3NyYyK2BgoVRUNTNkNvbXBvbmVudE5mdFNoYXBlEhwKD3dpdGhf", |
| | 98 | | "Y29sbGlzaW9ucxgBIAEoCEgAiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgC", |
| | 99 | | "IAEoCEgBiAEBEhQKB3Zpc2libGUYAyABKAhIAogBARIQCgNzcmMYBCABKAlI", |
| | 100 | | "A4gBARJSCgVzdHlsZRgFIAEoDjI+LmRlY2VudHJhbGFuZC5zZGsuZWNzNi5F", |
| | 101 | | "Q1M2Q29tcG9uZW50TmZ0U2hhcGUuUGljdHVyZUZyYW1lU3R5bGVIBIgBARIv", |
| | 102 | | "CgVjb2xvchgGIAEoCzIbLmRlY2VudHJhbGFuZC5jb21tb24uQ29sb3IzSAWI", |
| | 103 | | "AQEi3QMKEVBpY3R1cmVGcmFtZVN0eWxlEg8KC1BGU19DTEFTU0lDEAASGAoU", |
| | 104 | | "UEZTX0JBUk9RVUVfT1JOQU1FTlQQARIYChRQRlNfRElBTU9ORF9PUk5BTUVO", |
| | 105 | | "VBACEhQKEFBGU19NSU5JTUFMX1dJREUQAxIUChBQRlNfTUlOSU1BTF9HUkVZ", |
| | 106 | | "EAQSDgoKUEZTX0JMT0NLWRAFEhIKDlBGU19HT0xEX0VER0VTEAYSEwoPUEZT", |
| | 107 | | "X0dPTERfQ0FSVkVEEAcSEQoNUEZTX0dPTERfV0lERRAIEhQKEFBGU19HT0xE", |
| | 108 | | "X1JPVU5ERUQQCRIUChBQRlNfTUVUQUxfTUVESVVNEAoSEgoOUEZTX01FVEFM", |
| | 109 | | "X1dJREUQCxISCg5QRlNfTUVUQUxfU0xJTRAMEhUKEVBGU19NRVRBTF9ST1VO", |
| | 110 | | "REVEEA0SDAoIUEZTX1BJTlMQDhIVChFQRlNfTUlOSU1BTF9CTEFDSxAPEhUK", |
| | 111 | | "EVBGU19NSU5JTUFMX1dISVRFEBASDAoIUEZTX1RBUEUQERIRCg1QRlNfV09P", |
| | 112 | | "RF9TTElNEBISEQoNUEZTX1dPT0RfV0lERRATEhIKDlBGU19XT09EX1RXSUdT", |
| | 113 | | "EBQSDgoKUEZTX0NBTlZBUxAVEgwKCFBGU19OT05FEBZCEgoQX3dpdGhfY29s", |
| | 114 | | "bGlzaW9uc0IVChNfaXNfcG9pbnRlcl9ibG9ja2VyQgoKCF92aXNpYmxlQgYK", |
| | 115 | | "BF9zcmNCCAoGX3N0eWxlQggKBl9jb2xvciKgAQoURUNTNkNvbXBvbmVudFRl", |
| | 116 | | "eHR1cmUSEAoDc3JjGAEgASgJSACIAQESGgoNc2FtcGxpbmdfbW9kZRgCIAEo", |
| | 117 | | "BUgBiAEBEhEKBHdyYXAYAyABKAVIAogBARIWCgloYXNfYWxwaGEYBCABKAhI", |
| | 118 | | "A4gBAUIGCgRfc3JjQhAKDl9zYW1wbGluZ19tb2RlQgcKBV93cmFwQgwKCl9o", |
| | 119 | | "YXNfYWxwaGEi3QIKFUVDUzZDb21wb25lbnRBbmltYXRvchJLCgZzdGF0ZXMY", |
| | 120 | | "ASADKAsyOy5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudEFu", |
| | 121 | | "aW1hdG9yLkFuaW1hdGlvblN0YXRlGvYBCg5BbmltYXRpb25TdGF0ZRIRCgRj", |
| | 122 | | "bGlwGAEgASgJSACIAQESFAoHbG9vcGluZxgCIAEoCEgBiAEBEhMKBndlaWdo", |
| | 123 | | "dBgDIAEoAkgCiAEBEhQKB3BsYXlpbmcYBCABKAhIA4gBARIZCgxzaG91bGRf", |
| | 124 | | "cmVzZXQYBSABKAhIBIgBARISCgVzcGVlZBgGIAEoAkgFiAEBEhEKBG5hbWUY", |
| | 125 | | "ByABKAlIBogBAUIHCgVfY2xpcEIKCghfbG9vcGluZ0IJCgdfd2VpZ2h0QgoK", |
| | 126 | | "CF9wbGF5aW5nQg8KDV9zaG91bGRfcmVzZXRCCAoGX3NwZWVkQgcKBV9uYW1l", |
| | 127 | | "Ir0BChVFQ1M2Q29tcG9uZW50T2JqU2hhcGUSHAoPd2l0aF9jb2xsaXNpb25z", |
| | 128 | | "GAEgASgISACIAQESHwoSaXNfcG9pbnRlcl9ibG9ja2VyGAIgASgISAGIAQES", |
| | 129 | | "FAoHdmlzaWJsZRgDIAEoCEgCiAEBEhAKA3NyYxgEIAEoCUgDiAEBQhIKEF93", |
| | 130 | | "aXRoX2NvbGxpc2lvbnNCFQoTX2lzX3BvaW50ZXJfYmxvY2tlckIKCghfdmlz", |
| | 131 | | "aWJsZUIGCgRfc3JjIi0KEUVDUzZDb21wb25lbnRGb250EhAKA3NyYxgBIAEo", |
| | 132 | | "CUgAiAEBQgYKBF9zcmMiuQgKFkVDUzZDb21wb25lbnRUZXh0U2hhcGUSGgoN", |
| | 133 | | "b3V0bGluZV93aWR0aBgBIAEoAkgAiAEBEjcKDW91dGxpbmVfY29sb3IYAiAB", |
| | 134 | | "KAsyGy5kZWNlbnRyYWxhbmQuY29tbW9uLkNvbG9yM0gBiAEBEi8KBWNvbG9y", |
| | 135 | | "GAMgASgLMhsuZGVjZW50cmFsYW5kLmNvbW1vbi5Db2xvcjNIAogBARIWCglm", |
| | 136 | | "b250X3NpemUYBCABKAJIA4gBARIRCgRmb250GAUgASgJSASIAQESFAoHb3Bh", |
| | 137 | | "Y2l0eRgGIAEoAkgFiAEBEhIKBXZhbHVlGAcgASgJSAaIAQESGQoMbGluZV9z", |
| | 138 | | "cGFjaW5nGAggASgJSAeIAQESFwoKbGluZV9jb3VudBgJIAEoBUgIiAEBEhoK", |
| | 139 | | "DXRleHRfd3JhcHBpbmcYCiABKAhICYgBARIYCgtzaGFkb3dfYmx1chgLIAEo", |
| | 140 | | "AkgKiAEBEhwKD3NoYWRvd19vZmZzZXRfeBgMIAEoAkgLiAEBEhwKD3NoYWRv", |
| | 141 | | "d19vZmZzZXRfeRgNIAEoAkgMiAEBEjYKDHNoYWRvd19jb2xvchgOIAEoCzIb", |
| | 142 | | "LmRlY2VudHJhbGFuZC5jb21tb24uQ29sb3IzSA2IAQESGQoMaF90ZXh0X2Fs", |
| | 143 | | "aWduGA8gASgJSA6IAQESGQoMdl90ZXh0X2FsaWduGBAgASgJSA+IAQESEgoF", |
| | 144 | | "d2lkdGgYESABKAJIEIgBARITCgZoZWlnaHQYEiABKAJIEYgBARIYCgtwYWRk", |
| | 145 | | "aW5nX3RvcBgTIAEoAkgSiAEBEhoKDXBhZGRpbmdfcmlnaHQYFCABKAJIE4gB", |
| | 146 | | "ARIbCg5wYWRkaW5nX2JvdHRvbRgVIAEoAkgUiAEBEhkKDHBhZGRpbmdfbGVm", |
| | 147 | | "dBgWIAEoAkgViAEBEhYKCWJpbGxib2FyZBgXIAEoCEgWiAEBEhQKB3Zpc2li", |
| | 148 | | "bGUYGCABKAhIF4gBAUIQCg5fb3V0bGluZV93aWR0aEIQCg5fb3V0bGluZV9j", |
| | 149 | | "b2xvckIICgZfY29sb3JCDAoKX2ZvbnRfc2l6ZUIHCgVfZm9udEIKCghfb3Bh", |
| | 150 | | "Y2l0eUIICgZfdmFsdWVCDwoNX2xpbmVfc3BhY2luZ0INCgtfbGluZV9jb3Vu", |
| | 151 | | "dEIQCg5fdGV4dF93cmFwcGluZ0IOCgxfc2hhZG93X2JsdXJCEgoQX3NoYWRv", |
| | 152 | | "d19vZmZzZXRfeEISChBfc2hhZG93X29mZnNldF95Qg8KDV9zaGFkb3dfY29s", |
| | 153 | | "b3JCDwoNX2hfdGV4dF9hbGlnbkIPCg1fdl90ZXh0X2FsaWduQggKBl93aWR0", |
| | 154 | | "aEIJCgdfaGVpZ2h0Qg4KDF9wYWRkaW5nX3RvcEIQCg5fcGFkZGluZ19yaWdo", |
| | 155 | | "dEIRCg9fcGFkZGluZ19ib3R0b21CDwoNX3BhZGRpbmdfbGVmdEIMCgpfYmls", |
| | 156 | | "bGJvYXJkQgoKCF92aXNpYmxlIuwGChVFQ1M2Q29tcG9uZW50TWF0ZXJpYWwS", |
| | 157 | | "FwoKYWxwaGFfdGVzdBgBIAEoAkgAiAEBEjwKDGFsYmVkb19jb2xvchgCIAEo", |
| | 158 | | "CzIhLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SAGIAQESOAoO", |
| | 159 | | "ZW1pc3NpdmVfY29sb3IYAyABKAsyGy5kZWNlbnRyYWxhbmQuY29tbW9uLkNv", |
| | 160 | | "bG9yM0gCiAEBEhUKCG1ldGFsbGljGAQgASgCSAOIAQESFgoJcm91Z2huZXNz", |
| | 161 | | "GAUgASgCSASIAQESPAoScmVmbGVjdGl2aXR5X2NvbG9yGAYgASgLMhsuZGVj", |
| | 162 | | "ZW50cmFsYW5kLmNvbW1vbi5Db2xvcjNIBYgBARIdChBkaXJlY3RfaW50ZW5z", |
| | 163 | | "aXR5GAcgASgCSAaIAQESGgoNbWljcm9fc3VyZmFjZRgIIAEoAkgHiAEBEh8K", |
| | 164 | | "EmVtaXNzaXZlX2ludGVuc2l0eRgJIAEoAkgIiAEBEh8KEnNwZWN1bGFyX2lu", |
| | 165 | | "dGVuc2l0eRgKIAEoAkgJiAEBEhsKDmFsYmVkb190ZXh0dXJlGAsgASgJSAqI", |
| | 166 | | "AQESGgoNYWxwaGFfdGV4dHVyZRgMIAEoCUgLiAEBEh0KEGVtaXNzaXZlX3Rl", |
| | 167 | | "eHR1cmUYDSABKAlIDIgBARIZCgxidW1wX3RleHR1cmUYDiABKAlIDYgBARIe", |
| | 168 | | "ChF0cmFuc3BhcmVuY3lfbW9kZRgPIAEoAkgOiAEBEhkKDGNhc3Rfc2hhZG93", |
| | 169 | | "cxgQIAEoCEgPiAEBQg0KC19hbHBoYV90ZXN0Qg8KDV9hbGJlZG9fY29sb3JC", |
| | 170 | | "EQoPX2VtaXNzaXZlX2NvbG9yQgsKCV9tZXRhbGxpY0IMCgpfcm91Z2huZXNz", |
| | 171 | | "QhUKE19yZWZsZWN0aXZpdHlfY29sb3JCEwoRX2RpcmVjdF9pbnRlbnNpdHlC", |
| | 172 | | "EAoOX21pY3JvX3N1cmZhY2VCFQoTX2VtaXNzaXZlX2ludGVuc2l0eUIVChNf", |
| | 173 | | "c3BlY3VsYXJfaW50ZW5zaXR5QhEKD19hbGJlZG9fdGV4dHVyZUIQCg5fYWxw", |
| | 174 | | "aGFfdGV4dHVyZUITChFfZW1pc3NpdmVfdGV4dHVyZUIPCg1fYnVtcF90ZXh0", |
| | 175 | | "dXJlQhQKEl90cmFuc3BhcmVuY3lfbW9kZUIPCg1fY2FzdF9zaGFkb3dzIpIB", |
| | 176 | | "ChpFQ1M2Q29tcG9uZW50QmFzaWNNYXRlcmlhbBIXCgphbHBoYV90ZXN0GAEg", |
| | 177 | | "ASgCSACIAQESFAoHdGV4dHVyZRgCIAEoCUgBiAEBEhkKDGNhc3Rfc2hhZG93", |
| | 178 | | "cxgDIAEoCEgCiAEBQg0KC19hbHBoYV90ZXN0QgoKCF90ZXh0dXJlQg8KDV9j", |
| | 179 | | "YXN0X3NoYWRvd3Mi7QEKGUVDUzZDb21wb25lbnRVdWlkQ2FsbGJhY2sSEwoG", |
| | 180 | | "YnV0dG9uGAEgASgJSACIAQESFwoKaG92ZXJfdGV4dBgCIAEoCUgBiAEBEhUK", |
| | 181 | | "CGRpc3RhbmNlGAMgASgCSAKIAQESGgoNc2hvd19mZWVkYmFjaxgEIAEoCEgD", |
| | 182 | | "iAEBEhEKBHR5cGUYBSABKAlIBIgBARIRCgR1dWlkGAYgASgJSAWIAQFCCQoH", |
| | 183 | | "X2J1dHRvbkINCgtfaG92ZXJfdGV4dEILCglfZGlzdGFuY2VCEAoOX3Nob3df", |
| | 184 | | "ZmVlZGJhY2tCBwoFX3R5cGVCBwoFX3V1aWQiGAoWRUNTNkNvbXBvbmVudFNt", |
| | 185 | | "YXJ0SXRlbSIyChZFQ1M2Q29tcG9uZW50VmlkZW9DbGlwEhAKA3VybBgBIAEo", |
| | 186 | | "CUgAiAEBQgYKBF91cmwikwMKGUVDUzZDb21wb25lbnRWaWRlb1RleHR1cmUS", |
| | 187 | | "GgoNc2FtcGxpbmdfbW9kZRgBIAEoBUgAiAEBEhEKBHdyYXAYAiABKAVIAYgB", |
| | 188 | | "ARITCgZ2b2x1bWUYAyABKAJIAogBARIaCg1wbGF5YmFja19yYXRlGAQgASgC", |
| | 189 | | "SAOIAQESEQoEc2VlaxgFIAEoAkgEiAEBEhQKB3BsYXlpbmcYBiABKAhIBYgB", |
| | 190 | | "ARIRCgRsb29wGAcgASgISAaIAQESGgoNdmlkZW9fY2xpcF9pZBgIIAEoCUgH", |
| | 191 | | "iAEBIlYKC1ZpZGVvU3RhdHVzEggKBE5PTkUQABIJCgVFUlJPUhABEgsKB0xP", |
| | 192 | | "QURJTkcQAhIJCgVSRUFEWRADEgsKB1BMQVlJTkcQBBINCglCVUZGRVJJTkcQ", |
| | 193 | | "BUIQCg5fc2FtcGxpbmdfbW9kZUIHCgVfd3JhcEIJCgdfdm9sdW1lQhAKDl9w", |
| | 194 | | "bGF5YmFja19yYXRlQgcKBV9zZWVrQgoKCF9wbGF5aW5nQgcKBV9sb29wQhAK", |
| | 195 | | "Dl92aWRlb19jbGlwX2lkIvMBChtFQ1M2Q29tcG9uZW50Q2FtZXJhTW9kZUFy", |
| | 196 | | "ZWESKQoEYXJlYRgBIAEoCzIbLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5BcmVh", |
| | 197 | | "ElIKC2NhbWVyYV9tb2RlGAIgASgOMj0uZGVjZW50cmFsYW5kLnNkay5lY3M2", |
| | 198 | | "LkVDUzZDb21wb25lbnRDYW1lcmFNb2RlQXJlYS5DYW1lcmFNb2RlIlUKCkNh", |
| | 199 | | "bWVyYU1vZGUSEwoPQ01fRklSU1RfUEVSU09OEAASEwoPQ01fVEhJUkRfUEVS", |
| | 200 | | "U09OEAESHQoZQ01fQlVJTERJTkdfVE9PTF9HT0RfTU9ERRACIq4BChpFQ1M2", |
| | 201 | | "Q29tcG9uZW50QXZhdGFyVGV4dHVyZRIaCg1zYW1wbGluZ19tb2RlGAEgASgF", |
| | 202 | | "SACIAQESEQoEd3JhcBgCIAEoBUgBiAEBEhYKCWhhc19hbHBoYRgDIAEoCEgC", |
| | 203 | | "iAEBEhQKB3VzZXJfaWQYBCABKAlIA4gBAUIQCg5fc2FtcGxpbmdfbW9kZUIH", |
| | 204 | | "CgVfd3JhcEIMCgpfaGFzX2FscGhhQgoKCF91c2VyX2lkIrQBChZFQ1M2Q29t", |
| | 205 | | "cG9uZW50QXVkaW9DbGlwEhAKA3VybBgBIAEoCUgAiAEBEhEKBGxvb3AYAiAB", |
| | 206 | | "KAhIAYgBARImChlsb2FkaW5nX2NvbXBsZXRlX2V2ZW50X2lkGAMgASgJSAKI", |
| | 207 | | "AQESEwoGdm9sdW1lGAQgASgCSAOIAQFCBgoEX3VybEIHCgVfbG9vcEIcChpf", |
| | 208 | | "bG9hZGluZ19jb21wbGV0ZV9ldmVudF9pZEIJCgdfdm9sdW1lIv4BChhFQ1M2", |
| | 209 | | "Q29tcG9uZW50QXVkaW9Tb3VyY2USGgoNYXVkaW9fY2xpcF9pZBgBIAEoCUgA", |
| | 210 | | "iAEBEhEKBGxvb3AYAiABKAhIAYgBARITCgZ2b2x1bWUYAyABKAJIAogBARIU", |
| | 211 | | "CgdwbGF5aW5nGAQgASgISAOIAQESEgoFcGl0Y2gYBSABKAJIBIgBARIgChNw", |
| | 212 | | "bGF5ZWRfYXRfdGltZXN0YW1wGAYgASgFSAWIAQFCEAoOX2F1ZGlvX2NsaXBf", |
| | 213 | | "aWRCBwoFX2xvb3BCCQoHX3ZvbHVtZUIKCghfcGxheWluZ0IICgZfcGl0Y2hC", |
| | 214 | | "FgoUX3BsYXllZF9hdF90aW1lc3RhbXAidgoYRUNTNkNvbXBvbmVudEF1ZGlv", |
| | 215 | | "U3RyZWFtEhAKA3VybBgBIAEoCUgAiAEBEhQKB3BsYXlpbmcYAiABKAhIAYgB", |
| | 216 | | "ARITCgZ2b2x1bWUYAyABKAJIAogBAUIGCgRfdXJsQgoKCF9wbGF5aW5nQgkK", |
| | 217 | | "B192b2x1bWUizAUKGEVDUzZDb21wb25lbnRBdmF0YXJTaGFwZRIPCgJpZBgB", |
| | 218 | | "IAEoCUgAiAEBEhEKBG5hbWUYAiABKAlIAYgBARIiChVleHByZXNzaW9uX3Ry", |
| | 219 | | "aWdnZXJfaWQYAyABKAlIAogBARIpChxleHByZXNzaW9uX3RyaWdnZXJfdGlt", |
| | 220 | | "ZXN0YW1wGAQgASgDSAOIAQESFwoKYm9keV9zaGFwZRgFIAEoCUgEiAEBEhEK", |
| | 221 | | "CXdlYXJhYmxlcxgGIAMoCRJFCgZlbW90ZXMYByADKAsyNS5kZWNlbnRyYWxh", |
| | 222 | | "bmQuc2RrLmVjczYuRUNTNkNvbXBvbmVudEF2YXRhclNoYXBlLkVtb3RlEjoK", |
| | 223 | | "CnNraW5fY29sb3IYCCABKAsyIS5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNT", |
| | 224 | | "NkNvbG9yNEgFiAEBEjoKCmhhaXJfY29sb3IYCSABKAsyIS5kZWNlbnRyYWxh", |
| | 225 | | "bmQuc2RrLmVjczYuRUNTNkNvbG9yNEgGiAEBEjkKCWV5ZV9jb2xvchgKIAEo", |
| | 226 | | "CzIhLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SAeIAQESHAoP", |
| | 227 | | "dXNlX2R1bW15X21vZGVsGAsgASgISAiIAQESFAoHdGFsa2luZxgMIAEoCEgJ", |
| | 228 | | "iAEBGj0KBUVtb3RlEhEKBHNsb3QYASABKAVIAIgBARIQCgN1cm4YAiABKAlI", |
| | 229 | | "AYgBAUIHCgVfc2xvdEIGCgRfdXJuQgUKA19pZEIHCgVfbmFtZUIYChZfZXhw", |
| | 230 | | "cmVzc2lvbl90cmlnZ2VyX2lkQh8KHV9leHByZXNzaW9uX3RyaWdnZXJfdGlt", |
| | 231 | | "ZXN0YW1wQg0KC19ib2R5X3NoYXBlQg0KC19za2luX2NvbG9yQg0KC19oYWly", |
| | 232 | | "X2NvbG9yQgwKCl9leWVfY29sb3JCEgoQX3VzZV9kdW1teV9tb2RlbEIKCghf", |
| | 233 | | "dGFsa2luZyL7AQoTRUNTNkNvbXBvbmVudEdpem1vcxIVCghwb3NpdGlvbhgB", |
| | 234 | | "IAEoCEgAiAEBEhUKCHJvdGF0aW9uGAIgASgISAGIAQESEgoFc2NhbGUYAyAB", |
| | 235 | | "KAhIAogBARISCgVjeWNsZRgEIAEoCEgDiAEBEhsKDnNlbGVjdGVkX2dpem1v", |
| | 236 | | "GAUgASgJSASIAQESHAoPbG9jYWxfcmVmZXJlbmNlGAYgASgISAWIAQFCCwoJ", |
| | 237 | | "X3Bvc2l0aW9uQgsKCV9yb3RhdGlvbkIICgZfc2NhbGVCCAoGX2N5Y2xlQhEK", |
| | 238 | | "D19zZWxlY3RlZF9naXptb0ISChBfbG9jYWxfcmVmZXJlbmNlIrQEChRFQ1M2", |
| | 239 | | "Q29tcG9uZW50VWlTaGFwZRIRCgRuYW1lGAEgASgJSACIAQESFAoHdmlzaWJs", |
| | 240 | | "ZRgCIAEoCEgBiAEBEhQKB29wYWNpdHkYAyABKAJIAogBARIUCgdoX2FsaWdu", |
| | 241 | | "GAQgASgJSAOIAQESFAoHdl9hbGlnbhgFIAEoCUgEiAEBEjIKBXdpZHRoGAYg", |
| | 242 | | "ASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBYgBARIzCgZo", |
| | 243 | | "ZWlnaHQYByABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgG", |
| | 244 | | "iAEBEjcKCnBvc2l0aW9uX3gYCCABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVj", |
| | 245 | | "czYuVWlWYWx1ZUgHiAEBEjcKCnBvc2l0aW9uX3kYCSABKAsyHi5kZWNlbnRy", |
| | 246 | | "YWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgIiAEBEh8KEmlzX3BvaW50ZXJfYmxv", |
| | 247 | | "Y2tlchgKIAEoCEgJiAEBEh0KEHBhcmVudF9jb21wb25lbnQYCyABKAlICogB", |
| | 248 | | "AUIHCgVfbmFtZUIKCghfdmlzaWJsZUIKCghfb3BhY2l0eUIKCghfaF9hbGln", |
| | 249 | | "bkIKCghfdl9hbGlnbkIICgZfd2lkdGhCCQoHX2hlaWdodEINCgtfcG9zaXRp", |
| | 250 | | "b25feEINCgtfcG9zaXRpb25feUIVChNfaXNfcG9pbnRlcl9ibG9ja2VyQhMK", |
| | 251 | | "EV9wYXJlbnRfY29tcG9uZW50It0FChxFQ1M2Q29tcG9uZW50VWlDb250YWlu", |
| | 252 | | "ZXJSZWN0EhEKBG5hbWUYASABKAlIAIgBARIUCgd2aXNpYmxlGAIgASgISAGI", |
| | 253 | | "AQESFAoHb3BhY2l0eRgDIAEoAkgCiAEBEhQKB2hfYWxpZ24YBCABKAlIA4gB", |
| | 254 | | "ARIUCgd2X2FsaWduGAUgASgJSASIAQESMgoFd2lkdGgYBiABKAsyHi5kZWNl", |
| | 255 | | "bnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgFiAEBEjMKBmhlaWdodBgHIAEo", |
| | 256 | | "CzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVlSAaIAQESNwoKcG9z", |
| | 257 | | "aXRpb25feBgIIAEoCzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVl", |
| | 258 | | "SAeIAQESNwoKcG9zaXRpb25feRgJIAEoCzIeLmRlY2VudHJhbGFuZC5zZGsu", |
| | 259 | | "ZWNzNi5VaVZhbHVlSAiIAQESHwoSaXNfcG9pbnRlcl9ibG9ja2VyGAogASgI", |
| | 260 | | "SAmIAQESHQoQcGFyZW50X2NvbXBvbmVudBgOIAEoCUgKiAEBEhYKCXRoaWNr", |
| | 261 | | "bmVzcxgLIAEoAkgLiAEBEjUKBWNvbG9yGAwgASgLMiEuZGVjZW50cmFsYW5k", |
| | 262 | | "LnNkay5lY3M2LkVDUzZDb2xvcjRIDIgBARIgChNhbGlnbm1lbnRfdXNlc19z", |
| | 263 | | "aXplGA0gASgISA2IAQFCBwoFX25hbWVCCgoIX3Zpc2libGVCCgoIX29wYWNp", |
| | 264 | | "dHlCCgoIX2hfYWxpZ25CCgoIX3ZfYWxpZ25CCAoGX3dpZHRoQgkKB19oZWln", |
| | 265 | | "aHRCDQoLX3Bvc2l0aW9uX3hCDQoLX3Bvc2l0aW9uX3lCFQoTX2lzX3BvaW50", |
| | 266 | | "ZXJfYmxvY2tlckITChFfcGFyZW50X2NvbXBvbmVudEIMCgpfdGhpY2tuZXNz", |
| | 267 | | "QggKBl9jb2xvckIWChRfYWxpZ25tZW50X3VzZXNfc2l6ZSKpBwodRUNTNkNv", |
| | 268 | | "bXBvbmVudFVpQ29udGFpbmVyU3RhY2sSEQoEbmFtZRgBIAEoCUgAiAEBEhQK", |
| | 269 | | "B3Zpc2libGUYAiABKAhIAYgBARIUCgdvcGFjaXR5GAMgASgCSAKIAQESFAoH", |
| | 270 | | "aF9hbGlnbhgEIAEoCUgDiAEBEhQKB3ZfYWxpZ24YBSABKAlIBIgBARIyCgV3", |
| | 271 | | "aWR0aBgGIAEoCzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVlSAWI", |
| | 272 | | "AQESMwoGaGVpZ2h0GAcgASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVp", |
| | 273 | | "VmFsdWVIBogBARI3Cgpwb3NpdGlvbl94GAggASgLMh4uZGVjZW50cmFsYW5k", |
| | 274 | | "LnNkay5lY3M2LlVpVmFsdWVIB4gBARI3Cgpwb3NpdGlvbl95GAkgASgLMh4u", |
| | 275 | | "ZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVICIgBARIfChJpc19wb2lu", |
| | 276 | | "dGVyX2Jsb2NrZXIYCiABKAhICYgBARIdChBwYXJlbnRfY29tcG9uZW50GBAg", |
| | 277 | | "ASgJSAqIAQESGAoLYWRhcHRfd2lkdGgYCyABKAhIC4gBARIZCgxhZGFwdF9o", |
| | 278 | | "ZWlnaHQYDCABKAhIDIgBARI1CgVjb2xvchgNIAEoCzIhLmRlY2VudHJhbGFu", |
| | 279 | | "ZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SA2IAQESZwoRc3RhY2tfb3JpZW50YXRp", |
| | 280 | | "b24YDiABKA4yRy5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbXBvbmVu", |
| | 281 | | "dFVpQ29udGFpbmVyU3RhY2suVUlTdGFja09yaWVudGF0aW9uSA6IAQESFAoH", |
| | 282 | | "c3BhY2luZxgPIAEoAkgPiAEBIjIKElVJU3RhY2tPcmllbnRhdGlvbhIMCghW", |
| | 283 | | "RVJUSUNBTBAAEg4KCkhPUklaT05UQUwQAUIHCgVfbmFtZUIKCghfdmlzaWJs", |
| | 284 | | "ZUIKCghfb3BhY2l0eUIKCghfaF9hbGlnbkIKCghfdl9hbGlnbkIICgZfd2lk", |
| | 285 | | "dGhCCQoHX2hlaWdodEINCgtfcG9zaXRpb25feEINCgtfcG9zaXRpb25feUIV", |
| | 286 | | "ChNfaXNfcG9pbnRlcl9ibG9ja2VyQhMKEV9wYXJlbnRfY29tcG9uZW50Qg4K", |
| | 287 | | "DF9hZGFwdF93aWR0aEIPCg1fYWRhcHRfaGVpZ2h0QggKBl9jb2xvckIUChJf", |
| | 288 | | "c3RhY2tfb3JpZW50YXRpb25CCgoIX3NwYWNpbmcikgoKFUVDUzZDb21wb25l", |
| | 289 | | "bnRVaUJ1dHRvbhIRCgRuYW1lGAEgASgJSACIAQESFAoHdmlzaWJsZRgCIAEo", |
| | 290 | | "CEgBiAEBEhQKB29wYWNpdHkYAyABKAJIAogBARIUCgdoX2FsaWduGAQgASgJ", |
| | 291 | | "SAOIAQESFAoHdl9hbGlnbhgFIAEoCUgEiAEBEjIKBXdpZHRoGAYgASgLMh4u", |
| | 292 | | "ZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBYgBARIzCgZoZWlnaHQY", |
| | 293 | | "ByABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgGiAEBEjcK", |
| | 294 | | "CnBvc2l0aW9uX3gYCCABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlW", |
| | 295 | | "YWx1ZUgHiAEBEjcKCnBvc2l0aW9uX3kYCSABKAsyHi5kZWNlbnRyYWxhbmQu", |
| | 296 | | "c2RrLmVjczYuVWlWYWx1ZUgIiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgK", |
| | 297 | | "IAEoCEgJiAEBEh0KEHBhcmVudF9jb21wb25lbnQYGiABKAlICogBARIWCglm", |
| | 298 | | "b250X3NpemUYCyABKAJIC4gBARIYCgtmb250X3dlaWdodBgMIAEoCUgMiAEB", |
| | 299 | | "EhYKCXRoaWNrbmVzcxgNIAEoAkgNiAEBEhoKDWNvcm5lcl9yYWRpdXMYDiAB", |
| | 300 | | "KAJIDogBARI1CgVjb2xvchgPIAEoCzIhLmRlY2VudHJhbGFuZC5zZGsuZWNz", |
| | 301 | | "Ni5FQ1M2Q29sb3I0SA+IAQESOgoKYmFja2dyb3VuZBgQIAEoCzIhLmRlY2Vu", |
| | 302 | | "dHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SBCIAQESGAoLcGFkZGluZ190", |
| | 303 | | "b3AYESABKAJIEYgBARIaCg1wYWRkaW5nX3JpZ2h0GBIgASgCSBKIAQESGwoO", |
| | 304 | | "cGFkZGluZ19ib3R0b20YEyABKAJIE4gBARIZCgxwYWRkaW5nX2xlZnQYFCAB", |
| | 305 | | "KAJIFIgBARIYCgtzaGFkb3dfYmx1chgVIAEoAkgViAEBEhwKD3NoYWRvd19v", |
| | 306 | | "ZmZzZXRfeBgWIAEoAkgWiAEBEhwKD3NoYWRvd19vZmZzZXRfeRgXIAEoAkgX", |
| | 307 | | "iAEBEjwKDHNoYWRvd19jb2xvchgYIAEoCzIhLmRlY2VudHJhbGFuZC5zZGsu", |
| | 308 | | "ZWNzNi5FQ1M2Q29sb3I0SBiIAQESEQoEdGV4dBgZIAEoCUgZiAEBQgcKBV9u", |
| | 309 | | "YW1lQgoKCF92aXNpYmxlQgoKCF9vcGFjaXR5QgoKCF9oX2FsaWduQgoKCF92", |
| | 310 | | "X2FsaWduQggKBl93aWR0aEIJCgdfaGVpZ2h0Qg0KC19wb3NpdGlvbl94Qg0K", |
| | 311 | | "C19wb3NpdGlvbl95QhUKE19pc19wb2ludGVyX2Jsb2NrZXJCEwoRX3BhcmVu", |
| | 312 | | "dF9jb21wb25lbnRCDAoKX2ZvbnRfc2l6ZUIOCgxfZm9udF93ZWlnaHRCDAoK", |
| | 313 | | "X3RoaWNrbmVzc0IQCg5fY29ybmVyX3JhZGl1c0IICgZfY29sb3JCDQoLX2Jh", |
| | 314 | | "Y2tncm91bmRCDgoMX3BhZGRpbmdfdG9wQhAKDl9wYWRkaW5nX3JpZ2h0QhEK", |
| | 315 | | "D19wYWRkaW5nX2JvdHRvbUIPCg1fcGFkZGluZ19sZWZ0Qg4KDF9zaGFkb3df", |
| | 316 | | "Ymx1ckISChBfc2hhZG93X29mZnNldF94QhIKEF9zaGFkb3dfb2Zmc2V0X3lC", |
| | 317 | | "DwoNX3NoYWRvd19jb2xvckIHCgVfdGV4dCLEDAoTRUNTNkNvbXBvbmVudFVp", |
| | 318 | | "VGV4dBIRCgRuYW1lGAEgASgJSACIAQESFAoHdmlzaWJsZRgCIAEoCEgBiAEB", |
| | 319 | | "EhQKB29wYWNpdHkYAyABKAJIAogBARIUCgdoX2FsaWduGAQgASgJSAOIAQES", |
| | 320 | | "FAoHdl9hbGlnbhgFIAEoCUgEiAEBEjIKBXdpZHRoGAYgASgLMh4uZGVjZW50", |
| | 321 | | "cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBYgBARIzCgZoZWlnaHQYByABKAsy", |
| | 322 | | "Hi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgGiAEBEjcKCnBvc2l0", |
| | 323 | | "aW9uX3gYCCABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgH", |
| | 324 | | "iAEBEjcKCnBvc2l0aW9uX3kYCSABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVj", |
| | 325 | | "czYuVWlWYWx1ZUgIiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgKIAEoCEgJ", |
| | 326 | | "iAEBEh0KEHBhcmVudF9jb21wb25lbnQYISABKAlICogBARIaCg1vdXRsaW5l", |
| | 327 | | "X3dpZHRoGAsgASgCSAuIAQESPQoNb3V0bGluZV9jb2xvchgMIAEoCzIhLmRl", |
| | 328 | | "Y2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SAyIAQESNQoFY29sb3IY", |
| | 329 | | "DSABKAsyIS5kZWNlbnRyYWxhbmQuc2RrLmVjczYuRUNTNkNvbG9yNEgNiAEB", |
| | 330 | | "EhYKCWZvbnRfc2l6ZRgOIAEoAkgOiAEBEhsKDmZvbnRfYXV0b19zaXplGA8g", |
| | 331 | | "ASgISA+IAQESEQoEZm9udBgQIAEoCUgQiAEBEhIKBXZhbHVlGBEgASgJSBGI", |
| | 332 | | "AQESGQoMbGluZV9zcGFjaW5nGBIgASgCSBKIAQESFwoKbGluZV9jb3VudBgT", |
| | 333 | | "IAEoBUgTiAEBEhgKC2FkYXB0X3dpZHRoGBQgASgISBSIAQESGQoMYWRhcHRf", |
| | 334 | | "aGVpZ2h0GBUgASgISBWIAQESGgoNdGV4dF93cmFwcGluZxgWIAEoCEgWiAEB", |
| | 335 | | "EhgKC3NoYWRvd19ibHVyGBcgASgCSBeIAQESHAoPc2hhZG93X29mZnNldF94", |
| | 336 | | "GBggASgCSBiIAQESHAoPc2hhZG93X29mZnNldF95GBkgASgCSBmIAQESPAoM", |
| | 337 | | "c2hhZG93X2NvbG9yGBogASgLMiEuZGVjZW50cmFsYW5kLnNkay5lY3M2LkVD", |
| | 338 | | "UzZDb2xvcjRIGogBARIZCgxoX3RleHRfYWxpZ24YGyABKAlIG4gBARIZCgx2", |
| | 339 | | "X3RleHRfYWxpZ24YHCABKAlIHIgBARIYCgtwYWRkaW5nX3RvcBgdIAEoAkgd", |
| | 340 | | "iAEBEhoKDXBhZGRpbmdfcmlnaHQYHiABKAJIHogBARIbCg5wYWRkaW5nX2Jv", |
| | 341 | | "dHRvbRgfIAEoAkgfiAEBEhkKDHBhZGRpbmdfbGVmdBggIAEoAkggiAEBQgcK", |
| | 342 | | "BV9uYW1lQgoKCF92aXNpYmxlQgoKCF9vcGFjaXR5QgoKCF9oX2FsaWduQgoK", |
| | 343 | | "CF92X2FsaWduQggKBl93aWR0aEIJCgdfaGVpZ2h0Qg0KC19wb3NpdGlvbl94", |
| | 344 | | "Qg0KC19wb3NpdGlvbl95QhUKE19pc19wb2ludGVyX2Jsb2NrZXJCEwoRX3Bh", |
| | 345 | | "cmVudF9jb21wb25lbnRCEAoOX291dGxpbmVfd2lkdGhCEAoOX291dGxpbmVf", |
| | 346 | | "Y29sb3JCCAoGX2NvbG9yQgwKCl9mb250X3NpemVCEQoPX2ZvbnRfYXV0b19z", |
| | 347 | | "aXplQgcKBV9mb250QggKBl92YWx1ZUIPCg1fbGluZV9zcGFjaW5nQg0KC19s", |
| | 348 | | "aW5lX2NvdW50Qg4KDF9hZGFwdF93aWR0aEIPCg1fYWRhcHRfaGVpZ2h0QhAK", |
| | 349 | | "Dl90ZXh0X3dyYXBwaW5nQg4KDF9zaGFkb3dfYmx1ckISChBfc2hhZG93X29m", |
| | 350 | | "ZnNldF94QhIKEF9zaGFkb3dfb2Zmc2V0X3lCDwoNX3NoYWRvd19jb2xvckIP", |
| | 351 | | "Cg1faF90ZXh0X2FsaWduQg8KDV92X3RleHRfYWxpZ25CDgoMX3BhZGRpbmdf", |
| | 352 | | "dG9wQhAKDl9wYWRkaW5nX3JpZ2h0QhEKD19wYWRkaW5nX2JvdHRvbUIPCg1f", |
| | 353 | | "cGFkZGluZ19sZWZ0IuQNChhFQ1M2Q29tcG9uZW50VWlJbnB1dFRleHQSEQoE", |
| | 354 | | "bmFtZRgBIAEoCUgAiAEBEhQKB3Zpc2libGUYAiABKAhIAYgBARIUCgdvcGFj", |
| | 355 | | "aXR5GAMgASgCSAKIAQESFAoHaF9hbGlnbhgEIAEoCUgDiAEBEhQKB3ZfYWxp", |
| | 356 | | "Z24YBSABKAlIBIgBARIyCgV3aWR0aBgGIAEoCzIeLmRlY2VudHJhbGFuZC5z", |
| | 357 | | "ZGsuZWNzNi5VaVZhbHVlSAWIAQESMwoGaGVpZ2h0GAcgASgLMh4uZGVjZW50", |
| | 358 | | "cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBogBARI3Cgpwb3NpdGlvbl94GAgg", |
| | 359 | | "ASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIB4gBARI3Cgpw", |
| | 360 | | "b3NpdGlvbl95GAkgASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFs", |
| | 361 | | "dWVICIgBARIfChJpc19wb2ludGVyX2Jsb2NrZXIYCiABKAhICYgBARIdChBw", |
| | 362 | | "YXJlbnRfY29tcG9uZW50GCcgASgJSAqIAQESGgoNb3V0bGluZV93aWR0aBgL", |
| | 363 | | "IAEoAkgLiAEBEj0KDW91dGxpbmVfY29sb3IYDCABKAsyIS5kZWNlbnRyYWxh", |
| | 364 | | "bmQuc2RrLmVjczYuRUNTNkNvbG9yNEgMiAEBEjUKBWNvbG9yGA0gASgLMiEu", |
| | 365 | | "ZGVjZW50cmFsYW5kLnNkay5lY3M2LkVDUzZDb2xvcjRIDYgBARIWCglmb250", |
| | 366 | | "X3NpemUYDiABKAJIDogBARIRCgRmb250GBAgASgJSA+IAQESEgoFdmFsdWUY", |
| | 367 | | "ESABKAlIEIgBARIYCgtwbGFjZWhvbGRlchghIAEoCUgRiAEBEhMKBm1hcmdp", |
| | 368 | | "bhgiIAEoAkgSiAEBEkIKEmZvY3VzZWRfYmFja2dyb3VuZBgjIAEoCzIhLmRl", |
| | 369 | | "Y2VudHJhbGFuZC5zZGsuZWNzNi5FQ1M2Q29sb3I0SBOIAQESGgoNdGV4dF93", |
| | 370 | | "cmFwcGluZxgWIAEoCEgUiAEBEhgKC3NoYWRvd19ibHVyGBcgASgCSBWIAQES", |
| | 371 | | "HAoPc2hhZG93X29mZnNldF94GBggASgCSBaIAQESHAoPc2hhZG93X29mZnNl", |
| | 372 | | "dF95GBkgASgCSBeIAQESPAoMc2hhZG93X2NvbG9yGBogASgLMiEuZGVjZW50", |
| | 373 | | "cmFsYW5kLnNkay5lY3M2LkVDUzZDb2xvcjRIGIgBARIZCgxoX3RleHRfYWxp", |
| | 374 | | "Z24YGyABKAlIGYgBARIZCgx2X3RleHRfYWxpZ24YHCABKAlIGogBARIYCgtw", |
| | 375 | | "YWRkaW5nX3RvcBgdIAEoAkgbiAEBEhoKDXBhZGRpbmdfcmlnaHQYHiABKAJI", |
| | 376 | | "HIgBARIbCg5wYWRkaW5nX2JvdHRvbRgfIAEoAkgdiAEBEhkKDHBhZGRpbmdf", |
| | 377 | | "bGVmdBggIAEoAkgeiAEBEhwKD29uX3RleHRfY2hhbmdlZBgkIAEoCUgfiAEB", |
| | 378 | | "EhUKCG9uX2ZvY3VzGCUgASgJSCCIAQESFAoHb25fYmx1chgmIAEoCUghiAEB", |
| | 379 | | "EhsKDm9uX3RleHRfc3VibWl0GCggASgJSCKIAQESFwoKb25fY2hhbmdlZBgp", |
| | 380 | | "IAEoCUgjiAEBQgcKBV9uYW1lQgoKCF92aXNpYmxlQgoKCF9vcGFjaXR5QgoK", |
| | 381 | | "CF9oX2FsaWduQgoKCF92X2FsaWduQggKBl93aWR0aEIJCgdfaGVpZ2h0Qg0K", |
| | 382 | | "C19wb3NpdGlvbl94Qg0KC19wb3NpdGlvbl95QhUKE19pc19wb2ludGVyX2Js", |
| | 383 | | "b2NrZXJCEwoRX3BhcmVudF9jb21wb25lbnRCEAoOX291dGxpbmVfd2lkdGhC", |
| | 384 | | "EAoOX291dGxpbmVfY29sb3JCCAoGX2NvbG9yQgwKCl9mb250X3NpemVCBwoF", |
| | 385 | | "X2ZvbnRCCAoGX3ZhbHVlQg4KDF9wbGFjZWhvbGRlckIJCgdfbWFyZ2luQhUK", |
| | 386 | | "E19mb2N1c2VkX2JhY2tncm91bmRCEAoOX3RleHRfd3JhcHBpbmdCDgoMX3No", |
| | 387 | | "YWRvd19ibHVyQhIKEF9zaGFkb3dfb2Zmc2V0X3hCEgoQX3NoYWRvd19vZmZz", |
| | 388 | | "ZXRfeUIPCg1fc2hhZG93X2NvbG9yQg8KDV9oX3RleHRfYWxpZ25CDwoNX3Zf", |
| | 389 | | "dGV4dF9hbGlnbkIOCgxfcGFkZGluZ190b3BCEAoOX3BhZGRpbmdfcmlnaHRC", |
| | 390 | | "EQoPX3BhZGRpbmdfYm90dG9tQg8KDV9wYWRkaW5nX2xlZnRCEgoQX29uX3Rl", |
| | 391 | | "eHRfY2hhbmdlZEILCglfb25fZm9jdXNCCgoIX29uX2JsdXJCEQoPX29uX3Rl", |
| | 392 | | "eHRfc3VibWl0Qg0KC19vbl9jaGFuZ2VkIogIChRFQ1M2Q29tcG9uZW50VWlJ", |
| | 393 | | "bWFnZRIRCgRuYW1lGAEgASgJSACIAQESFAoHdmlzaWJsZRgCIAEoCEgBiAEB", |
| | 394 | | "EhQKB29wYWNpdHkYAyABKAJIAogBARIUCgdoX2FsaWduGAQgASgJSAOIAQES", |
| | 395 | | "FAoHdl9hbGlnbhgFIAEoCUgEiAEBEjIKBXdpZHRoGAYgASgLMh4uZGVjZW50", |
| | 396 | | "cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBYgBARIzCgZoZWlnaHQYByABKAsy", |
| | 397 | | "Hi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgGiAEBEjcKCnBvc2l0", |
| | 398 | | "aW9uX3gYCCABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgH", |
| | 399 | | "iAEBEjcKCnBvc2l0aW9uX3kYCSABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVj", |
| | 400 | | "czYuVWlWYWx1ZUgIiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgKIAEoCEgJ", |
| | 401 | | "iAEBEh0KEHBhcmVudF9jb21wb25lbnQYFiABKAlICogBARIYCgtzb3VyY2Vf", |
| | 402 | | "bGVmdBgLIAEoAkgLiAEBEhcKCnNvdXJjZV90b3AYDCABKAJIDIgBARIZCgxz", |
| | 403 | | "b3VyY2Vfd2lkdGgYDSABKAJIDYgBARIaCg1zb3VyY2VfaGVpZ2h0GA4gASgC", |
| | 404 | | "SA6IAQESEwoGc291cmNlGA8gASgJSA+IAQESGAoLcGFkZGluZ190b3AYECAB", |
| | 405 | | "KAJIEIgBARIaCg1wYWRkaW5nX3JpZ2h0GBEgASgCSBGIAQESGwoOcGFkZGlu", |
| | 406 | | "Z19ib3R0b20YEiABKAJIEogBARIZCgxwYWRkaW5nX2xlZnQYEyABKAJIE4gB", |
| | 407 | | "ARIbCg5zaXplX2luX3BpeGVscxgUIAEoCEgUiAEBEhUKCG9uX2NsaWNrGBUg", |
| | 408 | | "ASgJSBWIAQFCBwoFX25hbWVCCgoIX3Zpc2libGVCCgoIX29wYWNpdHlCCgoI", |
| | 409 | | "X2hfYWxpZ25CCgoIX3ZfYWxpZ25CCAoGX3dpZHRoQgkKB19oZWlnaHRCDQoL", |
| | 410 | | "X3Bvc2l0aW9uX3hCDQoLX3Bvc2l0aW9uX3lCFQoTX2lzX3BvaW50ZXJfYmxv", |
| | 411 | | "Y2tlckITChFfcGFyZW50X2NvbXBvbmVudEIOCgxfc291cmNlX2xlZnRCDQoL", |
| | 412 | | "X3NvdXJjZV90b3BCDwoNX3NvdXJjZV93aWR0aEIQCg5fc291cmNlX2hlaWdo", |
| | 413 | | "dEIJCgdfc291cmNlQg4KDF9wYWRkaW5nX3RvcEIQCg5fcGFkZGluZ19yaWdo", |
| | 414 | | "dEIRCg9fcGFkZGluZ19ib3R0b21CDwoNX3BhZGRpbmdfbGVmdEIRCg9fc2l6", |
| | 415 | | "ZV9pbl9waXhlbHNCCwoJX29uX2NsaWNrIogIChlFQ1M2Q29tcG9uZW50VWlT", |
| | 416 | | "Y3JvbGxSZWN0EhEKBG5hbWUYCyABKAlIAIgBARIUCgd2aXNpYmxlGAwgASgI", |
| | 417 | | "SAGIAQESFAoHb3BhY2l0eRgNIAEoAkgCiAEBEhQKB2hfYWxpZ24YDiABKAlI", |
| | 418 | | "A4gBARIUCgd2X2FsaWduGA8gASgJSASIAQESMgoFd2lkdGgYECABKAsyHi5k", |
| | 419 | | "ZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgFiAEBEjMKBmhlaWdodBgR", |
| | 420 | | "IAEoCzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVlSAaIAQESNwoK", |
| | 421 | | "cG9zaXRpb25feBgSIAEoCzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZh", |
| | 422 | | "bHVlSAeIAQESNwoKcG9zaXRpb25feRgTIAEoCzIeLmRlY2VudHJhbGFuZC5z", |
| | 423 | | "ZGsuZWNzNi5VaVZhbHVlSAiIAQESHwoSaXNfcG9pbnRlcl9ibG9ja2VyGBQg", |
| | 424 | | "ASgISAmIAQESHQoQcGFyZW50X2NvbXBvbmVudBgVIAEoCUgKiAEBEhQKB3Zh", |
| | 425 | | "bHVlX3gYASABKAJIC4gBARIUCgd2YWx1ZV95GAIgASgCSAyIAQESQAoQYmFj", |
| | 426 | | "a2dyb3VuZF9jb2xvchgDIAEoCzIhLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5F", |
| | 427 | | "Q1M2Q29sb3I0SA2IAQESGgoNaXNfaG9yaXpvbnRhbBgEIAEoCEgOiAEBEhgK", |
| | 428 | | "C2lzX3ZlcnRpY2FsGAUgASgISA+IAQESGAoLcGFkZGluZ190b3AYBiABKAJI", |
| | 429 | | "EIgBARIaCg1wYWRkaW5nX3JpZ2h0GAcgASgCSBGIAQESGwoOcGFkZGluZ19i", |
| | 430 | | "b3R0b20YCCABKAJIEogBARIZCgxwYWRkaW5nX2xlZnQYCSABKAJIE4gBARIX", |
| | 431 | | "Cgpvbl9jaGFuZ2VkGAogASgJSBSIAQFCBwoFX25hbWVCCgoIX3Zpc2libGVC", |
| | 432 | | "CgoIX29wYWNpdHlCCgoIX2hfYWxpZ25CCgoIX3ZfYWxpZ25CCAoGX3dpZHRo", |
| | 433 | | "QgkKB19oZWlnaHRCDQoLX3Bvc2l0aW9uX3hCDQoLX3Bvc2l0aW9uX3lCFQoT", |
| | 434 | | "X2lzX3BvaW50ZXJfYmxvY2tlckITChFfcGFyZW50X2NvbXBvbmVudEIKCghf", |
| | 435 | | "dmFsdWVfeEIKCghfdmFsdWVfeUITChFfYmFja2dyb3VuZF9jb2xvckIQCg5f", |
| | 436 | | "aXNfaG9yaXpvbnRhbEIOCgxfaXNfdmVydGljYWxCDgoMX3BhZGRpbmdfdG9w", |
| | 437 | | "QhAKDl9wYWRkaW5nX3JpZ2h0QhEKD19wYWRkaW5nX2JvdHRvbUIPCg1fcGFk", |
| | 438 | | "ZGluZ19sZWZ0Qg0KC19vbl9jaGFuZ2VkIr4ECh5FQ1M2Q29tcG9uZW50VWlX", |
| | 439 | | "b3JsZFNwYWNlU2hhcGUSEQoEbmFtZRgBIAEoCUgAiAEBEhQKB3Zpc2libGUY", |
| | 440 | | "AiABKAhIAYgBARIUCgdvcGFjaXR5GAMgASgCSAKIAQESFAoHaF9hbGlnbhgE", |
| | 441 | | "IAEoCUgDiAEBEhQKB3ZfYWxpZ24YBSABKAlIBIgBARIyCgV3aWR0aBgGIAEo", |
| | 442 | | "CzIeLmRlY2VudHJhbGFuZC5zZGsuZWNzNi5VaVZhbHVlSAWIAQESMwoGaGVp", |
| | 443 | | "Z2h0GAcgASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBogB", |
| | 444 | | "ARI3Cgpwb3NpdGlvbl94GAggASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2", |
| | 445 | | "LlVpVmFsdWVIB4gBARI3Cgpwb3NpdGlvbl95GAkgASgLMh4uZGVjZW50cmFs", |
| | 446 | | "YW5kLnNkay5lY3M2LlVpVmFsdWVICIgBARIfChJpc19wb2ludGVyX2Jsb2Nr", |
| | 447 | | "ZXIYCiABKAhICYgBARIdChBwYXJlbnRfY29tcG9uZW50GAsgASgJSAqIAQFC", |
| | 448 | | "BwoFX25hbWVCCgoIX3Zpc2libGVCCgoIX29wYWNpdHlCCgoIX2hfYWxpZ25C", |
| | 449 | | "CgoIX3ZfYWxpZ25CCAoGX3dpZHRoQgkKB19oZWlnaHRCDQoLX3Bvc2l0aW9u", |
| | 450 | | "X3hCDQoLX3Bvc2l0aW9uX3lCFQoTX2lzX3BvaW50ZXJfYmxvY2tlckITChFf", |
| | 451 | | "cGFyZW50X2NvbXBvbmVudCK/BAofRUNTNkNvbXBvbmVudFVpU2NyZWVuU3Bh", |
| | 452 | | "Y2VTaGFwZRIRCgRuYW1lGAEgASgJSACIAQESFAoHdmlzaWJsZRgCIAEoCEgB", |
| | 453 | | "iAEBEhQKB29wYWNpdHkYAyABKAJIAogBARIUCgdoX2FsaWduGAQgASgJSAOI", |
| | 454 | | "AQESFAoHdl9hbGlnbhgFIAEoCUgEiAEBEjIKBXdpZHRoGAYgASgLMh4uZGVj", |
| | 455 | | "ZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBYgBARIzCgZoZWlnaHQYByAB", |
| | 456 | | "KAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1ZUgGiAEBEjcKCnBv", |
| | 457 | | "c2l0aW9uX3gYCCABKAsyHi5kZWNlbnRyYWxhbmQuc2RrLmVjczYuVWlWYWx1", |
| | 458 | | "ZUgHiAEBEjcKCnBvc2l0aW9uX3kYCSABKAsyHi5kZWNlbnRyYWxhbmQuc2Rr", |
| | 459 | | "LmVjczYuVWlWYWx1ZUgIiAEBEh8KEmlzX3BvaW50ZXJfYmxvY2tlchgKIAEo", |
| | 460 | | "CEgJiAEBEh0KEHBhcmVudF9jb21wb25lbnQYCyABKAlICogBAUIHCgVfbmFt", |
| | 461 | | "ZUIKCghfdmlzaWJsZUIKCghfb3BhY2l0eUIKCghfaF9hbGlnbkIKCghfdl9h", |
| | 462 | | "bGlnbkIICgZfd2lkdGhCCQoHX2hlaWdodEINCgtfcG9zaXRpb25feEINCgtf", |
| | 463 | | "cG9zaXRpb25feUIVChNfaXNfcG9pbnRlcl9ibG9ja2VyQhMKEV9wYXJlbnRf", |
| | 464 | | "Y29tcG9uZW50Ir4ECh5FQ1M2Q29tcG9uZW50VWlGdWxsU2NyZWVuU2hhcGUS", |
| | 465 | | "EQoEbmFtZRgBIAEoCUgAiAEBEhQKB3Zpc2libGUYAiABKAhIAYgBARIUCgdv", |
| | 466 | | "cGFjaXR5GAMgASgCSAKIAQESFAoHaF9hbGlnbhgEIAEoCUgDiAEBEhQKB3Zf", |
| | 467 | | "YWxpZ24YBSABKAlIBIgBARIyCgV3aWR0aBgGIAEoCzIeLmRlY2VudHJhbGFu", |
| | 468 | | "ZC5zZGsuZWNzNi5VaVZhbHVlSAWIAQESMwoGaGVpZ2h0GAcgASgLMh4uZGVj", |
| | 469 | | "ZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIBogBARI3Cgpwb3NpdGlvbl94", |
| | 470 | | "GAggASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVpVmFsdWVIB4gBARI3", |
| | 471 | | "Cgpwb3NpdGlvbl95GAkgASgLMh4uZGVjZW50cmFsYW5kLnNkay5lY3M2LlVp", |
| | 472 | | "VmFsdWVICIgBARIfChJpc19wb2ludGVyX2Jsb2NrZXIYCiABKAhICYgBARId", |
| | 473 | | "ChBwYXJlbnRfY29tcG9uZW50GAsgASgJSAqIAQFCBwoFX25hbWVCCgoIX3Zp", |
| | 474 | | "c2libGVCCgoIX29wYWNpdHlCCgoIX2hfYWxpZ25CCgoIX3ZfYWxpZ25CCAoG", |
| | 475 | | "X3dpZHRoQgkKB19oZWlnaHRCDQoLX3Bvc2l0aW9uX3hCDQoLX3Bvc2l0aW9u", |
| | 476 | | "X3lCFQoTX2lzX3BvaW50ZXJfYmxvY2tlckITChFfcGFyZW50X2NvbXBvbmVu", |
| | 477 | | "dGIGcHJvdG8z")); |
| | 478 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 479 | | new pbr::FileDescriptor[] { global::Decentraland.Common.VectorsReflection.Descriptor, global::Decentraland.Com |
| | 480 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 481 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6Color4), global::Decentraland.Sdk.Ecs |
| | 482 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.Area), global::Decentraland.Sdk.Ecs6.Area |
| | 483 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.UiValue), global::Decentraland.Sdk.Ecs6.U |
| | 484 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarModifierArea), global: |
| | 485 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentTransform), global::Decentra |
| | 486 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar), global::Dec |
| | 487 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentBillboard), global::Decentra |
| | 488 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentBoxShape), global::Decentral |
| | 489 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentSphereShape), global::Decent |
| | 490 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentCircleShape), global::Decent |
| | 491 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentPlaneShape), global::Decentr |
| | 492 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentConeShape), global::Decentra |
| | 493 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentCylinderShape), global::Dece |
| | 494 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentGltfShape), global::Decentra |
| | 495 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape), global::Decentral |
| | 496 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentTexture), global::Decentrala |
| | 497 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator), global::Decentral |
| | 498 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentObjShape), global::Decentral |
| | 499 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentFont), global::Decentraland. |
| | 500 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentTextShape), global::Decentra |
| | 501 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentMaterial), global::Decentral |
| | 502 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentBasicMaterial), global::Dece |
| | 503 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUuidCallback), global::Decen |
| | 504 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentSmartItem), global::Decentra |
| | 505 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoClip), global::Decentra |
| | 506 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentVideoTexture), global::Decen |
| | 507 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea), global::Dec |
| | 508 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarTexture), global::Dece |
| | 509 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioClip), global::Decentra |
| | 510 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioSource), global::Decent |
| | 511 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAudioStream), global::Decent |
| | 512 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape), global::Decent |
| | 513 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentGizmos), global::Decentralan |
| | 514 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiShape), global::Decentrala |
| | 515 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerRect), global::De |
| | 516 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack), global::D |
| | 517 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiButton), global::Decentral |
| | 518 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiText), global::Decentralan |
| | 519 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiInputText), global::Decent |
| | 520 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiImage), global::Decentrala |
| | 521 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScrollRect), global::Decen |
| | 522 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiWorldSpaceShape), global:: |
| | 523 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiScreenSpaceShape), global: |
| | 524 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Sdk.Ecs6.ECS6ComponentUiFullScreenShape), global:: |
| | 525 | | })); |
| | 526 | | } |
| | 527 | | #endregion |
| | 528 | |
|
| | 529 | | } |
| | 530 | | #region Messages |
| | 531 | | public sealed partial class ECS6Color4 : pb::IMessage<ECS6Color4> |
| | 532 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 533 | | , pb::IBufferMessage |
| | 534 | | #endif |
| | 535 | | { |
| | 536 | | private static readonly pb::MessageParser<ECS6Color4> _parser = new pb::MessageParser<ECS6Color4>(() => new ECS6Colo |
| | 537 | | private pb::UnknownFieldSet _unknownFields; |
| | 538 | | private int _hasBits0; |
| | 539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 541 | | public static pb::MessageParser<ECS6Color4> Parser { get { return _parser; } } |
| | 542 | |
|
| | 543 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 544 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 545 | | public static pbr::MessageDescriptor Descriptor { |
| | 546 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[0]; } |
| | 547 | | } |
| | 548 | |
|
| | 549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 551 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 552 | | get { return Descriptor; } |
| | 553 | | } |
| | 554 | |
|
| | 555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 557 | | public ECS6Color4() { |
| | 558 | | OnConstruction(); |
| | 559 | | } |
| | 560 | |
|
| | 561 | | partial void OnConstruction(); |
| | 562 | |
|
| | 563 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 564 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 565 | | public ECS6Color4(ECS6Color4 other) : this() { |
| | 566 | | _hasBits0 = other._hasBits0; |
| | 567 | | r_ = other.r_; |
| | 568 | | g_ = other.g_; |
| | 569 | | b_ = other.b_; |
| | 570 | | a_ = other.a_; |
| | 571 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 572 | | } |
| | 573 | |
|
| | 574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 576 | | public ECS6Color4 Clone() { |
| | 577 | | return new ECS6Color4(this); |
| | 578 | | } |
| | 579 | |
|
| | 580 | | /// <summary>Field number for the "r" field.</summary> |
| | 581 | | public const int RFieldNumber = 1; |
| | 582 | | private float r_; |
| | 583 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 584 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 585 | | public float R { |
| | 586 | | get { return r_; } |
| | 587 | | set { |
| | 588 | | r_ = value; |
| | 589 | | } |
| | 590 | | } |
| | 591 | |
|
| | 592 | | /// <summary>Field number for the "g" field.</summary> |
| | 593 | | public const int GFieldNumber = 2; |
| | 594 | | private float g_; |
| | 595 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 596 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 597 | | public float G { |
| | 598 | | get { return g_; } |
| | 599 | | set { |
| | 600 | | g_ = value; |
| | 601 | | } |
| | 602 | | } |
| | 603 | |
|
| | 604 | | /// <summary>Field number for the "b" field.</summary> |
| | 605 | | public const int BFieldNumber = 3; |
| | 606 | | private float b_; |
| | 607 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 608 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 609 | | public float B { |
| | 610 | | get { return b_; } |
| | 611 | | set { |
| | 612 | | b_ = value; |
| | 613 | | } |
| | 614 | | } |
| | 615 | |
|
| | 616 | | /// <summary>Field number for the "a" field.</summary> |
| | 617 | | public const int AFieldNumber = 4; |
| | 618 | | private float a_; |
| | 619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 621 | | public float A { |
| | 622 | | get { if ((_hasBits0 & 1) != 0) { return a_; } else { return 0F; } } |
| | 623 | | set { |
| | 624 | | _hasBits0 |= 1; |
| | 625 | | a_ = value; |
| | 626 | | } |
| | 627 | | } |
| | 628 | | /// <summary>Gets whether the "a" field is set</summary> |
| | 629 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 630 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 631 | | public bool HasA { |
| | 632 | | get { return (_hasBits0 & 1) != 0; } |
| | 633 | | } |
| | 634 | | /// <summary>Clears the value of the "a" field</summary> |
| | 635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 637 | | public void ClearA() { |
| | 638 | | _hasBits0 &= ~1; |
| | 639 | | } |
| | 640 | |
|
| | 641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 643 | | public override bool Equals(object other) { |
| | 644 | | return Equals(other as ECS6Color4); |
| | 645 | | } |
| | 646 | |
|
| | 647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 649 | | public bool Equals(ECS6Color4 other) { |
| | 650 | | if (ReferenceEquals(other, null)) { |
| | 651 | | return false; |
| | 652 | | } |
| | 653 | | if (ReferenceEquals(other, this)) { |
| | 654 | | return true; |
| | 655 | | } |
| | 656 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(R, other.R)) return false; |
| | 657 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(G, other.G)) return false; |
| | 658 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(B, other.B)) return false; |
| | 659 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(A, other.A)) return false; |
| | 660 | | return Equals(_unknownFields, other._unknownFields); |
| | 661 | | } |
| | 662 | |
|
| | 663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 665 | | public override int GetHashCode() { |
| | 666 | | int hash = 1; |
| | 667 | | if (R != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(R); |
| | 668 | | if (G != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(G); |
| | 669 | | if (B != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(B); |
| | 670 | | if (HasA) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(A); |
| | 671 | | if (_unknownFields != null) { |
| | 672 | | hash ^= _unknownFields.GetHashCode(); |
| | 673 | | } |
| | 674 | | return hash; |
| | 675 | | } |
| | 676 | |
|
| | 677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 679 | | public override string ToString() { |
| | 680 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 681 | | } |
| | 682 | |
|
| | 683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 685 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 686 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 687 | | output.WriteRawMessage(this); |
| | 688 | | #else |
| | 689 | | if (R != 0F) { |
| | 690 | | output.WriteRawTag(13); |
| | 691 | | output.WriteFloat(R); |
| | 692 | | } |
| | 693 | | if (G != 0F) { |
| | 694 | | output.WriteRawTag(21); |
| | 695 | | output.WriteFloat(G); |
| | 696 | | } |
| | 697 | | if (B != 0F) { |
| | 698 | | output.WriteRawTag(29); |
| | 699 | | output.WriteFloat(B); |
| | 700 | | } |
| | 701 | | if (HasA) { |
| | 702 | | output.WriteRawTag(37); |
| | 703 | | output.WriteFloat(A); |
| | 704 | | } |
| | 705 | | if (_unknownFields != null) { |
| | 706 | | _unknownFields.WriteTo(output); |
| | 707 | | } |
| | 708 | | #endif |
| | 709 | | } |
| | 710 | |
|
| | 711 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 714 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 715 | | if (R != 0F) { |
| | 716 | | output.WriteRawTag(13); |
| | 717 | | output.WriteFloat(R); |
| | 718 | | } |
| | 719 | | if (G != 0F) { |
| | 720 | | output.WriteRawTag(21); |
| | 721 | | output.WriteFloat(G); |
| | 722 | | } |
| | 723 | | if (B != 0F) { |
| | 724 | | output.WriteRawTag(29); |
| | 725 | | output.WriteFloat(B); |
| | 726 | | } |
| | 727 | | if (HasA) { |
| | 728 | | output.WriteRawTag(37); |
| | 729 | | output.WriteFloat(A); |
| | 730 | | } |
| | 731 | | if (_unknownFields != null) { |
| | 732 | | _unknownFields.WriteTo(ref output); |
| | 733 | | } |
| | 734 | | } |
| | 735 | | #endif |
| | 736 | |
|
| | 737 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 738 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 739 | | public int CalculateSize() { |
| | 740 | | int size = 0; |
| | 741 | | if (R != 0F) { |
| | 742 | | size += 1 + 4; |
| | 743 | | } |
| | 744 | | if (G != 0F) { |
| | 745 | | size += 1 + 4; |
| | 746 | | } |
| | 747 | | if (B != 0F) { |
| | 748 | | size += 1 + 4; |
| | 749 | | } |
| | 750 | | if (HasA) { |
| | 751 | | size += 1 + 4; |
| | 752 | | } |
| | 753 | | if (_unknownFields != null) { |
| | 754 | | size += _unknownFields.CalculateSize(); |
| | 755 | | } |
| | 756 | | return size; |
| | 757 | | } |
| | 758 | |
|
| | 759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 761 | | public void MergeFrom(ECS6Color4 other) { |
| | 762 | | if (other == null) { |
| | 763 | | return; |
| | 764 | | } |
| | 765 | | if (other.R != 0F) { |
| | 766 | | R = other.R; |
| | 767 | | } |
| | 768 | | if (other.G != 0F) { |
| | 769 | | G = other.G; |
| | 770 | | } |
| | 771 | | if (other.B != 0F) { |
| | 772 | | B = other.B; |
| | 773 | | } |
| | 774 | | if (other.HasA) { |
| | 775 | | A = other.A; |
| | 776 | | } |
| | 777 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 778 | | } |
| | 779 | |
|
| | 780 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 781 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 782 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 783 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 784 | | input.ReadRawMessage(this); |
| | 785 | | #else |
| | 786 | | uint tag; |
| | 787 | | while ((tag = input.ReadTag()) != 0) { |
| | 788 | | switch(tag) { |
| | 789 | | default: |
| | 790 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 791 | | break; |
| | 792 | | case 13: { |
| | 793 | | R = input.ReadFloat(); |
| | 794 | | break; |
| | 795 | | } |
| | 796 | | case 21: { |
| | 797 | | G = input.ReadFloat(); |
| | 798 | | break; |
| | 799 | | } |
| | 800 | | case 29: { |
| | 801 | | B = input.ReadFloat(); |
| | 802 | | break; |
| | 803 | | } |
| | 804 | | case 37: { |
| | 805 | | A = input.ReadFloat(); |
| | 806 | | break; |
| | 807 | | } |
| | 808 | | } |
| | 809 | | } |
| | 810 | | #endif |
| | 811 | | } |
| | 812 | |
|
| | 813 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 814 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 815 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 816 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 817 | | uint tag; |
| | 818 | | while ((tag = input.ReadTag()) != 0) { |
| | 819 | | switch(tag) { |
| | 820 | | default: |
| | 821 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 822 | | break; |
| | 823 | | case 13: { |
| | 824 | | R = input.ReadFloat(); |
| | 825 | | break; |
| | 826 | | } |
| | 827 | | case 21: { |
| | 828 | | G = input.ReadFloat(); |
| | 829 | | break; |
| | 830 | | } |
| | 831 | | case 29: { |
| | 832 | | B = input.ReadFloat(); |
| | 833 | | break; |
| | 834 | | } |
| | 835 | | case 37: { |
| | 836 | | A = input.ReadFloat(); |
| | 837 | | break; |
| | 838 | | } |
| | 839 | | } |
| | 840 | | } |
| | 841 | | } |
| | 842 | | #endif |
| | 843 | |
|
| | 844 | | } |
| | 845 | |
|
| | 846 | | public sealed partial class Area : pb::IMessage<Area> |
| | 847 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 848 | | , pb::IBufferMessage |
| | 849 | | #endif |
| | 850 | | { |
| | 851 | | private static readonly pb::MessageParser<Area> _parser = new pb::MessageParser<Area>(() => new Area()); |
| | 852 | | private pb::UnknownFieldSet _unknownFields; |
| | 853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 855 | | public static pb::MessageParser<Area> Parser { get { return _parser; } } |
| | 856 | |
|
| | 857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 859 | | public static pbr::MessageDescriptor Descriptor { |
| | 860 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[1]; } |
| | 861 | | } |
| | 862 | |
|
| | 863 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 864 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 865 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 866 | | get { return Descriptor; } |
| | 867 | | } |
| | 868 | |
|
| | 869 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 870 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 871 | | public Area() { |
| | 872 | | OnConstruction(); |
| | 873 | | } |
| | 874 | |
|
| | 875 | | partial void OnConstruction(); |
| | 876 | |
|
| | 877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 879 | | public Area(Area other) : this() { |
| | 880 | | box_ = other.box_ != null ? other.box_.Clone() : null; |
| | 881 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 882 | | } |
| | 883 | |
|
| | 884 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 885 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 886 | | public Area Clone() { |
| | 887 | | return new Area(this); |
| | 888 | | } |
| | 889 | |
|
| | 890 | | /// <summary>Field number for the "box" field.</summary> |
| | 891 | | public const int BoxFieldNumber = 1; |
| | 892 | | private global::Decentraland.Common.Vector3 box_; |
| | 893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 895 | | public global::Decentraland.Common.Vector3 Box { |
| | 896 | | get { return box_; } |
| | 897 | | set { |
| | 898 | | box_ = value; |
| | 899 | | } |
| | 900 | | } |
| | 901 | |
|
| | 902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 904 | | public override bool Equals(object other) { |
| | 905 | | return Equals(other as Area); |
| | 906 | | } |
| | 907 | |
|
| | 908 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 909 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 910 | | public bool Equals(Area other) { |
| | 911 | | if (ReferenceEquals(other, null)) { |
| | 912 | | return false; |
| | 913 | | } |
| | 914 | | if (ReferenceEquals(other, this)) { |
| | 915 | | return true; |
| | 916 | | } |
| | 917 | | if (!object.Equals(Box, other.Box)) return false; |
| | 918 | | return Equals(_unknownFields, other._unknownFields); |
| | 919 | | } |
| | 920 | |
|
| | 921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 923 | | public override int GetHashCode() { |
| | 924 | | int hash = 1; |
| | 925 | | if (box_ != null) hash ^= Box.GetHashCode(); |
| | 926 | | if (_unknownFields != null) { |
| | 927 | | hash ^= _unknownFields.GetHashCode(); |
| | 928 | | } |
| | 929 | | return hash; |
| | 930 | | } |
| | 931 | |
|
| | 932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 934 | | public override string ToString() { |
| | 935 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 936 | | } |
| | 937 | |
|
| | 938 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 939 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 940 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 941 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 942 | | output.WriteRawMessage(this); |
| | 943 | | #else |
| | 944 | | if (box_ != null) { |
| | 945 | | output.WriteRawTag(10); |
| | 946 | | output.WriteMessage(Box); |
| | 947 | | } |
| | 948 | | if (_unknownFields != null) { |
| | 949 | | _unknownFields.WriteTo(output); |
| | 950 | | } |
| | 951 | | #endif |
| | 952 | | } |
| | 953 | |
|
| | 954 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 957 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 958 | | if (box_ != null) { |
| | 959 | | output.WriteRawTag(10); |
| | 960 | | output.WriteMessage(Box); |
| | 961 | | } |
| | 962 | | if (_unknownFields != null) { |
| | 963 | | _unknownFields.WriteTo(ref output); |
| | 964 | | } |
| | 965 | | } |
| | 966 | | #endif |
| | 967 | |
|
| | 968 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 969 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 970 | | public int CalculateSize() { |
| | 971 | | int size = 0; |
| | 972 | | if (box_ != null) { |
| | 973 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Box); |
| | 974 | | } |
| | 975 | | if (_unknownFields != null) { |
| | 976 | | size += _unknownFields.CalculateSize(); |
| | 977 | | } |
| | 978 | | return size; |
| | 979 | | } |
| | 980 | |
|
| | 981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 983 | | public void MergeFrom(Area other) { |
| | 984 | | if (other == null) { |
| | 985 | | return; |
| | 986 | | } |
| | 987 | | if (other.box_ != null) { |
| | 988 | | if (box_ == null) { |
| | 989 | | Box = new global::Decentraland.Common.Vector3(); |
| | 990 | | } |
| | 991 | | Box.MergeFrom(other.Box); |
| | 992 | | } |
| | 993 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 994 | | } |
| | 995 | |
|
| | 996 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 997 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 998 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 999 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1000 | | input.ReadRawMessage(this); |
| | 1001 | | #else |
| | 1002 | | uint tag; |
| | 1003 | | while ((tag = input.ReadTag()) != 0) { |
| | 1004 | | switch(tag) { |
| | 1005 | | default: |
| | 1006 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1007 | | break; |
| | 1008 | | case 10: { |
| | 1009 | | if (box_ == null) { |
| | 1010 | | Box = new global::Decentraland.Common.Vector3(); |
| | 1011 | | } |
| | 1012 | | input.ReadMessage(Box); |
| | 1013 | | break; |
| | 1014 | | } |
| | 1015 | | } |
| | 1016 | | } |
| | 1017 | | #endif |
| | 1018 | | } |
| | 1019 | |
|
| | 1020 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1021 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1022 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1023 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1024 | | uint tag; |
| | 1025 | | while ((tag = input.ReadTag()) != 0) { |
| | 1026 | | switch(tag) { |
| | 1027 | | default: |
| | 1028 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1029 | | break; |
| | 1030 | | case 10: { |
| | 1031 | | if (box_ == null) { |
| | 1032 | | Box = new global::Decentraland.Common.Vector3(); |
| | 1033 | | } |
| | 1034 | | input.ReadMessage(Box); |
| | 1035 | | break; |
| | 1036 | | } |
| | 1037 | | } |
| | 1038 | | } |
| | 1039 | | } |
| | 1040 | | #endif |
| | 1041 | |
|
| | 1042 | | } |
| | 1043 | |
|
| | 1044 | | public sealed partial class UiValue : pb::IMessage<UiValue> |
| | 1045 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1046 | | , pb::IBufferMessage |
| | 1047 | | #endif |
| | 1048 | | { |
| | 1049 | | private static readonly pb::MessageParser<UiValue> _parser = new pb::MessageParser<UiValue>(() => new UiValue()); |
| | 1050 | | private pb::UnknownFieldSet _unknownFields; |
| | 1051 | | private int _hasBits0; |
| | 1052 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1053 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1054 | | public static pb::MessageParser<UiValue> Parser { get { return _parser; } } |
| | 1055 | |
|
| | 1056 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1057 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1058 | | public static pbr::MessageDescriptor Descriptor { |
| | 1059 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[2]; } |
| | 1060 | | } |
| | 1061 | |
|
| | 1062 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1063 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1064 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1065 | | get { return Descriptor; } |
| | 1066 | | } |
| | 1067 | |
|
| | 1068 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1069 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1070 | | public UiValue() { |
| | 1071 | | OnConstruction(); |
| | 1072 | | } |
| | 1073 | |
|
| | 1074 | | partial void OnConstruction(); |
| | 1075 | |
|
| | 1076 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1077 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1078 | | public UiValue(UiValue other) : this() { |
| | 1079 | | _hasBits0 = other._hasBits0; |
| | 1080 | | value_ = other.value_; |
| | 1081 | | type_ = other.type_; |
| | 1082 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1083 | | } |
| | 1084 | |
|
| | 1085 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1086 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1087 | | public UiValue Clone() { |
| | 1088 | | return new UiValue(this); |
| | 1089 | | } |
| | 1090 | |
|
| | 1091 | | /// <summary>Field number for the "value" field.</summary> |
| | 1092 | | public const int ValueFieldNumber = 1; |
| | 1093 | | private float value_; |
| | 1094 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1095 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1096 | | public float Value { |
| | 1097 | | get { if ((_hasBits0 & 1) != 0) { return value_; } else { return 0F; } } |
| | 1098 | | set { |
| | 1099 | | _hasBits0 |= 1; |
| | 1100 | | value_ = value; |
| | 1101 | | } |
| | 1102 | | } |
| | 1103 | | /// <summary>Gets whether the "value" field is set</summary> |
| | 1104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1106 | | public bool HasValue { |
| | 1107 | | get { return (_hasBits0 & 1) != 0; } |
| | 1108 | | } |
| | 1109 | | /// <summary>Clears the value of the "value" field</summary> |
| | 1110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1112 | | public void ClearValue() { |
| | 1113 | | _hasBits0 &= ~1; |
| | 1114 | | } |
| | 1115 | |
|
| | 1116 | | /// <summary>Field number for the "type" field.</summary> |
| | 1117 | | public const int TypeFieldNumber = 2; |
| | 1118 | | private global::Decentraland.Sdk.Ecs6.UiValue.Types.UiValueType type_; |
| | 1119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1121 | | public global::Decentraland.Sdk.Ecs6.UiValue.Types.UiValueType Type { |
| | 1122 | | get { if ((_hasBits0 & 2) != 0) { return type_; } else { return global::Decentraland.Sdk.Ecs6.UiValue.Types.UiValu |
| | 1123 | | set { |
| | 1124 | | _hasBits0 |= 2; |
| | 1125 | | type_ = value; |
| | 1126 | | } |
| | 1127 | | } |
| | 1128 | | /// <summary>Gets whether the "type" field is set</summary> |
| | 1129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1131 | | public bool HasType { |
| | 1132 | | get { return (_hasBits0 & 2) != 0; } |
| | 1133 | | } |
| | 1134 | | /// <summary>Clears the value of the "type" field</summary> |
| | 1135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1137 | | public void ClearType() { |
| | 1138 | | _hasBits0 &= ~2; |
| | 1139 | | } |
| | 1140 | |
|
| | 1141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1143 | | public override bool Equals(object other) { |
| | 1144 | | return Equals(other as UiValue); |
| | 1145 | | } |
| | 1146 | |
|
| | 1147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1149 | | public bool Equals(UiValue other) { |
| | 1150 | | if (ReferenceEquals(other, null)) { |
| | 1151 | | return false; |
| | 1152 | | } |
| | 1153 | | if (ReferenceEquals(other, this)) { |
| | 1154 | | return true; |
| | 1155 | | } |
| | 1156 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Value, other.Value)) return false; |
| | 1157 | | if (Type != other.Type) return false; |
| | 1158 | | return Equals(_unknownFields, other._unknownFields); |
| | 1159 | | } |
| | 1160 | |
|
| | 1161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1163 | | public override int GetHashCode() { |
| | 1164 | | int hash = 1; |
| | 1165 | | if (HasValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Value); |
| | 1166 | | if (HasType) hash ^= Type.GetHashCode(); |
| | 1167 | | if (_unknownFields != null) { |
| | 1168 | | hash ^= _unknownFields.GetHashCode(); |
| | 1169 | | } |
| | 1170 | | return hash; |
| | 1171 | | } |
| | 1172 | |
|
| | 1173 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1174 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1175 | | public override string ToString() { |
| | 1176 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1177 | | } |
| | 1178 | |
|
| | 1179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1181 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1182 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1183 | | output.WriteRawMessage(this); |
| | 1184 | | #else |
| | 1185 | | if (HasValue) { |
| | 1186 | | output.WriteRawTag(13); |
| | 1187 | | output.WriteFloat(Value); |
| | 1188 | | } |
| | 1189 | | if (HasType) { |
| | 1190 | | output.WriteRawTag(16); |
| | 1191 | | output.WriteEnum((int) Type); |
| | 1192 | | } |
| | 1193 | | if (_unknownFields != null) { |
| | 1194 | | _unknownFields.WriteTo(output); |
| | 1195 | | } |
| | 1196 | | #endif |
| | 1197 | | } |
| | 1198 | |
|
| | 1199 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1202 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1203 | | if (HasValue) { |
| | 1204 | | output.WriteRawTag(13); |
| | 1205 | | output.WriteFloat(Value); |
| | 1206 | | } |
| | 1207 | | if (HasType) { |
| | 1208 | | output.WriteRawTag(16); |
| | 1209 | | output.WriteEnum((int) Type); |
| | 1210 | | } |
| | 1211 | | if (_unknownFields != null) { |
| | 1212 | | _unknownFields.WriteTo(ref output); |
| | 1213 | | } |
| | 1214 | | } |
| | 1215 | | #endif |
| | 1216 | |
|
| | 1217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1219 | | public int CalculateSize() { |
| | 1220 | | int size = 0; |
| | 1221 | | if (HasValue) { |
| | 1222 | | size += 1 + 4; |
| | 1223 | | } |
| | 1224 | | if (HasType) { |
| | 1225 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); |
| | 1226 | | } |
| | 1227 | | if (_unknownFields != null) { |
| | 1228 | | size += _unknownFields.CalculateSize(); |
| | 1229 | | } |
| | 1230 | | return size; |
| | 1231 | | } |
| | 1232 | |
|
| | 1233 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1234 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1235 | | public void MergeFrom(UiValue other) { |
| | 1236 | | if (other == null) { |
| | 1237 | | return; |
| | 1238 | | } |
| | 1239 | | if (other.HasValue) { |
| | 1240 | | Value = other.Value; |
| | 1241 | | } |
| | 1242 | | if (other.HasType) { |
| | 1243 | | Type = other.Type; |
| | 1244 | | } |
| | 1245 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1246 | | } |
| | 1247 | |
|
| | 1248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1250 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1251 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1252 | | input.ReadRawMessage(this); |
| | 1253 | | #else |
| | 1254 | | uint tag; |
| | 1255 | | while ((tag = input.ReadTag()) != 0) { |
| | 1256 | | switch(tag) { |
| | 1257 | | default: |
| | 1258 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1259 | | break; |
| | 1260 | | case 13: { |
| | 1261 | | Value = input.ReadFloat(); |
| | 1262 | | break; |
| | 1263 | | } |
| | 1264 | | case 16: { |
| | 1265 | | Type = (global::Decentraland.Sdk.Ecs6.UiValue.Types.UiValueType) input.ReadEnum(); |
| | 1266 | | break; |
| | 1267 | | } |
| | 1268 | | } |
| | 1269 | | } |
| | 1270 | | #endif |
| | 1271 | | } |
| | 1272 | |
|
| | 1273 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1276 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1277 | | uint tag; |
| | 1278 | | while ((tag = input.ReadTag()) != 0) { |
| | 1279 | | switch(tag) { |
| | 1280 | | default: |
| | 1281 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1282 | | break; |
| | 1283 | | case 13: { |
| | 1284 | | Value = input.ReadFloat(); |
| | 1285 | | break; |
| | 1286 | | } |
| | 1287 | | case 16: { |
| | 1288 | | Type = (global::Decentraland.Sdk.Ecs6.UiValue.Types.UiValueType) input.ReadEnum(); |
| | 1289 | | break; |
| | 1290 | | } |
| | 1291 | | } |
| | 1292 | | } |
| | 1293 | | } |
| | 1294 | | #endif |
| | 1295 | |
|
| | 1296 | | #region Nested types |
| | 1297 | | /// <summary>Container for nested types declared in the UiValue message type.</summary> |
| | 1298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1300 | | public static partial class Types { |
| | 1301 | | public enum UiValueType { |
| | 1302 | | [pbr::OriginalName("UVT_PERCENT")] UvtPercent = 0, |
| | 1303 | | [pbr::OriginalName("PIXELS")] Pixels = 1, |
| | 1304 | | } |
| | 1305 | |
|
| | 1306 | | } |
| | 1307 | | #endregion |
| | 1308 | |
|
| | 1309 | | } |
| | 1310 | |
|
| | 1311 | | /// <summary> |
| | 1312 | | /// CLASS_ID.AVATAR_MODIFIER_AREA |
| | 1313 | | /// </summary> |
| | 1314 | | public sealed partial class ECS6ComponentAvatarModifierArea : pb::IMessage<ECS6ComponentAvatarModifierArea> |
| | 1315 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1316 | | , pb::IBufferMessage |
| | 1317 | | #endif |
| | 1318 | | { |
| | 1319 | | private static readonly pb::MessageParser<ECS6ComponentAvatarModifierArea> _parser = new pb::MessageParser<ECS6Compo |
| | 1320 | | private pb::UnknownFieldSet _unknownFields; |
| | 1321 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1322 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1323 | | public static pb::MessageParser<ECS6ComponentAvatarModifierArea> Parser { get { return _parser; } } |
| | 1324 | |
|
| | 1325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1327 | | public static pbr::MessageDescriptor Descriptor { |
| | 1328 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[3]; } |
| | 1329 | | } |
| | 1330 | |
|
| | 1331 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1332 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1333 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1334 | | get { return Descriptor; } |
| | 1335 | | } |
| | 1336 | |
|
| | 1337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1339 | | public ECS6ComponentAvatarModifierArea() { |
| | 1340 | | OnConstruction(); |
| | 1341 | | } |
| | 1342 | |
|
| | 1343 | | partial void OnConstruction(); |
| | 1344 | |
|
| | 1345 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1346 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1347 | | public ECS6ComponentAvatarModifierArea(ECS6ComponentAvatarModifierArea other) : this() { |
| | 1348 | | area_ = other.area_ != null ? other.area_.Clone() : null; |
| | 1349 | | modifiers_ = other.modifiers_.Clone(); |
| | 1350 | | excludeIds_ = other.excludeIds_.Clone(); |
| | 1351 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1352 | | } |
| | 1353 | |
|
| | 1354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1356 | | public ECS6ComponentAvatarModifierArea Clone() { |
| | 1357 | | return new ECS6ComponentAvatarModifierArea(this); |
| | 1358 | | } |
| | 1359 | |
|
| | 1360 | | /// <summary>Field number for the "area" field.</summary> |
| | 1361 | | public const int AreaFieldNumber = 1; |
| | 1362 | | private global::Decentraland.Sdk.Ecs6.Area area_; |
| | 1363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1365 | | public global::Decentraland.Sdk.Ecs6.Area Area { |
| | 1366 | | get { return area_; } |
| | 1367 | | set { |
| | 1368 | | area_ = value; |
| | 1369 | | } |
| | 1370 | | } |
| | 1371 | |
|
| | 1372 | | /// <summary>Field number for the "modifiers" field.</summary> |
| | 1373 | | public const int ModifiersFieldNumber = 2; |
| | 1374 | | private static readonly pb::FieldCodec<string> _repeated_modifiers_codec |
| | 1375 | | = pb::FieldCodec.ForString(18); |
| | 1376 | | private readonly pbc::RepeatedField<string> modifiers_ = new pbc::RepeatedField<string>(); |
| | 1377 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1378 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1379 | | public pbc::RepeatedField<string> Modifiers { |
| | 1380 | | get { return modifiers_; } |
| | 1381 | | } |
| | 1382 | |
|
| | 1383 | | /// <summary>Field number for the "exclude_ids" field.</summary> |
| | 1384 | | public const int ExcludeIdsFieldNumber = 3; |
| | 1385 | | private static readonly pb::FieldCodec<string> _repeated_excludeIds_codec |
| | 1386 | | = pb::FieldCodec.ForString(26); |
| | 1387 | | private readonly pbc::RepeatedField<string> excludeIds_ = new pbc::RepeatedField<string>(); |
| | 1388 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1389 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1390 | | public pbc::RepeatedField<string> ExcludeIds { |
| | 1391 | | get { return excludeIds_; } |
| | 1392 | | } |
| | 1393 | |
|
| | 1394 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1395 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1396 | | public override bool Equals(object other) { |
| | 1397 | | return Equals(other as ECS6ComponentAvatarModifierArea); |
| | 1398 | | } |
| | 1399 | |
|
| | 1400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1402 | | public bool Equals(ECS6ComponentAvatarModifierArea other) { |
| | 1403 | | if (ReferenceEquals(other, null)) { |
| | 1404 | | return false; |
| | 1405 | | } |
| | 1406 | | if (ReferenceEquals(other, this)) { |
| | 1407 | | return true; |
| | 1408 | | } |
| | 1409 | | if (!object.Equals(Area, other.Area)) return false; |
| | 1410 | | if(!modifiers_.Equals(other.modifiers_)) return false; |
| | 1411 | | if(!excludeIds_.Equals(other.excludeIds_)) return false; |
| | 1412 | | return Equals(_unknownFields, other._unknownFields); |
| | 1413 | | } |
| | 1414 | |
|
| | 1415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1417 | | public override int GetHashCode() { |
| | 1418 | | int hash = 1; |
| | 1419 | | if (area_ != null) hash ^= Area.GetHashCode(); |
| | 1420 | | hash ^= modifiers_.GetHashCode(); |
| | 1421 | | hash ^= excludeIds_.GetHashCode(); |
| | 1422 | | if (_unknownFields != null) { |
| | 1423 | | hash ^= _unknownFields.GetHashCode(); |
| | 1424 | | } |
| | 1425 | | return hash; |
| | 1426 | | } |
| | 1427 | |
|
| | 1428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1430 | | public override string ToString() { |
| | 1431 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1432 | | } |
| | 1433 | |
|
| | 1434 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1435 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1436 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1437 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1438 | | output.WriteRawMessage(this); |
| | 1439 | | #else |
| | 1440 | | if (area_ != null) { |
| | 1441 | | output.WriteRawTag(10); |
| | 1442 | | output.WriteMessage(Area); |
| | 1443 | | } |
| | 1444 | | modifiers_.WriteTo(output, _repeated_modifiers_codec); |
| | 1445 | | excludeIds_.WriteTo(output, _repeated_excludeIds_codec); |
| | 1446 | | if (_unknownFields != null) { |
| | 1447 | | _unknownFields.WriteTo(output); |
| | 1448 | | } |
| | 1449 | | #endif |
| | 1450 | | } |
| | 1451 | |
|
| | 1452 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1455 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1456 | | if (area_ != null) { |
| | 1457 | | output.WriteRawTag(10); |
| | 1458 | | output.WriteMessage(Area); |
| | 1459 | | } |
| | 1460 | | modifiers_.WriteTo(ref output, _repeated_modifiers_codec); |
| | 1461 | | excludeIds_.WriteTo(ref output, _repeated_excludeIds_codec); |
| | 1462 | | if (_unknownFields != null) { |
| | 1463 | | _unknownFields.WriteTo(ref output); |
| | 1464 | | } |
| | 1465 | | } |
| | 1466 | | #endif |
| | 1467 | |
|
| | 1468 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1469 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1470 | | public int CalculateSize() { |
| | 1471 | | int size = 0; |
| | 1472 | | if (area_ != null) { |
| | 1473 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Area); |
| | 1474 | | } |
| | 1475 | | size += modifiers_.CalculateSize(_repeated_modifiers_codec); |
| | 1476 | | size += excludeIds_.CalculateSize(_repeated_excludeIds_codec); |
| | 1477 | | if (_unknownFields != null) { |
| | 1478 | | size += _unknownFields.CalculateSize(); |
| | 1479 | | } |
| | 1480 | | return size; |
| | 1481 | | } |
| | 1482 | |
|
| | 1483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1485 | | public void MergeFrom(ECS6ComponentAvatarModifierArea other) { |
| | 1486 | | if (other == null) { |
| | 1487 | | return; |
| | 1488 | | } |
| | 1489 | | if (other.area_ != null) { |
| | 1490 | | if (area_ == null) { |
| | 1491 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 1492 | | } |
| | 1493 | | Area.MergeFrom(other.Area); |
| | 1494 | | } |
| | 1495 | | modifiers_.Add(other.modifiers_); |
| | 1496 | | excludeIds_.Add(other.excludeIds_); |
| | 1497 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1498 | | } |
| | 1499 | |
|
| | 1500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1502 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1503 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1504 | | input.ReadRawMessage(this); |
| | 1505 | | #else |
| | 1506 | | uint tag; |
| | 1507 | | while ((tag = input.ReadTag()) != 0) { |
| | 1508 | | switch(tag) { |
| | 1509 | | default: |
| | 1510 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1511 | | break; |
| | 1512 | | case 10: { |
| | 1513 | | if (area_ == null) { |
| | 1514 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 1515 | | } |
| | 1516 | | input.ReadMessage(Area); |
| | 1517 | | break; |
| | 1518 | | } |
| | 1519 | | case 18: { |
| | 1520 | | modifiers_.AddEntriesFrom(input, _repeated_modifiers_codec); |
| | 1521 | | break; |
| | 1522 | | } |
| | 1523 | | case 26: { |
| | 1524 | | excludeIds_.AddEntriesFrom(input, _repeated_excludeIds_codec); |
| | 1525 | | break; |
| | 1526 | | } |
| | 1527 | | } |
| | 1528 | | } |
| | 1529 | | #endif |
| | 1530 | | } |
| | 1531 | |
|
| | 1532 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1533 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1534 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1535 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1536 | | uint tag; |
| | 1537 | | while ((tag = input.ReadTag()) != 0) { |
| | 1538 | | switch(tag) { |
| | 1539 | | default: |
| | 1540 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1541 | | break; |
| | 1542 | | case 10: { |
| | 1543 | | if (area_ == null) { |
| | 1544 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 1545 | | } |
| | 1546 | | input.ReadMessage(Area); |
| | 1547 | | break; |
| | 1548 | | } |
| | 1549 | | case 18: { |
| | 1550 | | modifiers_.AddEntriesFrom(ref input, _repeated_modifiers_codec); |
| | 1551 | | break; |
| | 1552 | | } |
| | 1553 | | case 26: { |
| | 1554 | | excludeIds_.AddEntriesFrom(ref input, _repeated_excludeIds_codec); |
| | 1555 | | break; |
| | 1556 | | } |
| | 1557 | | } |
| | 1558 | | } |
| | 1559 | | } |
| | 1560 | | #endif |
| | 1561 | |
|
| | 1562 | | } |
| | 1563 | |
|
| | 1564 | | /// <summary> |
| | 1565 | | /// CLASS_ID.TRANSFORM |
| | 1566 | | /// </summary> |
| | 1567 | | public sealed partial class ECS6ComponentTransform : pb::IMessage<ECS6ComponentTransform> |
| | 1568 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1569 | | , pb::IBufferMessage |
| | 1570 | | #endif |
| | 1571 | | { |
| | 1572 | | private static readonly pb::MessageParser<ECS6ComponentTransform> _parser = new pb::MessageParser<ECS6ComponentTrans |
| | 1573 | | private pb::UnknownFieldSet _unknownFields; |
| | 1574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1576 | | public static pb::MessageParser<ECS6ComponentTransform> Parser { get { return _parser; } } |
| | 1577 | |
|
| | 1578 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1579 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1580 | | public static pbr::MessageDescriptor Descriptor { |
| | 1581 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[4]; } |
| | 1582 | | } |
| | 1583 | |
|
| | 1584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1586 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1587 | | get { return Descriptor; } |
| | 1588 | | } |
| | 1589 | |
|
| | 1590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1592 | | public ECS6ComponentTransform() { |
| | 1593 | | OnConstruction(); |
| | 1594 | | } |
| | 1595 | |
|
| | 1596 | | partial void OnConstruction(); |
| | 1597 | |
|
| | 1598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1600 | | public ECS6ComponentTransform(ECS6ComponentTransform other) : this() { |
| | 1601 | | position_ = other.position_ != null ? other.position_.Clone() : null; |
| | 1602 | | rotation_ = other.rotation_ != null ? other.rotation_.Clone() : null; |
| | 1603 | | scale_ = other.scale_ != null ? other.scale_.Clone() : null; |
| | 1604 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1605 | | } |
| | 1606 | |
|
| | 1607 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1608 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1609 | | public ECS6ComponentTransform Clone() { |
| | 1610 | | return new ECS6ComponentTransform(this); |
| | 1611 | | } |
| | 1612 | |
|
| | 1613 | | /// <summary>Field number for the "position" field.</summary> |
| | 1614 | | public const int PositionFieldNumber = 1; |
| | 1615 | | private global::Decentraland.Common.Vector3 position_; |
| | 1616 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1617 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1618 | | public global::Decentraland.Common.Vector3 Position { |
| | 1619 | | get { return position_; } |
| | 1620 | | set { |
| | 1621 | | position_ = value; |
| | 1622 | | } |
| | 1623 | | } |
| | 1624 | |
|
| | 1625 | | /// <summary>Field number for the "rotation" field.</summary> |
| | 1626 | | public const int RotationFieldNumber = 2; |
| | 1627 | | private global::Decentraland.Common.Quaternion rotation_; |
| | 1628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1630 | | public global::Decentraland.Common.Quaternion Rotation { |
| | 1631 | | get { return rotation_; } |
| | 1632 | | set { |
| | 1633 | | rotation_ = value; |
| | 1634 | | } |
| | 1635 | | } |
| | 1636 | |
|
| | 1637 | | /// <summary>Field number for the "scale" field.</summary> |
| | 1638 | | public const int ScaleFieldNumber = 3; |
| | 1639 | | private global::Decentraland.Common.Vector3 scale_; |
| | 1640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1642 | | public global::Decentraland.Common.Vector3 Scale { |
| | 1643 | | get { return scale_; } |
| | 1644 | | set { |
| | 1645 | | scale_ = value; |
| | 1646 | | } |
| | 1647 | | } |
| | 1648 | |
|
| | 1649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1651 | | public override bool Equals(object other) { |
| | 1652 | | return Equals(other as ECS6ComponentTransform); |
| | 1653 | | } |
| | 1654 | |
|
| | 1655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1657 | | public bool Equals(ECS6ComponentTransform other) { |
| | 1658 | | if (ReferenceEquals(other, null)) { |
| | 1659 | | return false; |
| | 1660 | | } |
| | 1661 | | if (ReferenceEquals(other, this)) { |
| | 1662 | | return true; |
| | 1663 | | } |
| | 1664 | | if (!object.Equals(Position, other.Position)) return false; |
| | 1665 | | if (!object.Equals(Rotation, other.Rotation)) return false; |
| | 1666 | | if (!object.Equals(Scale, other.Scale)) return false; |
| | 1667 | | return Equals(_unknownFields, other._unknownFields); |
| | 1668 | | } |
| | 1669 | |
|
| | 1670 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1671 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1672 | | public override int GetHashCode() { |
| | 1673 | | int hash = 1; |
| | 1674 | | if (position_ != null) hash ^= Position.GetHashCode(); |
| | 1675 | | if (rotation_ != null) hash ^= Rotation.GetHashCode(); |
| | 1676 | | if (scale_ != null) hash ^= Scale.GetHashCode(); |
| | 1677 | | if (_unknownFields != null) { |
| | 1678 | | hash ^= _unknownFields.GetHashCode(); |
| | 1679 | | } |
| | 1680 | | return hash; |
| | 1681 | | } |
| | 1682 | |
|
| | 1683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1685 | | public override string ToString() { |
| | 1686 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1687 | | } |
| | 1688 | |
|
| | 1689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1691 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1692 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1693 | | output.WriteRawMessage(this); |
| | 1694 | | #else |
| | 1695 | | if (position_ != null) { |
| | 1696 | | output.WriteRawTag(10); |
| | 1697 | | output.WriteMessage(Position); |
| | 1698 | | } |
| | 1699 | | if (rotation_ != null) { |
| | 1700 | | output.WriteRawTag(18); |
| | 1701 | | output.WriteMessage(Rotation); |
| | 1702 | | } |
| | 1703 | | if (scale_ != null) { |
| | 1704 | | output.WriteRawTag(26); |
| | 1705 | | output.WriteMessage(Scale); |
| | 1706 | | } |
| | 1707 | | if (_unknownFields != null) { |
| | 1708 | | _unknownFields.WriteTo(output); |
| | 1709 | | } |
| | 1710 | | #endif |
| | 1711 | | } |
| | 1712 | |
|
| | 1713 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1714 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1715 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1716 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1717 | | if (position_ != null) { |
| | 1718 | | output.WriteRawTag(10); |
| | 1719 | | output.WriteMessage(Position); |
| | 1720 | | } |
| | 1721 | | if (rotation_ != null) { |
| | 1722 | | output.WriteRawTag(18); |
| | 1723 | | output.WriteMessage(Rotation); |
| | 1724 | | } |
| | 1725 | | if (scale_ != null) { |
| | 1726 | | output.WriteRawTag(26); |
| | 1727 | | output.WriteMessage(Scale); |
| | 1728 | | } |
| | 1729 | | if (_unknownFields != null) { |
| | 1730 | | _unknownFields.WriteTo(ref output); |
| | 1731 | | } |
| | 1732 | | } |
| | 1733 | | #endif |
| | 1734 | |
|
| | 1735 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1736 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1737 | | public int CalculateSize() { |
| | 1738 | | int size = 0; |
| | 1739 | | if (position_ != null) { |
| | 1740 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Position); |
| | 1741 | | } |
| | 1742 | | if (rotation_ != null) { |
| | 1743 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Rotation); |
| | 1744 | | } |
| | 1745 | | if (scale_ != null) { |
| | 1746 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scale); |
| | 1747 | | } |
| | 1748 | | if (_unknownFields != null) { |
| | 1749 | | size += _unknownFields.CalculateSize(); |
| | 1750 | | } |
| | 1751 | | return size; |
| | 1752 | | } |
| | 1753 | |
|
| | 1754 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1755 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1756 | | public void MergeFrom(ECS6ComponentTransform other) { |
| | 1757 | | if (other == null) { |
| | 1758 | | return; |
| | 1759 | | } |
| | 1760 | | if (other.position_ != null) { |
| | 1761 | | if (position_ == null) { |
| | 1762 | | Position = new global::Decentraland.Common.Vector3(); |
| | 1763 | | } |
| | 1764 | | Position.MergeFrom(other.Position); |
| | 1765 | | } |
| | 1766 | | if (other.rotation_ != null) { |
| | 1767 | | if (rotation_ == null) { |
| | 1768 | | Rotation = new global::Decentraland.Common.Quaternion(); |
| | 1769 | | } |
| | 1770 | | Rotation.MergeFrom(other.Rotation); |
| | 1771 | | } |
| | 1772 | | if (other.scale_ != null) { |
| | 1773 | | if (scale_ == null) { |
| | 1774 | | Scale = new global::Decentraland.Common.Vector3(); |
| | 1775 | | } |
| | 1776 | | Scale.MergeFrom(other.Scale); |
| | 1777 | | } |
| | 1778 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1779 | | } |
| | 1780 | |
|
| | 1781 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1782 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1783 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1784 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1785 | | input.ReadRawMessage(this); |
| | 1786 | | #else |
| | 1787 | | uint tag; |
| | 1788 | | while ((tag = input.ReadTag()) != 0) { |
| | 1789 | | switch(tag) { |
| | 1790 | | default: |
| | 1791 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1792 | | break; |
| | 1793 | | case 10: { |
| | 1794 | | if (position_ == null) { |
| | 1795 | | Position = new global::Decentraland.Common.Vector3(); |
| | 1796 | | } |
| | 1797 | | input.ReadMessage(Position); |
| | 1798 | | break; |
| | 1799 | | } |
| | 1800 | | case 18: { |
| | 1801 | | if (rotation_ == null) { |
| | 1802 | | Rotation = new global::Decentraland.Common.Quaternion(); |
| | 1803 | | } |
| | 1804 | | input.ReadMessage(Rotation); |
| | 1805 | | break; |
| | 1806 | | } |
| | 1807 | | case 26: { |
| | 1808 | | if (scale_ == null) { |
| | 1809 | | Scale = new global::Decentraland.Common.Vector3(); |
| | 1810 | | } |
| | 1811 | | input.ReadMessage(Scale); |
| | 1812 | | break; |
| | 1813 | | } |
| | 1814 | | } |
| | 1815 | | } |
| | 1816 | | #endif |
| | 1817 | | } |
| | 1818 | |
|
| | 1819 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1820 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1821 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1822 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1823 | | uint tag; |
| | 1824 | | while ((tag = input.ReadTag()) != 0) { |
| | 1825 | | switch(tag) { |
| | 1826 | | default: |
| | 1827 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1828 | | break; |
| | 1829 | | case 10: { |
| | 1830 | | if (position_ == null) { |
| | 1831 | | Position = new global::Decentraland.Common.Vector3(); |
| | 1832 | | } |
| | 1833 | | input.ReadMessage(Position); |
| | 1834 | | break; |
| | 1835 | | } |
| | 1836 | | case 18: { |
| | 1837 | | if (rotation_ == null) { |
| | 1838 | | Rotation = new global::Decentraland.Common.Quaternion(); |
| | 1839 | | } |
| | 1840 | | input.ReadMessage(Rotation); |
| | 1841 | | break; |
| | 1842 | | } |
| | 1843 | | case 26: { |
| | 1844 | | if (scale_ == null) { |
| | 1845 | | Scale = new global::Decentraland.Common.Vector3(); |
| | 1846 | | } |
| | 1847 | | input.ReadMessage(Scale); |
| | 1848 | | break; |
| | 1849 | | } |
| | 1850 | | } |
| | 1851 | | } |
| | 1852 | | } |
| | 1853 | | #endif |
| | 1854 | |
|
| | 1855 | | } |
| | 1856 | |
|
| | 1857 | | /// <summary> |
| | 1858 | | /// CLASS_ID.AVATAR_ATTACH |
| | 1859 | | /// </summary> |
| | 1860 | | public sealed partial class ECS6ComponentAttachToAvatar : pb::IMessage<ECS6ComponentAttachToAvatar> |
| | 1861 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1862 | | , pb::IBufferMessage |
| | 1863 | | #endif |
| | 1864 | | { |
| | 1865 | | private static readonly pb::MessageParser<ECS6ComponentAttachToAvatar> _parser = new pb::MessageParser<ECS6Component |
| | 1866 | | private pb::UnknownFieldSet _unknownFields; |
| | 1867 | | private int _hasBits0; |
| | 1868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1870 | | public static pb::MessageParser<ECS6ComponentAttachToAvatar> Parser { get { return _parser; } } |
| | 1871 | |
|
| | 1872 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1873 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1874 | | public static pbr::MessageDescriptor Descriptor { |
| | 1875 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[5]; } |
| | 1876 | | } |
| | 1877 | |
|
| | 1878 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1879 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1880 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1881 | | get { return Descriptor; } |
| | 1882 | | } |
| | 1883 | |
|
| | 1884 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1885 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1886 | | public ECS6ComponentAttachToAvatar() { |
| | 1887 | | OnConstruction(); |
| | 1888 | | } |
| | 1889 | |
|
| | 1890 | | partial void OnConstruction(); |
| | 1891 | |
|
| | 1892 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1893 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1894 | | public ECS6ComponentAttachToAvatar(ECS6ComponentAttachToAvatar other) : this() { |
| | 1895 | | _hasBits0 = other._hasBits0; |
| | 1896 | | avatarId_ = other.avatarId_; |
| | 1897 | | anchorPointId_ = other.anchorPointId_; |
| | 1898 | | avatarSceneId_ = other.avatarSceneId_; |
| | 1899 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1900 | | } |
| | 1901 | |
|
| | 1902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1904 | | public ECS6ComponentAttachToAvatar Clone() { |
| | 1905 | | return new ECS6ComponentAttachToAvatar(this); |
| | 1906 | | } |
| | 1907 | |
|
| | 1908 | | /// <summary>Field number for the "avatar_id" field.</summary> |
| | 1909 | | public const int AvatarIdFieldNumber = 1; |
| | 1910 | | private string avatarId_; |
| | 1911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1913 | | public string AvatarId { |
| | 1914 | | get { return avatarId_ ?? ""; } |
| | 1915 | | set { |
| | 1916 | | avatarId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1917 | | } |
| | 1918 | | } |
| | 1919 | | /// <summary>Gets whether the "avatar_id" field is set</summary> |
| | 1920 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1921 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1922 | | public bool HasAvatarId { |
| | 1923 | | get { return avatarId_ != null; } |
| | 1924 | | } |
| | 1925 | | /// <summary>Clears the value of the "avatar_id" field</summary> |
| | 1926 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1927 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1928 | | public void ClearAvatarId() { |
| | 1929 | | avatarId_ = null; |
| | 1930 | | } |
| | 1931 | |
|
| | 1932 | | /// <summary>Field number for the "anchor_point_id" field.</summary> |
| | 1933 | | public const int AnchorPointIdFieldNumber = 2; |
| | 1934 | | private global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar.Types.AttachToAvatarAnchorPointId anchorPointId_; |
| | 1935 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1936 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1937 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar.Types.AttachToAvatarAnchorPointId AnchorPointId { |
| | 1938 | | get { if ((_hasBits0 & 1) != 0) { return anchorPointId_; } else { return global::Decentraland.Sdk.Ecs6.ECS6Compone |
| | 1939 | | set { |
| | 1940 | | _hasBits0 |= 1; |
| | 1941 | | anchorPointId_ = value; |
| | 1942 | | } |
| | 1943 | | } |
| | 1944 | | /// <summary>Gets whether the "anchor_point_id" field is set</summary> |
| | 1945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1947 | | public bool HasAnchorPointId { |
| | 1948 | | get { return (_hasBits0 & 1) != 0; } |
| | 1949 | | } |
| | 1950 | | /// <summary>Clears the value of the "anchor_point_id" field</summary> |
| | 1951 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1952 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1953 | | public void ClearAnchorPointId() { |
| | 1954 | | _hasBits0 &= ~1; |
| | 1955 | | } |
| | 1956 | |
|
| | 1957 | | /// <summary>Field number for the "avatar_scene_id" field.</summary> |
| | 1958 | | public const int AvatarSceneIdFieldNumber = 3; |
| | 1959 | | private string avatarSceneId_; |
| | 1960 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1961 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1962 | | public string AvatarSceneId { |
| | 1963 | | get { return avatarSceneId_ ?? ""; } |
| | 1964 | | set { |
| | 1965 | | avatarSceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1966 | | } |
| | 1967 | | } |
| | 1968 | | /// <summary>Gets whether the "avatar_scene_id" field is set</summary> |
| | 1969 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1970 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1971 | | public bool HasAvatarSceneId { |
| | 1972 | | get { return avatarSceneId_ != null; } |
| | 1973 | | } |
| | 1974 | | /// <summary>Clears the value of the "avatar_scene_id" field</summary> |
| | 1975 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1976 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1977 | | public void ClearAvatarSceneId() { |
| | 1978 | | avatarSceneId_ = null; |
| | 1979 | | } |
| | 1980 | |
|
| | 1981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1983 | | public override bool Equals(object other) { |
| | 1984 | | return Equals(other as ECS6ComponentAttachToAvatar); |
| | 1985 | | } |
| | 1986 | |
|
| | 1987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1989 | | public bool Equals(ECS6ComponentAttachToAvatar other) { |
| | 1990 | | if (ReferenceEquals(other, null)) { |
| | 1991 | | return false; |
| | 1992 | | } |
| | 1993 | | if (ReferenceEquals(other, this)) { |
| | 1994 | | return true; |
| | 1995 | | } |
| | 1996 | | if (AvatarId != other.AvatarId) return false; |
| | 1997 | | if (AnchorPointId != other.AnchorPointId) return false; |
| | 1998 | | if (AvatarSceneId != other.AvatarSceneId) return false; |
| | 1999 | | return Equals(_unknownFields, other._unknownFields); |
| | 2000 | | } |
| | 2001 | |
|
| | 2002 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2003 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2004 | | public override int GetHashCode() { |
| | 2005 | | int hash = 1; |
| | 2006 | | if (HasAvatarId) hash ^= AvatarId.GetHashCode(); |
| | 2007 | | if (HasAnchorPointId) hash ^= AnchorPointId.GetHashCode(); |
| | 2008 | | if (HasAvatarSceneId) hash ^= AvatarSceneId.GetHashCode(); |
| | 2009 | | if (_unknownFields != null) { |
| | 2010 | | hash ^= _unknownFields.GetHashCode(); |
| | 2011 | | } |
| | 2012 | | return hash; |
| | 2013 | | } |
| | 2014 | |
|
| | 2015 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2016 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2017 | | public override string ToString() { |
| | 2018 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2019 | | } |
| | 2020 | |
|
| | 2021 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2022 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2023 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2024 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2025 | | output.WriteRawMessage(this); |
| | 2026 | | #else |
| | 2027 | | if (HasAvatarId) { |
| | 2028 | | output.WriteRawTag(10); |
| | 2029 | | output.WriteString(AvatarId); |
| | 2030 | | } |
| | 2031 | | if (HasAnchorPointId) { |
| | 2032 | | output.WriteRawTag(16); |
| | 2033 | | output.WriteEnum((int) AnchorPointId); |
| | 2034 | | } |
| | 2035 | | if (HasAvatarSceneId) { |
| | 2036 | | output.WriteRawTag(26); |
| | 2037 | | output.WriteString(AvatarSceneId); |
| | 2038 | | } |
| | 2039 | | if (_unknownFields != null) { |
| | 2040 | | _unknownFields.WriteTo(output); |
| | 2041 | | } |
| | 2042 | | #endif |
| | 2043 | | } |
| | 2044 | |
|
| | 2045 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2048 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2049 | | if (HasAvatarId) { |
| | 2050 | | output.WriteRawTag(10); |
| | 2051 | | output.WriteString(AvatarId); |
| | 2052 | | } |
| | 2053 | | if (HasAnchorPointId) { |
| | 2054 | | output.WriteRawTag(16); |
| | 2055 | | output.WriteEnum((int) AnchorPointId); |
| | 2056 | | } |
| | 2057 | | if (HasAvatarSceneId) { |
| | 2058 | | output.WriteRawTag(26); |
| | 2059 | | output.WriteString(AvatarSceneId); |
| | 2060 | | } |
| | 2061 | | if (_unknownFields != null) { |
| | 2062 | | _unknownFields.WriteTo(ref output); |
| | 2063 | | } |
| | 2064 | | } |
| | 2065 | | #endif |
| | 2066 | |
|
| | 2067 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2068 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2069 | | public int CalculateSize() { |
| | 2070 | | int size = 0; |
| | 2071 | | if (HasAvatarId) { |
| | 2072 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AvatarId); |
| | 2073 | | } |
| | 2074 | | if (HasAnchorPointId) { |
| | 2075 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AnchorPointId); |
| | 2076 | | } |
| | 2077 | | if (HasAvatarSceneId) { |
| | 2078 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AvatarSceneId); |
| | 2079 | | } |
| | 2080 | | if (_unknownFields != null) { |
| | 2081 | | size += _unknownFields.CalculateSize(); |
| | 2082 | | } |
| | 2083 | | return size; |
| | 2084 | | } |
| | 2085 | |
|
| | 2086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2088 | | public void MergeFrom(ECS6ComponentAttachToAvatar other) { |
| | 2089 | | if (other == null) { |
| | 2090 | | return; |
| | 2091 | | } |
| | 2092 | | if (other.HasAvatarId) { |
| | 2093 | | AvatarId = other.AvatarId; |
| | 2094 | | } |
| | 2095 | | if (other.HasAnchorPointId) { |
| | 2096 | | AnchorPointId = other.AnchorPointId; |
| | 2097 | | } |
| | 2098 | | if (other.HasAvatarSceneId) { |
| | 2099 | | AvatarSceneId = other.AvatarSceneId; |
| | 2100 | | } |
| | 2101 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2102 | | } |
| | 2103 | |
|
| | 2104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2106 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2107 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2108 | | input.ReadRawMessage(this); |
| | 2109 | | #else |
| | 2110 | | uint tag; |
| | 2111 | | while ((tag = input.ReadTag()) != 0) { |
| | 2112 | | switch(tag) { |
| | 2113 | | default: |
| | 2114 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2115 | | break; |
| | 2116 | | case 10: { |
| | 2117 | | AvatarId = input.ReadString(); |
| | 2118 | | break; |
| | 2119 | | } |
| | 2120 | | case 16: { |
| | 2121 | | AnchorPointId = (global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar.Types.AttachToAvatarAnchorPointId |
| | 2122 | | break; |
| | 2123 | | } |
| | 2124 | | case 26: { |
| | 2125 | | AvatarSceneId = input.ReadString(); |
| | 2126 | | break; |
| | 2127 | | } |
| | 2128 | | } |
| | 2129 | | } |
| | 2130 | | #endif |
| | 2131 | | } |
| | 2132 | |
|
| | 2133 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2136 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2137 | | uint tag; |
| | 2138 | | while ((tag = input.ReadTag()) != 0) { |
| | 2139 | | switch(tag) { |
| | 2140 | | default: |
| | 2141 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2142 | | break; |
| | 2143 | | case 10: { |
| | 2144 | | AvatarId = input.ReadString(); |
| | 2145 | | break; |
| | 2146 | | } |
| | 2147 | | case 16: { |
| | 2148 | | AnchorPointId = (global::Decentraland.Sdk.Ecs6.ECS6ComponentAttachToAvatar.Types.AttachToAvatarAnchorPointId |
| | 2149 | | break; |
| | 2150 | | } |
| | 2151 | | case 26: { |
| | 2152 | | AvatarSceneId = input.ReadString(); |
| | 2153 | | break; |
| | 2154 | | } |
| | 2155 | | } |
| | 2156 | | } |
| | 2157 | | } |
| | 2158 | | #endif |
| | 2159 | |
|
| | 2160 | | #region Nested types |
| | 2161 | | /// <summary>Container for nested types declared in the ECS6ComponentAttachToAvatar message type.</summary> |
| | 2162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2164 | | public static partial class Types { |
| | 2165 | | public enum AttachToAvatarAnchorPointId { |
| | 2166 | | [pbr::OriginalName("ATAAP_POSITION")] AtaapPosition = 0, |
| | 2167 | | [pbr::OriginalName("ATAAP_NAME_TAG")] AtaapNameTag = 1, |
| | 2168 | | [pbr::OriginalName("ATAAP_LEFT_HAND")] AtaapLeftHand = 2, |
| | 2169 | | [pbr::OriginalName("ATAAP_RIGHT_HAND")] AtaapRightHand = 3, |
| | 2170 | | } |
| | 2171 | |
|
| | 2172 | | } |
| | 2173 | | #endregion |
| | 2174 | |
|
| | 2175 | | } |
| | 2176 | |
|
| | 2177 | | /// <summary> |
| | 2178 | | /// CLASS_ID.BILLBOARD |
| | 2179 | | /// </summary> |
| | 2180 | | public sealed partial class ECS6ComponentBillboard : pb::IMessage<ECS6ComponentBillboard> |
| | 2181 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2182 | | , pb::IBufferMessage |
| | 2183 | | #endif |
| | 2184 | | { |
| | 2185 | | private static readonly pb::MessageParser<ECS6ComponentBillboard> _parser = new pb::MessageParser<ECS6ComponentBillb |
| | 2186 | | private pb::UnknownFieldSet _unknownFields; |
| | 2187 | | private int _hasBits0; |
| | 2188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2190 | | public static pb::MessageParser<ECS6ComponentBillboard> Parser { get { return _parser; } } |
| | 2191 | |
|
| | 2192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2194 | | public static pbr::MessageDescriptor Descriptor { |
| | 2195 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[6]; } |
| | 2196 | | } |
| | 2197 | |
|
| | 2198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2200 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2201 | | get { return Descriptor; } |
| | 2202 | | } |
| | 2203 | |
|
| | 2204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2206 | | public ECS6ComponentBillboard() { |
| | 2207 | | OnConstruction(); |
| | 2208 | | } |
| | 2209 | |
|
| | 2210 | | partial void OnConstruction(); |
| | 2211 | |
|
| | 2212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2214 | | public ECS6ComponentBillboard(ECS6ComponentBillboard other) : this() { |
| | 2215 | | _hasBits0 = other._hasBits0; |
| | 2216 | | x_ = other.x_; |
| | 2217 | | y_ = other.y_; |
| | 2218 | | z_ = other.z_; |
| | 2219 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2220 | | } |
| | 2221 | |
|
| | 2222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2224 | | public ECS6ComponentBillboard Clone() { |
| | 2225 | | return new ECS6ComponentBillboard(this); |
| | 2226 | | } |
| | 2227 | |
|
| | 2228 | | /// <summary>Field number for the "x" field.</summary> |
| | 2229 | | public const int XFieldNumber = 1; |
| | 2230 | | private bool x_; |
| | 2231 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2232 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2233 | | public bool X { |
| | 2234 | | get { if ((_hasBits0 & 1) != 0) { return x_; } else { return false; } } |
| | 2235 | | set { |
| | 2236 | | _hasBits0 |= 1; |
| | 2237 | | x_ = value; |
| | 2238 | | } |
| | 2239 | | } |
| | 2240 | | /// <summary>Gets whether the "x" field is set</summary> |
| | 2241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2243 | | public bool HasX { |
| | 2244 | | get { return (_hasBits0 & 1) != 0; } |
| | 2245 | | } |
| | 2246 | | /// <summary>Clears the value of the "x" field</summary> |
| | 2247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2249 | | public void ClearX() { |
| | 2250 | | _hasBits0 &= ~1; |
| | 2251 | | } |
| | 2252 | |
|
| | 2253 | | /// <summary>Field number for the "y" field.</summary> |
| | 2254 | | public const int YFieldNumber = 2; |
| | 2255 | | private bool y_; |
| | 2256 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2257 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2258 | | public bool Y { |
| | 2259 | | get { if ((_hasBits0 & 2) != 0) { return y_; } else { return false; } } |
| | 2260 | | set { |
| | 2261 | | _hasBits0 |= 2; |
| | 2262 | | y_ = value; |
| | 2263 | | } |
| | 2264 | | } |
| | 2265 | | /// <summary>Gets whether the "y" field is set</summary> |
| | 2266 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2267 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2268 | | public bool HasY { |
| | 2269 | | get { return (_hasBits0 & 2) != 0; } |
| | 2270 | | } |
| | 2271 | | /// <summary>Clears the value of the "y" field</summary> |
| | 2272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2274 | | public void ClearY() { |
| | 2275 | | _hasBits0 &= ~2; |
| | 2276 | | } |
| | 2277 | |
|
| | 2278 | | /// <summary>Field number for the "z" field.</summary> |
| | 2279 | | public const int ZFieldNumber = 3; |
| | 2280 | | private bool z_; |
| | 2281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2283 | | public bool Z { |
| | 2284 | | get { if ((_hasBits0 & 4) != 0) { return z_; } else { return false; } } |
| | 2285 | | set { |
| | 2286 | | _hasBits0 |= 4; |
| | 2287 | | z_ = value; |
| | 2288 | | } |
| | 2289 | | } |
| | 2290 | | /// <summary>Gets whether the "z" field is set</summary> |
| | 2291 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2292 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2293 | | public bool HasZ { |
| | 2294 | | get { return (_hasBits0 & 4) != 0; } |
| | 2295 | | } |
| | 2296 | | /// <summary>Clears the value of the "z" field</summary> |
| | 2297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2299 | | public void ClearZ() { |
| | 2300 | | _hasBits0 &= ~4; |
| | 2301 | | } |
| | 2302 | |
|
| | 2303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2305 | | public override bool Equals(object other) { |
| | 2306 | | return Equals(other as ECS6ComponentBillboard); |
| | 2307 | | } |
| | 2308 | |
|
| | 2309 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2310 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2311 | | public bool Equals(ECS6ComponentBillboard other) { |
| | 2312 | | if (ReferenceEquals(other, null)) { |
| | 2313 | | return false; |
| | 2314 | | } |
| | 2315 | | if (ReferenceEquals(other, this)) { |
| | 2316 | | return true; |
| | 2317 | | } |
| | 2318 | | if (X != other.X) return false; |
| | 2319 | | if (Y != other.Y) return false; |
| | 2320 | | if (Z != other.Z) return false; |
| | 2321 | | return Equals(_unknownFields, other._unknownFields); |
| | 2322 | | } |
| | 2323 | |
|
| | 2324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2326 | | public override int GetHashCode() { |
| | 2327 | | int hash = 1; |
| | 2328 | | if (HasX) hash ^= X.GetHashCode(); |
| | 2329 | | if (HasY) hash ^= Y.GetHashCode(); |
| | 2330 | | if (HasZ) hash ^= Z.GetHashCode(); |
| | 2331 | | if (_unknownFields != null) { |
| | 2332 | | hash ^= _unknownFields.GetHashCode(); |
| | 2333 | | } |
| | 2334 | | return hash; |
| | 2335 | | } |
| | 2336 | |
|
| | 2337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2339 | | public override string ToString() { |
| | 2340 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2341 | | } |
| | 2342 | |
|
| | 2343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2345 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2346 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2347 | | output.WriteRawMessage(this); |
| | 2348 | | #else |
| | 2349 | | if (HasX) { |
| | 2350 | | output.WriteRawTag(8); |
| | 2351 | | output.WriteBool(X); |
| | 2352 | | } |
| | 2353 | | if (HasY) { |
| | 2354 | | output.WriteRawTag(16); |
| | 2355 | | output.WriteBool(Y); |
| | 2356 | | } |
| | 2357 | | if (HasZ) { |
| | 2358 | | output.WriteRawTag(24); |
| | 2359 | | output.WriteBool(Z); |
| | 2360 | | } |
| | 2361 | | if (_unknownFields != null) { |
| | 2362 | | _unknownFields.WriteTo(output); |
| | 2363 | | } |
| | 2364 | | #endif |
| | 2365 | | } |
| | 2366 | |
|
| | 2367 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2370 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2371 | | if (HasX) { |
| | 2372 | | output.WriteRawTag(8); |
| | 2373 | | output.WriteBool(X); |
| | 2374 | | } |
| | 2375 | | if (HasY) { |
| | 2376 | | output.WriteRawTag(16); |
| | 2377 | | output.WriteBool(Y); |
| | 2378 | | } |
| | 2379 | | if (HasZ) { |
| | 2380 | | output.WriteRawTag(24); |
| | 2381 | | output.WriteBool(Z); |
| | 2382 | | } |
| | 2383 | | if (_unknownFields != null) { |
| | 2384 | | _unknownFields.WriteTo(ref output); |
| | 2385 | | } |
| | 2386 | | } |
| | 2387 | | #endif |
| | 2388 | |
|
| | 2389 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2390 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2391 | | public int CalculateSize() { |
| | 2392 | | int size = 0; |
| | 2393 | | if (HasX) { |
| | 2394 | | size += 1 + 1; |
| | 2395 | | } |
| | 2396 | | if (HasY) { |
| | 2397 | | size += 1 + 1; |
| | 2398 | | } |
| | 2399 | | if (HasZ) { |
| | 2400 | | size += 1 + 1; |
| | 2401 | | } |
| | 2402 | | if (_unknownFields != null) { |
| | 2403 | | size += _unknownFields.CalculateSize(); |
| | 2404 | | } |
| | 2405 | | return size; |
| | 2406 | | } |
| | 2407 | |
|
| | 2408 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2409 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2410 | | public void MergeFrom(ECS6ComponentBillboard other) { |
| | 2411 | | if (other == null) { |
| | 2412 | | return; |
| | 2413 | | } |
| | 2414 | | if (other.HasX) { |
| | 2415 | | X = other.X; |
| | 2416 | | } |
| | 2417 | | if (other.HasY) { |
| | 2418 | | Y = other.Y; |
| | 2419 | | } |
| | 2420 | | if (other.HasZ) { |
| | 2421 | | Z = other.Z; |
| | 2422 | | } |
| | 2423 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2424 | | } |
| | 2425 | |
|
| | 2426 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2427 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2428 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2429 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2430 | | input.ReadRawMessage(this); |
| | 2431 | | #else |
| | 2432 | | uint tag; |
| | 2433 | | while ((tag = input.ReadTag()) != 0) { |
| | 2434 | | switch(tag) { |
| | 2435 | | default: |
| | 2436 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2437 | | break; |
| | 2438 | | case 8: { |
| | 2439 | | X = input.ReadBool(); |
| | 2440 | | break; |
| | 2441 | | } |
| | 2442 | | case 16: { |
| | 2443 | | Y = input.ReadBool(); |
| | 2444 | | break; |
| | 2445 | | } |
| | 2446 | | case 24: { |
| | 2447 | | Z = input.ReadBool(); |
| | 2448 | | break; |
| | 2449 | | } |
| | 2450 | | } |
| | 2451 | | } |
| | 2452 | | #endif |
| | 2453 | | } |
| | 2454 | |
|
| | 2455 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2456 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2457 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2458 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2459 | | uint tag; |
| | 2460 | | while ((tag = input.ReadTag()) != 0) { |
| | 2461 | | switch(tag) { |
| | 2462 | | default: |
| | 2463 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2464 | | break; |
| | 2465 | | case 8: { |
| | 2466 | | X = input.ReadBool(); |
| | 2467 | | break; |
| | 2468 | | } |
| | 2469 | | case 16: { |
| | 2470 | | Y = input.ReadBool(); |
| | 2471 | | break; |
| | 2472 | | } |
| | 2473 | | case 24: { |
| | 2474 | | Z = input.ReadBool(); |
| | 2475 | | break; |
| | 2476 | | } |
| | 2477 | | } |
| | 2478 | | } |
| | 2479 | | } |
| | 2480 | | #endif |
| | 2481 | |
|
| | 2482 | | } |
| | 2483 | |
|
| | 2484 | | /// <summary> |
| | 2485 | | /// CLASS_ID.BOX_SHAPE |
| | 2486 | | /// </summary> |
| | 2487 | | public sealed partial class ECS6ComponentBoxShape : pb::IMessage<ECS6ComponentBoxShape> |
| | 2488 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2489 | | , pb::IBufferMessage |
| | 2490 | | #endif |
| | 2491 | | { |
| | 2492 | | private static readonly pb::MessageParser<ECS6ComponentBoxShape> _parser = new pb::MessageParser<ECS6ComponentBoxSha |
| | 2493 | | private pb::UnknownFieldSet _unknownFields; |
| | 2494 | | private int _hasBits0; |
| | 2495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2497 | | public static pb::MessageParser<ECS6ComponentBoxShape> Parser { get { return _parser; } } |
| | 2498 | |
|
| | 2499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2501 | | public static pbr::MessageDescriptor Descriptor { |
| | 2502 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[7]; } |
| | 2503 | | } |
| | 2504 | |
|
| | 2505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2507 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2508 | | get { return Descriptor; } |
| | 2509 | | } |
| | 2510 | |
|
| | 2511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2513 | | public ECS6ComponentBoxShape() { |
| | 2514 | | OnConstruction(); |
| | 2515 | | } |
| | 2516 | |
|
| | 2517 | | partial void OnConstruction(); |
| | 2518 | |
|
| | 2519 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2520 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2521 | | public ECS6ComponentBoxShape(ECS6ComponentBoxShape other) : this() { |
| | 2522 | | _hasBits0 = other._hasBits0; |
| | 2523 | | withCollisions_ = other.withCollisions_; |
| | 2524 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 2525 | | visible_ = other.visible_; |
| | 2526 | | uvs_ = other.uvs_.Clone(); |
| | 2527 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2528 | | } |
| | 2529 | |
|
| | 2530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2532 | | public ECS6ComponentBoxShape Clone() { |
| | 2533 | | return new ECS6ComponentBoxShape(this); |
| | 2534 | | } |
| | 2535 | |
|
| | 2536 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 2537 | | public const int WithCollisionsFieldNumber = 1; |
| | 2538 | | private bool withCollisions_; |
| | 2539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2541 | | public bool WithCollisions { |
| | 2542 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 2543 | | set { |
| | 2544 | | _hasBits0 |= 1; |
| | 2545 | | withCollisions_ = value; |
| | 2546 | | } |
| | 2547 | | } |
| | 2548 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 2549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2551 | | public bool HasWithCollisions { |
| | 2552 | | get { return (_hasBits0 & 1) != 0; } |
| | 2553 | | } |
| | 2554 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 2555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2557 | | public void ClearWithCollisions() { |
| | 2558 | | _hasBits0 &= ~1; |
| | 2559 | | } |
| | 2560 | |
|
| | 2561 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 2562 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 2563 | | private bool isPointerBlocker_; |
| | 2564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2566 | | public bool IsPointerBlocker { |
| | 2567 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 2568 | | set { |
| | 2569 | | _hasBits0 |= 2; |
| | 2570 | | isPointerBlocker_ = value; |
| | 2571 | | } |
| | 2572 | | } |
| | 2573 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 2574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2576 | | public bool HasIsPointerBlocker { |
| | 2577 | | get { return (_hasBits0 & 2) != 0; } |
| | 2578 | | } |
| | 2579 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 2580 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2581 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2582 | | public void ClearIsPointerBlocker() { |
| | 2583 | | _hasBits0 &= ~2; |
| | 2584 | | } |
| | 2585 | |
|
| | 2586 | | /// <summary>Field number for the "visible" field.</summary> |
| | 2587 | | public const int VisibleFieldNumber = 3; |
| | 2588 | | private bool visible_; |
| | 2589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2591 | | public bool Visible { |
| | 2592 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 2593 | | set { |
| | 2594 | | _hasBits0 |= 4; |
| | 2595 | | visible_ = value; |
| | 2596 | | } |
| | 2597 | | } |
| | 2598 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 2599 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2600 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2601 | | public bool HasVisible { |
| | 2602 | | get { return (_hasBits0 & 4) != 0; } |
| | 2603 | | } |
| | 2604 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 2605 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2606 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2607 | | public void ClearVisible() { |
| | 2608 | | _hasBits0 &= ~4; |
| | 2609 | | } |
| | 2610 | |
|
| | 2611 | | /// <summary>Field number for the "uvs" field.</summary> |
| | 2612 | | public const int UvsFieldNumber = 4; |
| | 2613 | | private static readonly pb::FieldCodec<float> _repeated_uvs_codec |
| | 2614 | | = pb::FieldCodec.ForFloat(34); |
| | 2615 | | private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>(); |
| | 2616 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2617 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2618 | | public pbc::RepeatedField<float> Uvs { |
| | 2619 | | get { return uvs_; } |
| | 2620 | | } |
| | 2621 | |
|
| | 2622 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2623 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2624 | | public override bool Equals(object other) { |
| | 2625 | | return Equals(other as ECS6ComponentBoxShape); |
| | 2626 | | } |
| | 2627 | |
|
| | 2628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2630 | | public bool Equals(ECS6ComponentBoxShape other) { |
| | 2631 | | if (ReferenceEquals(other, null)) { |
| | 2632 | | return false; |
| | 2633 | | } |
| | 2634 | | if (ReferenceEquals(other, this)) { |
| | 2635 | | return true; |
| | 2636 | | } |
| | 2637 | | if (WithCollisions != other.WithCollisions) return false; |
| | 2638 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 2639 | | if (Visible != other.Visible) return false; |
| | 2640 | | if(!uvs_.Equals(other.uvs_)) return false; |
| | 2641 | | return Equals(_unknownFields, other._unknownFields); |
| | 2642 | | } |
| | 2643 | |
|
| | 2644 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2645 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2646 | | public override int GetHashCode() { |
| | 2647 | | int hash = 1; |
| | 2648 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 2649 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 2650 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 2651 | | hash ^= uvs_.GetHashCode(); |
| | 2652 | | if (_unknownFields != null) { |
| | 2653 | | hash ^= _unknownFields.GetHashCode(); |
| | 2654 | | } |
| | 2655 | | return hash; |
| | 2656 | | } |
| | 2657 | |
|
| | 2658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2660 | | public override string ToString() { |
| | 2661 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2662 | | } |
| | 2663 | |
|
| | 2664 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2665 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2666 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2667 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2668 | | output.WriteRawMessage(this); |
| | 2669 | | #else |
| | 2670 | | if (HasWithCollisions) { |
| | 2671 | | output.WriteRawTag(8); |
| | 2672 | | output.WriteBool(WithCollisions); |
| | 2673 | | } |
| | 2674 | | if (HasIsPointerBlocker) { |
| | 2675 | | output.WriteRawTag(16); |
| | 2676 | | output.WriteBool(IsPointerBlocker); |
| | 2677 | | } |
| | 2678 | | if (HasVisible) { |
| | 2679 | | output.WriteRawTag(24); |
| | 2680 | | output.WriteBool(Visible); |
| | 2681 | | } |
| | 2682 | | uvs_.WriteTo(output, _repeated_uvs_codec); |
| | 2683 | | if (_unknownFields != null) { |
| | 2684 | | _unknownFields.WriteTo(output); |
| | 2685 | | } |
| | 2686 | | #endif |
| | 2687 | | } |
| | 2688 | |
|
| | 2689 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2690 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2691 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2692 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2693 | | if (HasWithCollisions) { |
| | 2694 | | output.WriteRawTag(8); |
| | 2695 | | output.WriteBool(WithCollisions); |
| | 2696 | | } |
| | 2697 | | if (HasIsPointerBlocker) { |
| | 2698 | | output.WriteRawTag(16); |
| | 2699 | | output.WriteBool(IsPointerBlocker); |
| | 2700 | | } |
| | 2701 | | if (HasVisible) { |
| | 2702 | | output.WriteRawTag(24); |
| | 2703 | | output.WriteBool(Visible); |
| | 2704 | | } |
| | 2705 | | uvs_.WriteTo(ref output, _repeated_uvs_codec); |
| | 2706 | | if (_unknownFields != null) { |
| | 2707 | | _unknownFields.WriteTo(ref output); |
| | 2708 | | } |
| | 2709 | | } |
| | 2710 | | #endif |
| | 2711 | |
|
| | 2712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2714 | | public int CalculateSize() { |
| | 2715 | | int size = 0; |
| | 2716 | | if (HasWithCollisions) { |
| | 2717 | | size += 1 + 1; |
| | 2718 | | } |
| | 2719 | | if (HasIsPointerBlocker) { |
| | 2720 | | size += 1 + 1; |
| | 2721 | | } |
| | 2722 | | if (HasVisible) { |
| | 2723 | | size += 1 + 1; |
| | 2724 | | } |
| | 2725 | | size += uvs_.CalculateSize(_repeated_uvs_codec); |
| | 2726 | | if (_unknownFields != null) { |
| | 2727 | | size += _unknownFields.CalculateSize(); |
| | 2728 | | } |
| | 2729 | | return size; |
| | 2730 | | } |
| | 2731 | |
|
| | 2732 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2733 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2734 | | public void MergeFrom(ECS6ComponentBoxShape other) { |
| | 2735 | | if (other == null) { |
| | 2736 | | return; |
| | 2737 | | } |
| | 2738 | | if (other.HasWithCollisions) { |
| | 2739 | | WithCollisions = other.WithCollisions; |
| | 2740 | | } |
| | 2741 | | if (other.HasIsPointerBlocker) { |
| | 2742 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 2743 | | } |
| | 2744 | | if (other.HasVisible) { |
| | 2745 | | Visible = other.Visible; |
| | 2746 | | } |
| | 2747 | | uvs_.Add(other.uvs_); |
| | 2748 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2749 | | } |
| | 2750 | |
|
| | 2751 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2752 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2753 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2754 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2755 | | input.ReadRawMessage(this); |
| | 2756 | | #else |
| | 2757 | | uint tag; |
| | 2758 | | while ((tag = input.ReadTag()) != 0) { |
| | 2759 | | switch(tag) { |
| | 2760 | | default: |
| | 2761 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2762 | | break; |
| | 2763 | | case 8: { |
| | 2764 | | WithCollisions = input.ReadBool(); |
| | 2765 | | break; |
| | 2766 | | } |
| | 2767 | | case 16: { |
| | 2768 | | IsPointerBlocker = input.ReadBool(); |
| | 2769 | | break; |
| | 2770 | | } |
| | 2771 | | case 24: { |
| | 2772 | | Visible = input.ReadBool(); |
| | 2773 | | break; |
| | 2774 | | } |
| | 2775 | | case 34: |
| | 2776 | | case 37: { |
| | 2777 | | uvs_.AddEntriesFrom(input, _repeated_uvs_codec); |
| | 2778 | | break; |
| | 2779 | | } |
| | 2780 | | } |
| | 2781 | | } |
| | 2782 | | #endif |
| | 2783 | | } |
| | 2784 | |
|
| | 2785 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2786 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2787 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2788 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2789 | | uint tag; |
| | 2790 | | while ((tag = input.ReadTag()) != 0) { |
| | 2791 | | switch(tag) { |
| | 2792 | | default: |
| | 2793 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2794 | | break; |
| | 2795 | | case 8: { |
| | 2796 | | WithCollisions = input.ReadBool(); |
| | 2797 | | break; |
| | 2798 | | } |
| | 2799 | | case 16: { |
| | 2800 | | IsPointerBlocker = input.ReadBool(); |
| | 2801 | | break; |
| | 2802 | | } |
| | 2803 | | case 24: { |
| | 2804 | | Visible = input.ReadBool(); |
| | 2805 | | break; |
| | 2806 | | } |
| | 2807 | | case 34: |
| | 2808 | | case 37: { |
| | 2809 | | uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec); |
| | 2810 | | break; |
| | 2811 | | } |
| | 2812 | | } |
| | 2813 | | } |
| | 2814 | | } |
| | 2815 | | #endif |
| | 2816 | |
|
| | 2817 | | } |
| | 2818 | |
|
| | 2819 | | /// <summary> |
| | 2820 | | /// CLASS_ID.SPHERE_SHAPE |
| | 2821 | | /// </summary> |
| | 2822 | | public sealed partial class ECS6ComponentSphereShape : pb::IMessage<ECS6ComponentSphereShape> |
| | 2823 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2824 | | , pb::IBufferMessage |
| | 2825 | | #endif |
| | 2826 | | { |
| | 2827 | | private static readonly pb::MessageParser<ECS6ComponentSphereShape> _parser = new pb::MessageParser<ECS6ComponentSph |
| | 2828 | | private pb::UnknownFieldSet _unknownFields; |
| | 2829 | | private int _hasBits0; |
| | 2830 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2831 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2832 | | public static pb::MessageParser<ECS6ComponentSphereShape> Parser { get { return _parser; } } |
| | 2833 | |
|
| | 2834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2836 | | public static pbr::MessageDescriptor Descriptor { |
| | 2837 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[8]; } |
| | 2838 | | } |
| | 2839 | |
|
| | 2840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2842 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2843 | | get { return Descriptor; } |
| | 2844 | | } |
| | 2845 | |
|
| | 2846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2848 | | public ECS6ComponentSphereShape() { |
| | 2849 | | OnConstruction(); |
| | 2850 | | } |
| | 2851 | |
|
| | 2852 | | partial void OnConstruction(); |
| | 2853 | |
|
| | 2854 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2855 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2856 | | public ECS6ComponentSphereShape(ECS6ComponentSphereShape other) : this() { |
| | 2857 | | _hasBits0 = other._hasBits0; |
| | 2858 | | withCollisions_ = other.withCollisions_; |
| | 2859 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 2860 | | visible_ = other.visible_; |
| | 2861 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2862 | | } |
| | 2863 | |
|
| | 2864 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2865 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2866 | | public ECS6ComponentSphereShape Clone() { |
| | 2867 | | return new ECS6ComponentSphereShape(this); |
| | 2868 | | } |
| | 2869 | |
|
| | 2870 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 2871 | | public const int WithCollisionsFieldNumber = 1; |
| | 2872 | | private bool withCollisions_; |
| | 2873 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2874 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2875 | | public bool WithCollisions { |
| | 2876 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 2877 | | set { |
| | 2878 | | _hasBits0 |= 1; |
| | 2879 | | withCollisions_ = value; |
| | 2880 | | } |
| | 2881 | | } |
| | 2882 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 2883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2885 | | public bool HasWithCollisions { |
| | 2886 | | get { return (_hasBits0 & 1) != 0; } |
| | 2887 | | } |
| | 2888 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 2889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2891 | | public void ClearWithCollisions() { |
| | 2892 | | _hasBits0 &= ~1; |
| | 2893 | | } |
| | 2894 | |
|
| | 2895 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 2896 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 2897 | | private bool isPointerBlocker_; |
| | 2898 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2899 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2900 | | public bool IsPointerBlocker { |
| | 2901 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 2902 | | set { |
| | 2903 | | _hasBits0 |= 2; |
| | 2904 | | isPointerBlocker_ = value; |
| | 2905 | | } |
| | 2906 | | } |
| | 2907 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 2908 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2909 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2910 | | public bool HasIsPointerBlocker { |
| | 2911 | | get { return (_hasBits0 & 2) != 0; } |
| | 2912 | | } |
| | 2913 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 2914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2916 | | public void ClearIsPointerBlocker() { |
| | 2917 | | _hasBits0 &= ~2; |
| | 2918 | | } |
| | 2919 | |
|
| | 2920 | | /// <summary>Field number for the "visible" field.</summary> |
| | 2921 | | public const int VisibleFieldNumber = 3; |
| | 2922 | | private bool visible_; |
| | 2923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2925 | | public bool Visible { |
| | 2926 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 2927 | | set { |
| | 2928 | | _hasBits0 |= 4; |
| | 2929 | | visible_ = value; |
| | 2930 | | } |
| | 2931 | | } |
| | 2932 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 2933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2935 | | public bool HasVisible { |
| | 2936 | | get { return (_hasBits0 & 4) != 0; } |
| | 2937 | | } |
| | 2938 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 2939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2941 | | public void ClearVisible() { |
| | 2942 | | _hasBits0 &= ~4; |
| | 2943 | | } |
| | 2944 | |
|
| | 2945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2947 | | public override bool Equals(object other) { |
| | 2948 | | return Equals(other as ECS6ComponentSphereShape); |
| | 2949 | | } |
| | 2950 | |
|
| | 2951 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2952 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2953 | | public bool Equals(ECS6ComponentSphereShape other) { |
| | 2954 | | if (ReferenceEquals(other, null)) { |
| | 2955 | | return false; |
| | 2956 | | } |
| | 2957 | | if (ReferenceEquals(other, this)) { |
| | 2958 | | return true; |
| | 2959 | | } |
| | 2960 | | if (WithCollisions != other.WithCollisions) return false; |
| | 2961 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 2962 | | if (Visible != other.Visible) return false; |
| | 2963 | | return Equals(_unknownFields, other._unknownFields); |
| | 2964 | | } |
| | 2965 | |
|
| | 2966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2968 | | public override int GetHashCode() { |
| | 2969 | | int hash = 1; |
| | 2970 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 2971 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 2972 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 2973 | | if (_unknownFields != null) { |
| | 2974 | | hash ^= _unknownFields.GetHashCode(); |
| | 2975 | | } |
| | 2976 | | return hash; |
| | 2977 | | } |
| | 2978 | |
|
| | 2979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2981 | | public override string ToString() { |
| | 2982 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2983 | | } |
| | 2984 | |
|
| | 2985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2987 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2988 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2989 | | output.WriteRawMessage(this); |
| | 2990 | | #else |
| | 2991 | | if (HasWithCollisions) { |
| | 2992 | | output.WriteRawTag(8); |
| | 2993 | | output.WriteBool(WithCollisions); |
| | 2994 | | } |
| | 2995 | | if (HasIsPointerBlocker) { |
| | 2996 | | output.WriteRawTag(16); |
| | 2997 | | output.WriteBool(IsPointerBlocker); |
| | 2998 | | } |
| | 2999 | | if (HasVisible) { |
| | 3000 | | output.WriteRawTag(24); |
| | 3001 | | output.WriteBool(Visible); |
| | 3002 | | } |
| | 3003 | | if (_unknownFields != null) { |
| | 3004 | | _unknownFields.WriteTo(output); |
| | 3005 | | } |
| | 3006 | | #endif |
| | 3007 | | } |
| | 3008 | |
|
| | 3009 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3010 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3011 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3012 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3013 | | if (HasWithCollisions) { |
| | 3014 | | output.WriteRawTag(8); |
| | 3015 | | output.WriteBool(WithCollisions); |
| | 3016 | | } |
| | 3017 | | if (HasIsPointerBlocker) { |
| | 3018 | | output.WriteRawTag(16); |
| | 3019 | | output.WriteBool(IsPointerBlocker); |
| | 3020 | | } |
| | 3021 | | if (HasVisible) { |
| | 3022 | | output.WriteRawTag(24); |
| | 3023 | | output.WriteBool(Visible); |
| | 3024 | | } |
| | 3025 | | if (_unknownFields != null) { |
| | 3026 | | _unknownFields.WriteTo(ref output); |
| | 3027 | | } |
| | 3028 | | } |
| | 3029 | | #endif |
| | 3030 | |
|
| | 3031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3033 | | public int CalculateSize() { |
| | 3034 | | int size = 0; |
| | 3035 | | if (HasWithCollisions) { |
| | 3036 | | size += 1 + 1; |
| | 3037 | | } |
| | 3038 | | if (HasIsPointerBlocker) { |
| | 3039 | | size += 1 + 1; |
| | 3040 | | } |
| | 3041 | | if (HasVisible) { |
| | 3042 | | size += 1 + 1; |
| | 3043 | | } |
| | 3044 | | if (_unknownFields != null) { |
| | 3045 | | size += _unknownFields.CalculateSize(); |
| | 3046 | | } |
| | 3047 | | return size; |
| | 3048 | | } |
| | 3049 | |
|
| | 3050 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3051 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3052 | | public void MergeFrom(ECS6ComponentSphereShape other) { |
| | 3053 | | if (other == null) { |
| | 3054 | | return; |
| | 3055 | | } |
| | 3056 | | if (other.HasWithCollisions) { |
| | 3057 | | WithCollisions = other.WithCollisions; |
| | 3058 | | } |
| | 3059 | | if (other.HasIsPointerBlocker) { |
| | 3060 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 3061 | | } |
| | 3062 | | if (other.HasVisible) { |
| | 3063 | | Visible = other.Visible; |
| | 3064 | | } |
| | 3065 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3066 | | } |
| | 3067 | |
|
| | 3068 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3069 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3070 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3071 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3072 | | input.ReadRawMessage(this); |
| | 3073 | | #else |
| | 3074 | | uint tag; |
| | 3075 | | while ((tag = input.ReadTag()) != 0) { |
| | 3076 | | switch(tag) { |
| | 3077 | | default: |
| | 3078 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3079 | | break; |
| | 3080 | | case 8: { |
| | 3081 | | WithCollisions = input.ReadBool(); |
| | 3082 | | break; |
| | 3083 | | } |
| | 3084 | | case 16: { |
| | 3085 | | IsPointerBlocker = input.ReadBool(); |
| | 3086 | | break; |
| | 3087 | | } |
| | 3088 | | case 24: { |
| | 3089 | | Visible = input.ReadBool(); |
| | 3090 | | break; |
| | 3091 | | } |
| | 3092 | | } |
| | 3093 | | } |
| | 3094 | | #endif |
| | 3095 | | } |
| | 3096 | |
|
| | 3097 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3098 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3099 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3100 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3101 | | uint tag; |
| | 3102 | | while ((tag = input.ReadTag()) != 0) { |
| | 3103 | | switch(tag) { |
| | 3104 | | default: |
| | 3105 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3106 | | break; |
| | 3107 | | case 8: { |
| | 3108 | | WithCollisions = input.ReadBool(); |
| | 3109 | | break; |
| | 3110 | | } |
| | 3111 | | case 16: { |
| | 3112 | | IsPointerBlocker = input.ReadBool(); |
| | 3113 | | break; |
| | 3114 | | } |
| | 3115 | | case 24: { |
| | 3116 | | Visible = input.ReadBool(); |
| | 3117 | | break; |
| | 3118 | | } |
| | 3119 | | } |
| | 3120 | | } |
| | 3121 | | } |
| | 3122 | | #endif |
| | 3123 | |
|
| | 3124 | | } |
| | 3125 | |
|
| | 3126 | | /// <summary> |
| | 3127 | | /// CLASS_ID.CIRCLE_SHAPE |
| | 3128 | | /// </summary> |
| | 3129 | | public sealed partial class ECS6ComponentCircleShape : pb::IMessage<ECS6ComponentCircleShape> |
| | 3130 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3131 | | , pb::IBufferMessage |
| | 3132 | | #endif |
| | 3133 | | { |
| | 3134 | | private static readonly pb::MessageParser<ECS6ComponentCircleShape> _parser = new pb::MessageParser<ECS6ComponentCir |
| | 3135 | | private pb::UnknownFieldSet _unknownFields; |
| | 3136 | | private int _hasBits0; |
| | 3137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3139 | | public static pb::MessageParser<ECS6ComponentCircleShape> Parser { get { return _parser; } } |
| | 3140 | |
|
| | 3141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3143 | | public static pbr::MessageDescriptor Descriptor { |
| | 3144 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[9]; } |
| | 3145 | | } |
| | 3146 | |
|
| | 3147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3149 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3150 | | get { return Descriptor; } |
| | 3151 | | } |
| | 3152 | |
|
| | 3153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3155 | | public ECS6ComponentCircleShape() { |
| | 3156 | | OnConstruction(); |
| | 3157 | | } |
| | 3158 | |
|
| | 3159 | | partial void OnConstruction(); |
| | 3160 | |
|
| | 3161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3163 | | public ECS6ComponentCircleShape(ECS6ComponentCircleShape other) : this() { |
| | 3164 | | _hasBits0 = other._hasBits0; |
| | 3165 | | withCollisions_ = other.withCollisions_; |
| | 3166 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 3167 | | visible_ = other.visible_; |
| | 3168 | | segments_ = other.segments_; |
| | 3169 | | arc_ = other.arc_; |
| | 3170 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3171 | | } |
| | 3172 | |
|
| | 3173 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3174 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3175 | | public ECS6ComponentCircleShape Clone() { |
| | 3176 | | return new ECS6ComponentCircleShape(this); |
| | 3177 | | } |
| | 3178 | |
|
| | 3179 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 3180 | | public const int WithCollisionsFieldNumber = 1; |
| | 3181 | | private bool withCollisions_; |
| | 3182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3184 | | public bool WithCollisions { |
| | 3185 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 3186 | | set { |
| | 3187 | | _hasBits0 |= 1; |
| | 3188 | | withCollisions_ = value; |
| | 3189 | | } |
| | 3190 | | } |
| | 3191 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 3192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3194 | | public bool HasWithCollisions { |
| | 3195 | | get { return (_hasBits0 & 1) != 0; } |
| | 3196 | | } |
| | 3197 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 3198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3200 | | public void ClearWithCollisions() { |
| | 3201 | | _hasBits0 &= ~1; |
| | 3202 | | } |
| | 3203 | |
|
| | 3204 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 3205 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 3206 | | private bool isPointerBlocker_; |
| | 3207 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3208 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3209 | | public bool IsPointerBlocker { |
| | 3210 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 3211 | | set { |
| | 3212 | | _hasBits0 |= 2; |
| | 3213 | | isPointerBlocker_ = value; |
| | 3214 | | } |
| | 3215 | | } |
| | 3216 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 3217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3219 | | public bool HasIsPointerBlocker { |
| | 3220 | | get { return (_hasBits0 & 2) != 0; } |
| | 3221 | | } |
| | 3222 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 3223 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3224 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3225 | | public void ClearIsPointerBlocker() { |
| | 3226 | | _hasBits0 &= ~2; |
| | 3227 | | } |
| | 3228 | |
|
| | 3229 | | /// <summary>Field number for the "visible" field.</summary> |
| | 3230 | | public const int VisibleFieldNumber = 3; |
| | 3231 | | private bool visible_; |
| | 3232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3234 | | public bool Visible { |
| | 3235 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 3236 | | set { |
| | 3237 | | _hasBits0 |= 4; |
| | 3238 | | visible_ = value; |
| | 3239 | | } |
| | 3240 | | } |
| | 3241 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 3242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3244 | | public bool HasVisible { |
| | 3245 | | get { return (_hasBits0 & 4) != 0; } |
| | 3246 | | } |
| | 3247 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 3248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3250 | | public void ClearVisible() { |
| | 3251 | | _hasBits0 &= ~4; |
| | 3252 | | } |
| | 3253 | |
|
| | 3254 | | /// <summary>Field number for the "segments" field.</summary> |
| | 3255 | | public const int SegmentsFieldNumber = 4; |
| | 3256 | | private float segments_; |
| | 3257 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3258 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3259 | | public float Segments { |
| | 3260 | | get { if ((_hasBits0 & 8) != 0) { return segments_; } else { return 0F; } } |
| | 3261 | | set { |
| | 3262 | | _hasBits0 |= 8; |
| | 3263 | | segments_ = value; |
| | 3264 | | } |
| | 3265 | | } |
| | 3266 | | /// <summary>Gets whether the "segments" field is set</summary> |
| | 3267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3269 | | public bool HasSegments { |
| | 3270 | | get { return (_hasBits0 & 8) != 0; } |
| | 3271 | | } |
| | 3272 | | /// <summary>Clears the value of the "segments" field</summary> |
| | 3273 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3274 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3275 | | public void ClearSegments() { |
| | 3276 | | _hasBits0 &= ~8; |
| | 3277 | | } |
| | 3278 | |
|
| | 3279 | | /// <summary>Field number for the "arc" field.</summary> |
| | 3280 | | public const int ArcFieldNumber = 5; |
| | 3281 | | private float arc_; |
| | 3282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3284 | | public float Arc { |
| | 3285 | | get { if ((_hasBits0 & 16) != 0) { return arc_; } else { return 0F; } } |
| | 3286 | | set { |
| | 3287 | | _hasBits0 |= 16; |
| | 3288 | | arc_ = value; |
| | 3289 | | } |
| | 3290 | | } |
| | 3291 | | /// <summary>Gets whether the "arc" field is set</summary> |
| | 3292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3294 | | public bool HasArc { |
| | 3295 | | get { return (_hasBits0 & 16) != 0; } |
| | 3296 | | } |
| | 3297 | | /// <summary>Clears the value of the "arc" field</summary> |
| | 3298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3300 | | public void ClearArc() { |
| | 3301 | | _hasBits0 &= ~16; |
| | 3302 | | } |
| | 3303 | |
|
| | 3304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3306 | | public override bool Equals(object other) { |
| | 3307 | | return Equals(other as ECS6ComponentCircleShape); |
| | 3308 | | } |
| | 3309 | |
|
| | 3310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3312 | | public bool Equals(ECS6ComponentCircleShape other) { |
| | 3313 | | if (ReferenceEquals(other, null)) { |
| | 3314 | | return false; |
| | 3315 | | } |
| | 3316 | | if (ReferenceEquals(other, this)) { |
| | 3317 | | return true; |
| | 3318 | | } |
| | 3319 | | if (WithCollisions != other.WithCollisions) return false; |
| | 3320 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 3321 | | if (Visible != other.Visible) return false; |
| | 3322 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Segments, other.Segments)) return false; |
| | 3323 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 3324 | | return Equals(_unknownFields, other._unknownFields); |
| | 3325 | | } |
| | 3326 | |
|
| | 3327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3329 | | public override int GetHashCode() { |
| | 3330 | | int hash = 1; |
| | 3331 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 3332 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 3333 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 3334 | | if (HasSegments) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segments); |
| | 3335 | | if (HasArc) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 3336 | | if (_unknownFields != null) { |
| | 3337 | | hash ^= _unknownFields.GetHashCode(); |
| | 3338 | | } |
| | 3339 | | return hash; |
| | 3340 | | } |
| | 3341 | |
|
| | 3342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3344 | | public override string ToString() { |
| | 3345 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3346 | | } |
| | 3347 | |
|
| | 3348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3350 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3351 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3352 | | output.WriteRawMessage(this); |
| | 3353 | | #else |
| | 3354 | | if (HasWithCollisions) { |
| | 3355 | | output.WriteRawTag(8); |
| | 3356 | | output.WriteBool(WithCollisions); |
| | 3357 | | } |
| | 3358 | | if (HasIsPointerBlocker) { |
| | 3359 | | output.WriteRawTag(16); |
| | 3360 | | output.WriteBool(IsPointerBlocker); |
| | 3361 | | } |
| | 3362 | | if (HasVisible) { |
| | 3363 | | output.WriteRawTag(24); |
| | 3364 | | output.WriteBool(Visible); |
| | 3365 | | } |
| | 3366 | | if (HasSegments) { |
| | 3367 | | output.WriteRawTag(37); |
| | 3368 | | output.WriteFloat(Segments); |
| | 3369 | | } |
| | 3370 | | if (HasArc) { |
| | 3371 | | output.WriteRawTag(45); |
| | 3372 | | output.WriteFloat(Arc); |
| | 3373 | | } |
| | 3374 | | if (_unknownFields != null) { |
| | 3375 | | _unknownFields.WriteTo(output); |
| | 3376 | | } |
| | 3377 | | #endif |
| | 3378 | | } |
| | 3379 | |
|
| | 3380 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3383 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3384 | | if (HasWithCollisions) { |
| | 3385 | | output.WriteRawTag(8); |
| | 3386 | | output.WriteBool(WithCollisions); |
| | 3387 | | } |
| | 3388 | | if (HasIsPointerBlocker) { |
| | 3389 | | output.WriteRawTag(16); |
| | 3390 | | output.WriteBool(IsPointerBlocker); |
| | 3391 | | } |
| | 3392 | | if (HasVisible) { |
| | 3393 | | output.WriteRawTag(24); |
| | 3394 | | output.WriteBool(Visible); |
| | 3395 | | } |
| | 3396 | | if (HasSegments) { |
| | 3397 | | output.WriteRawTag(37); |
| | 3398 | | output.WriteFloat(Segments); |
| | 3399 | | } |
| | 3400 | | if (HasArc) { |
| | 3401 | | output.WriteRawTag(45); |
| | 3402 | | output.WriteFloat(Arc); |
| | 3403 | | } |
| | 3404 | | if (_unknownFields != null) { |
| | 3405 | | _unknownFields.WriteTo(ref output); |
| | 3406 | | } |
| | 3407 | | } |
| | 3408 | | #endif |
| | 3409 | |
|
| | 3410 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3411 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3412 | | public int CalculateSize() { |
| | 3413 | | int size = 0; |
| | 3414 | | if (HasWithCollisions) { |
| | 3415 | | size += 1 + 1; |
| | 3416 | | } |
| | 3417 | | if (HasIsPointerBlocker) { |
| | 3418 | | size += 1 + 1; |
| | 3419 | | } |
| | 3420 | | if (HasVisible) { |
| | 3421 | | size += 1 + 1; |
| | 3422 | | } |
| | 3423 | | if (HasSegments) { |
| | 3424 | | size += 1 + 4; |
| | 3425 | | } |
| | 3426 | | if (HasArc) { |
| | 3427 | | size += 1 + 4; |
| | 3428 | | } |
| | 3429 | | if (_unknownFields != null) { |
| | 3430 | | size += _unknownFields.CalculateSize(); |
| | 3431 | | } |
| | 3432 | | return size; |
| | 3433 | | } |
| | 3434 | |
|
| | 3435 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3436 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3437 | | public void MergeFrom(ECS6ComponentCircleShape other) { |
| | 3438 | | if (other == null) { |
| | 3439 | | return; |
| | 3440 | | } |
| | 3441 | | if (other.HasWithCollisions) { |
| | 3442 | | WithCollisions = other.WithCollisions; |
| | 3443 | | } |
| | 3444 | | if (other.HasIsPointerBlocker) { |
| | 3445 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 3446 | | } |
| | 3447 | | if (other.HasVisible) { |
| | 3448 | | Visible = other.Visible; |
| | 3449 | | } |
| | 3450 | | if (other.HasSegments) { |
| | 3451 | | Segments = other.Segments; |
| | 3452 | | } |
| | 3453 | | if (other.HasArc) { |
| | 3454 | | Arc = other.Arc; |
| | 3455 | | } |
| | 3456 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3457 | | } |
| | 3458 | |
|
| | 3459 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3460 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3461 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3462 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3463 | | input.ReadRawMessage(this); |
| | 3464 | | #else |
| | 3465 | | uint tag; |
| | 3466 | | while ((tag = input.ReadTag()) != 0) { |
| | 3467 | | switch(tag) { |
| | 3468 | | default: |
| | 3469 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3470 | | break; |
| | 3471 | | case 8: { |
| | 3472 | | WithCollisions = input.ReadBool(); |
| | 3473 | | break; |
| | 3474 | | } |
| | 3475 | | case 16: { |
| | 3476 | | IsPointerBlocker = input.ReadBool(); |
| | 3477 | | break; |
| | 3478 | | } |
| | 3479 | | case 24: { |
| | 3480 | | Visible = input.ReadBool(); |
| | 3481 | | break; |
| | 3482 | | } |
| | 3483 | | case 37: { |
| | 3484 | | Segments = input.ReadFloat(); |
| | 3485 | | break; |
| | 3486 | | } |
| | 3487 | | case 45: { |
| | 3488 | | Arc = input.ReadFloat(); |
| | 3489 | | break; |
| | 3490 | | } |
| | 3491 | | } |
| | 3492 | | } |
| | 3493 | | #endif |
| | 3494 | | } |
| | 3495 | |
|
| | 3496 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3499 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3500 | | uint tag; |
| | 3501 | | while ((tag = input.ReadTag()) != 0) { |
| | 3502 | | switch(tag) { |
| | 3503 | | default: |
| | 3504 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3505 | | break; |
| | 3506 | | case 8: { |
| | 3507 | | WithCollisions = input.ReadBool(); |
| | 3508 | | break; |
| | 3509 | | } |
| | 3510 | | case 16: { |
| | 3511 | | IsPointerBlocker = input.ReadBool(); |
| | 3512 | | break; |
| | 3513 | | } |
| | 3514 | | case 24: { |
| | 3515 | | Visible = input.ReadBool(); |
| | 3516 | | break; |
| | 3517 | | } |
| | 3518 | | case 37: { |
| | 3519 | | Segments = input.ReadFloat(); |
| | 3520 | | break; |
| | 3521 | | } |
| | 3522 | | case 45: { |
| | 3523 | | Arc = input.ReadFloat(); |
| | 3524 | | break; |
| | 3525 | | } |
| | 3526 | | } |
| | 3527 | | } |
| | 3528 | | } |
| | 3529 | | #endif |
| | 3530 | |
|
| | 3531 | | } |
| | 3532 | |
|
| | 3533 | | /// <summary> |
| | 3534 | | /// CLASS_ID.PLANE_SHAPE |
| | 3535 | | /// </summary> |
| | 3536 | | public sealed partial class ECS6ComponentPlaneShape : pb::IMessage<ECS6ComponentPlaneShape> |
| | 3537 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3538 | | , pb::IBufferMessage |
| | 3539 | | #endif |
| | 3540 | | { |
| | 3541 | | private static readonly pb::MessageParser<ECS6ComponentPlaneShape> _parser = new pb::MessageParser<ECS6ComponentPlan |
| | 3542 | | private pb::UnknownFieldSet _unknownFields; |
| | 3543 | | private int _hasBits0; |
| | 3544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3546 | | public static pb::MessageParser<ECS6ComponentPlaneShape> Parser { get { return _parser; } } |
| | 3547 | |
|
| | 3548 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3549 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3550 | | public static pbr::MessageDescriptor Descriptor { |
| | 3551 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[10]; } |
| | 3552 | | } |
| | 3553 | |
|
| | 3554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3556 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3557 | | get { return Descriptor; } |
| | 3558 | | } |
| | 3559 | |
|
| | 3560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3562 | | public ECS6ComponentPlaneShape() { |
| | 3563 | | OnConstruction(); |
| | 3564 | | } |
| | 3565 | |
|
| | 3566 | | partial void OnConstruction(); |
| | 3567 | |
|
| | 3568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3570 | | public ECS6ComponentPlaneShape(ECS6ComponentPlaneShape other) : this() { |
| | 3571 | | _hasBits0 = other._hasBits0; |
| | 3572 | | withCollisions_ = other.withCollisions_; |
| | 3573 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 3574 | | visible_ = other.visible_; |
| | 3575 | | uvs_ = other.uvs_.Clone(); |
| | 3576 | | width_ = other.width_; |
| | 3577 | | height_ = other.height_; |
| | 3578 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3579 | | } |
| | 3580 | |
|
| | 3581 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3582 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3583 | | public ECS6ComponentPlaneShape Clone() { |
| | 3584 | | return new ECS6ComponentPlaneShape(this); |
| | 3585 | | } |
| | 3586 | |
|
| | 3587 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 3588 | | public const int WithCollisionsFieldNumber = 1; |
| | 3589 | | private bool withCollisions_; |
| | 3590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3592 | | public bool WithCollisions { |
| | 3593 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 3594 | | set { |
| | 3595 | | _hasBits0 |= 1; |
| | 3596 | | withCollisions_ = value; |
| | 3597 | | } |
| | 3598 | | } |
| | 3599 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 3600 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3601 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3602 | | public bool HasWithCollisions { |
| | 3603 | | get { return (_hasBits0 & 1) != 0; } |
| | 3604 | | } |
| | 3605 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 3606 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3607 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3608 | | public void ClearWithCollisions() { |
| | 3609 | | _hasBits0 &= ~1; |
| | 3610 | | } |
| | 3611 | |
|
| | 3612 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 3613 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 3614 | | private bool isPointerBlocker_; |
| | 3615 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3616 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3617 | | public bool IsPointerBlocker { |
| | 3618 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 3619 | | set { |
| | 3620 | | _hasBits0 |= 2; |
| | 3621 | | isPointerBlocker_ = value; |
| | 3622 | | } |
| | 3623 | | } |
| | 3624 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 3625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3627 | | public bool HasIsPointerBlocker { |
| | 3628 | | get { return (_hasBits0 & 2) != 0; } |
| | 3629 | | } |
| | 3630 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 3631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3633 | | public void ClearIsPointerBlocker() { |
| | 3634 | | _hasBits0 &= ~2; |
| | 3635 | | } |
| | 3636 | |
|
| | 3637 | | /// <summary>Field number for the "visible" field.</summary> |
| | 3638 | | public const int VisibleFieldNumber = 3; |
| | 3639 | | private bool visible_; |
| | 3640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3642 | | public bool Visible { |
| | 3643 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 3644 | | set { |
| | 3645 | | _hasBits0 |= 4; |
| | 3646 | | visible_ = value; |
| | 3647 | | } |
| | 3648 | | } |
| | 3649 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 3650 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3651 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3652 | | public bool HasVisible { |
| | 3653 | | get { return (_hasBits0 & 4) != 0; } |
| | 3654 | | } |
| | 3655 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 3656 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3657 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3658 | | public void ClearVisible() { |
| | 3659 | | _hasBits0 &= ~4; |
| | 3660 | | } |
| | 3661 | |
|
| | 3662 | | /// <summary>Field number for the "uvs" field.</summary> |
| | 3663 | | public const int UvsFieldNumber = 4; |
| | 3664 | | private static readonly pb::FieldCodec<float> _repeated_uvs_codec |
| | 3665 | | = pb::FieldCodec.ForFloat(34); |
| | 3666 | | private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>(); |
| | 3667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3669 | | public pbc::RepeatedField<float> Uvs { |
| | 3670 | | get { return uvs_; } |
| | 3671 | | } |
| | 3672 | |
|
| | 3673 | | /// <summary>Field number for the "width" field.</summary> |
| | 3674 | | public const int WidthFieldNumber = 6; |
| | 3675 | | private float width_; |
| | 3676 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3677 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3678 | | public float Width { |
| | 3679 | | get { if ((_hasBits0 & 8) != 0) { return width_; } else { return 0F; } } |
| | 3680 | | set { |
| | 3681 | | _hasBits0 |= 8; |
| | 3682 | | width_ = value; |
| | 3683 | | } |
| | 3684 | | } |
| | 3685 | | /// <summary>Gets whether the "width" field is set</summary> |
| | 3686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3688 | | public bool HasWidth { |
| | 3689 | | get { return (_hasBits0 & 8) != 0; } |
| | 3690 | | } |
| | 3691 | | /// <summary>Clears the value of the "width" field</summary> |
| | 3692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3694 | | public void ClearWidth() { |
| | 3695 | | _hasBits0 &= ~8; |
| | 3696 | | } |
| | 3697 | |
|
| | 3698 | | /// <summary>Field number for the "height" field.</summary> |
| | 3699 | | public const int HeightFieldNumber = 7; |
| | 3700 | | private float height_; |
| | 3701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3703 | | public float Height { |
| | 3704 | | get { if ((_hasBits0 & 16) != 0) { return height_; } else { return 0F; } } |
| | 3705 | | set { |
| | 3706 | | _hasBits0 |= 16; |
| | 3707 | | height_ = value; |
| | 3708 | | } |
| | 3709 | | } |
| | 3710 | | /// <summary>Gets whether the "height" field is set</summary> |
| | 3711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3713 | | public bool HasHeight { |
| | 3714 | | get { return (_hasBits0 & 16) != 0; } |
| | 3715 | | } |
| | 3716 | | /// <summary>Clears the value of the "height" field</summary> |
| | 3717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3719 | | public void ClearHeight() { |
| | 3720 | | _hasBits0 &= ~16; |
| | 3721 | | } |
| | 3722 | |
|
| | 3723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3725 | | public override bool Equals(object other) { |
| | 3726 | | return Equals(other as ECS6ComponentPlaneShape); |
| | 3727 | | } |
| | 3728 | |
|
| | 3729 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3730 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3731 | | public bool Equals(ECS6ComponentPlaneShape other) { |
| | 3732 | | if (ReferenceEquals(other, null)) { |
| | 3733 | | return false; |
| | 3734 | | } |
| | 3735 | | if (ReferenceEquals(other, this)) { |
| | 3736 | | return true; |
| | 3737 | | } |
| | 3738 | | if (WithCollisions != other.WithCollisions) return false; |
| | 3739 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 3740 | | if (Visible != other.Visible) return false; |
| | 3741 | | if(!uvs_.Equals(other.uvs_)) return false; |
| | 3742 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 3743 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 3744 | | return Equals(_unknownFields, other._unknownFields); |
| | 3745 | | } |
| | 3746 | |
|
| | 3747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3749 | | public override int GetHashCode() { |
| | 3750 | | int hash = 1; |
| | 3751 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 3752 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 3753 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 3754 | | hash ^= uvs_.GetHashCode(); |
| | 3755 | | if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 3756 | | if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 3757 | | if (_unknownFields != null) { |
| | 3758 | | hash ^= _unknownFields.GetHashCode(); |
| | 3759 | | } |
| | 3760 | | return hash; |
| | 3761 | | } |
| | 3762 | |
|
| | 3763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3765 | | public override string ToString() { |
| | 3766 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3767 | | } |
| | 3768 | |
|
| | 3769 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3770 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3771 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3772 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3773 | | output.WriteRawMessage(this); |
| | 3774 | | #else |
| | 3775 | | if (HasWithCollisions) { |
| | 3776 | | output.WriteRawTag(8); |
| | 3777 | | output.WriteBool(WithCollisions); |
| | 3778 | | } |
| | 3779 | | if (HasIsPointerBlocker) { |
| | 3780 | | output.WriteRawTag(16); |
| | 3781 | | output.WriteBool(IsPointerBlocker); |
| | 3782 | | } |
| | 3783 | | if (HasVisible) { |
| | 3784 | | output.WriteRawTag(24); |
| | 3785 | | output.WriteBool(Visible); |
| | 3786 | | } |
| | 3787 | | uvs_.WriteTo(output, _repeated_uvs_codec); |
| | 3788 | | if (HasWidth) { |
| | 3789 | | output.WriteRawTag(53); |
| | 3790 | | output.WriteFloat(Width); |
| | 3791 | | } |
| | 3792 | | if (HasHeight) { |
| | 3793 | | output.WriteRawTag(61); |
| | 3794 | | output.WriteFloat(Height); |
| | 3795 | | } |
| | 3796 | | if (_unknownFields != null) { |
| | 3797 | | _unknownFields.WriteTo(output); |
| | 3798 | | } |
| | 3799 | | #endif |
| | 3800 | | } |
| | 3801 | |
|
| | 3802 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3803 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3804 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3805 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3806 | | if (HasWithCollisions) { |
| | 3807 | | output.WriteRawTag(8); |
| | 3808 | | output.WriteBool(WithCollisions); |
| | 3809 | | } |
| | 3810 | | if (HasIsPointerBlocker) { |
| | 3811 | | output.WriteRawTag(16); |
| | 3812 | | output.WriteBool(IsPointerBlocker); |
| | 3813 | | } |
| | 3814 | | if (HasVisible) { |
| | 3815 | | output.WriteRawTag(24); |
| | 3816 | | output.WriteBool(Visible); |
| | 3817 | | } |
| | 3818 | | uvs_.WriteTo(ref output, _repeated_uvs_codec); |
| | 3819 | | if (HasWidth) { |
| | 3820 | | output.WriteRawTag(53); |
| | 3821 | | output.WriteFloat(Width); |
| | 3822 | | } |
| | 3823 | | if (HasHeight) { |
| | 3824 | | output.WriteRawTag(61); |
| | 3825 | | output.WriteFloat(Height); |
| | 3826 | | } |
| | 3827 | | if (_unknownFields != null) { |
| | 3828 | | _unknownFields.WriteTo(ref output); |
| | 3829 | | } |
| | 3830 | | } |
| | 3831 | | #endif |
| | 3832 | |
|
| | 3833 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3834 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3835 | | public int CalculateSize() { |
| | 3836 | | int size = 0; |
| | 3837 | | if (HasWithCollisions) { |
| | 3838 | | size += 1 + 1; |
| | 3839 | | } |
| | 3840 | | if (HasIsPointerBlocker) { |
| | 3841 | | size += 1 + 1; |
| | 3842 | | } |
| | 3843 | | if (HasVisible) { |
| | 3844 | | size += 1 + 1; |
| | 3845 | | } |
| | 3846 | | size += uvs_.CalculateSize(_repeated_uvs_codec); |
| | 3847 | | if (HasWidth) { |
| | 3848 | | size += 1 + 4; |
| | 3849 | | } |
| | 3850 | | if (HasHeight) { |
| | 3851 | | size += 1 + 4; |
| | 3852 | | } |
| | 3853 | | if (_unknownFields != null) { |
| | 3854 | | size += _unknownFields.CalculateSize(); |
| | 3855 | | } |
| | 3856 | | return size; |
| | 3857 | | } |
| | 3858 | |
|
| | 3859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3861 | | public void MergeFrom(ECS6ComponentPlaneShape other) { |
| | 3862 | | if (other == null) { |
| | 3863 | | return; |
| | 3864 | | } |
| | 3865 | | if (other.HasWithCollisions) { |
| | 3866 | | WithCollisions = other.WithCollisions; |
| | 3867 | | } |
| | 3868 | | if (other.HasIsPointerBlocker) { |
| | 3869 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 3870 | | } |
| | 3871 | | if (other.HasVisible) { |
| | 3872 | | Visible = other.Visible; |
| | 3873 | | } |
| | 3874 | | uvs_.Add(other.uvs_); |
| | 3875 | | if (other.HasWidth) { |
| | 3876 | | Width = other.Width; |
| | 3877 | | } |
| | 3878 | | if (other.HasHeight) { |
| | 3879 | | Height = other.Height; |
| | 3880 | | } |
| | 3881 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3882 | | } |
| | 3883 | |
|
| | 3884 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3885 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3886 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3887 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3888 | | input.ReadRawMessage(this); |
| | 3889 | | #else |
| | 3890 | | uint tag; |
| | 3891 | | while ((tag = input.ReadTag()) != 0) { |
| | 3892 | | switch(tag) { |
| | 3893 | | default: |
| | 3894 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3895 | | break; |
| | 3896 | | case 8: { |
| | 3897 | | WithCollisions = input.ReadBool(); |
| | 3898 | | break; |
| | 3899 | | } |
| | 3900 | | case 16: { |
| | 3901 | | IsPointerBlocker = input.ReadBool(); |
| | 3902 | | break; |
| | 3903 | | } |
| | 3904 | | case 24: { |
| | 3905 | | Visible = input.ReadBool(); |
| | 3906 | | break; |
| | 3907 | | } |
| | 3908 | | case 34: |
| | 3909 | | case 37: { |
| | 3910 | | uvs_.AddEntriesFrom(input, _repeated_uvs_codec); |
| | 3911 | | break; |
| | 3912 | | } |
| | 3913 | | case 53: { |
| | 3914 | | Width = input.ReadFloat(); |
| | 3915 | | break; |
| | 3916 | | } |
| | 3917 | | case 61: { |
| | 3918 | | Height = input.ReadFloat(); |
| | 3919 | | break; |
| | 3920 | | } |
| | 3921 | | } |
| | 3922 | | } |
| | 3923 | | #endif |
| | 3924 | | } |
| | 3925 | |
|
| | 3926 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3927 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3928 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3929 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3930 | | uint tag; |
| | 3931 | | while ((tag = input.ReadTag()) != 0) { |
| | 3932 | | switch(tag) { |
| | 3933 | | default: |
| | 3934 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3935 | | break; |
| | 3936 | | case 8: { |
| | 3937 | | WithCollisions = input.ReadBool(); |
| | 3938 | | break; |
| | 3939 | | } |
| | 3940 | | case 16: { |
| | 3941 | | IsPointerBlocker = input.ReadBool(); |
| | 3942 | | break; |
| | 3943 | | } |
| | 3944 | | case 24: { |
| | 3945 | | Visible = input.ReadBool(); |
| | 3946 | | break; |
| | 3947 | | } |
| | 3948 | | case 34: |
| | 3949 | | case 37: { |
| | 3950 | | uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec); |
| | 3951 | | break; |
| | 3952 | | } |
| | 3953 | | case 53: { |
| | 3954 | | Width = input.ReadFloat(); |
| | 3955 | | break; |
| | 3956 | | } |
| | 3957 | | case 61: { |
| | 3958 | | Height = input.ReadFloat(); |
| | 3959 | | break; |
| | 3960 | | } |
| | 3961 | | } |
| | 3962 | | } |
| | 3963 | | } |
| | 3964 | | #endif |
| | 3965 | |
|
| | 3966 | | } |
| | 3967 | |
|
| | 3968 | | /// <summary> |
| | 3969 | | /// CLASS_ID.CONE_SHAPE |
| | 3970 | | /// </summary> |
| | 3971 | | public sealed partial class ECS6ComponentConeShape : pb::IMessage<ECS6ComponentConeShape> |
| | 3972 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3973 | | , pb::IBufferMessage |
| | 3974 | | #endif |
| | 3975 | | { |
| | 3976 | | private static readonly pb::MessageParser<ECS6ComponentConeShape> _parser = new pb::MessageParser<ECS6ComponentConeS |
| | 3977 | | private pb::UnknownFieldSet _unknownFields; |
| | 3978 | | private int _hasBits0; |
| | 3979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3981 | | public static pb::MessageParser<ECS6ComponentConeShape> Parser { get { return _parser; } } |
| | 3982 | |
|
| | 3983 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3984 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3985 | | public static pbr::MessageDescriptor Descriptor { |
| | 3986 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[11]; } |
| | 3987 | | } |
| | 3988 | |
|
| | 3989 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3990 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3991 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3992 | | get { return Descriptor; } |
| | 3993 | | } |
| | 3994 | |
|
| | 3995 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3996 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3997 | | public ECS6ComponentConeShape() { |
| | 3998 | | OnConstruction(); |
| | 3999 | | } |
| | 4000 | |
|
| | 4001 | | partial void OnConstruction(); |
| | 4002 | |
|
| | 4003 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4004 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4005 | | public ECS6ComponentConeShape(ECS6ComponentConeShape other) : this() { |
| | 4006 | | _hasBits0 = other._hasBits0; |
| | 4007 | | withCollisions_ = other.withCollisions_; |
| | 4008 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 4009 | | visible_ = other.visible_; |
| | 4010 | | radiusTop_ = other.radiusTop_; |
| | 4011 | | radiusBottom_ = other.radiusBottom_; |
| | 4012 | | segmentsHeight_ = other.segmentsHeight_; |
| | 4013 | | segmentsRadial_ = other.segmentsRadial_; |
| | 4014 | | openEnded_ = other.openEnded_; |
| | 4015 | | radius_ = other.radius_; |
| | 4016 | | arc_ = other.arc_; |
| | 4017 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4018 | | } |
| | 4019 | |
|
| | 4020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4022 | | public ECS6ComponentConeShape Clone() { |
| | 4023 | | return new ECS6ComponentConeShape(this); |
| | 4024 | | } |
| | 4025 | |
|
| | 4026 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 4027 | | public const int WithCollisionsFieldNumber = 1; |
| | 4028 | | private bool withCollisions_; |
| | 4029 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4030 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4031 | | public bool WithCollisions { |
| | 4032 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 4033 | | set { |
| | 4034 | | _hasBits0 |= 1; |
| | 4035 | | withCollisions_ = value; |
| | 4036 | | } |
| | 4037 | | } |
| | 4038 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 4039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4041 | | public bool HasWithCollisions { |
| | 4042 | | get { return (_hasBits0 & 1) != 0; } |
| | 4043 | | } |
| | 4044 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 4045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4047 | | public void ClearWithCollisions() { |
| | 4048 | | _hasBits0 &= ~1; |
| | 4049 | | } |
| | 4050 | |
|
| | 4051 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 4052 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 4053 | | private bool isPointerBlocker_; |
| | 4054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4056 | | public bool IsPointerBlocker { |
| | 4057 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 4058 | | set { |
| | 4059 | | _hasBits0 |= 2; |
| | 4060 | | isPointerBlocker_ = value; |
| | 4061 | | } |
| | 4062 | | } |
| | 4063 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 4064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4066 | | public bool HasIsPointerBlocker { |
| | 4067 | | get { return (_hasBits0 & 2) != 0; } |
| | 4068 | | } |
| | 4069 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 4070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4072 | | public void ClearIsPointerBlocker() { |
| | 4073 | | _hasBits0 &= ~2; |
| | 4074 | | } |
| | 4075 | |
|
| | 4076 | | /// <summary>Field number for the "visible" field.</summary> |
| | 4077 | | public const int VisibleFieldNumber = 3; |
| | 4078 | | private bool visible_; |
| | 4079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4081 | | public bool Visible { |
| | 4082 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 4083 | | set { |
| | 4084 | | _hasBits0 |= 4; |
| | 4085 | | visible_ = value; |
| | 4086 | | } |
| | 4087 | | } |
| | 4088 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 4089 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4090 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4091 | | public bool HasVisible { |
| | 4092 | | get { return (_hasBits0 & 4) != 0; } |
| | 4093 | | } |
| | 4094 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 4095 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4096 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4097 | | public void ClearVisible() { |
| | 4098 | | _hasBits0 &= ~4; |
| | 4099 | | } |
| | 4100 | |
|
| | 4101 | | /// <summary>Field number for the "radius_top" field.</summary> |
| | 4102 | | public const int RadiusTopFieldNumber = 4; |
| | 4103 | | private float radiusTop_; |
| | 4104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4106 | | public float RadiusTop { |
| | 4107 | | get { if ((_hasBits0 & 8) != 0) { return radiusTop_; } else { return 0F; } } |
| | 4108 | | set { |
| | 4109 | | _hasBits0 |= 8; |
| | 4110 | | radiusTop_ = value; |
| | 4111 | | } |
| | 4112 | | } |
| | 4113 | | /// <summary>Gets whether the "radius_top" field is set</summary> |
| | 4114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4116 | | public bool HasRadiusTop { |
| | 4117 | | get { return (_hasBits0 & 8) != 0; } |
| | 4118 | | } |
| | 4119 | | /// <summary>Clears the value of the "radius_top" field</summary> |
| | 4120 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4121 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4122 | | public void ClearRadiusTop() { |
| | 4123 | | _hasBits0 &= ~8; |
| | 4124 | | } |
| | 4125 | |
|
| | 4126 | | /// <summary>Field number for the "radius_bottom" field.</summary> |
| | 4127 | | public const int RadiusBottomFieldNumber = 5; |
| | 4128 | | private float radiusBottom_; |
| | 4129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4131 | | public float RadiusBottom { |
| | 4132 | | get { if ((_hasBits0 & 16) != 0) { return radiusBottom_; } else { return 0F; } } |
| | 4133 | | set { |
| | 4134 | | _hasBits0 |= 16; |
| | 4135 | | radiusBottom_ = value; |
| | 4136 | | } |
| | 4137 | | } |
| | 4138 | | /// <summary>Gets whether the "radius_bottom" field is set</summary> |
| | 4139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4140 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4141 | | public bool HasRadiusBottom { |
| | 4142 | | get { return (_hasBits0 & 16) != 0; } |
| | 4143 | | } |
| | 4144 | | /// <summary>Clears the value of the "radius_bottom" field</summary> |
| | 4145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4147 | | public void ClearRadiusBottom() { |
| | 4148 | | _hasBits0 &= ~16; |
| | 4149 | | } |
| | 4150 | |
|
| | 4151 | | /// <summary>Field number for the "segments_height" field.</summary> |
| | 4152 | | public const int SegmentsHeightFieldNumber = 6; |
| | 4153 | | private float segmentsHeight_; |
| | 4154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4156 | | public float SegmentsHeight { |
| | 4157 | | get { if ((_hasBits0 & 32) != 0) { return segmentsHeight_; } else { return 0F; } } |
| | 4158 | | set { |
| | 4159 | | _hasBits0 |= 32; |
| | 4160 | | segmentsHeight_ = value; |
| | 4161 | | } |
| | 4162 | | } |
| | 4163 | | /// <summary>Gets whether the "segments_height" field is set</summary> |
| | 4164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4165 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4166 | | public bool HasSegmentsHeight { |
| | 4167 | | get { return (_hasBits0 & 32) != 0; } |
| | 4168 | | } |
| | 4169 | | /// <summary>Clears the value of the "segments_height" field</summary> |
| | 4170 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4171 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4172 | | public void ClearSegmentsHeight() { |
| | 4173 | | _hasBits0 &= ~32; |
| | 4174 | | } |
| | 4175 | |
|
| | 4176 | | /// <summary>Field number for the "segments_radial" field.</summary> |
| | 4177 | | public const int SegmentsRadialFieldNumber = 7; |
| | 4178 | | private float segmentsRadial_; |
| | 4179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4181 | | public float SegmentsRadial { |
| | 4182 | | get { if ((_hasBits0 & 64) != 0) { return segmentsRadial_; } else { return 0F; } } |
| | 4183 | | set { |
| | 4184 | | _hasBits0 |= 64; |
| | 4185 | | segmentsRadial_ = value; |
| | 4186 | | } |
| | 4187 | | } |
| | 4188 | | /// <summary>Gets whether the "segments_radial" field is set</summary> |
| | 4189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4191 | | public bool HasSegmentsRadial { |
| | 4192 | | get { return (_hasBits0 & 64) != 0; } |
| | 4193 | | } |
| | 4194 | | /// <summary>Clears the value of the "segments_radial" field</summary> |
| | 4195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4197 | | public void ClearSegmentsRadial() { |
| | 4198 | | _hasBits0 &= ~64; |
| | 4199 | | } |
| | 4200 | |
|
| | 4201 | | /// <summary>Field number for the "open_ended" field.</summary> |
| | 4202 | | public const int OpenEndedFieldNumber = 8; |
| | 4203 | | private bool openEnded_; |
| | 4204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4206 | | public bool OpenEnded { |
| | 4207 | | get { if ((_hasBits0 & 128) != 0) { return openEnded_; } else { return false; } } |
| | 4208 | | set { |
| | 4209 | | _hasBits0 |= 128; |
| | 4210 | | openEnded_ = value; |
| | 4211 | | } |
| | 4212 | | } |
| | 4213 | | /// <summary>Gets whether the "open_ended" field is set</summary> |
| | 4214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4216 | | public bool HasOpenEnded { |
| | 4217 | | get { return (_hasBits0 & 128) != 0; } |
| | 4218 | | } |
| | 4219 | | /// <summary>Clears the value of the "open_ended" field</summary> |
| | 4220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4222 | | public void ClearOpenEnded() { |
| | 4223 | | _hasBits0 &= ~128; |
| | 4224 | | } |
| | 4225 | |
|
| | 4226 | | /// <summary>Field number for the "radius" field.</summary> |
| | 4227 | | public const int RadiusFieldNumber = 9; |
| | 4228 | | private float radius_; |
| | 4229 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4230 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4231 | | public float Radius { |
| | 4232 | | get { if ((_hasBits0 & 256) != 0) { return radius_; } else { return 0F; } } |
| | 4233 | | set { |
| | 4234 | | _hasBits0 |= 256; |
| | 4235 | | radius_ = value; |
| | 4236 | | } |
| | 4237 | | } |
| | 4238 | | /// <summary>Gets whether the "radius" field is set</summary> |
| | 4239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4241 | | public bool HasRadius { |
| | 4242 | | get { return (_hasBits0 & 256) != 0; } |
| | 4243 | | } |
| | 4244 | | /// <summary>Clears the value of the "radius" field</summary> |
| | 4245 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4246 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4247 | | public void ClearRadius() { |
| | 4248 | | _hasBits0 &= ~256; |
| | 4249 | | } |
| | 4250 | |
|
| | 4251 | | /// <summary>Field number for the "arc" field.</summary> |
| | 4252 | | public const int ArcFieldNumber = 10; |
| | 4253 | | private float arc_; |
| | 4254 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4255 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4256 | | public float Arc { |
| | 4257 | | get { if ((_hasBits0 & 512) != 0) { return arc_; } else { return 0F; } } |
| | 4258 | | set { |
| | 4259 | | _hasBits0 |= 512; |
| | 4260 | | arc_ = value; |
| | 4261 | | } |
| | 4262 | | } |
| | 4263 | | /// <summary>Gets whether the "arc" field is set</summary> |
| | 4264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4266 | | public bool HasArc { |
| | 4267 | | get { return (_hasBits0 & 512) != 0; } |
| | 4268 | | } |
| | 4269 | | /// <summary>Clears the value of the "arc" field</summary> |
| | 4270 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4271 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4272 | | public void ClearArc() { |
| | 4273 | | _hasBits0 &= ~512; |
| | 4274 | | } |
| | 4275 | |
|
| | 4276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4278 | | public override bool Equals(object other) { |
| | 4279 | | return Equals(other as ECS6ComponentConeShape); |
| | 4280 | | } |
| | 4281 | |
|
| | 4282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4284 | | public bool Equals(ECS6ComponentConeShape other) { |
| | 4285 | | if (ReferenceEquals(other, null)) { |
| | 4286 | | return false; |
| | 4287 | | } |
| | 4288 | | if (ReferenceEquals(other, this)) { |
| | 4289 | | return true; |
| | 4290 | | } |
| | 4291 | | if (WithCollisions != other.WithCollisions) return false; |
| | 4292 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 4293 | | if (Visible != other.Visible) return false; |
| | 4294 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false |
| | 4295 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return |
| | 4296 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsHeight, other.SegmentsHeight)) re |
| | 4297 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsRadial, other.SegmentsRadial)) re |
| | 4298 | | if (OpenEnded != other.OpenEnded) return false; |
| | 4299 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; |
| | 4300 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 4301 | | return Equals(_unknownFields, other._unknownFields); |
| | 4302 | | } |
| | 4303 | |
|
| | 4304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4306 | | public override int GetHashCode() { |
| | 4307 | | int hash = 1; |
| | 4308 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 4309 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 4310 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 4311 | | if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop); |
| | 4312 | | if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBottom |
| | 4313 | | if (HasSegmentsHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SegmentsHe |
| | 4314 | | if (HasSegmentsRadial) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SegmentsRa |
| | 4315 | | if (HasOpenEnded) hash ^= OpenEnded.GetHashCode(); |
| | 4316 | | if (HasRadius) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); |
| | 4317 | | if (HasArc) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 4318 | | if (_unknownFields != null) { |
| | 4319 | | hash ^= _unknownFields.GetHashCode(); |
| | 4320 | | } |
| | 4321 | | return hash; |
| | 4322 | | } |
| | 4323 | |
|
| | 4324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4326 | | public override string ToString() { |
| | 4327 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4328 | | } |
| | 4329 | |
|
| | 4330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4332 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4333 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4334 | | output.WriteRawMessage(this); |
| | 4335 | | #else |
| | 4336 | | if (HasWithCollisions) { |
| | 4337 | | output.WriteRawTag(8); |
| | 4338 | | output.WriteBool(WithCollisions); |
| | 4339 | | } |
| | 4340 | | if (HasIsPointerBlocker) { |
| | 4341 | | output.WriteRawTag(16); |
| | 4342 | | output.WriteBool(IsPointerBlocker); |
| | 4343 | | } |
| | 4344 | | if (HasVisible) { |
| | 4345 | | output.WriteRawTag(24); |
| | 4346 | | output.WriteBool(Visible); |
| | 4347 | | } |
| | 4348 | | if (HasRadiusTop) { |
| | 4349 | | output.WriteRawTag(37); |
| | 4350 | | output.WriteFloat(RadiusTop); |
| | 4351 | | } |
| | 4352 | | if (HasRadiusBottom) { |
| | 4353 | | output.WriteRawTag(45); |
| | 4354 | | output.WriteFloat(RadiusBottom); |
| | 4355 | | } |
| | 4356 | | if (HasSegmentsHeight) { |
| | 4357 | | output.WriteRawTag(53); |
| | 4358 | | output.WriteFloat(SegmentsHeight); |
| | 4359 | | } |
| | 4360 | | if (HasSegmentsRadial) { |
| | 4361 | | output.WriteRawTag(61); |
| | 4362 | | output.WriteFloat(SegmentsRadial); |
| | 4363 | | } |
| | 4364 | | if (HasOpenEnded) { |
| | 4365 | | output.WriteRawTag(64); |
| | 4366 | | output.WriteBool(OpenEnded); |
| | 4367 | | } |
| | 4368 | | if (HasRadius) { |
| | 4369 | | output.WriteRawTag(77); |
| | 4370 | | output.WriteFloat(Radius); |
| | 4371 | | } |
| | 4372 | | if (HasArc) { |
| | 4373 | | output.WriteRawTag(85); |
| | 4374 | | output.WriteFloat(Arc); |
| | 4375 | | } |
| | 4376 | | if (_unknownFields != null) { |
| | 4377 | | _unknownFields.WriteTo(output); |
| | 4378 | | } |
| | 4379 | | #endif |
| | 4380 | | } |
| | 4381 | |
|
| | 4382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4385 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4386 | | if (HasWithCollisions) { |
| | 4387 | | output.WriteRawTag(8); |
| | 4388 | | output.WriteBool(WithCollisions); |
| | 4389 | | } |
| | 4390 | | if (HasIsPointerBlocker) { |
| | 4391 | | output.WriteRawTag(16); |
| | 4392 | | output.WriteBool(IsPointerBlocker); |
| | 4393 | | } |
| | 4394 | | if (HasVisible) { |
| | 4395 | | output.WriteRawTag(24); |
| | 4396 | | output.WriteBool(Visible); |
| | 4397 | | } |
| | 4398 | | if (HasRadiusTop) { |
| | 4399 | | output.WriteRawTag(37); |
| | 4400 | | output.WriteFloat(RadiusTop); |
| | 4401 | | } |
| | 4402 | | if (HasRadiusBottom) { |
| | 4403 | | output.WriteRawTag(45); |
| | 4404 | | output.WriteFloat(RadiusBottom); |
| | 4405 | | } |
| | 4406 | | if (HasSegmentsHeight) { |
| | 4407 | | output.WriteRawTag(53); |
| | 4408 | | output.WriteFloat(SegmentsHeight); |
| | 4409 | | } |
| | 4410 | | if (HasSegmentsRadial) { |
| | 4411 | | output.WriteRawTag(61); |
| | 4412 | | output.WriteFloat(SegmentsRadial); |
| | 4413 | | } |
| | 4414 | | if (HasOpenEnded) { |
| | 4415 | | output.WriteRawTag(64); |
| | 4416 | | output.WriteBool(OpenEnded); |
| | 4417 | | } |
| | 4418 | | if (HasRadius) { |
| | 4419 | | output.WriteRawTag(77); |
| | 4420 | | output.WriteFloat(Radius); |
| | 4421 | | } |
| | 4422 | | if (HasArc) { |
| | 4423 | | output.WriteRawTag(85); |
| | 4424 | | output.WriteFloat(Arc); |
| | 4425 | | } |
| | 4426 | | if (_unknownFields != null) { |
| | 4427 | | _unknownFields.WriteTo(ref output); |
| | 4428 | | } |
| | 4429 | | } |
| | 4430 | | #endif |
| | 4431 | |
|
| | 4432 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4433 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4434 | | public int CalculateSize() { |
| | 4435 | | int size = 0; |
| | 4436 | | if (HasWithCollisions) { |
| | 4437 | | size += 1 + 1; |
| | 4438 | | } |
| | 4439 | | if (HasIsPointerBlocker) { |
| | 4440 | | size += 1 + 1; |
| | 4441 | | } |
| | 4442 | | if (HasVisible) { |
| | 4443 | | size += 1 + 1; |
| | 4444 | | } |
| | 4445 | | if (HasRadiusTop) { |
| | 4446 | | size += 1 + 4; |
| | 4447 | | } |
| | 4448 | | if (HasRadiusBottom) { |
| | 4449 | | size += 1 + 4; |
| | 4450 | | } |
| | 4451 | | if (HasSegmentsHeight) { |
| | 4452 | | size += 1 + 4; |
| | 4453 | | } |
| | 4454 | | if (HasSegmentsRadial) { |
| | 4455 | | size += 1 + 4; |
| | 4456 | | } |
| | 4457 | | if (HasOpenEnded) { |
| | 4458 | | size += 1 + 1; |
| | 4459 | | } |
| | 4460 | | if (HasRadius) { |
| | 4461 | | size += 1 + 4; |
| | 4462 | | } |
| | 4463 | | if (HasArc) { |
| | 4464 | | size += 1 + 4; |
| | 4465 | | } |
| | 4466 | | if (_unknownFields != null) { |
| | 4467 | | size += _unknownFields.CalculateSize(); |
| | 4468 | | } |
| | 4469 | | return size; |
| | 4470 | | } |
| | 4471 | |
|
| | 4472 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4473 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4474 | | public void MergeFrom(ECS6ComponentConeShape other) { |
| | 4475 | | if (other == null) { |
| | 4476 | | return; |
| | 4477 | | } |
| | 4478 | | if (other.HasWithCollisions) { |
| | 4479 | | WithCollisions = other.WithCollisions; |
| | 4480 | | } |
| | 4481 | | if (other.HasIsPointerBlocker) { |
| | 4482 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 4483 | | } |
| | 4484 | | if (other.HasVisible) { |
| | 4485 | | Visible = other.Visible; |
| | 4486 | | } |
| | 4487 | | if (other.HasRadiusTop) { |
| | 4488 | | RadiusTop = other.RadiusTop; |
| | 4489 | | } |
| | 4490 | | if (other.HasRadiusBottom) { |
| | 4491 | | RadiusBottom = other.RadiusBottom; |
| | 4492 | | } |
| | 4493 | | if (other.HasSegmentsHeight) { |
| | 4494 | | SegmentsHeight = other.SegmentsHeight; |
| | 4495 | | } |
| | 4496 | | if (other.HasSegmentsRadial) { |
| | 4497 | | SegmentsRadial = other.SegmentsRadial; |
| | 4498 | | } |
| | 4499 | | if (other.HasOpenEnded) { |
| | 4500 | | OpenEnded = other.OpenEnded; |
| | 4501 | | } |
| | 4502 | | if (other.HasRadius) { |
| | 4503 | | Radius = other.Radius; |
| | 4504 | | } |
| | 4505 | | if (other.HasArc) { |
| | 4506 | | Arc = other.Arc; |
| | 4507 | | } |
| | 4508 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4509 | | } |
| | 4510 | |
|
| | 4511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4513 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4514 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4515 | | input.ReadRawMessage(this); |
| | 4516 | | #else |
| | 4517 | | uint tag; |
| | 4518 | | while ((tag = input.ReadTag()) != 0) { |
| | 4519 | | switch(tag) { |
| | 4520 | | default: |
| | 4521 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4522 | | break; |
| | 4523 | | case 8: { |
| | 4524 | | WithCollisions = input.ReadBool(); |
| | 4525 | | break; |
| | 4526 | | } |
| | 4527 | | case 16: { |
| | 4528 | | IsPointerBlocker = input.ReadBool(); |
| | 4529 | | break; |
| | 4530 | | } |
| | 4531 | | case 24: { |
| | 4532 | | Visible = input.ReadBool(); |
| | 4533 | | break; |
| | 4534 | | } |
| | 4535 | | case 37: { |
| | 4536 | | RadiusTop = input.ReadFloat(); |
| | 4537 | | break; |
| | 4538 | | } |
| | 4539 | | case 45: { |
| | 4540 | | RadiusBottom = input.ReadFloat(); |
| | 4541 | | break; |
| | 4542 | | } |
| | 4543 | | case 53: { |
| | 4544 | | SegmentsHeight = input.ReadFloat(); |
| | 4545 | | break; |
| | 4546 | | } |
| | 4547 | | case 61: { |
| | 4548 | | SegmentsRadial = input.ReadFloat(); |
| | 4549 | | break; |
| | 4550 | | } |
| | 4551 | | case 64: { |
| | 4552 | | OpenEnded = input.ReadBool(); |
| | 4553 | | break; |
| | 4554 | | } |
| | 4555 | | case 77: { |
| | 4556 | | Radius = input.ReadFloat(); |
| | 4557 | | break; |
| | 4558 | | } |
| | 4559 | | case 85: { |
| | 4560 | | Arc = input.ReadFloat(); |
| | 4561 | | break; |
| | 4562 | | } |
| | 4563 | | } |
| | 4564 | | } |
| | 4565 | | #endif |
| | 4566 | | } |
| | 4567 | |
|
| | 4568 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4569 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4570 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4571 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4572 | | uint tag; |
| | 4573 | | while ((tag = input.ReadTag()) != 0) { |
| | 4574 | | switch(tag) { |
| | 4575 | | default: |
| | 4576 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4577 | | break; |
| | 4578 | | case 8: { |
| | 4579 | | WithCollisions = input.ReadBool(); |
| | 4580 | | break; |
| | 4581 | | } |
| | 4582 | | case 16: { |
| | 4583 | | IsPointerBlocker = input.ReadBool(); |
| | 4584 | | break; |
| | 4585 | | } |
| | 4586 | | case 24: { |
| | 4587 | | Visible = input.ReadBool(); |
| | 4588 | | break; |
| | 4589 | | } |
| | 4590 | | case 37: { |
| | 4591 | | RadiusTop = input.ReadFloat(); |
| | 4592 | | break; |
| | 4593 | | } |
| | 4594 | | case 45: { |
| | 4595 | | RadiusBottom = input.ReadFloat(); |
| | 4596 | | break; |
| | 4597 | | } |
| | 4598 | | case 53: { |
| | 4599 | | SegmentsHeight = input.ReadFloat(); |
| | 4600 | | break; |
| | 4601 | | } |
| | 4602 | | case 61: { |
| | 4603 | | SegmentsRadial = input.ReadFloat(); |
| | 4604 | | break; |
| | 4605 | | } |
| | 4606 | | case 64: { |
| | 4607 | | OpenEnded = input.ReadBool(); |
| | 4608 | | break; |
| | 4609 | | } |
| | 4610 | | case 77: { |
| | 4611 | | Radius = input.ReadFloat(); |
| | 4612 | | break; |
| | 4613 | | } |
| | 4614 | | case 85: { |
| | 4615 | | Arc = input.ReadFloat(); |
| | 4616 | | break; |
| | 4617 | | } |
| | 4618 | | } |
| | 4619 | | } |
| | 4620 | | } |
| | 4621 | | #endif |
| | 4622 | |
|
| | 4623 | | } |
| | 4624 | |
|
| | 4625 | | /// <summary> |
| | 4626 | | /// CLASS_ID.CYLINDER_SHAPE |
| | 4627 | | /// </summary> |
| | 4628 | | public sealed partial class ECS6ComponentCylinderShape : pb::IMessage<ECS6ComponentCylinderShape> |
| | 4629 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4630 | | , pb::IBufferMessage |
| | 4631 | | #endif |
| | 4632 | | { |
| | 4633 | | private static readonly pb::MessageParser<ECS6ComponentCylinderShape> _parser = new pb::MessageParser<ECS6ComponentC |
| | 4634 | | private pb::UnknownFieldSet _unknownFields; |
| | 4635 | | private int _hasBits0; |
| | 4636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4638 | | public static pb::MessageParser<ECS6ComponentCylinderShape> Parser { get { return _parser; } } |
| | 4639 | |
|
| | 4640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4642 | | public static pbr::MessageDescriptor Descriptor { |
| | 4643 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[12]; } |
| | 4644 | | } |
| | 4645 | |
|
| | 4646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4648 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4649 | | get { return Descriptor; } |
| | 4650 | | } |
| | 4651 | |
|
| | 4652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4654 | | public ECS6ComponentCylinderShape() { |
| | 4655 | | OnConstruction(); |
| | 4656 | | } |
| | 4657 | |
|
| | 4658 | | partial void OnConstruction(); |
| | 4659 | |
|
| | 4660 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4661 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4662 | | public ECS6ComponentCylinderShape(ECS6ComponentCylinderShape other) : this() { |
| | 4663 | | _hasBits0 = other._hasBits0; |
| | 4664 | | withCollisions_ = other.withCollisions_; |
| | 4665 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 4666 | | visible_ = other.visible_; |
| | 4667 | | radiusTop_ = other.radiusTop_; |
| | 4668 | | radiusBottom_ = other.radiusBottom_; |
| | 4669 | | segmentsHeight_ = other.segmentsHeight_; |
| | 4670 | | segmentsRadial_ = other.segmentsRadial_; |
| | 4671 | | openEnded_ = other.openEnded_; |
| | 4672 | | radius_ = other.radius_; |
| | 4673 | | arc_ = other.arc_; |
| | 4674 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4675 | | } |
| | 4676 | |
|
| | 4677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4679 | | public ECS6ComponentCylinderShape Clone() { |
| | 4680 | | return new ECS6ComponentCylinderShape(this); |
| | 4681 | | } |
| | 4682 | |
|
| | 4683 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 4684 | | public const int WithCollisionsFieldNumber = 1; |
| | 4685 | | private bool withCollisions_; |
| | 4686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4688 | | public bool WithCollisions { |
| | 4689 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 4690 | | set { |
| | 4691 | | _hasBits0 |= 1; |
| | 4692 | | withCollisions_ = value; |
| | 4693 | | } |
| | 4694 | | } |
| | 4695 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 4696 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4697 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4698 | | public bool HasWithCollisions { |
| | 4699 | | get { return (_hasBits0 & 1) != 0; } |
| | 4700 | | } |
| | 4701 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 4702 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4703 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4704 | | public void ClearWithCollisions() { |
| | 4705 | | _hasBits0 &= ~1; |
| | 4706 | | } |
| | 4707 | |
|
| | 4708 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 4709 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 4710 | | private bool isPointerBlocker_; |
| | 4711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4713 | | public bool IsPointerBlocker { |
| | 4714 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 4715 | | set { |
| | 4716 | | _hasBits0 |= 2; |
| | 4717 | | isPointerBlocker_ = value; |
| | 4718 | | } |
| | 4719 | | } |
| | 4720 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 4721 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4722 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4723 | | public bool HasIsPointerBlocker { |
| | 4724 | | get { return (_hasBits0 & 2) != 0; } |
| | 4725 | | } |
| | 4726 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 4727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4729 | | public void ClearIsPointerBlocker() { |
| | 4730 | | _hasBits0 &= ~2; |
| | 4731 | | } |
| | 4732 | |
|
| | 4733 | | /// <summary>Field number for the "visible" field.</summary> |
| | 4734 | | public const int VisibleFieldNumber = 3; |
| | 4735 | | private bool visible_; |
| | 4736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4738 | | public bool Visible { |
| | 4739 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 4740 | | set { |
| | 4741 | | _hasBits0 |= 4; |
| | 4742 | | visible_ = value; |
| | 4743 | | } |
| | 4744 | | } |
| | 4745 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 4746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4748 | | public bool HasVisible { |
| | 4749 | | get { return (_hasBits0 & 4) != 0; } |
| | 4750 | | } |
| | 4751 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 4752 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4753 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4754 | | public void ClearVisible() { |
| | 4755 | | _hasBits0 &= ~4; |
| | 4756 | | } |
| | 4757 | |
|
| | 4758 | | /// <summary>Field number for the "radius_top" field.</summary> |
| | 4759 | | public const int RadiusTopFieldNumber = 4; |
| | 4760 | | private float radiusTop_; |
| | 4761 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4762 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4763 | | public float RadiusTop { |
| | 4764 | | get { if ((_hasBits0 & 8) != 0) { return radiusTop_; } else { return 0F; } } |
| | 4765 | | set { |
| | 4766 | | _hasBits0 |= 8; |
| | 4767 | | radiusTop_ = value; |
| | 4768 | | } |
| | 4769 | | } |
| | 4770 | | /// <summary>Gets whether the "radius_top" field is set</summary> |
| | 4771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4773 | | public bool HasRadiusTop { |
| | 4774 | | get { return (_hasBits0 & 8) != 0; } |
| | 4775 | | } |
| | 4776 | | /// <summary>Clears the value of the "radius_top" field</summary> |
| | 4777 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4778 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4779 | | public void ClearRadiusTop() { |
| | 4780 | | _hasBits0 &= ~8; |
| | 4781 | | } |
| | 4782 | |
|
| | 4783 | | /// <summary>Field number for the "radius_bottom" field.</summary> |
| | 4784 | | public const int RadiusBottomFieldNumber = 5; |
| | 4785 | | private float radiusBottom_; |
| | 4786 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4787 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4788 | | public float RadiusBottom { |
| | 4789 | | get { if ((_hasBits0 & 16) != 0) { return radiusBottom_; } else { return 0F; } } |
| | 4790 | | set { |
| | 4791 | | _hasBits0 |= 16; |
| | 4792 | | radiusBottom_ = value; |
| | 4793 | | } |
| | 4794 | | } |
| | 4795 | | /// <summary>Gets whether the "radius_bottom" field is set</summary> |
| | 4796 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4797 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4798 | | public bool HasRadiusBottom { |
| | 4799 | | get { return (_hasBits0 & 16) != 0; } |
| | 4800 | | } |
| | 4801 | | /// <summary>Clears the value of the "radius_bottom" field</summary> |
| | 4802 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4803 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4804 | | public void ClearRadiusBottom() { |
| | 4805 | | _hasBits0 &= ~16; |
| | 4806 | | } |
| | 4807 | |
|
| | 4808 | | /// <summary>Field number for the "segments_height" field.</summary> |
| | 4809 | | public const int SegmentsHeightFieldNumber = 6; |
| | 4810 | | private float segmentsHeight_; |
| | 4811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4813 | | public float SegmentsHeight { |
| | 4814 | | get { if ((_hasBits0 & 32) != 0) { return segmentsHeight_; } else { return 0F; } } |
| | 4815 | | set { |
| | 4816 | | _hasBits0 |= 32; |
| | 4817 | | segmentsHeight_ = value; |
| | 4818 | | } |
| | 4819 | | } |
| | 4820 | | /// <summary>Gets whether the "segments_height" field is set</summary> |
| | 4821 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4822 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4823 | | public bool HasSegmentsHeight { |
| | 4824 | | get { return (_hasBits0 & 32) != 0; } |
| | 4825 | | } |
| | 4826 | | /// <summary>Clears the value of the "segments_height" field</summary> |
| | 4827 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4828 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4829 | | public void ClearSegmentsHeight() { |
| | 4830 | | _hasBits0 &= ~32; |
| | 4831 | | } |
| | 4832 | |
|
| | 4833 | | /// <summary>Field number for the "segments_radial" field.</summary> |
| | 4834 | | public const int SegmentsRadialFieldNumber = 7; |
| | 4835 | | private float segmentsRadial_; |
| | 4836 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4837 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4838 | | public float SegmentsRadial { |
| | 4839 | | get { if ((_hasBits0 & 64) != 0) { return segmentsRadial_; } else { return 0F; } } |
| | 4840 | | set { |
| | 4841 | | _hasBits0 |= 64; |
| | 4842 | | segmentsRadial_ = value; |
| | 4843 | | } |
| | 4844 | | } |
| | 4845 | | /// <summary>Gets whether the "segments_radial" field is set</summary> |
| | 4846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4848 | | public bool HasSegmentsRadial { |
| | 4849 | | get { return (_hasBits0 & 64) != 0; } |
| | 4850 | | } |
| | 4851 | | /// <summary>Clears the value of the "segments_radial" field</summary> |
| | 4852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4854 | | public void ClearSegmentsRadial() { |
| | 4855 | | _hasBits0 &= ~64; |
| | 4856 | | } |
| | 4857 | |
|
| | 4858 | | /// <summary>Field number for the "open_ended" field.</summary> |
| | 4859 | | public const int OpenEndedFieldNumber = 8; |
| | 4860 | | private bool openEnded_; |
| | 4861 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4862 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4863 | | public bool OpenEnded { |
| | 4864 | | get { if ((_hasBits0 & 128) != 0) { return openEnded_; } else { return false; } } |
| | 4865 | | set { |
| | 4866 | | _hasBits0 |= 128; |
| | 4867 | | openEnded_ = value; |
| | 4868 | | } |
| | 4869 | | } |
| | 4870 | | /// <summary>Gets whether the "open_ended" field is set</summary> |
| | 4871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4873 | | public bool HasOpenEnded { |
| | 4874 | | get { return (_hasBits0 & 128) != 0; } |
| | 4875 | | } |
| | 4876 | | /// <summary>Clears the value of the "open_ended" field</summary> |
| | 4877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4879 | | public void ClearOpenEnded() { |
| | 4880 | | _hasBits0 &= ~128; |
| | 4881 | | } |
| | 4882 | |
|
| | 4883 | | /// <summary>Field number for the "radius" field.</summary> |
| | 4884 | | public const int RadiusFieldNumber = 9; |
| | 4885 | | private float radius_; |
| | 4886 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4887 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4888 | | public float Radius { |
| | 4889 | | get { if ((_hasBits0 & 256) != 0) { return radius_; } else { return 0F; } } |
| | 4890 | | set { |
| | 4891 | | _hasBits0 |= 256; |
| | 4892 | | radius_ = value; |
| | 4893 | | } |
| | 4894 | | } |
| | 4895 | | /// <summary>Gets whether the "radius" field is set</summary> |
| | 4896 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4897 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4898 | | public bool HasRadius { |
| | 4899 | | get { return (_hasBits0 & 256) != 0; } |
| | 4900 | | } |
| | 4901 | | /// <summary>Clears the value of the "radius" field</summary> |
| | 4902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4904 | | public void ClearRadius() { |
| | 4905 | | _hasBits0 &= ~256; |
| | 4906 | | } |
| | 4907 | |
|
| | 4908 | | /// <summary>Field number for the "arc" field.</summary> |
| | 4909 | | public const int ArcFieldNumber = 10; |
| | 4910 | | private float arc_; |
| | 4911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4913 | | public float Arc { |
| | 4914 | | get { if ((_hasBits0 & 512) != 0) { return arc_; } else { return 0F; } } |
| | 4915 | | set { |
| | 4916 | | _hasBits0 |= 512; |
| | 4917 | | arc_ = value; |
| | 4918 | | } |
| | 4919 | | } |
| | 4920 | | /// <summary>Gets whether the "arc" field is set</summary> |
| | 4921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4923 | | public bool HasArc { |
| | 4924 | | get { return (_hasBits0 & 512) != 0; } |
| | 4925 | | } |
| | 4926 | | /// <summary>Clears the value of the "arc" field</summary> |
| | 4927 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4928 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4929 | | public void ClearArc() { |
| | 4930 | | _hasBits0 &= ~512; |
| | 4931 | | } |
| | 4932 | |
|
| | 4933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4935 | | public override bool Equals(object other) { |
| | 4936 | | return Equals(other as ECS6ComponentCylinderShape); |
| | 4937 | | } |
| | 4938 | |
|
| | 4939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4941 | | public bool Equals(ECS6ComponentCylinderShape other) { |
| | 4942 | | if (ReferenceEquals(other, null)) { |
| | 4943 | | return false; |
| | 4944 | | } |
| | 4945 | | if (ReferenceEquals(other, this)) { |
| | 4946 | | return true; |
| | 4947 | | } |
| | 4948 | | if (WithCollisions != other.WithCollisions) return false; |
| | 4949 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 4950 | | if (Visible != other.Visible) return false; |
| | 4951 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false |
| | 4952 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return |
| | 4953 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsHeight, other.SegmentsHeight)) re |
| | 4954 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsRadial, other.SegmentsRadial)) re |
| | 4955 | | if (OpenEnded != other.OpenEnded) return false; |
| | 4956 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; |
| | 4957 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 4958 | | return Equals(_unknownFields, other._unknownFields); |
| | 4959 | | } |
| | 4960 | |
|
| | 4961 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4962 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4963 | | public override int GetHashCode() { |
| | 4964 | | int hash = 1; |
| | 4965 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 4966 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 4967 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 4968 | | if (HasRadiusTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop); |
| | 4969 | | if (HasRadiusBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBottom |
| | 4970 | | if (HasSegmentsHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SegmentsHe |
| | 4971 | | if (HasSegmentsRadial) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SegmentsRa |
| | 4972 | | if (HasOpenEnded) hash ^= OpenEnded.GetHashCode(); |
| | 4973 | | if (HasRadius) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); |
| | 4974 | | if (HasArc) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 4975 | | if (_unknownFields != null) { |
| | 4976 | | hash ^= _unknownFields.GetHashCode(); |
| | 4977 | | } |
| | 4978 | | return hash; |
| | 4979 | | } |
| | 4980 | |
|
| | 4981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4983 | | public override string ToString() { |
| | 4984 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4985 | | } |
| | 4986 | |
|
| | 4987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4989 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4990 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4991 | | output.WriteRawMessage(this); |
| | 4992 | | #else |
| | 4993 | | if (HasWithCollisions) { |
| | 4994 | | output.WriteRawTag(8); |
| | 4995 | | output.WriteBool(WithCollisions); |
| | 4996 | | } |
| | 4997 | | if (HasIsPointerBlocker) { |
| | 4998 | | output.WriteRawTag(16); |
| | 4999 | | output.WriteBool(IsPointerBlocker); |
| | 5000 | | } |
| | 5001 | | if (HasVisible) { |
| | 5002 | | output.WriteRawTag(24); |
| | 5003 | | output.WriteBool(Visible); |
| | 5004 | | } |
| | 5005 | | if (HasRadiusTop) { |
| | 5006 | | output.WriteRawTag(37); |
| | 5007 | | output.WriteFloat(RadiusTop); |
| | 5008 | | } |
| | 5009 | | if (HasRadiusBottom) { |
| | 5010 | | output.WriteRawTag(45); |
| | 5011 | | output.WriteFloat(RadiusBottom); |
| | 5012 | | } |
| | 5013 | | if (HasSegmentsHeight) { |
| | 5014 | | output.WriteRawTag(53); |
| | 5015 | | output.WriteFloat(SegmentsHeight); |
| | 5016 | | } |
| | 5017 | | if (HasSegmentsRadial) { |
| | 5018 | | output.WriteRawTag(61); |
| | 5019 | | output.WriteFloat(SegmentsRadial); |
| | 5020 | | } |
| | 5021 | | if (HasOpenEnded) { |
| | 5022 | | output.WriteRawTag(64); |
| | 5023 | | output.WriteBool(OpenEnded); |
| | 5024 | | } |
| | 5025 | | if (HasRadius) { |
| | 5026 | | output.WriteRawTag(77); |
| | 5027 | | output.WriteFloat(Radius); |
| | 5028 | | } |
| | 5029 | | if (HasArc) { |
| | 5030 | | output.WriteRawTag(85); |
| | 5031 | | output.WriteFloat(Arc); |
| | 5032 | | } |
| | 5033 | | if (_unknownFields != null) { |
| | 5034 | | _unknownFields.WriteTo(output); |
| | 5035 | | } |
| | 5036 | | #endif |
| | 5037 | | } |
| | 5038 | |
|
| | 5039 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5040 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5041 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5042 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5043 | | if (HasWithCollisions) { |
| | 5044 | | output.WriteRawTag(8); |
| | 5045 | | output.WriteBool(WithCollisions); |
| | 5046 | | } |
| | 5047 | | if (HasIsPointerBlocker) { |
| | 5048 | | output.WriteRawTag(16); |
| | 5049 | | output.WriteBool(IsPointerBlocker); |
| | 5050 | | } |
| | 5051 | | if (HasVisible) { |
| | 5052 | | output.WriteRawTag(24); |
| | 5053 | | output.WriteBool(Visible); |
| | 5054 | | } |
| | 5055 | | if (HasRadiusTop) { |
| | 5056 | | output.WriteRawTag(37); |
| | 5057 | | output.WriteFloat(RadiusTop); |
| | 5058 | | } |
| | 5059 | | if (HasRadiusBottom) { |
| | 5060 | | output.WriteRawTag(45); |
| | 5061 | | output.WriteFloat(RadiusBottom); |
| | 5062 | | } |
| | 5063 | | if (HasSegmentsHeight) { |
| | 5064 | | output.WriteRawTag(53); |
| | 5065 | | output.WriteFloat(SegmentsHeight); |
| | 5066 | | } |
| | 5067 | | if (HasSegmentsRadial) { |
| | 5068 | | output.WriteRawTag(61); |
| | 5069 | | output.WriteFloat(SegmentsRadial); |
| | 5070 | | } |
| | 5071 | | if (HasOpenEnded) { |
| | 5072 | | output.WriteRawTag(64); |
| | 5073 | | output.WriteBool(OpenEnded); |
| | 5074 | | } |
| | 5075 | | if (HasRadius) { |
| | 5076 | | output.WriteRawTag(77); |
| | 5077 | | output.WriteFloat(Radius); |
| | 5078 | | } |
| | 5079 | | if (HasArc) { |
| | 5080 | | output.WriteRawTag(85); |
| | 5081 | | output.WriteFloat(Arc); |
| | 5082 | | } |
| | 5083 | | if (_unknownFields != null) { |
| | 5084 | | _unknownFields.WriteTo(ref output); |
| | 5085 | | } |
| | 5086 | | } |
| | 5087 | | #endif |
| | 5088 | |
|
| | 5089 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5090 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5091 | | public int CalculateSize() { |
| | 5092 | | int size = 0; |
| | 5093 | | if (HasWithCollisions) { |
| | 5094 | | size += 1 + 1; |
| | 5095 | | } |
| | 5096 | | if (HasIsPointerBlocker) { |
| | 5097 | | size += 1 + 1; |
| | 5098 | | } |
| | 5099 | | if (HasVisible) { |
| | 5100 | | size += 1 + 1; |
| | 5101 | | } |
| | 5102 | | if (HasRadiusTop) { |
| | 5103 | | size += 1 + 4; |
| | 5104 | | } |
| | 5105 | | if (HasRadiusBottom) { |
| | 5106 | | size += 1 + 4; |
| | 5107 | | } |
| | 5108 | | if (HasSegmentsHeight) { |
| | 5109 | | size += 1 + 4; |
| | 5110 | | } |
| | 5111 | | if (HasSegmentsRadial) { |
| | 5112 | | size += 1 + 4; |
| | 5113 | | } |
| | 5114 | | if (HasOpenEnded) { |
| | 5115 | | size += 1 + 1; |
| | 5116 | | } |
| | 5117 | | if (HasRadius) { |
| | 5118 | | size += 1 + 4; |
| | 5119 | | } |
| | 5120 | | if (HasArc) { |
| | 5121 | | size += 1 + 4; |
| | 5122 | | } |
| | 5123 | | if (_unknownFields != null) { |
| | 5124 | | size += _unknownFields.CalculateSize(); |
| | 5125 | | } |
| | 5126 | | return size; |
| | 5127 | | } |
| | 5128 | |
|
| | 5129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5131 | | public void MergeFrom(ECS6ComponentCylinderShape other) { |
| | 5132 | | if (other == null) { |
| | 5133 | | return; |
| | 5134 | | } |
| | 5135 | | if (other.HasWithCollisions) { |
| | 5136 | | WithCollisions = other.WithCollisions; |
| | 5137 | | } |
| | 5138 | | if (other.HasIsPointerBlocker) { |
| | 5139 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 5140 | | } |
| | 5141 | | if (other.HasVisible) { |
| | 5142 | | Visible = other.Visible; |
| | 5143 | | } |
| | 5144 | | if (other.HasRadiusTop) { |
| | 5145 | | RadiusTop = other.RadiusTop; |
| | 5146 | | } |
| | 5147 | | if (other.HasRadiusBottom) { |
| | 5148 | | RadiusBottom = other.RadiusBottom; |
| | 5149 | | } |
| | 5150 | | if (other.HasSegmentsHeight) { |
| | 5151 | | SegmentsHeight = other.SegmentsHeight; |
| | 5152 | | } |
| | 5153 | | if (other.HasSegmentsRadial) { |
| | 5154 | | SegmentsRadial = other.SegmentsRadial; |
| | 5155 | | } |
| | 5156 | | if (other.HasOpenEnded) { |
| | 5157 | | OpenEnded = other.OpenEnded; |
| | 5158 | | } |
| | 5159 | | if (other.HasRadius) { |
| | 5160 | | Radius = other.Radius; |
| | 5161 | | } |
| | 5162 | | if (other.HasArc) { |
| | 5163 | | Arc = other.Arc; |
| | 5164 | | } |
| | 5165 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5166 | | } |
| | 5167 | |
|
| | 5168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5170 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5171 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5172 | | input.ReadRawMessage(this); |
| | 5173 | | #else |
| | 5174 | | uint tag; |
| | 5175 | | while ((tag = input.ReadTag()) != 0) { |
| | 5176 | | switch(tag) { |
| | 5177 | | default: |
| | 5178 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5179 | | break; |
| | 5180 | | case 8: { |
| | 5181 | | WithCollisions = input.ReadBool(); |
| | 5182 | | break; |
| | 5183 | | } |
| | 5184 | | case 16: { |
| | 5185 | | IsPointerBlocker = input.ReadBool(); |
| | 5186 | | break; |
| | 5187 | | } |
| | 5188 | | case 24: { |
| | 5189 | | Visible = input.ReadBool(); |
| | 5190 | | break; |
| | 5191 | | } |
| | 5192 | | case 37: { |
| | 5193 | | RadiusTop = input.ReadFloat(); |
| | 5194 | | break; |
| | 5195 | | } |
| | 5196 | | case 45: { |
| | 5197 | | RadiusBottom = input.ReadFloat(); |
| | 5198 | | break; |
| | 5199 | | } |
| | 5200 | | case 53: { |
| | 5201 | | SegmentsHeight = input.ReadFloat(); |
| | 5202 | | break; |
| | 5203 | | } |
| | 5204 | | case 61: { |
| | 5205 | | SegmentsRadial = input.ReadFloat(); |
| | 5206 | | break; |
| | 5207 | | } |
| | 5208 | | case 64: { |
| | 5209 | | OpenEnded = input.ReadBool(); |
| | 5210 | | break; |
| | 5211 | | } |
| | 5212 | | case 77: { |
| | 5213 | | Radius = input.ReadFloat(); |
| | 5214 | | break; |
| | 5215 | | } |
| | 5216 | | case 85: { |
| | 5217 | | Arc = input.ReadFloat(); |
| | 5218 | | break; |
| | 5219 | | } |
| | 5220 | | } |
| | 5221 | | } |
| | 5222 | | #endif |
| | 5223 | | } |
| | 5224 | |
|
| | 5225 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5228 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5229 | | uint tag; |
| | 5230 | | while ((tag = input.ReadTag()) != 0) { |
| | 5231 | | switch(tag) { |
| | 5232 | | default: |
| | 5233 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5234 | | break; |
| | 5235 | | case 8: { |
| | 5236 | | WithCollisions = input.ReadBool(); |
| | 5237 | | break; |
| | 5238 | | } |
| | 5239 | | case 16: { |
| | 5240 | | IsPointerBlocker = input.ReadBool(); |
| | 5241 | | break; |
| | 5242 | | } |
| | 5243 | | case 24: { |
| | 5244 | | Visible = input.ReadBool(); |
| | 5245 | | break; |
| | 5246 | | } |
| | 5247 | | case 37: { |
| | 5248 | | RadiusTop = input.ReadFloat(); |
| | 5249 | | break; |
| | 5250 | | } |
| | 5251 | | case 45: { |
| | 5252 | | RadiusBottom = input.ReadFloat(); |
| | 5253 | | break; |
| | 5254 | | } |
| | 5255 | | case 53: { |
| | 5256 | | SegmentsHeight = input.ReadFloat(); |
| | 5257 | | break; |
| | 5258 | | } |
| | 5259 | | case 61: { |
| | 5260 | | SegmentsRadial = input.ReadFloat(); |
| | 5261 | | break; |
| | 5262 | | } |
| | 5263 | | case 64: { |
| | 5264 | | OpenEnded = input.ReadBool(); |
| | 5265 | | break; |
| | 5266 | | } |
| | 5267 | | case 77: { |
| | 5268 | | Radius = input.ReadFloat(); |
| | 5269 | | break; |
| | 5270 | | } |
| | 5271 | | case 85: { |
| | 5272 | | Arc = input.ReadFloat(); |
| | 5273 | | break; |
| | 5274 | | } |
| | 5275 | | } |
| | 5276 | | } |
| | 5277 | | } |
| | 5278 | | #endif |
| | 5279 | |
|
| | 5280 | | } |
| | 5281 | |
|
| | 5282 | | /// <summary> |
| | 5283 | | /// CLASS_ID.GLTF_SHAPE |
| | 5284 | | /// </summary> |
| | 5285 | | public sealed partial class ECS6ComponentGltfShape : pb::IMessage<ECS6ComponentGltfShape> |
| | 5286 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5287 | | , pb::IBufferMessage |
| | 5288 | | #endif |
| | 5289 | | { |
| | 5290 | | private static readonly pb::MessageParser<ECS6ComponentGltfShape> _parser = new pb::MessageParser<ECS6ComponentGltfS |
| | 5291 | | private pb::UnknownFieldSet _unknownFields; |
| | 5292 | | private int _hasBits0; |
| | 5293 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5294 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5295 | | public static pb::MessageParser<ECS6ComponentGltfShape> Parser { get { return _parser; } } |
| | 5296 | |
|
| | 5297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5299 | | public static pbr::MessageDescriptor Descriptor { |
| | 5300 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[13]; } |
| | 5301 | | } |
| | 5302 | |
|
| | 5303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5305 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5306 | | get { return Descriptor; } |
| | 5307 | | } |
| | 5308 | |
|
| | 5309 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5310 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5311 | | public ECS6ComponentGltfShape() { |
| | 5312 | | OnConstruction(); |
| | 5313 | | } |
| | 5314 | |
|
| | 5315 | | partial void OnConstruction(); |
| | 5316 | |
|
| | 5317 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5318 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5319 | | public ECS6ComponentGltfShape(ECS6ComponentGltfShape other) : this() { |
| | 5320 | | _hasBits0 = other._hasBits0; |
| | 5321 | | withCollisions_ = other.withCollisions_; |
| | 5322 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 5323 | | visible_ = other.visible_; |
| | 5324 | | src_ = other.src_; |
| | 5325 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5326 | | } |
| | 5327 | |
|
| | 5328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5330 | | public ECS6ComponentGltfShape Clone() { |
| | 5331 | | return new ECS6ComponentGltfShape(this); |
| | 5332 | | } |
| | 5333 | |
|
| | 5334 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 5335 | | public const int WithCollisionsFieldNumber = 1; |
| | 5336 | | private bool withCollisions_; |
| | 5337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5339 | | public bool WithCollisions { |
| | 5340 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 5341 | | set { |
| | 5342 | | _hasBits0 |= 1; |
| | 5343 | | withCollisions_ = value; |
| | 5344 | | } |
| | 5345 | | } |
| | 5346 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 5347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5349 | | public bool HasWithCollisions { |
| | 5350 | | get { return (_hasBits0 & 1) != 0; } |
| | 5351 | | } |
| | 5352 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 5353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5355 | | public void ClearWithCollisions() { |
| | 5356 | | _hasBits0 &= ~1; |
| | 5357 | | } |
| | 5358 | |
|
| | 5359 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 5360 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 5361 | | private bool isPointerBlocker_; |
| | 5362 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5363 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5364 | | public bool IsPointerBlocker { |
| | 5365 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 5366 | | set { |
| | 5367 | | _hasBits0 |= 2; |
| | 5368 | | isPointerBlocker_ = value; |
| | 5369 | | } |
| | 5370 | | } |
| | 5371 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 5372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5374 | | public bool HasIsPointerBlocker { |
| | 5375 | | get { return (_hasBits0 & 2) != 0; } |
| | 5376 | | } |
| | 5377 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 5378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5380 | | public void ClearIsPointerBlocker() { |
| | 5381 | | _hasBits0 &= ~2; |
| | 5382 | | } |
| | 5383 | |
|
| | 5384 | | /// <summary>Field number for the "visible" field.</summary> |
| | 5385 | | public const int VisibleFieldNumber = 3; |
| | 5386 | | private bool visible_; |
| | 5387 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5388 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5389 | | public bool Visible { |
| | 5390 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 5391 | | set { |
| | 5392 | | _hasBits0 |= 4; |
| | 5393 | | visible_ = value; |
| | 5394 | | } |
| | 5395 | | } |
| | 5396 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 5397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5399 | | public bool HasVisible { |
| | 5400 | | get { return (_hasBits0 & 4) != 0; } |
| | 5401 | | } |
| | 5402 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 5403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5405 | | public void ClearVisible() { |
| | 5406 | | _hasBits0 &= ~4; |
| | 5407 | | } |
| | 5408 | |
|
| | 5409 | | /// <summary>Field number for the "src" field.</summary> |
| | 5410 | | public const int SrcFieldNumber = 4; |
| | 5411 | | private string src_; |
| | 5412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5414 | | public string Src { |
| | 5415 | | get { return src_ ?? ""; } |
| | 5416 | | set { |
| | 5417 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5418 | | } |
| | 5419 | | } |
| | 5420 | | /// <summary>Gets whether the "src" field is set</summary> |
| | 5421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5423 | | public bool HasSrc { |
| | 5424 | | get { return src_ != null; } |
| | 5425 | | } |
| | 5426 | | /// <summary>Clears the value of the "src" field</summary> |
| | 5427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5429 | | public void ClearSrc() { |
| | 5430 | | src_ = null; |
| | 5431 | | } |
| | 5432 | |
|
| | 5433 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5434 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5435 | | public override bool Equals(object other) { |
| | 5436 | | return Equals(other as ECS6ComponentGltfShape); |
| | 5437 | | } |
| | 5438 | |
|
| | 5439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5441 | | public bool Equals(ECS6ComponentGltfShape other) { |
| | 5442 | | if (ReferenceEquals(other, null)) { |
| | 5443 | | return false; |
| | 5444 | | } |
| | 5445 | | if (ReferenceEquals(other, this)) { |
| | 5446 | | return true; |
| | 5447 | | } |
| | 5448 | | if (WithCollisions != other.WithCollisions) return false; |
| | 5449 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 5450 | | if (Visible != other.Visible) return false; |
| | 5451 | | if (Src != other.Src) return false; |
| | 5452 | | return Equals(_unknownFields, other._unknownFields); |
| | 5453 | | } |
| | 5454 | |
|
| | 5455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5457 | | public override int GetHashCode() { |
| | 5458 | | int hash = 1; |
| | 5459 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 5460 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 5461 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 5462 | | if (HasSrc) hash ^= Src.GetHashCode(); |
| | 5463 | | if (_unknownFields != null) { |
| | 5464 | | hash ^= _unknownFields.GetHashCode(); |
| | 5465 | | } |
| | 5466 | | return hash; |
| | 5467 | | } |
| | 5468 | |
|
| | 5469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5471 | | public override string ToString() { |
| | 5472 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5473 | | } |
| | 5474 | |
|
| | 5475 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5476 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5477 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5478 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5479 | | output.WriteRawMessage(this); |
| | 5480 | | #else |
| | 5481 | | if (HasWithCollisions) { |
| | 5482 | | output.WriteRawTag(8); |
| | 5483 | | output.WriteBool(WithCollisions); |
| | 5484 | | } |
| | 5485 | | if (HasIsPointerBlocker) { |
| | 5486 | | output.WriteRawTag(16); |
| | 5487 | | output.WriteBool(IsPointerBlocker); |
| | 5488 | | } |
| | 5489 | | if (HasVisible) { |
| | 5490 | | output.WriteRawTag(24); |
| | 5491 | | output.WriteBool(Visible); |
| | 5492 | | } |
| | 5493 | | if (HasSrc) { |
| | 5494 | | output.WriteRawTag(34); |
| | 5495 | | output.WriteString(Src); |
| | 5496 | | } |
| | 5497 | | if (_unknownFields != null) { |
| | 5498 | | _unknownFields.WriteTo(output); |
| | 5499 | | } |
| | 5500 | | #endif |
| | 5501 | | } |
| | 5502 | |
|
| | 5503 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5504 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5505 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5506 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5507 | | if (HasWithCollisions) { |
| | 5508 | | output.WriteRawTag(8); |
| | 5509 | | output.WriteBool(WithCollisions); |
| | 5510 | | } |
| | 5511 | | if (HasIsPointerBlocker) { |
| | 5512 | | output.WriteRawTag(16); |
| | 5513 | | output.WriteBool(IsPointerBlocker); |
| | 5514 | | } |
| | 5515 | | if (HasVisible) { |
| | 5516 | | output.WriteRawTag(24); |
| | 5517 | | output.WriteBool(Visible); |
| | 5518 | | } |
| | 5519 | | if (HasSrc) { |
| | 5520 | | output.WriteRawTag(34); |
| | 5521 | | output.WriteString(Src); |
| | 5522 | | } |
| | 5523 | | if (_unknownFields != null) { |
| | 5524 | | _unknownFields.WriteTo(ref output); |
| | 5525 | | } |
| | 5526 | | } |
| | 5527 | | #endif |
| | 5528 | |
|
| | 5529 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5530 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5531 | | public int CalculateSize() { |
| | 5532 | | int size = 0; |
| | 5533 | | if (HasWithCollisions) { |
| | 5534 | | size += 1 + 1; |
| | 5535 | | } |
| | 5536 | | if (HasIsPointerBlocker) { |
| | 5537 | | size += 1 + 1; |
| | 5538 | | } |
| | 5539 | | if (HasVisible) { |
| | 5540 | | size += 1 + 1; |
| | 5541 | | } |
| | 5542 | | if (HasSrc) { |
| | 5543 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 5544 | | } |
| | 5545 | | if (_unknownFields != null) { |
| | 5546 | | size += _unknownFields.CalculateSize(); |
| | 5547 | | } |
| | 5548 | | return size; |
| | 5549 | | } |
| | 5550 | |
|
| | 5551 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5552 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5553 | | public void MergeFrom(ECS6ComponentGltfShape other) { |
| | 5554 | | if (other == null) { |
| | 5555 | | return; |
| | 5556 | | } |
| | 5557 | | if (other.HasWithCollisions) { |
| | 5558 | | WithCollisions = other.WithCollisions; |
| | 5559 | | } |
| | 5560 | | if (other.HasIsPointerBlocker) { |
| | 5561 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 5562 | | } |
| | 5563 | | if (other.HasVisible) { |
| | 5564 | | Visible = other.Visible; |
| | 5565 | | } |
| | 5566 | | if (other.HasSrc) { |
| | 5567 | | Src = other.Src; |
| | 5568 | | } |
| | 5569 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5570 | | } |
| | 5571 | |
|
| | 5572 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5573 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5574 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5575 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5576 | | input.ReadRawMessage(this); |
| | 5577 | | #else |
| | 5578 | | uint tag; |
| | 5579 | | while ((tag = input.ReadTag()) != 0) { |
| | 5580 | | switch(tag) { |
| | 5581 | | default: |
| | 5582 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5583 | | break; |
| | 5584 | | case 8: { |
| | 5585 | | WithCollisions = input.ReadBool(); |
| | 5586 | | break; |
| | 5587 | | } |
| | 5588 | | case 16: { |
| | 5589 | | IsPointerBlocker = input.ReadBool(); |
| | 5590 | | break; |
| | 5591 | | } |
| | 5592 | | case 24: { |
| | 5593 | | Visible = input.ReadBool(); |
| | 5594 | | break; |
| | 5595 | | } |
| | 5596 | | case 34: { |
| | 5597 | | Src = input.ReadString(); |
| | 5598 | | break; |
| | 5599 | | } |
| | 5600 | | } |
| | 5601 | | } |
| | 5602 | | #endif |
| | 5603 | | } |
| | 5604 | |
|
| | 5605 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5606 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5607 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5608 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5609 | | uint tag; |
| | 5610 | | while ((tag = input.ReadTag()) != 0) { |
| | 5611 | | switch(tag) { |
| | 5612 | | default: |
| | 5613 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5614 | | break; |
| | 5615 | | case 8: { |
| | 5616 | | WithCollisions = input.ReadBool(); |
| | 5617 | | break; |
| | 5618 | | } |
| | 5619 | | case 16: { |
| | 5620 | | IsPointerBlocker = input.ReadBool(); |
| | 5621 | | break; |
| | 5622 | | } |
| | 5623 | | case 24: { |
| | 5624 | | Visible = input.ReadBool(); |
| | 5625 | | break; |
| | 5626 | | } |
| | 5627 | | case 34: { |
| | 5628 | | Src = input.ReadString(); |
| | 5629 | | break; |
| | 5630 | | } |
| | 5631 | | } |
| | 5632 | | } |
| | 5633 | | } |
| | 5634 | | #endif |
| | 5635 | |
|
| | 5636 | | } |
| | 5637 | |
|
| | 5638 | | /// <summary> |
| | 5639 | | /// CLASS_ID.NFT_SHAPE |
| | 5640 | | /// </summary> |
| | 5641 | | public sealed partial class ECS6ComponentNftShape : pb::IMessage<ECS6ComponentNftShape> |
| | 5642 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5643 | | , pb::IBufferMessage |
| | 5644 | | #endif |
| | 5645 | | { |
| | 5646 | | private static readonly pb::MessageParser<ECS6ComponentNftShape> _parser = new pb::MessageParser<ECS6ComponentNftSha |
| | 5647 | | private pb::UnknownFieldSet _unknownFields; |
| | 5648 | | private int _hasBits0; |
| | 5649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5651 | | public static pb::MessageParser<ECS6ComponentNftShape> Parser { get { return _parser; } } |
| | 5652 | |
|
| | 5653 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5654 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5655 | | public static pbr::MessageDescriptor Descriptor { |
| | 5656 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[14]; } |
| | 5657 | | } |
| | 5658 | |
|
| | 5659 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5660 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5661 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5662 | | get { return Descriptor; } |
| | 5663 | | } |
| | 5664 | |
|
| | 5665 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5666 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5667 | | public ECS6ComponentNftShape() { |
| | 5668 | | OnConstruction(); |
| | 5669 | | } |
| | 5670 | |
|
| | 5671 | | partial void OnConstruction(); |
| | 5672 | |
|
| | 5673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5675 | | public ECS6ComponentNftShape(ECS6ComponentNftShape other) : this() { |
| | 5676 | | _hasBits0 = other._hasBits0; |
| | 5677 | | withCollisions_ = other.withCollisions_; |
| | 5678 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 5679 | | visible_ = other.visible_; |
| | 5680 | | src_ = other.src_; |
| | 5681 | | style_ = other.style_; |
| | 5682 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 5683 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5684 | | } |
| | 5685 | |
|
| | 5686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5688 | | public ECS6ComponentNftShape Clone() { |
| | 5689 | | return new ECS6ComponentNftShape(this); |
| | 5690 | | } |
| | 5691 | |
|
| | 5692 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 5693 | | public const int WithCollisionsFieldNumber = 1; |
| | 5694 | | private bool withCollisions_; |
| | 5695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5697 | | public bool WithCollisions { |
| | 5698 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 5699 | | set { |
| | 5700 | | _hasBits0 |= 1; |
| | 5701 | | withCollisions_ = value; |
| | 5702 | | } |
| | 5703 | | } |
| | 5704 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 5705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5707 | | public bool HasWithCollisions { |
| | 5708 | | get { return (_hasBits0 & 1) != 0; } |
| | 5709 | | } |
| | 5710 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 5711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5713 | | public void ClearWithCollisions() { |
| | 5714 | | _hasBits0 &= ~1; |
| | 5715 | | } |
| | 5716 | |
|
| | 5717 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 5718 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 5719 | | private bool isPointerBlocker_; |
| | 5720 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5721 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5722 | | public bool IsPointerBlocker { |
| | 5723 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 5724 | | set { |
| | 5725 | | _hasBits0 |= 2; |
| | 5726 | | isPointerBlocker_ = value; |
| | 5727 | | } |
| | 5728 | | } |
| | 5729 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 5730 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5731 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5732 | | public bool HasIsPointerBlocker { |
| | 5733 | | get { return (_hasBits0 & 2) != 0; } |
| | 5734 | | } |
| | 5735 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 5736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5738 | | public void ClearIsPointerBlocker() { |
| | 5739 | | _hasBits0 &= ~2; |
| | 5740 | | } |
| | 5741 | |
|
| | 5742 | | /// <summary>Field number for the "visible" field.</summary> |
| | 5743 | | public const int VisibleFieldNumber = 3; |
| | 5744 | | private bool visible_; |
| | 5745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5747 | | public bool Visible { |
| | 5748 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 5749 | | set { |
| | 5750 | | _hasBits0 |= 4; |
| | 5751 | | visible_ = value; |
| | 5752 | | } |
| | 5753 | | } |
| | 5754 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 5755 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5756 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5757 | | public bool HasVisible { |
| | 5758 | | get { return (_hasBits0 & 4) != 0; } |
| | 5759 | | } |
| | 5760 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 5761 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5762 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5763 | | public void ClearVisible() { |
| | 5764 | | _hasBits0 &= ~4; |
| | 5765 | | } |
| | 5766 | |
|
| | 5767 | | /// <summary>Field number for the "src" field.</summary> |
| | 5768 | | public const int SrcFieldNumber = 4; |
| | 5769 | | private string src_; |
| | 5770 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5771 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5772 | | public string Src { |
| | 5773 | | get { return src_ ?? ""; } |
| | 5774 | | set { |
| | 5775 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5776 | | } |
| | 5777 | | } |
| | 5778 | | /// <summary>Gets whether the "src" field is set</summary> |
| | 5779 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5780 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5781 | | public bool HasSrc { |
| | 5782 | | get { return src_ != null; } |
| | 5783 | | } |
| | 5784 | | /// <summary>Clears the value of the "src" field</summary> |
| | 5785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5787 | | public void ClearSrc() { |
| | 5788 | | src_ = null; |
| | 5789 | | } |
| | 5790 | |
|
| | 5791 | | /// <summary>Field number for the "style" field.</summary> |
| | 5792 | | public const int StyleFieldNumber = 5; |
| | 5793 | | private global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape.Types.PictureFrameStyle style_; |
| | 5794 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5795 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5796 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape.Types.PictureFrameStyle Style { |
| | 5797 | | get { if ((_hasBits0 & 8) != 0) { return style_; } else { return global::Decentraland.Sdk.Ecs6.ECS6ComponentNftSha |
| | 5798 | | set { |
| | 5799 | | _hasBits0 |= 8; |
| | 5800 | | style_ = value; |
| | 5801 | | } |
| | 5802 | | } |
| | 5803 | | /// <summary>Gets whether the "style" field is set</summary> |
| | 5804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5806 | | public bool HasStyle { |
| | 5807 | | get { return (_hasBits0 & 8) != 0; } |
| | 5808 | | } |
| | 5809 | | /// <summary>Clears the value of the "style" field</summary> |
| | 5810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5812 | | public void ClearStyle() { |
| | 5813 | | _hasBits0 &= ~8; |
| | 5814 | | } |
| | 5815 | |
|
| | 5816 | | /// <summary>Field number for the "color" field.</summary> |
| | 5817 | | public const int ColorFieldNumber = 6; |
| | 5818 | | private global::Decentraland.Common.Color3 color_; |
| | 5819 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5820 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5821 | | public global::Decentraland.Common.Color3 Color { |
| | 5822 | | get { return color_; } |
| | 5823 | | set { |
| | 5824 | | color_ = value; |
| | 5825 | | } |
| | 5826 | | } |
| | 5827 | |
|
| | 5828 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5829 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5830 | | public override bool Equals(object other) { |
| | 5831 | | return Equals(other as ECS6ComponentNftShape); |
| | 5832 | | } |
| | 5833 | |
|
| | 5834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5836 | | public bool Equals(ECS6ComponentNftShape other) { |
| | 5837 | | if (ReferenceEquals(other, null)) { |
| | 5838 | | return false; |
| | 5839 | | } |
| | 5840 | | if (ReferenceEquals(other, this)) { |
| | 5841 | | return true; |
| | 5842 | | } |
| | 5843 | | if (WithCollisions != other.WithCollisions) return false; |
| | 5844 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 5845 | | if (Visible != other.Visible) return false; |
| | 5846 | | if (Src != other.Src) return false; |
| | 5847 | | if (Style != other.Style) return false; |
| | 5848 | | if (!object.Equals(Color, other.Color)) return false; |
| | 5849 | | return Equals(_unknownFields, other._unknownFields); |
| | 5850 | | } |
| | 5851 | |
|
| | 5852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5854 | | public override int GetHashCode() { |
| | 5855 | | int hash = 1; |
| | 5856 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 5857 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 5858 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 5859 | | if (HasSrc) hash ^= Src.GetHashCode(); |
| | 5860 | | if (HasStyle) hash ^= Style.GetHashCode(); |
| | 5861 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 5862 | | if (_unknownFields != null) { |
| | 5863 | | hash ^= _unknownFields.GetHashCode(); |
| | 5864 | | } |
| | 5865 | | return hash; |
| | 5866 | | } |
| | 5867 | |
|
| | 5868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5870 | | public override string ToString() { |
| | 5871 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5872 | | } |
| | 5873 | |
|
| | 5874 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5875 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5876 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5877 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5878 | | output.WriteRawMessage(this); |
| | 5879 | | #else |
| | 5880 | | if (HasWithCollisions) { |
| | 5881 | | output.WriteRawTag(8); |
| | 5882 | | output.WriteBool(WithCollisions); |
| | 5883 | | } |
| | 5884 | | if (HasIsPointerBlocker) { |
| | 5885 | | output.WriteRawTag(16); |
| | 5886 | | output.WriteBool(IsPointerBlocker); |
| | 5887 | | } |
| | 5888 | | if (HasVisible) { |
| | 5889 | | output.WriteRawTag(24); |
| | 5890 | | output.WriteBool(Visible); |
| | 5891 | | } |
| | 5892 | | if (HasSrc) { |
| | 5893 | | output.WriteRawTag(34); |
| | 5894 | | output.WriteString(Src); |
| | 5895 | | } |
| | 5896 | | if (HasStyle) { |
| | 5897 | | output.WriteRawTag(40); |
| | 5898 | | output.WriteEnum((int) Style); |
| | 5899 | | } |
| | 5900 | | if (color_ != null) { |
| | 5901 | | output.WriteRawTag(50); |
| | 5902 | | output.WriteMessage(Color); |
| | 5903 | | } |
| | 5904 | | if (_unknownFields != null) { |
| | 5905 | | _unknownFields.WriteTo(output); |
| | 5906 | | } |
| | 5907 | | #endif |
| | 5908 | | } |
| | 5909 | |
|
| | 5910 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5913 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5914 | | if (HasWithCollisions) { |
| | 5915 | | output.WriteRawTag(8); |
| | 5916 | | output.WriteBool(WithCollisions); |
| | 5917 | | } |
| | 5918 | | if (HasIsPointerBlocker) { |
| | 5919 | | output.WriteRawTag(16); |
| | 5920 | | output.WriteBool(IsPointerBlocker); |
| | 5921 | | } |
| | 5922 | | if (HasVisible) { |
| | 5923 | | output.WriteRawTag(24); |
| | 5924 | | output.WriteBool(Visible); |
| | 5925 | | } |
| | 5926 | | if (HasSrc) { |
| | 5927 | | output.WriteRawTag(34); |
| | 5928 | | output.WriteString(Src); |
| | 5929 | | } |
| | 5930 | | if (HasStyle) { |
| | 5931 | | output.WriteRawTag(40); |
| | 5932 | | output.WriteEnum((int) Style); |
| | 5933 | | } |
| | 5934 | | if (color_ != null) { |
| | 5935 | | output.WriteRawTag(50); |
| | 5936 | | output.WriteMessage(Color); |
| | 5937 | | } |
| | 5938 | | if (_unknownFields != null) { |
| | 5939 | | _unknownFields.WriteTo(ref output); |
| | 5940 | | } |
| | 5941 | | } |
| | 5942 | | #endif |
| | 5943 | |
|
| | 5944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5946 | | public int CalculateSize() { |
| | 5947 | | int size = 0; |
| | 5948 | | if (HasWithCollisions) { |
| | 5949 | | size += 1 + 1; |
| | 5950 | | } |
| | 5951 | | if (HasIsPointerBlocker) { |
| | 5952 | | size += 1 + 1; |
| | 5953 | | } |
| | 5954 | | if (HasVisible) { |
| | 5955 | | size += 1 + 1; |
| | 5956 | | } |
| | 5957 | | if (HasSrc) { |
| | 5958 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 5959 | | } |
| | 5960 | | if (HasStyle) { |
| | 5961 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Style); |
| | 5962 | | } |
| | 5963 | | if (color_ != null) { |
| | 5964 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 5965 | | } |
| | 5966 | | if (_unknownFields != null) { |
| | 5967 | | size += _unknownFields.CalculateSize(); |
| | 5968 | | } |
| | 5969 | | return size; |
| | 5970 | | } |
| | 5971 | |
|
| | 5972 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5973 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5974 | | public void MergeFrom(ECS6ComponentNftShape other) { |
| | 5975 | | if (other == null) { |
| | 5976 | | return; |
| | 5977 | | } |
| | 5978 | | if (other.HasWithCollisions) { |
| | 5979 | | WithCollisions = other.WithCollisions; |
| | 5980 | | } |
| | 5981 | | if (other.HasIsPointerBlocker) { |
| | 5982 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 5983 | | } |
| | 5984 | | if (other.HasVisible) { |
| | 5985 | | Visible = other.Visible; |
| | 5986 | | } |
| | 5987 | | if (other.HasSrc) { |
| | 5988 | | Src = other.Src; |
| | 5989 | | } |
| | 5990 | | if (other.HasStyle) { |
| | 5991 | | Style = other.Style; |
| | 5992 | | } |
| | 5993 | | if (other.color_ != null) { |
| | 5994 | | if (color_ == null) { |
| | 5995 | | Color = new global::Decentraland.Common.Color3(); |
| | 5996 | | } |
| | 5997 | | Color.MergeFrom(other.Color); |
| | 5998 | | } |
| | 5999 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6000 | | } |
| | 6001 | |
|
| | 6002 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6003 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6004 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6005 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6006 | | input.ReadRawMessage(this); |
| | 6007 | | #else |
| | 6008 | | uint tag; |
| | 6009 | | while ((tag = input.ReadTag()) != 0) { |
| | 6010 | | switch(tag) { |
| | 6011 | | default: |
| | 6012 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6013 | | break; |
| | 6014 | | case 8: { |
| | 6015 | | WithCollisions = input.ReadBool(); |
| | 6016 | | break; |
| | 6017 | | } |
| | 6018 | | case 16: { |
| | 6019 | | IsPointerBlocker = input.ReadBool(); |
| | 6020 | | break; |
| | 6021 | | } |
| | 6022 | | case 24: { |
| | 6023 | | Visible = input.ReadBool(); |
| | 6024 | | break; |
| | 6025 | | } |
| | 6026 | | case 34: { |
| | 6027 | | Src = input.ReadString(); |
| | 6028 | | break; |
| | 6029 | | } |
| | 6030 | | case 40: { |
| | 6031 | | Style = (global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape.Types.PictureFrameStyle) input.ReadEnum(); |
| | 6032 | | break; |
| | 6033 | | } |
| | 6034 | | case 50: { |
| | 6035 | | if (color_ == null) { |
| | 6036 | | Color = new global::Decentraland.Common.Color3(); |
| | 6037 | | } |
| | 6038 | | input.ReadMessage(Color); |
| | 6039 | | break; |
| | 6040 | | } |
| | 6041 | | } |
| | 6042 | | } |
| | 6043 | | #endif |
| | 6044 | | } |
| | 6045 | |
|
| | 6046 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6049 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6050 | | uint tag; |
| | 6051 | | while ((tag = input.ReadTag()) != 0) { |
| | 6052 | | switch(tag) { |
| | 6053 | | default: |
| | 6054 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6055 | | break; |
| | 6056 | | case 8: { |
| | 6057 | | WithCollisions = input.ReadBool(); |
| | 6058 | | break; |
| | 6059 | | } |
| | 6060 | | case 16: { |
| | 6061 | | IsPointerBlocker = input.ReadBool(); |
| | 6062 | | break; |
| | 6063 | | } |
| | 6064 | | case 24: { |
| | 6065 | | Visible = input.ReadBool(); |
| | 6066 | | break; |
| | 6067 | | } |
| | 6068 | | case 34: { |
| | 6069 | | Src = input.ReadString(); |
| | 6070 | | break; |
| | 6071 | | } |
| | 6072 | | case 40: { |
| | 6073 | | Style = (global::Decentraland.Sdk.Ecs6.ECS6ComponentNftShape.Types.PictureFrameStyle) input.ReadEnum(); |
| | 6074 | | break; |
| | 6075 | | } |
| | 6076 | | case 50: { |
| | 6077 | | if (color_ == null) { |
| | 6078 | | Color = new global::Decentraland.Common.Color3(); |
| | 6079 | | } |
| | 6080 | | input.ReadMessage(Color); |
| | 6081 | | break; |
| | 6082 | | } |
| | 6083 | | } |
| | 6084 | | } |
| | 6085 | | } |
| | 6086 | | #endif |
| | 6087 | |
|
| | 6088 | | #region Nested types |
| | 6089 | | /// <summary>Container for nested types declared in the ECS6ComponentNftShape message type.</summary> |
| | 6090 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6091 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6092 | | public static partial class Types { |
| | 6093 | | public enum PictureFrameStyle { |
| | 6094 | | [pbr::OriginalName("PFS_CLASSIC")] PfsClassic = 0, |
| | 6095 | | [pbr::OriginalName("PFS_BAROQUE_ORNAMENT")] PfsBaroqueOrnament = 1, |
| | 6096 | | [pbr::OriginalName("PFS_DIAMOND_ORNAMENT")] PfsDiamondOrnament = 2, |
| | 6097 | | [pbr::OriginalName("PFS_MINIMAL_WIDE")] PfsMinimalWide = 3, |
| | 6098 | | [pbr::OriginalName("PFS_MINIMAL_GREY")] PfsMinimalGrey = 4, |
| | 6099 | | [pbr::OriginalName("PFS_BLOCKY")] PfsBlocky = 5, |
| | 6100 | | [pbr::OriginalName("PFS_GOLD_EDGES")] PfsGoldEdges = 6, |
| | 6101 | | [pbr::OriginalName("PFS_GOLD_CARVED")] PfsGoldCarved = 7, |
| | 6102 | | [pbr::OriginalName("PFS_GOLD_WIDE")] PfsGoldWide = 8, |
| | 6103 | | [pbr::OriginalName("PFS_GOLD_ROUNDED")] PfsGoldRounded = 9, |
| | 6104 | | [pbr::OriginalName("PFS_METAL_MEDIUM")] PfsMetalMedium = 10, |
| | 6105 | | [pbr::OriginalName("PFS_METAL_WIDE")] PfsMetalWide = 11, |
| | 6106 | | [pbr::OriginalName("PFS_METAL_SLIM")] PfsMetalSlim = 12, |
| | 6107 | | [pbr::OriginalName("PFS_METAL_ROUNDED")] PfsMetalRounded = 13, |
| | 6108 | | [pbr::OriginalName("PFS_PINS")] PfsPins = 14, |
| | 6109 | | [pbr::OriginalName("PFS_MINIMAL_BLACK")] PfsMinimalBlack = 15, |
| | 6110 | | [pbr::OriginalName("PFS_MINIMAL_WHITE")] PfsMinimalWhite = 16, |
| | 6111 | | [pbr::OriginalName("PFS_TAPE")] PfsTape = 17, |
| | 6112 | | [pbr::OriginalName("PFS_WOOD_SLIM")] PfsWoodSlim = 18, |
| | 6113 | | [pbr::OriginalName("PFS_WOOD_WIDE")] PfsWoodWide = 19, |
| | 6114 | | [pbr::OriginalName("PFS_WOOD_TWIGS")] PfsWoodTwigs = 20, |
| | 6115 | | [pbr::OriginalName("PFS_CANVAS")] PfsCanvas = 21, |
| | 6116 | | [pbr::OriginalName("PFS_NONE")] PfsNone = 22, |
| | 6117 | | } |
| | 6118 | |
|
| | 6119 | | } |
| | 6120 | | #endregion |
| | 6121 | |
|
| | 6122 | | } |
| | 6123 | |
|
| | 6124 | | /// <summary> |
| | 6125 | | /// CLASS_ID.TEXTURE |
| | 6126 | | /// </summary> |
| | 6127 | | public sealed partial class ECS6ComponentTexture : pb::IMessage<ECS6ComponentTexture> |
| | 6128 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6129 | | , pb::IBufferMessage |
| | 6130 | | #endif |
| | 6131 | | { |
| | 6132 | | private static readonly pb::MessageParser<ECS6ComponentTexture> _parser = new pb::MessageParser<ECS6ComponentTexture |
| | 6133 | | private pb::UnknownFieldSet _unknownFields; |
| | 6134 | | private int _hasBits0; |
| | 6135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6137 | | public static pb::MessageParser<ECS6ComponentTexture> Parser { get { return _parser; } } |
| | 6138 | |
|
| | 6139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6140 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6141 | | public static pbr::MessageDescriptor Descriptor { |
| | 6142 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[15]; } |
| | 6143 | | } |
| | 6144 | |
|
| | 6145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6147 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6148 | | get { return Descriptor; } |
| | 6149 | | } |
| | 6150 | |
|
| | 6151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6153 | | public ECS6ComponentTexture() { |
| | 6154 | | OnConstruction(); |
| | 6155 | | } |
| | 6156 | |
|
| | 6157 | | partial void OnConstruction(); |
| | 6158 | |
|
| | 6159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6161 | | public ECS6ComponentTexture(ECS6ComponentTexture other) : this() { |
| | 6162 | | _hasBits0 = other._hasBits0; |
| | 6163 | | src_ = other.src_; |
| | 6164 | | samplingMode_ = other.samplingMode_; |
| | 6165 | | wrap_ = other.wrap_; |
| | 6166 | | hasAlpha_ = other.hasAlpha_; |
| | 6167 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6168 | | } |
| | 6169 | |
|
| | 6170 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6171 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6172 | | public ECS6ComponentTexture Clone() { |
| | 6173 | | return new ECS6ComponentTexture(this); |
| | 6174 | | } |
| | 6175 | |
|
| | 6176 | | /// <summary>Field number for the "src" field.</summary> |
| | 6177 | | public const int SrcFieldNumber = 1; |
| | 6178 | | private string src_; |
| | 6179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6181 | | public string Src { |
| | 6182 | | get { return src_ ?? ""; } |
| | 6183 | | set { |
| | 6184 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6185 | | } |
| | 6186 | | } |
| | 6187 | | /// <summary>Gets whether the "src" field is set</summary> |
| | 6188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6190 | | public bool HasSrc { |
| | 6191 | | get { return src_ != null; } |
| | 6192 | | } |
| | 6193 | | /// <summary>Clears the value of the "src" field</summary> |
| | 6194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6196 | | public void ClearSrc() { |
| | 6197 | | src_ = null; |
| | 6198 | | } |
| | 6199 | |
|
| | 6200 | | /// <summary>Field number for the "sampling_mode" field.</summary> |
| | 6201 | | public const int SamplingModeFieldNumber = 2; |
| | 6202 | | private int samplingMode_; |
| | 6203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6205 | | public int SamplingMode { |
| | 6206 | | get { if ((_hasBits0 & 1) != 0) { return samplingMode_; } else { return 0; } } |
| | 6207 | | set { |
| | 6208 | | _hasBits0 |= 1; |
| | 6209 | | samplingMode_ = value; |
| | 6210 | | } |
| | 6211 | | } |
| | 6212 | | /// <summary>Gets whether the "sampling_mode" field is set</summary> |
| | 6213 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6214 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6215 | | public bool HasSamplingMode { |
| | 6216 | | get { return (_hasBits0 & 1) != 0; } |
| | 6217 | | } |
| | 6218 | | /// <summary>Clears the value of the "sampling_mode" field</summary> |
| | 6219 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6220 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6221 | | public void ClearSamplingMode() { |
| | 6222 | | _hasBits0 &= ~1; |
| | 6223 | | } |
| | 6224 | |
|
| | 6225 | | /// <summary>Field number for the "wrap" field.</summary> |
| | 6226 | | public const int WrapFieldNumber = 3; |
| | 6227 | | private int wrap_; |
| | 6228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6230 | | public int Wrap { |
| | 6231 | | get { if ((_hasBits0 & 2) != 0) { return wrap_; } else { return 0; } } |
| | 6232 | | set { |
| | 6233 | | _hasBits0 |= 2; |
| | 6234 | | wrap_ = value; |
| | 6235 | | } |
| | 6236 | | } |
| | 6237 | | /// <summary>Gets whether the "wrap" field is set</summary> |
| | 6238 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6239 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6240 | | public bool HasWrap { |
| | 6241 | | get { return (_hasBits0 & 2) != 0; } |
| | 6242 | | } |
| | 6243 | | /// <summary>Clears the value of the "wrap" field</summary> |
| | 6244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6246 | | public void ClearWrap() { |
| | 6247 | | _hasBits0 &= ~2; |
| | 6248 | | } |
| | 6249 | |
|
| | 6250 | | /// <summary>Field number for the "has_alpha" field.</summary> |
| | 6251 | | public const int HasAlphaFieldNumber = 4; |
| | 6252 | | private bool hasAlpha_; |
| | 6253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6255 | | public bool HasAlpha { |
| | 6256 | | get { if ((_hasBits0 & 4) != 0) { return hasAlpha_; } else { return false; } } |
| | 6257 | | set { |
| | 6258 | | _hasBits0 |= 4; |
| | 6259 | | hasAlpha_ = value; |
| | 6260 | | } |
| | 6261 | | } |
| | 6262 | | /// <summary>Gets whether the "has_alpha" field is set</summary> |
| | 6263 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6264 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6265 | | public bool HasHasAlpha { |
| | 6266 | | get { return (_hasBits0 & 4) != 0; } |
| | 6267 | | } |
| | 6268 | | /// <summary>Clears the value of the "has_alpha" field</summary> |
| | 6269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6271 | | public void ClearHasAlpha() { |
| | 6272 | | _hasBits0 &= ~4; |
| | 6273 | | } |
| | 6274 | |
|
| | 6275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6277 | | public override bool Equals(object other) { |
| | 6278 | | return Equals(other as ECS6ComponentTexture); |
| | 6279 | | } |
| | 6280 | |
|
| | 6281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6283 | | public bool Equals(ECS6ComponentTexture other) { |
| | 6284 | | if (ReferenceEquals(other, null)) { |
| | 6285 | | return false; |
| | 6286 | | } |
| | 6287 | | if (ReferenceEquals(other, this)) { |
| | 6288 | | return true; |
| | 6289 | | } |
| | 6290 | | if (Src != other.Src) return false; |
| | 6291 | | if (SamplingMode != other.SamplingMode) return false; |
| | 6292 | | if (Wrap != other.Wrap) return false; |
| | 6293 | | if (HasAlpha != other.HasAlpha) return false; |
| | 6294 | | return Equals(_unknownFields, other._unknownFields); |
| | 6295 | | } |
| | 6296 | |
|
| | 6297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6299 | | public override int GetHashCode() { |
| | 6300 | | int hash = 1; |
| | 6301 | | if (HasSrc) hash ^= Src.GetHashCode(); |
| | 6302 | | if (HasSamplingMode) hash ^= SamplingMode.GetHashCode(); |
| | 6303 | | if (HasWrap) hash ^= Wrap.GetHashCode(); |
| | 6304 | | if (HasHasAlpha) hash ^= HasAlpha.GetHashCode(); |
| | 6305 | | if (_unknownFields != null) { |
| | 6306 | | hash ^= _unknownFields.GetHashCode(); |
| | 6307 | | } |
| | 6308 | | return hash; |
| | 6309 | | } |
| | 6310 | |
|
| | 6311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6313 | | public override string ToString() { |
| | 6314 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6315 | | } |
| | 6316 | |
|
| | 6317 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6318 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6319 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6320 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6321 | | output.WriteRawMessage(this); |
| | 6322 | | #else |
| | 6323 | | if (HasSrc) { |
| | 6324 | | output.WriteRawTag(10); |
| | 6325 | | output.WriteString(Src); |
| | 6326 | | } |
| | 6327 | | if (HasSamplingMode) { |
| | 6328 | | output.WriteRawTag(16); |
| | 6329 | | output.WriteInt32(SamplingMode); |
| | 6330 | | } |
| | 6331 | | if (HasWrap) { |
| | 6332 | | output.WriteRawTag(24); |
| | 6333 | | output.WriteInt32(Wrap); |
| | 6334 | | } |
| | 6335 | | if (HasHasAlpha) { |
| | 6336 | | output.WriteRawTag(32); |
| | 6337 | | output.WriteBool(HasAlpha); |
| | 6338 | | } |
| | 6339 | | if (_unknownFields != null) { |
| | 6340 | | _unknownFields.WriteTo(output); |
| | 6341 | | } |
| | 6342 | | #endif |
| | 6343 | | } |
| | 6344 | |
|
| | 6345 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6348 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6349 | | if (HasSrc) { |
| | 6350 | | output.WriteRawTag(10); |
| | 6351 | | output.WriteString(Src); |
| | 6352 | | } |
| | 6353 | | if (HasSamplingMode) { |
| | 6354 | | output.WriteRawTag(16); |
| | 6355 | | output.WriteInt32(SamplingMode); |
| | 6356 | | } |
| | 6357 | | if (HasWrap) { |
| | 6358 | | output.WriteRawTag(24); |
| | 6359 | | output.WriteInt32(Wrap); |
| | 6360 | | } |
| | 6361 | | if (HasHasAlpha) { |
| | 6362 | | output.WriteRawTag(32); |
| | 6363 | | output.WriteBool(HasAlpha); |
| | 6364 | | } |
| | 6365 | | if (_unknownFields != null) { |
| | 6366 | | _unknownFields.WriteTo(ref output); |
| | 6367 | | } |
| | 6368 | | } |
| | 6369 | | #endif |
| | 6370 | |
|
| | 6371 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6372 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6373 | | public int CalculateSize() { |
| | 6374 | | int size = 0; |
| | 6375 | | if (HasSrc) { |
| | 6376 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 6377 | | } |
| | 6378 | | if (HasSamplingMode) { |
| | 6379 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SamplingMode); |
| | 6380 | | } |
| | 6381 | | if (HasWrap) { |
| | 6382 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Wrap); |
| | 6383 | | } |
| | 6384 | | if (HasHasAlpha) { |
| | 6385 | | size += 1 + 1; |
| | 6386 | | } |
| | 6387 | | if (_unknownFields != null) { |
| | 6388 | | size += _unknownFields.CalculateSize(); |
| | 6389 | | } |
| | 6390 | | return size; |
| | 6391 | | } |
| | 6392 | |
|
| | 6393 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6394 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6395 | | public void MergeFrom(ECS6ComponentTexture other) { |
| | 6396 | | if (other == null) { |
| | 6397 | | return; |
| | 6398 | | } |
| | 6399 | | if (other.HasSrc) { |
| | 6400 | | Src = other.Src; |
| | 6401 | | } |
| | 6402 | | if (other.HasSamplingMode) { |
| | 6403 | | SamplingMode = other.SamplingMode; |
| | 6404 | | } |
| | 6405 | | if (other.HasWrap) { |
| | 6406 | | Wrap = other.Wrap; |
| | 6407 | | } |
| | 6408 | | if (other.HasHasAlpha) { |
| | 6409 | | HasAlpha = other.HasAlpha; |
| | 6410 | | } |
| | 6411 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6412 | | } |
| | 6413 | |
|
| | 6414 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6415 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6416 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6417 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6418 | | input.ReadRawMessage(this); |
| | 6419 | | #else |
| | 6420 | | uint tag; |
| | 6421 | | while ((tag = input.ReadTag()) != 0) { |
| | 6422 | | switch(tag) { |
| | 6423 | | default: |
| | 6424 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6425 | | break; |
| | 6426 | | case 10: { |
| | 6427 | | Src = input.ReadString(); |
| | 6428 | | break; |
| | 6429 | | } |
| | 6430 | | case 16: { |
| | 6431 | | SamplingMode = input.ReadInt32(); |
| | 6432 | | break; |
| | 6433 | | } |
| | 6434 | | case 24: { |
| | 6435 | | Wrap = input.ReadInt32(); |
| | 6436 | | break; |
| | 6437 | | } |
| | 6438 | | case 32: { |
| | 6439 | | HasAlpha = input.ReadBool(); |
| | 6440 | | break; |
| | 6441 | | } |
| | 6442 | | } |
| | 6443 | | } |
| | 6444 | | #endif |
| | 6445 | | } |
| | 6446 | |
|
| | 6447 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6450 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6451 | | uint tag; |
| | 6452 | | while ((tag = input.ReadTag()) != 0) { |
| | 6453 | | switch(tag) { |
| | 6454 | | default: |
| | 6455 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6456 | | break; |
| | 6457 | | case 10: { |
| | 6458 | | Src = input.ReadString(); |
| | 6459 | | break; |
| | 6460 | | } |
| | 6461 | | case 16: { |
| | 6462 | | SamplingMode = input.ReadInt32(); |
| | 6463 | | break; |
| | 6464 | | } |
| | 6465 | | case 24: { |
| | 6466 | | Wrap = input.ReadInt32(); |
| | 6467 | | break; |
| | 6468 | | } |
| | 6469 | | case 32: { |
| | 6470 | | HasAlpha = input.ReadBool(); |
| | 6471 | | break; |
| | 6472 | | } |
| | 6473 | | } |
| | 6474 | | } |
| | 6475 | | } |
| | 6476 | | #endif |
| | 6477 | |
|
| | 6478 | | } |
| | 6479 | |
|
| | 6480 | | /// <summary> |
| | 6481 | | /// CLASS_ID.ANIMATION |
| | 6482 | | /// </summary> |
| | 6483 | | public sealed partial class ECS6ComponentAnimator : pb::IMessage<ECS6ComponentAnimator> |
| | 6484 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6485 | | , pb::IBufferMessage |
| | 6486 | | #endif |
| | 6487 | | { |
| | 6488 | | private static readonly pb::MessageParser<ECS6ComponentAnimator> _parser = new pb::MessageParser<ECS6ComponentAnimat |
| | 6489 | | private pb::UnknownFieldSet _unknownFields; |
| | 6490 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6491 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6492 | | public static pb::MessageParser<ECS6ComponentAnimator> Parser { get { return _parser; } } |
| | 6493 | |
|
| | 6494 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6495 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6496 | | public static pbr::MessageDescriptor Descriptor { |
| | 6497 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[16]; } |
| | 6498 | | } |
| | 6499 | |
|
| | 6500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6502 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6503 | | get { return Descriptor; } |
| | 6504 | | } |
| | 6505 | |
|
| | 6506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6508 | | public ECS6ComponentAnimator() { |
| | 6509 | | OnConstruction(); |
| | 6510 | | } |
| | 6511 | |
|
| | 6512 | | partial void OnConstruction(); |
| | 6513 | |
|
| | 6514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6516 | | public ECS6ComponentAnimator(ECS6ComponentAnimator other) : this() { |
| | 6517 | | states_ = other.states_.Clone(); |
| | 6518 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6519 | | } |
| | 6520 | |
|
| | 6521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6523 | | public ECS6ComponentAnimator Clone() { |
| | 6524 | | return new ECS6ComponentAnimator(this); |
| | 6525 | | } |
| | 6526 | |
|
| | 6527 | | /// <summary>Field number for the "states" field.</summary> |
| | 6528 | | public const int StatesFieldNumber = 1; |
| | 6529 | | private static readonly pb::FieldCodec<global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator.Types.AnimationState> _re |
| | 6530 | | = pb::FieldCodec.ForMessage(10, global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator.Types.AnimationState.Parser) |
| | 6531 | | private readonly pbc::RepeatedField<global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator.Types.AnimationState> states |
| | 6532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6534 | | public pbc::RepeatedField<global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator.Types.AnimationState> States { |
| | 6535 | | get { return states_; } |
| | 6536 | | } |
| | 6537 | |
|
| | 6538 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6539 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6540 | | public override bool Equals(object other) { |
| | 6541 | | return Equals(other as ECS6ComponentAnimator); |
| | 6542 | | } |
| | 6543 | |
|
| | 6544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6546 | | public bool Equals(ECS6ComponentAnimator other) { |
| | 6547 | | if (ReferenceEquals(other, null)) { |
| | 6548 | | return false; |
| | 6549 | | } |
| | 6550 | | if (ReferenceEquals(other, this)) { |
| | 6551 | | return true; |
| | 6552 | | } |
| | 6553 | | if(!states_.Equals(other.states_)) return false; |
| | 6554 | | return Equals(_unknownFields, other._unknownFields); |
| | 6555 | | } |
| | 6556 | |
|
| | 6557 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6558 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6559 | | public override int GetHashCode() { |
| | 6560 | | int hash = 1; |
| | 6561 | | hash ^= states_.GetHashCode(); |
| | 6562 | | if (_unknownFields != null) { |
| | 6563 | | hash ^= _unknownFields.GetHashCode(); |
| | 6564 | | } |
| | 6565 | | return hash; |
| | 6566 | | } |
| | 6567 | |
|
| | 6568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6570 | | public override string ToString() { |
| | 6571 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6572 | | } |
| | 6573 | |
|
| | 6574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6576 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6577 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6578 | | output.WriteRawMessage(this); |
| | 6579 | | #else |
| | 6580 | | states_.WriteTo(output, _repeated_states_codec); |
| | 6581 | | if (_unknownFields != null) { |
| | 6582 | | _unknownFields.WriteTo(output); |
| | 6583 | | } |
| | 6584 | | #endif |
| | 6585 | | } |
| | 6586 | |
|
| | 6587 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6590 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6591 | | states_.WriteTo(ref output, _repeated_states_codec); |
| | 6592 | | if (_unknownFields != null) { |
| | 6593 | | _unknownFields.WriteTo(ref output); |
| | 6594 | | } |
| | 6595 | | } |
| | 6596 | | #endif |
| | 6597 | |
|
| | 6598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6600 | | public int CalculateSize() { |
| | 6601 | | int size = 0; |
| | 6602 | | size += states_.CalculateSize(_repeated_states_codec); |
| | 6603 | | if (_unknownFields != null) { |
| | 6604 | | size += _unknownFields.CalculateSize(); |
| | 6605 | | } |
| | 6606 | | return size; |
| | 6607 | | } |
| | 6608 | |
|
| | 6609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6611 | | public void MergeFrom(ECS6ComponentAnimator other) { |
| | 6612 | | if (other == null) { |
| | 6613 | | return; |
| | 6614 | | } |
| | 6615 | | states_.Add(other.states_); |
| | 6616 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6617 | | } |
| | 6618 | |
|
| | 6619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6621 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6622 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6623 | | input.ReadRawMessage(this); |
| | 6624 | | #else |
| | 6625 | | uint tag; |
| | 6626 | | while ((tag = input.ReadTag()) != 0) { |
| | 6627 | | switch(tag) { |
| | 6628 | | default: |
| | 6629 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6630 | | break; |
| | 6631 | | case 10: { |
| | 6632 | | states_.AddEntriesFrom(input, _repeated_states_codec); |
| | 6633 | | break; |
| | 6634 | | } |
| | 6635 | | } |
| | 6636 | | } |
| | 6637 | | #endif |
| | 6638 | | } |
| | 6639 | |
|
| | 6640 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6643 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6644 | | uint tag; |
| | 6645 | | while ((tag = input.ReadTag()) != 0) { |
| | 6646 | | switch(tag) { |
| | 6647 | | default: |
| | 6648 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6649 | | break; |
| | 6650 | | case 10: { |
| | 6651 | | states_.AddEntriesFrom(ref input, _repeated_states_codec); |
| | 6652 | | break; |
| | 6653 | | } |
| | 6654 | | } |
| | 6655 | | } |
| | 6656 | | } |
| | 6657 | | #endif |
| | 6658 | |
|
| | 6659 | | #region Nested types |
| | 6660 | | /// <summary>Container for nested types declared in the ECS6ComponentAnimator message type.</summary> |
| | 6661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6663 | | public static partial class Types { |
| | 6664 | | public sealed partial class AnimationState : pb::IMessage<AnimationState> |
| | 6665 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6666 | | , pb::IBufferMessage |
| | 6667 | | #endif |
| | 6668 | | { |
| | 6669 | | private static readonly pb::MessageParser<AnimationState> _parser = new pb::MessageParser<AnimationState>(() => |
| | 6670 | | private pb::UnknownFieldSet _unknownFields; |
| | 6671 | | private int _hasBits0; |
| | 6672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6674 | | public static pb::MessageParser<AnimationState> Parser { get { return _parser; } } |
| | 6675 | |
|
| | 6676 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6677 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6678 | | public static pbr::MessageDescriptor Descriptor { |
| | 6679 | | get { return global::Decentraland.Sdk.Ecs6.ECS6ComponentAnimator.Descriptor.NestedTypes[0]; } |
| | 6680 | | } |
| | 6681 | |
|
| | 6682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6684 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6685 | | get { return Descriptor; } |
| | 6686 | | } |
| | 6687 | |
|
| | 6688 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6689 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6690 | | public AnimationState() { |
| | 6691 | | OnConstruction(); |
| | 6692 | | } |
| | 6693 | |
|
| | 6694 | | partial void OnConstruction(); |
| | 6695 | |
|
| | 6696 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6697 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6698 | | public AnimationState(AnimationState other) : this() { |
| | 6699 | | _hasBits0 = other._hasBits0; |
| | 6700 | | clip_ = other.clip_; |
| | 6701 | | looping_ = other.looping_; |
| | 6702 | | weight_ = other.weight_; |
| | 6703 | | playing_ = other.playing_; |
| | 6704 | | shouldReset_ = other.shouldReset_; |
| | 6705 | | speed_ = other.speed_; |
| | 6706 | | name_ = other.name_; |
| | 6707 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6708 | | } |
| | 6709 | |
|
| | 6710 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6711 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6712 | | public AnimationState Clone() { |
| | 6713 | | return new AnimationState(this); |
| | 6714 | | } |
| | 6715 | |
|
| | 6716 | | /// <summary>Field number for the "clip" field.</summary> |
| | 6717 | | public const int ClipFieldNumber = 1; |
| | 6718 | | private string clip_; |
| | 6719 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6720 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6721 | | public string Clip { |
| | 6722 | | get { return clip_ ?? ""; } |
| | 6723 | | set { |
| | 6724 | | clip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6725 | | } |
| | 6726 | | } |
| | 6727 | | /// <summary>Gets whether the "clip" field is set</summary> |
| | 6728 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6729 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6730 | | public bool HasClip { |
| | 6731 | | get { return clip_ != null; } |
| | 6732 | | } |
| | 6733 | | /// <summary>Clears the value of the "clip" field</summary> |
| | 6734 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6735 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6736 | | public void ClearClip() { |
| | 6737 | | clip_ = null; |
| | 6738 | | } |
| | 6739 | |
|
| | 6740 | | /// <summary>Field number for the "looping" field.</summary> |
| | 6741 | | public const int LoopingFieldNumber = 2; |
| | 6742 | | private bool looping_; |
| | 6743 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6744 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6745 | | public bool Looping { |
| | 6746 | | get { if ((_hasBits0 & 1) != 0) { return looping_; } else { return false; } } |
| | 6747 | | set { |
| | 6748 | | _hasBits0 |= 1; |
| | 6749 | | looping_ = value; |
| | 6750 | | } |
| | 6751 | | } |
| | 6752 | | /// <summary>Gets whether the "looping" field is set</summary> |
| | 6753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6755 | | public bool HasLooping { |
| | 6756 | | get { return (_hasBits0 & 1) != 0; } |
| | 6757 | | } |
| | 6758 | | /// <summary>Clears the value of the "looping" field</summary> |
| | 6759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6761 | | public void ClearLooping() { |
| | 6762 | | _hasBits0 &= ~1; |
| | 6763 | | } |
| | 6764 | |
|
| | 6765 | | /// <summary>Field number for the "weight" field.</summary> |
| | 6766 | | public const int WeightFieldNumber = 3; |
| | 6767 | | private float weight_; |
| | 6768 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6769 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6770 | | public float Weight { |
| | 6771 | | get { if ((_hasBits0 & 2) != 0) { return weight_; } else { return 0F; } } |
| | 6772 | | set { |
| | 6773 | | _hasBits0 |= 2; |
| | 6774 | | weight_ = value; |
| | 6775 | | } |
| | 6776 | | } |
| | 6777 | | /// <summary>Gets whether the "weight" field is set</summary> |
| | 6778 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6779 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6780 | | public bool HasWeight { |
| | 6781 | | get { return (_hasBits0 & 2) != 0; } |
| | 6782 | | } |
| | 6783 | | /// <summary>Clears the value of the "weight" field</summary> |
| | 6784 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6785 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6786 | | public void ClearWeight() { |
| | 6787 | | _hasBits0 &= ~2; |
| | 6788 | | } |
| | 6789 | |
|
| | 6790 | | /// <summary>Field number for the "playing" field.</summary> |
| | 6791 | | public const int PlayingFieldNumber = 4; |
| | 6792 | | private bool playing_; |
| | 6793 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6794 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6795 | | public bool Playing { |
| | 6796 | | get { if ((_hasBits0 & 4) != 0) { return playing_; } else { return false; } } |
| | 6797 | | set { |
| | 6798 | | _hasBits0 |= 4; |
| | 6799 | | playing_ = value; |
| | 6800 | | } |
| | 6801 | | } |
| | 6802 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 6803 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6804 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6805 | | public bool HasPlaying { |
| | 6806 | | get { return (_hasBits0 & 4) != 0; } |
| | 6807 | | } |
| | 6808 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 6809 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6810 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6811 | | public void ClearPlaying() { |
| | 6812 | | _hasBits0 &= ~4; |
| | 6813 | | } |
| | 6814 | |
|
| | 6815 | | /// <summary>Field number for the "should_reset" field.</summary> |
| | 6816 | | public const int ShouldResetFieldNumber = 5; |
| | 6817 | | private bool shouldReset_; |
| | 6818 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6819 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6820 | | public bool ShouldReset { |
| | 6821 | | get { if ((_hasBits0 & 8) != 0) { return shouldReset_; } else { return false; } } |
| | 6822 | | set { |
| | 6823 | | _hasBits0 |= 8; |
| | 6824 | | shouldReset_ = value; |
| | 6825 | | } |
| | 6826 | | } |
| | 6827 | | /// <summary>Gets whether the "should_reset" field is set</summary> |
| | 6828 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6829 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6830 | | public bool HasShouldReset { |
| | 6831 | | get { return (_hasBits0 & 8) != 0; } |
| | 6832 | | } |
| | 6833 | | /// <summary>Clears the value of the "should_reset" field</summary> |
| | 6834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6836 | | public void ClearShouldReset() { |
| | 6837 | | _hasBits0 &= ~8; |
| | 6838 | | } |
| | 6839 | |
|
| | 6840 | | /// <summary>Field number for the "speed" field.</summary> |
| | 6841 | | public const int SpeedFieldNumber = 6; |
| | 6842 | | private float speed_; |
| | 6843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6845 | | public float Speed { |
| | 6846 | | get { if ((_hasBits0 & 16) != 0) { return speed_; } else { return 0F; } } |
| | 6847 | | set { |
| | 6848 | | _hasBits0 |= 16; |
| | 6849 | | speed_ = value; |
| | 6850 | | } |
| | 6851 | | } |
| | 6852 | | /// <summary>Gets whether the "speed" field is set</summary> |
| | 6853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6855 | | public bool HasSpeed { |
| | 6856 | | get { return (_hasBits0 & 16) != 0; } |
| | 6857 | | } |
| | 6858 | | /// <summary>Clears the value of the "speed" field</summary> |
| | 6859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6861 | | public void ClearSpeed() { |
| | 6862 | | _hasBits0 &= ~16; |
| | 6863 | | } |
| | 6864 | |
|
| | 6865 | | /// <summary>Field number for the "name" field.</summary> |
| | 6866 | | public const int NameFieldNumber = 7; |
| | 6867 | | private string name_; |
| | 6868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6870 | | public string Name { |
| | 6871 | | get { return name_ ?? ""; } |
| | 6872 | | set { |
| | 6873 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6874 | | } |
| | 6875 | | } |
| | 6876 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 6877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6879 | | public bool HasName { |
| | 6880 | | get { return name_ != null; } |
| | 6881 | | } |
| | 6882 | | /// <summary>Clears the value of the "name" field</summary> |
| | 6883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6885 | | public void ClearName() { |
| | 6886 | | name_ = null; |
| | 6887 | | } |
| | 6888 | |
|
| | 6889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6891 | | public override bool Equals(object other) { |
| | 6892 | | return Equals(other as AnimationState); |
| | 6893 | | } |
| | 6894 | |
|
| | 6895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6897 | | public bool Equals(AnimationState other) { |
| | 6898 | | if (ReferenceEquals(other, null)) { |
| | 6899 | | return false; |
| | 6900 | | } |
| | 6901 | | if (ReferenceEquals(other, this)) { |
| | 6902 | | return true; |
| | 6903 | | } |
| | 6904 | | if (Clip != other.Clip) return false; |
| | 6905 | | if (Looping != other.Looping) return false; |
| | 6906 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Weight, other.Weight)) return false; |
| | 6907 | | if (Playing != other.Playing) return false; |
| | 6908 | | if (ShouldReset != other.ShouldReset) return false; |
| | 6909 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Speed, other.Speed)) return false; |
| | 6910 | | if (Name != other.Name) return false; |
| | 6911 | | return Equals(_unknownFields, other._unknownFields); |
| | 6912 | | } |
| | 6913 | |
|
| | 6914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6916 | | public override int GetHashCode() { |
| | 6917 | | int hash = 1; |
| | 6918 | | if (HasClip) hash ^= Clip.GetHashCode(); |
| | 6919 | | if (HasLooping) hash ^= Looping.GetHashCode(); |
| | 6920 | | if (HasWeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Weight); |
| | 6921 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| | 6922 | | if (HasShouldReset) hash ^= ShouldReset.GetHashCode(); |
| | 6923 | | if (HasSpeed) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed); |
| | 6924 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 6925 | | if (_unknownFields != null) { |
| | 6926 | | hash ^= _unknownFields.GetHashCode(); |
| | 6927 | | } |
| | 6928 | | return hash; |
| | 6929 | | } |
| | 6930 | |
|
| | 6931 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6932 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6933 | | public override string ToString() { |
| | 6934 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6935 | | } |
| | 6936 | |
|
| | 6937 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6938 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6939 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6940 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6941 | | output.WriteRawMessage(this); |
| | 6942 | | #else |
| | 6943 | | if (HasClip) { |
| | 6944 | | output.WriteRawTag(10); |
| | 6945 | | output.WriteString(Clip); |
| | 6946 | | } |
| | 6947 | | if (HasLooping) { |
| | 6948 | | output.WriteRawTag(16); |
| | 6949 | | output.WriteBool(Looping); |
| | 6950 | | } |
| | 6951 | | if (HasWeight) { |
| | 6952 | | output.WriteRawTag(29); |
| | 6953 | | output.WriteFloat(Weight); |
| | 6954 | | } |
| | 6955 | | if (HasPlaying) { |
| | 6956 | | output.WriteRawTag(32); |
| | 6957 | | output.WriteBool(Playing); |
| | 6958 | | } |
| | 6959 | | if (HasShouldReset) { |
| | 6960 | | output.WriteRawTag(40); |
| | 6961 | | output.WriteBool(ShouldReset); |
| | 6962 | | } |
| | 6963 | | if (HasSpeed) { |
| | 6964 | | output.WriteRawTag(53); |
| | 6965 | | output.WriteFloat(Speed); |
| | 6966 | | } |
| | 6967 | | if (HasName) { |
| | 6968 | | output.WriteRawTag(58); |
| | 6969 | | output.WriteString(Name); |
| | 6970 | | } |
| | 6971 | | if (_unknownFields != null) { |
| | 6972 | | _unknownFields.WriteTo(output); |
| | 6973 | | } |
| | 6974 | | #endif |
| | 6975 | | } |
| | 6976 | |
|
| | 6977 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6978 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6979 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6980 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6981 | | if (HasClip) { |
| | 6982 | | output.WriteRawTag(10); |
| | 6983 | | output.WriteString(Clip); |
| | 6984 | | } |
| | 6985 | | if (HasLooping) { |
| | 6986 | | output.WriteRawTag(16); |
| | 6987 | | output.WriteBool(Looping); |
| | 6988 | | } |
| | 6989 | | if (HasWeight) { |
| | 6990 | | output.WriteRawTag(29); |
| | 6991 | | output.WriteFloat(Weight); |
| | 6992 | | } |
| | 6993 | | if (HasPlaying) { |
| | 6994 | | output.WriteRawTag(32); |
| | 6995 | | output.WriteBool(Playing); |
| | 6996 | | } |
| | 6997 | | if (HasShouldReset) { |
| | 6998 | | output.WriteRawTag(40); |
| | 6999 | | output.WriteBool(ShouldReset); |
| | 7000 | | } |
| | 7001 | | if (HasSpeed) { |
| | 7002 | | output.WriteRawTag(53); |
| | 7003 | | output.WriteFloat(Speed); |
| | 7004 | | } |
| | 7005 | | if (HasName) { |
| | 7006 | | output.WriteRawTag(58); |
| | 7007 | | output.WriteString(Name); |
| | 7008 | | } |
| | 7009 | | if (_unknownFields != null) { |
| | 7010 | | _unknownFields.WriteTo(ref output); |
| | 7011 | | } |
| | 7012 | | } |
| | 7013 | | #endif |
| | 7014 | |
|
| | 7015 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7016 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7017 | | public int CalculateSize() { |
| | 7018 | | int size = 0; |
| | 7019 | | if (HasClip) { |
| | 7020 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Clip); |
| | 7021 | | } |
| | 7022 | | if (HasLooping) { |
| | 7023 | | size += 1 + 1; |
| | 7024 | | } |
| | 7025 | | if (HasWeight) { |
| | 7026 | | size += 1 + 4; |
| | 7027 | | } |
| | 7028 | | if (HasPlaying) { |
| | 7029 | | size += 1 + 1; |
| | 7030 | | } |
| | 7031 | | if (HasShouldReset) { |
| | 7032 | | size += 1 + 1; |
| | 7033 | | } |
| | 7034 | | if (HasSpeed) { |
| | 7035 | | size += 1 + 4; |
| | 7036 | | } |
| | 7037 | | if (HasName) { |
| | 7038 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 7039 | | } |
| | 7040 | | if (_unknownFields != null) { |
| | 7041 | | size += _unknownFields.CalculateSize(); |
| | 7042 | | } |
| | 7043 | | return size; |
| | 7044 | | } |
| | 7045 | |
|
| | 7046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7048 | | public void MergeFrom(AnimationState other) { |
| | 7049 | | if (other == null) { |
| | 7050 | | return; |
| | 7051 | | } |
| | 7052 | | if (other.HasClip) { |
| | 7053 | | Clip = other.Clip; |
| | 7054 | | } |
| | 7055 | | if (other.HasLooping) { |
| | 7056 | | Looping = other.Looping; |
| | 7057 | | } |
| | 7058 | | if (other.HasWeight) { |
| | 7059 | | Weight = other.Weight; |
| | 7060 | | } |
| | 7061 | | if (other.HasPlaying) { |
| | 7062 | | Playing = other.Playing; |
| | 7063 | | } |
| | 7064 | | if (other.HasShouldReset) { |
| | 7065 | | ShouldReset = other.ShouldReset; |
| | 7066 | | } |
| | 7067 | | if (other.HasSpeed) { |
| | 7068 | | Speed = other.Speed; |
| | 7069 | | } |
| | 7070 | | if (other.HasName) { |
| | 7071 | | Name = other.Name; |
| | 7072 | | } |
| | 7073 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7074 | | } |
| | 7075 | |
|
| | 7076 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7077 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7078 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7079 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7080 | | input.ReadRawMessage(this); |
| | 7081 | | #else |
| | 7082 | | uint tag; |
| | 7083 | | while ((tag = input.ReadTag()) != 0) { |
| | 7084 | | switch(tag) { |
| | 7085 | | default: |
| | 7086 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7087 | | break; |
| | 7088 | | case 10: { |
| | 7089 | | Clip = input.ReadString(); |
| | 7090 | | break; |
| | 7091 | | } |
| | 7092 | | case 16: { |
| | 7093 | | Looping = input.ReadBool(); |
| | 7094 | | break; |
| | 7095 | | } |
| | 7096 | | case 29: { |
| | 7097 | | Weight = input.ReadFloat(); |
| | 7098 | | break; |
| | 7099 | | } |
| | 7100 | | case 32: { |
| | 7101 | | Playing = input.ReadBool(); |
| | 7102 | | break; |
| | 7103 | | } |
| | 7104 | | case 40: { |
| | 7105 | | ShouldReset = input.ReadBool(); |
| | 7106 | | break; |
| | 7107 | | } |
| | 7108 | | case 53: { |
| | 7109 | | Speed = input.ReadFloat(); |
| | 7110 | | break; |
| | 7111 | | } |
| | 7112 | | case 58: { |
| | 7113 | | Name = input.ReadString(); |
| | 7114 | | break; |
| | 7115 | | } |
| | 7116 | | } |
| | 7117 | | } |
| | 7118 | | #endif |
| | 7119 | | } |
| | 7120 | |
|
| | 7121 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7124 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7125 | | uint tag; |
| | 7126 | | while ((tag = input.ReadTag()) != 0) { |
| | 7127 | | switch(tag) { |
| | 7128 | | default: |
| | 7129 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7130 | | break; |
| | 7131 | | case 10: { |
| | 7132 | | Clip = input.ReadString(); |
| | 7133 | | break; |
| | 7134 | | } |
| | 7135 | | case 16: { |
| | 7136 | | Looping = input.ReadBool(); |
| | 7137 | | break; |
| | 7138 | | } |
| | 7139 | | case 29: { |
| | 7140 | | Weight = input.ReadFloat(); |
| | 7141 | | break; |
| | 7142 | | } |
| | 7143 | | case 32: { |
| | 7144 | | Playing = input.ReadBool(); |
| | 7145 | | break; |
| | 7146 | | } |
| | 7147 | | case 40: { |
| | 7148 | | ShouldReset = input.ReadBool(); |
| | 7149 | | break; |
| | 7150 | | } |
| | 7151 | | case 53: { |
| | 7152 | | Speed = input.ReadFloat(); |
| | 7153 | | break; |
| | 7154 | | } |
| | 7155 | | case 58: { |
| | 7156 | | Name = input.ReadString(); |
| | 7157 | | break; |
| | 7158 | | } |
| | 7159 | | } |
| | 7160 | | } |
| | 7161 | | } |
| | 7162 | | #endif |
| | 7163 | |
|
| | 7164 | | } |
| | 7165 | |
|
| | 7166 | | } |
| | 7167 | | #endregion |
| | 7168 | |
|
| | 7169 | | } |
| | 7170 | |
|
| | 7171 | | /// <summary> |
| | 7172 | | /// CLASS_ID.OBJ_SHAPE |
| | 7173 | | /// </summary> |
| | 7174 | | public sealed partial class ECS6ComponentObjShape : pb::IMessage<ECS6ComponentObjShape> |
| | 7175 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7176 | | , pb::IBufferMessage |
| | 7177 | | #endif |
| | 7178 | | { |
| | 7179 | | private static readonly pb::MessageParser<ECS6ComponentObjShape> _parser = new pb::MessageParser<ECS6ComponentObjSha |
| | 7180 | | private pb::UnknownFieldSet _unknownFields; |
| | 7181 | | private int _hasBits0; |
| | 7182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7184 | | public static pb::MessageParser<ECS6ComponentObjShape> Parser { get { return _parser; } } |
| | 7185 | |
|
| | 7186 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7187 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7188 | | public static pbr::MessageDescriptor Descriptor { |
| | 7189 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[17]; } |
| | 7190 | | } |
| | 7191 | |
|
| | 7192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7194 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 7195 | | get { return Descriptor; } |
| | 7196 | | } |
| | 7197 | |
|
| | 7198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7200 | | public ECS6ComponentObjShape() { |
| | 7201 | | OnConstruction(); |
| | 7202 | | } |
| | 7203 | |
|
| | 7204 | | partial void OnConstruction(); |
| | 7205 | |
|
| | 7206 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7207 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7208 | | public ECS6ComponentObjShape(ECS6ComponentObjShape other) : this() { |
| | 7209 | | _hasBits0 = other._hasBits0; |
| | 7210 | | withCollisions_ = other.withCollisions_; |
| | 7211 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 7212 | | visible_ = other.visible_; |
| | 7213 | | src_ = other.src_; |
| | 7214 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 7215 | | } |
| | 7216 | |
|
| | 7217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7219 | | public ECS6ComponentObjShape Clone() { |
| | 7220 | | return new ECS6ComponentObjShape(this); |
| | 7221 | | } |
| | 7222 | |
|
| | 7223 | | /// <summary>Field number for the "with_collisions" field.</summary> |
| | 7224 | | public const int WithCollisionsFieldNumber = 1; |
| | 7225 | | private bool withCollisions_; |
| | 7226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7228 | | public bool WithCollisions { |
| | 7229 | | get { if ((_hasBits0 & 1) != 0) { return withCollisions_; } else { return false; } } |
| | 7230 | | set { |
| | 7231 | | _hasBits0 |= 1; |
| | 7232 | | withCollisions_ = value; |
| | 7233 | | } |
| | 7234 | | } |
| | 7235 | | /// <summary>Gets whether the "with_collisions" field is set</summary> |
| | 7236 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7237 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7238 | | public bool HasWithCollisions { |
| | 7239 | | get { return (_hasBits0 & 1) != 0; } |
| | 7240 | | } |
| | 7241 | | /// <summary>Clears the value of the "with_collisions" field</summary> |
| | 7242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7244 | | public void ClearWithCollisions() { |
| | 7245 | | _hasBits0 &= ~1; |
| | 7246 | | } |
| | 7247 | |
|
| | 7248 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 7249 | | public const int IsPointerBlockerFieldNumber = 2; |
| | 7250 | | private bool isPointerBlocker_; |
| | 7251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7253 | | public bool IsPointerBlocker { |
| | 7254 | | get { if ((_hasBits0 & 2) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 7255 | | set { |
| | 7256 | | _hasBits0 |= 2; |
| | 7257 | | isPointerBlocker_ = value; |
| | 7258 | | } |
| | 7259 | | } |
| | 7260 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 7261 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7262 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7263 | | public bool HasIsPointerBlocker { |
| | 7264 | | get { return (_hasBits0 & 2) != 0; } |
| | 7265 | | } |
| | 7266 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 7267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7269 | | public void ClearIsPointerBlocker() { |
| | 7270 | | _hasBits0 &= ~2; |
| | 7271 | | } |
| | 7272 | |
|
| | 7273 | | /// <summary>Field number for the "visible" field.</summary> |
| | 7274 | | public const int VisibleFieldNumber = 3; |
| | 7275 | | private bool visible_; |
| | 7276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7278 | | public bool Visible { |
| | 7279 | | get { if ((_hasBits0 & 4) != 0) { return visible_; } else { return false; } } |
| | 7280 | | set { |
| | 7281 | | _hasBits0 |= 4; |
| | 7282 | | visible_ = value; |
| | 7283 | | } |
| | 7284 | | } |
| | 7285 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 7286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7288 | | public bool HasVisible { |
| | 7289 | | get { return (_hasBits0 & 4) != 0; } |
| | 7290 | | } |
| | 7291 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 7292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7294 | | public void ClearVisible() { |
| | 7295 | | _hasBits0 &= ~4; |
| | 7296 | | } |
| | 7297 | |
|
| | 7298 | | /// <summary>Field number for the "src" field.</summary> |
| | 7299 | | public const int SrcFieldNumber = 4; |
| | 7300 | | private string src_; |
| | 7301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7303 | | public string Src { |
| | 7304 | | get { return src_ ?? ""; } |
| | 7305 | | set { |
| | 7306 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7307 | | } |
| | 7308 | | } |
| | 7309 | | /// <summary>Gets whether the "src" field is set</summary> |
| | 7310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7312 | | public bool HasSrc { |
| | 7313 | | get { return src_ != null; } |
| | 7314 | | } |
| | 7315 | | /// <summary>Clears the value of the "src" field</summary> |
| | 7316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7318 | | public void ClearSrc() { |
| | 7319 | | src_ = null; |
| | 7320 | | } |
| | 7321 | |
|
| | 7322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7324 | | public override bool Equals(object other) { |
| | 7325 | | return Equals(other as ECS6ComponentObjShape); |
| | 7326 | | } |
| | 7327 | |
|
| | 7328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7330 | | public bool Equals(ECS6ComponentObjShape other) { |
| | 7331 | | if (ReferenceEquals(other, null)) { |
| | 7332 | | return false; |
| | 7333 | | } |
| | 7334 | | if (ReferenceEquals(other, this)) { |
| | 7335 | | return true; |
| | 7336 | | } |
| | 7337 | | if (WithCollisions != other.WithCollisions) return false; |
| | 7338 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 7339 | | if (Visible != other.Visible) return false; |
| | 7340 | | if (Src != other.Src) return false; |
| | 7341 | | return Equals(_unknownFields, other._unknownFields); |
| | 7342 | | } |
| | 7343 | |
|
| | 7344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7346 | | public override int GetHashCode() { |
| | 7347 | | int hash = 1; |
| | 7348 | | if (HasWithCollisions) hash ^= WithCollisions.GetHashCode(); |
| | 7349 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 7350 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 7351 | | if (HasSrc) hash ^= Src.GetHashCode(); |
| | 7352 | | if (_unknownFields != null) { |
| | 7353 | | hash ^= _unknownFields.GetHashCode(); |
| | 7354 | | } |
| | 7355 | | return hash; |
| | 7356 | | } |
| | 7357 | |
|
| | 7358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7360 | | public override string ToString() { |
| | 7361 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7362 | | } |
| | 7363 | |
|
| | 7364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7366 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7367 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7368 | | output.WriteRawMessage(this); |
| | 7369 | | #else |
| | 7370 | | if (HasWithCollisions) { |
| | 7371 | | output.WriteRawTag(8); |
| | 7372 | | output.WriteBool(WithCollisions); |
| | 7373 | | } |
| | 7374 | | if (HasIsPointerBlocker) { |
| | 7375 | | output.WriteRawTag(16); |
| | 7376 | | output.WriteBool(IsPointerBlocker); |
| | 7377 | | } |
| | 7378 | | if (HasVisible) { |
| | 7379 | | output.WriteRawTag(24); |
| | 7380 | | output.WriteBool(Visible); |
| | 7381 | | } |
| | 7382 | | if (HasSrc) { |
| | 7383 | | output.WriteRawTag(34); |
| | 7384 | | output.WriteString(Src); |
| | 7385 | | } |
| | 7386 | | if (_unknownFields != null) { |
| | 7387 | | _unknownFields.WriteTo(output); |
| | 7388 | | } |
| | 7389 | | #endif |
| | 7390 | | } |
| | 7391 | |
|
| | 7392 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7393 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7394 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7395 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7396 | | if (HasWithCollisions) { |
| | 7397 | | output.WriteRawTag(8); |
| | 7398 | | output.WriteBool(WithCollisions); |
| | 7399 | | } |
| | 7400 | | if (HasIsPointerBlocker) { |
| | 7401 | | output.WriteRawTag(16); |
| | 7402 | | output.WriteBool(IsPointerBlocker); |
| | 7403 | | } |
| | 7404 | | if (HasVisible) { |
| | 7405 | | output.WriteRawTag(24); |
| | 7406 | | output.WriteBool(Visible); |
| | 7407 | | } |
| | 7408 | | if (HasSrc) { |
| | 7409 | | output.WriteRawTag(34); |
| | 7410 | | output.WriteString(Src); |
| | 7411 | | } |
| | 7412 | | if (_unknownFields != null) { |
| | 7413 | | _unknownFields.WriteTo(ref output); |
| | 7414 | | } |
| | 7415 | | } |
| | 7416 | | #endif |
| | 7417 | |
|
| | 7418 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7419 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7420 | | public int CalculateSize() { |
| | 7421 | | int size = 0; |
| | 7422 | | if (HasWithCollisions) { |
| | 7423 | | size += 1 + 1; |
| | 7424 | | } |
| | 7425 | | if (HasIsPointerBlocker) { |
| | 7426 | | size += 1 + 1; |
| | 7427 | | } |
| | 7428 | | if (HasVisible) { |
| | 7429 | | size += 1 + 1; |
| | 7430 | | } |
| | 7431 | | if (HasSrc) { |
| | 7432 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 7433 | | } |
| | 7434 | | if (_unknownFields != null) { |
| | 7435 | | size += _unknownFields.CalculateSize(); |
| | 7436 | | } |
| | 7437 | | return size; |
| | 7438 | | } |
| | 7439 | |
|
| | 7440 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7441 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7442 | | public void MergeFrom(ECS6ComponentObjShape other) { |
| | 7443 | | if (other == null) { |
| | 7444 | | return; |
| | 7445 | | } |
| | 7446 | | if (other.HasWithCollisions) { |
| | 7447 | | WithCollisions = other.WithCollisions; |
| | 7448 | | } |
| | 7449 | | if (other.HasIsPointerBlocker) { |
| | 7450 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 7451 | | } |
| | 7452 | | if (other.HasVisible) { |
| | 7453 | | Visible = other.Visible; |
| | 7454 | | } |
| | 7455 | | if (other.HasSrc) { |
| | 7456 | | Src = other.Src; |
| | 7457 | | } |
| | 7458 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7459 | | } |
| | 7460 | |
|
| | 7461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7463 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7464 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7465 | | input.ReadRawMessage(this); |
| | 7466 | | #else |
| | 7467 | | uint tag; |
| | 7468 | | while ((tag = input.ReadTag()) != 0) { |
| | 7469 | | switch(tag) { |
| | 7470 | | default: |
| | 7471 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7472 | | break; |
| | 7473 | | case 8: { |
| | 7474 | | WithCollisions = input.ReadBool(); |
| | 7475 | | break; |
| | 7476 | | } |
| | 7477 | | case 16: { |
| | 7478 | | IsPointerBlocker = input.ReadBool(); |
| | 7479 | | break; |
| | 7480 | | } |
| | 7481 | | case 24: { |
| | 7482 | | Visible = input.ReadBool(); |
| | 7483 | | break; |
| | 7484 | | } |
| | 7485 | | case 34: { |
| | 7486 | | Src = input.ReadString(); |
| | 7487 | | break; |
| | 7488 | | } |
| | 7489 | | } |
| | 7490 | | } |
| | 7491 | | #endif |
| | 7492 | | } |
| | 7493 | |
|
| | 7494 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7497 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7498 | | uint tag; |
| | 7499 | | while ((tag = input.ReadTag()) != 0) { |
| | 7500 | | switch(tag) { |
| | 7501 | | default: |
| | 7502 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7503 | | break; |
| | 7504 | | case 8: { |
| | 7505 | | WithCollisions = input.ReadBool(); |
| | 7506 | | break; |
| | 7507 | | } |
| | 7508 | | case 16: { |
| | 7509 | | IsPointerBlocker = input.ReadBool(); |
| | 7510 | | break; |
| | 7511 | | } |
| | 7512 | | case 24: { |
| | 7513 | | Visible = input.ReadBool(); |
| | 7514 | | break; |
| | 7515 | | } |
| | 7516 | | case 34: { |
| | 7517 | | Src = input.ReadString(); |
| | 7518 | | break; |
| | 7519 | | } |
| | 7520 | | } |
| | 7521 | | } |
| | 7522 | | } |
| | 7523 | | #endif |
| | 7524 | |
|
| | 7525 | | } |
| | 7526 | |
|
| | 7527 | | /// <summary> |
| | 7528 | | /// CLASS_ID.FONT |
| | 7529 | | /// </summary> |
| | 7530 | | public sealed partial class ECS6ComponentFont : pb::IMessage<ECS6ComponentFont> |
| | 7531 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7532 | | , pb::IBufferMessage |
| | 7533 | | #endif |
| | 7534 | | { |
| | 7535 | | private static readonly pb::MessageParser<ECS6ComponentFont> _parser = new pb::MessageParser<ECS6ComponentFont>(() = |
| | 7536 | | private pb::UnknownFieldSet _unknownFields; |
| | 7537 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7538 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7539 | | public static pb::MessageParser<ECS6ComponentFont> Parser { get { return _parser; } } |
| | 7540 | |
|
| | 7541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7543 | | public static pbr::MessageDescriptor Descriptor { |
| | 7544 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[18]; } |
| | 7545 | | } |
| | 7546 | |
|
| | 7547 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7548 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7549 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 7550 | | get { return Descriptor; } |
| | 7551 | | } |
| | 7552 | |
|
| | 7553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7555 | | public ECS6ComponentFont() { |
| | 7556 | | OnConstruction(); |
| | 7557 | | } |
| | 7558 | |
|
| | 7559 | | partial void OnConstruction(); |
| | 7560 | |
|
| | 7561 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7562 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7563 | | public ECS6ComponentFont(ECS6ComponentFont other) : this() { |
| | 7564 | | src_ = other.src_; |
| | 7565 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 7566 | | } |
| | 7567 | |
|
| | 7568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7570 | | public ECS6ComponentFont Clone() { |
| | 7571 | | return new ECS6ComponentFont(this); |
| | 7572 | | } |
| | 7573 | |
|
| | 7574 | | /// <summary>Field number for the "src" field.</summary> |
| | 7575 | | public const int SrcFieldNumber = 1; |
| | 7576 | | private string src_; |
| | 7577 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7578 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7579 | | public string Src { |
| | 7580 | | get { return src_ ?? ""; } |
| | 7581 | | set { |
| | 7582 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7583 | | } |
| | 7584 | | } |
| | 7585 | | /// <summary>Gets whether the "src" field is set</summary> |
| | 7586 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7587 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7588 | | public bool HasSrc { |
| | 7589 | | get { return src_ != null; } |
| | 7590 | | } |
| | 7591 | | /// <summary>Clears the value of the "src" field</summary> |
| | 7592 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7593 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7594 | | public void ClearSrc() { |
| | 7595 | | src_ = null; |
| | 7596 | | } |
| | 7597 | |
|
| | 7598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7600 | | public override bool Equals(object other) { |
| | 7601 | | return Equals(other as ECS6ComponentFont); |
| | 7602 | | } |
| | 7603 | |
|
| | 7604 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7605 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7606 | | public bool Equals(ECS6ComponentFont other) { |
| | 7607 | | if (ReferenceEquals(other, null)) { |
| | 7608 | | return false; |
| | 7609 | | } |
| | 7610 | | if (ReferenceEquals(other, this)) { |
| | 7611 | | return true; |
| | 7612 | | } |
| | 7613 | | if (Src != other.Src) return false; |
| | 7614 | | return Equals(_unknownFields, other._unknownFields); |
| | 7615 | | } |
| | 7616 | |
|
| | 7617 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7618 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7619 | | public override int GetHashCode() { |
| | 7620 | | int hash = 1; |
| | 7621 | | if (HasSrc) hash ^= Src.GetHashCode(); |
| | 7622 | | if (_unknownFields != null) { |
| | 7623 | | hash ^= _unknownFields.GetHashCode(); |
| | 7624 | | } |
| | 7625 | | return hash; |
| | 7626 | | } |
| | 7627 | |
|
| | 7628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7630 | | public override string ToString() { |
| | 7631 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7632 | | } |
| | 7633 | |
|
| | 7634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7636 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7637 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7638 | | output.WriteRawMessage(this); |
| | 7639 | | #else |
| | 7640 | | if (HasSrc) { |
| | 7641 | | output.WriteRawTag(10); |
| | 7642 | | output.WriteString(Src); |
| | 7643 | | } |
| | 7644 | | if (_unknownFields != null) { |
| | 7645 | | _unknownFields.WriteTo(output); |
| | 7646 | | } |
| | 7647 | | #endif |
| | 7648 | | } |
| | 7649 | |
|
| | 7650 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7653 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7654 | | if (HasSrc) { |
| | 7655 | | output.WriteRawTag(10); |
| | 7656 | | output.WriteString(Src); |
| | 7657 | | } |
| | 7658 | | if (_unknownFields != null) { |
| | 7659 | | _unknownFields.WriteTo(ref output); |
| | 7660 | | } |
| | 7661 | | } |
| | 7662 | | #endif |
| | 7663 | |
|
| | 7664 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7665 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7666 | | public int CalculateSize() { |
| | 7667 | | int size = 0; |
| | 7668 | | if (HasSrc) { |
| | 7669 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 7670 | | } |
| | 7671 | | if (_unknownFields != null) { |
| | 7672 | | size += _unknownFields.CalculateSize(); |
| | 7673 | | } |
| | 7674 | | return size; |
| | 7675 | | } |
| | 7676 | |
|
| | 7677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7679 | | public void MergeFrom(ECS6ComponentFont other) { |
| | 7680 | | if (other == null) { |
| | 7681 | | return; |
| | 7682 | | } |
| | 7683 | | if (other.HasSrc) { |
| | 7684 | | Src = other.Src; |
| | 7685 | | } |
| | 7686 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7687 | | } |
| | 7688 | |
|
| | 7689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7691 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7692 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7693 | | input.ReadRawMessage(this); |
| | 7694 | | #else |
| | 7695 | | uint tag; |
| | 7696 | | while ((tag = input.ReadTag()) != 0) { |
| | 7697 | | switch(tag) { |
| | 7698 | | default: |
| | 7699 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7700 | | break; |
| | 7701 | | case 10: { |
| | 7702 | | Src = input.ReadString(); |
| | 7703 | | break; |
| | 7704 | | } |
| | 7705 | | } |
| | 7706 | | } |
| | 7707 | | #endif |
| | 7708 | | } |
| | 7709 | |
|
| | 7710 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7713 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7714 | | uint tag; |
| | 7715 | | while ((tag = input.ReadTag()) != 0) { |
| | 7716 | | switch(tag) { |
| | 7717 | | default: |
| | 7718 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7719 | | break; |
| | 7720 | | case 10: { |
| | 7721 | | Src = input.ReadString(); |
| | 7722 | | break; |
| | 7723 | | } |
| | 7724 | | } |
| | 7725 | | } |
| | 7726 | | } |
| | 7727 | | #endif |
| | 7728 | |
|
| | 7729 | | } |
| | 7730 | |
|
| | 7731 | | /// <summary> |
| | 7732 | | /// CLASS_ID.TEXT_SHAPE |
| | 7733 | | /// </summary> |
| | 7734 | | public sealed partial class ECS6ComponentTextShape : pb::IMessage<ECS6ComponentTextShape> |
| | 7735 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7736 | | , pb::IBufferMessage |
| | 7737 | | #endif |
| | 7738 | | { |
| | 7739 | | private static readonly pb::MessageParser<ECS6ComponentTextShape> _parser = new pb::MessageParser<ECS6ComponentTextS |
| | 7740 | | private pb::UnknownFieldSet _unknownFields; |
| | 7741 | | private int _hasBits0; |
| | 7742 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7743 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7744 | | public static pb::MessageParser<ECS6ComponentTextShape> Parser { get { return _parser; } } |
| | 7745 | |
|
| | 7746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7748 | | public static pbr::MessageDescriptor Descriptor { |
| | 7749 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[19]; } |
| | 7750 | | } |
| | 7751 | |
|
| | 7752 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7753 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7754 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 7755 | | get { return Descriptor; } |
| | 7756 | | } |
| | 7757 | |
|
| | 7758 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7759 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7760 | | public ECS6ComponentTextShape() { |
| | 7761 | | OnConstruction(); |
| | 7762 | | } |
| | 7763 | |
|
| | 7764 | | partial void OnConstruction(); |
| | 7765 | |
|
| | 7766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7768 | | public ECS6ComponentTextShape(ECS6ComponentTextShape other) : this() { |
| | 7769 | | _hasBits0 = other._hasBits0; |
| | 7770 | | outlineWidth_ = other.outlineWidth_; |
| | 7771 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 7772 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 7773 | | fontSize_ = other.fontSize_; |
| | 7774 | | font_ = other.font_; |
| | 7775 | | opacity_ = other.opacity_; |
| | 7776 | | value_ = other.value_; |
| | 7777 | | lineSpacing_ = other.lineSpacing_; |
| | 7778 | | lineCount_ = other.lineCount_; |
| | 7779 | | textWrapping_ = other.textWrapping_; |
| | 7780 | | shadowBlur_ = other.shadowBlur_; |
| | 7781 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 7782 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 7783 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 7784 | | hTextAlign_ = other.hTextAlign_; |
| | 7785 | | vTextAlign_ = other.vTextAlign_; |
| | 7786 | | width_ = other.width_; |
| | 7787 | | height_ = other.height_; |
| | 7788 | | paddingTop_ = other.paddingTop_; |
| | 7789 | | paddingRight_ = other.paddingRight_; |
| | 7790 | | paddingBottom_ = other.paddingBottom_; |
| | 7791 | | paddingLeft_ = other.paddingLeft_; |
| | 7792 | | billboard_ = other.billboard_; |
| | 7793 | | visible_ = other.visible_; |
| | 7794 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 7795 | | } |
| | 7796 | |
|
| | 7797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7799 | | public ECS6ComponentTextShape Clone() { |
| | 7800 | | return new ECS6ComponentTextShape(this); |
| | 7801 | | } |
| | 7802 | |
|
| | 7803 | | /// <summary>Field number for the "outline_width" field.</summary> |
| | 7804 | | public const int OutlineWidthFieldNumber = 1; |
| | 7805 | | private float outlineWidth_; |
| | 7806 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7807 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7808 | | public float OutlineWidth { |
| | 7809 | | get { if ((_hasBits0 & 1) != 0) { return outlineWidth_; } else { return 0F; } } |
| | 7810 | | set { |
| | 7811 | | _hasBits0 |= 1; |
| | 7812 | | outlineWidth_ = value; |
| | 7813 | | } |
| | 7814 | | } |
| | 7815 | | /// <summary>Gets whether the "outline_width" field is set</summary> |
| | 7816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7818 | | public bool HasOutlineWidth { |
| | 7819 | | get { return (_hasBits0 & 1) != 0; } |
| | 7820 | | } |
| | 7821 | | /// <summary>Clears the value of the "outline_width" field</summary> |
| | 7822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7824 | | public void ClearOutlineWidth() { |
| | 7825 | | _hasBits0 &= ~1; |
| | 7826 | | } |
| | 7827 | |
|
| | 7828 | | /// <summary>Field number for the "outline_color" field.</summary> |
| | 7829 | | public const int OutlineColorFieldNumber = 2; |
| | 7830 | | private global::Decentraland.Common.Color3 outlineColor_; |
| | 7831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7833 | | public global::Decentraland.Common.Color3 OutlineColor { |
| | 7834 | | get { return outlineColor_; } |
| | 7835 | | set { |
| | 7836 | | outlineColor_ = value; |
| | 7837 | | } |
| | 7838 | | } |
| | 7839 | |
|
| | 7840 | | /// <summary>Field number for the "color" field.</summary> |
| | 7841 | | public const int ColorFieldNumber = 3; |
| | 7842 | | private global::Decentraland.Common.Color3 color_; |
| | 7843 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7844 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7845 | | public global::Decentraland.Common.Color3 Color { |
| | 7846 | | get { return color_; } |
| | 7847 | | set { |
| | 7848 | | color_ = value; |
| | 7849 | | } |
| | 7850 | | } |
| | 7851 | |
|
| | 7852 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 7853 | | public const int FontSizeFieldNumber = 4; |
| | 7854 | | private float fontSize_; |
| | 7855 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7856 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7857 | | public float FontSize { |
| | 7858 | | get { if ((_hasBits0 & 2) != 0) { return fontSize_; } else { return 0F; } } |
| | 7859 | | set { |
| | 7860 | | _hasBits0 |= 2; |
| | 7861 | | fontSize_ = value; |
| | 7862 | | } |
| | 7863 | | } |
| | 7864 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 7865 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7866 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7867 | | public bool HasFontSize { |
| | 7868 | | get { return (_hasBits0 & 2) != 0; } |
| | 7869 | | } |
| | 7870 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 7871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7873 | | public void ClearFontSize() { |
| | 7874 | | _hasBits0 &= ~2; |
| | 7875 | | } |
| | 7876 | |
|
| | 7877 | | /// <summary>Field number for the "font" field.</summary> |
| | 7878 | | public const int FontFieldNumber = 5; |
| | 7879 | | private string font_; |
| | 7880 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7881 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7882 | | public string Font { |
| | 7883 | | get { return font_ ?? ""; } |
| | 7884 | | set { |
| | 7885 | | font_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7886 | | } |
| | 7887 | | } |
| | 7888 | | /// <summary>Gets whether the "font" field is set</summary> |
| | 7889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7891 | | public bool HasFont { |
| | 7892 | | get { return font_ != null; } |
| | 7893 | | } |
| | 7894 | | /// <summary>Clears the value of the "font" field</summary> |
| | 7895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7897 | | public void ClearFont() { |
| | 7898 | | font_ = null; |
| | 7899 | | } |
| | 7900 | |
|
| | 7901 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 7902 | | public const int OpacityFieldNumber = 6; |
| | 7903 | | private float opacity_; |
| | 7904 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7905 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7906 | | public float Opacity { |
| | 7907 | | get { if ((_hasBits0 & 4) != 0) { return opacity_; } else { return 0F; } } |
| | 7908 | | set { |
| | 7909 | | _hasBits0 |= 4; |
| | 7910 | | opacity_ = value; |
| | 7911 | | } |
| | 7912 | | } |
| | 7913 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 7914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7916 | | public bool HasOpacity { |
| | 7917 | | get { return (_hasBits0 & 4) != 0; } |
| | 7918 | | } |
| | 7919 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 7920 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7921 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7922 | | public void ClearOpacity() { |
| | 7923 | | _hasBits0 &= ~4; |
| | 7924 | | } |
| | 7925 | |
|
| | 7926 | | /// <summary>Field number for the "value" field.</summary> |
| | 7927 | | public const int ValueFieldNumber = 7; |
| | 7928 | | private string value_; |
| | 7929 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7930 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7931 | | public string Value { |
| | 7932 | | get { return value_ ?? ""; } |
| | 7933 | | set { |
| | 7934 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7935 | | } |
| | 7936 | | } |
| | 7937 | | /// <summary>Gets whether the "value" field is set</summary> |
| | 7938 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7939 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7940 | | public bool HasValue { |
| | 7941 | | get { return value_ != null; } |
| | 7942 | | } |
| | 7943 | | /// <summary>Clears the value of the "value" field</summary> |
| | 7944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7946 | | public void ClearValue() { |
| | 7947 | | value_ = null; |
| | 7948 | | } |
| | 7949 | |
|
| | 7950 | | /// <summary>Field number for the "line_spacing" field.</summary> |
| | 7951 | | public const int LineSpacingFieldNumber = 8; |
| | 7952 | | private string lineSpacing_; |
| | 7953 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7954 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7955 | | public string LineSpacing { |
| | 7956 | | get { return lineSpacing_ ?? ""; } |
| | 7957 | | set { |
| | 7958 | | lineSpacing_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7959 | | } |
| | 7960 | | } |
| | 7961 | | /// <summary>Gets whether the "line_spacing" field is set</summary> |
| | 7962 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7963 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7964 | | public bool HasLineSpacing { |
| | 7965 | | get { return lineSpacing_ != null; } |
| | 7966 | | } |
| | 7967 | | /// <summary>Clears the value of the "line_spacing" field</summary> |
| | 7968 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7969 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7970 | | public void ClearLineSpacing() { |
| | 7971 | | lineSpacing_ = null; |
| | 7972 | | } |
| | 7973 | |
|
| | 7974 | | /// <summary>Field number for the "line_count" field.</summary> |
| | 7975 | | public const int LineCountFieldNumber = 9; |
| | 7976 | | private int lineCount_; |
| | 7977 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7978 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7979 | | public int LineCount { |
| | 7980 | | get { if ((_hasBits0 & 8) != 0) { return lineCount_; } else { return 0; } } |
| | 7981 | | set { |
| | 7982 | | _hasBits0 |= 8; |
| | 7983 | | lineCount_ = value; |
| | 7984 | | } |
| | 7985 | | } |
| | 7986 | | /// <summary>Gets whether the "line_count" field is set</summary> |
| | 7987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7989 | | public bool HasLineCount { |
| | 7990 | | get { return (_hasBits0 & 8) != 0; } |
| | 7991 | | } |
| | 7992 | | /// <summary>Clears the value of the "line_count" field</summary> |
| | 7993 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7994 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7995 | | public void ClearLineCount() { |
| | 7996 | | _hasBits0 &= ~8; |
| | 7997 | | } |
| | 7998 | |
|
| | 7999 | | /// <summary>Field number for the "text_wrapping" field.</summary> |
| | 8000 | | public const int TextWrappingFieldNumber = 10; |
| | 8001 | | private bool textWrapping_; |
| | 8002 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8003 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8004 | | public bool TextWrapping { |
| | 8005 | | get { if ((_hasBits0 & 16) != 0) { return textWrapping_; } else { return false; } } |
| | 8006 | | set { |
| | 8007 | | _hasBits0 |= 16; |
| | 8008 | | textWrapping_ = value; |
| | 8009 | | } |
| | 8010 | | } |
| | 8011 | | /// <summary>Gets whether the "text_wrapping" field is set</summary> |
| | 8012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8014 | | public bool HasTextWrapping { |
| | 8015 | | get { return (_hasBits0 & 16) != 0; } |
| | 8016 | | } |
| | 8017 | | /// <summary>Clears the value of the "text_wrapping" field</summary> |
| | 8018 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8019 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8020 | | public void ClearTextWrapping() { |
| | 8021 | | _hasBits0 &= ~16; |
| | 8022 | | } |
| | 8023 | |
|
| | 8024 | | /// <summary>Field number for the "shadow_blur" field.</summary> |
| | 8025 | | public const int ShadowBlurFieldNumber = 11; |
| | 8026 | | private float shadowBlur_; |
| | 8027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8029 | | public float ShadowBlur { |
| | 8030 | | get { if ((_hasBits0 & 32) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 8031 | | set { |
| | 8032 | | _hasBits0 |= 32; |
| | 8033 | | shadowBlur_ = value; |
| | 8034 | | } |
| | 8035 | | } |
| | 8036 | | /// <summary>Gets whether the "shadow_blur" field is set</summary> |
| | 8037 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8038 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8039 | | public bool HasShadowBlur { |
| | 8040 | | get { return (_hasBits0 & 32) != 0; } |
| | 8041 | | } |
| | 8042 | | /// <summary>Clears the value of the "shadow_blur" field</summary> |
| | 8043 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8044 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8045 | | public void ClearShadowBlur() { |
| | 8046 | | _hasBits0 &= ~32; |
| | 8047 | | } |
| | 8048 | |
|
| | 8049 | | /// <summary>Field number for the "shadow_offset_x" field.</summary> |
| | 8050 | | public const int ShadowOffsetXFieldNumber = 12; |
| | 8051 | | private float shadowOffsetX_; |
| | 8052 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8053 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8054 | | public float ShadowOffsetX { |
| | 8055 | | get { if ((_hasBits0 & 64) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 8056 | | set { |
| | 8057 | | _hasBits0 |= 64; |
| | 8058 | | shadowOffsetX_ = value; |
| | 8059 | | } |
| | 8060 | | } |
| | 8061 | | /// <summary>Gets whether the "shadow_offset_x" field is set</summary> |
| | 8062 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8063 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8064 | | public bool HasShadowOffsetX { |
| | 8065 | | get { return (_hasBits0 & 64) != 0; } |
| | 8066 | | } |
| | 8067 | | /// <summary>Clears the value of the "shadow_offset_x" field</summary> |
| | 8068 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8069 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8070 | | public void ClearShadowOffsetX() { |
| | 8071 | | _hasBits0 &= ~64; |
| | 8072 | | } |
| | 8073 | |
|
| | 8074 | | /// <summary>Field number for the "shadow_offset_y" field.</summary> |
| | 8075 | | public const int ShadowOffsetYFieldNumber = 13; |
| | 8076 | | private float shadowOffsetY_; |
| | 8077 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8078 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8079 | | public float ShadowOffsetY { |
| | 8080 | | get { if ((_hasBits0 & 128) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 8081 | | set { |
| | 8082 | | _hasBits0 |= 128; |
| | 8083 | | shadowOffsetY_ = value; |
| | 8084 | | } |
| | 8085 | | } |
| | 8086 | | /// <summary>Gets whether the "shadow_offset_y" field is set</summary> |
| | 8087 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8088 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8089 | | public bool HasShadowOffsetY { |
| | 8090 | | get { return (_hasBits0 & 128) != 0; } |
| | 8091 | | } |
| | 8092 | | /// <summary>Clears the value of the "shadow_offset_y" field</summary> |
| | 8093 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8094 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8095 | | public void ClearShadowOffsetY() { |
| | 8096 | | _hasBits0 &= ~128; |
| | 8097 | | } |
| | 8098 | |
|
| | 8099 | | /// <summary>Field number for the "shadow_color" field.</summary> |
| | 8100 | | public const int ShadowColorFieldNumber = 14; |
| | 8101 | | private global::Decentraland.Common.Color3 shadowColor_; |
| | 8102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8103 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8104 | | public global::Decentraland.Common.Color3 ShadowColor { |
| | 8105 | | get { return shadowColor_; } |
| | 8106 | | set { |
| | 8107 | | shadowColor_ = value; |
| | 8108 | | } |
| | 8109 | | } |
| | 8110 | |
|
| | 8111 | | /// <summary>Field number for the "h_text_align" field.</summary> |
| | 8112 | | public const int HTextAlignFieldNumber = 15; |
| | 8113 | | private string hTextAlign_; |
| | 8114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8116 | | public string HTextAlign { |
| | 8117 | | get { return hTextAlign_ ?? ""; } |
| | 8118 | | set { |
| | 8119 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 8120 | | } |
| | 8121 | | } |
| | 8122 | | /// <summary>Gets whether the "h_text_align" field is set</summary> |
| | 8123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8125 | | public bool HasHTextAlign { |
| | 8126 | | get { return hTextAlign_ != null; } |
| | 8127 | | } |
| | 8128 | | /// <summary>Clears the value of the "h_text_align" field</summary> |
| | 8129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8131 | | public void ClearHTextAlign() { |
| | 8132 | | hTextAlign_ = null; |
| | 8133 | | } |
| | 8134 | |
|
| | 8135 | | /// <summary>Field number for the "v_text_align" field.</summary> |
| | 8136 | | public const int VTextAlignFieldNumber = 16; |
| | 8137 | | private string vTextAlign_; |
| | 8138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8140 | | public string VTextAlign { |
| | 8141 | | get { return vTextAlign_ ?? ""; } |
| | 8142 | | set { |
| | 8143 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 8144 | | } |
| | 8145 | | } |
| | 8146 | | /// <summary>Gets whether the "v_text_align" field is set</summary> |
| | 8147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8149 | | public bool HasVTextAlign { |
| | 8150 | | get { return vTextAlign_ != null; } |
| | 8151 | | } |
| | 8152 | | /// <summary>Clears the value of the "v_text_align" field</summary> |
| | 8153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8155 | | public void ClearVTextAlign() { |
| | 8156 | | vTextAlign_ = null; |
| | 8157 | | } |
| | 8158 | |
|
| | 8159 | | /// <summary>Field number for the "width" field.</summary> |
| | 8160 | | public const int WidthFieldNumber = 17; |
| | 8161 | | private float width_; |
| | 8162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8164 | | public float Width { |
| | 8165 | | get { if ((_hasBits0 & 256) != 0) { return width_; } else { return 0F; } } |
| | 8166 | | set { |
| | 8167 | | _hasBits0 |= 256; |
| | 8168 | | width_ = value; |
| | 8169 | | } |
| | 8170 | | } |
| | 8171 | | /// <summary>Gets whether the "width" field is set</summary> |
| | 8172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8174 | | public bool HasWidth { |
| | 8175 | | get { return (_hasBits0 & 256) != 0; } |
| | 8176 | | } |
| | 8177 | | /// <summary>Clears the value of the "width" field</summary> |
| | 8178 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8179 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8180 | | public void ClearWidth() { |
| | 8181 | | _hasBits0 &= ~256; |
| | 8182 | | } |
| | 8183 | |
|
| | 8184 | | /// <summary>Field number for the "height" field.</summary> |
| | 8185 | | public const int HeightFieldNumber = 18; |
| | 8186 | | private float height_; |
| | 8187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8189 | | public float Height { |
| | 8190 | | get { if ((_hasBits0 & 512) != 0) { return height_; } else { return 0F; } } |
| | 8191 | | set { |
| | 8192 | | _hasBits0 |= 512; |
| | 8193 | | height_ = value; |
| | 8194 | | } |
| | 8195 | | } |
| | 8196 | | /// <summary>Gets whether the "height" field is set</summary> |
| | 8197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8199 | | public bool HasHeight { |
| | 8200 | | get { return (_hasBits0 & 512) != 0; } |
| | 8201 | | } |
| | 8202 | | /// <summary>Clears the value of the "height" field</summary> |
| | 8203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8205 | | public void ClearHeight() { |
| | 8206 | | _hasBits0 &= ~512; |
| | 8207 | | } |
| | 8208 | |
|
| | 8209 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 8210 | | public const int PaddingTopFieldNumber = 19; |
| | 8211 | | private float paddingTop_; |
| | 8212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8214 | | public float PaddingTop { |
| | 8215 | | get { if ((_hasBits0 & 1024) != 0) { return paddingTop_; } else { return 0F; } } |
| | 8216 | | set { |
| | 8217 | | _hasBits0 |= 1024; |
| | 8218 | | paddingTop_ = value; |
| | 8219 | | } |
| | 8220 | | } |
| | 8221 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 8222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8224 | | public bool HasPaddingTop { |
| | 8225 | | get { return (_hasBits0 & 1024) != 0; } |
| | 8226 | | } |
| | 8227 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 8228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8230 | | public void ClearPaddingTop() { |
| | 8231 | | _hasBits0 &= ~1024; |
| | 8232 | | } |
| | 8233 | |
|
| | 8234 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 8235 | | public const int PaddingRightFieldNumber = 20; |
| | 8236 | | private float paddingRight_; |
| | 8237 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8238 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8239 | | public float PaddingRight { |
| | 8240 | | get { if ((_hasBits0 & 2048) != 0) { return paddingRight_; } else { return 0F; } } |
| | 8241 | | set { |
| | 8242 | | _hasBits0 |= 2048; |
| | 8243 | | paddingRight_ = value; |
| | 8244 | | } |
| | 8245 | | } |
| | 8246 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 8247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8249 | | public bool HasPaddingRight { |
| | 8250 | | get { return (_hasBits0 & 2048) != 0; } |
| | 8251 | | } |
| | 8252 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 8253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8255 | | public void ClearPaddingRight() { |
| | 8256 | | _hasBits0 &= ~2048; |
| | 8257 | | } |
| | 8258 | |
|
| | 8259 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 8260 | | public const int PaddingBottomFieldNumber = 21; |
| | 8261 | | private float paddingBottom_; |
| | 8262 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8263 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8264 | | public float PaddingBottom { |
| | 8265 | | get { if ((_hasBits0 & 4096) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 8266 | | set { |
| | 8267 | | _hasBits0 |= 4096; |
| | 8268 | | paddingBottom_ = value; |
| | 8269 | | } |
| | 8270 | | } |
| | 8271 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 8272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8274 | | public bool HasPaddingBottom { |
| | 8275 | | get { return (_hasBits0 & 4096) != 0; } |
| | 8276 | | } |
| | 8277 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 8278 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8279 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8280 | | public void ClearPaddingBottom() { |
| | 8281 | | _hasBits0 &= ~4096; |
| | 8282 | | } |
| | 8283 | |
|
| | 8284 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 8285 | | public const int PaddingLeftFieldNumber = 22; |
| | 8286 | | private float paddingLeft_; |
| | 8287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8289 | | public float PaddingLeft { |
| | 8290 | | get { if ((_hasBits0 & 8192) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 8291 | | set { |
| | 8292 | | _hasBits0 |= 8192; |
| | 8293 | | paddingLeft_ = value; |
| | 8294 | | } |
| | 8295 | | } |
| | 8296 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 8297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8299 | | public bool HasPaddingLeft { |
| | 8300 | | get { return (_hasBits0 & 8192) != 0; } |
| | 8301 | | } |
| | 8302 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 8303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8305 | | public void ClearPaddingLeft() { |
| | 8306 | | _hasBits0 &= ~8192; |
| | 8307 | | } |
| | 8308 | |
|
| | 8309 | | /// <summary>Field number for the "billboard" field.</summary> |
| | 8310 | | public const int BillboardFieldNumber = 23; |
| | 8311 | | private bool billboard_; |
| | 8312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8314 | | public bool Billboard { |
| | 8315 | | get { if ((_hasBits0 & 16384) != 0) { return billboard_; } else { return false; } } |
| | 8316 | | set { |
| | 8317 | | _hasBits0 |= 16384; |
| | 8318 | | billboard_ = value; |
| | 8319 | | } |
| | 8320 | | } |
| | 8321 | | /// <summary>Gets whether the "billboard" field is set</summary> |
| | 8322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8324 | | public bool HasBillboard { |
| | 8325 | | get { return (_hasBits0 & 16384) != 0; } |
| | 8326 | | } |
| | 8327 | | /// <summary>Clears the value of the "billboard" field</summary> |
| | 8328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8330 | | public void ClearBillboard() { |
| | 8331 | | _hasBits0 &= ~16384; |
| | 8332 | | } |
| | 8333 | |
|
| | 8334 | | /// <summary>Field number for the "visible" field.</summary> |
| | 8335 | | public const int VisibleFieldNumber = 24; |
| | 8336 | | private bool visible_; |
| | 8337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8339 | | public bool Visible { |
| | 8340 | | get { if ((_hasBits0 & 32768) != 0) { return visible_; } else { return false; } } |
| | 8341 | | set { |
| | 8342 | | _hasBits0 |= 32768; |
| | 8343 | | visible_ = value; |
| | 8344 | | } |
| | 8345 | | } |
| | 8346 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 8347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8349 | | public bool HasVisible { |
| | 8350 | | get { return (_hasBits0 & 32768) != 0; } |
| | 8351 | | } |
| | 8352 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 8353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8355 | | public void ClearVisible() { |
| | 8356 | | _hasBits0 &= ~32768; |
| | 8357 | | } |
| | 8358 | |
|
| | 8359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8361 | | public override bool Equals(object other) { |
| | 8362 | | return Equals(other as ECS6ComponentTextShape); |
| | 8363 | | } |
| | 8364 | |
|
| | 8365 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8366 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8367 | | public bool Equals(ECS6ComponentTextShape other) { |
| | 8368 | | if (ReferenceEquals(other, null)) { |
| | 8369 | | return false; |
| | 8370 | | } |
| | 8371 | | if (ReferenceEquals(other, this)) { |
| | 8372 | | return true; |
| | 8373 | | } |
| | 8374 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 8375 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 8376 | | if (!object.Equals(Color, other.Color)) return false; |
| | 8377 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 8378 | | if (Font != other.Font) return false; |
| | 8379 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 8380 | | if (Value != other.Value) return false; |
| | 8381 | | if (LineSpacing != other.LineSpacing) return false; |
| | 8382 | | if (LineCount != other.LineCount) return false; |
| | 8383 | | if (TextWrapping != other.TextWrapping) return false; |
| | 8384 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 8385 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 8386 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 8387 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 8388 | | if (HTextAlign != other.HTextAlign) return false; |
| | 8389 | | if (VTextAlign != other.VTextAlign) return false; |
| | 8390 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 8391 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 8392 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 8393 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 8394 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 8395 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 8396 | | if (Billboard != other.Billboard) return false; |
| | 8397 | | if (Visible != other.Visible) return false; |
| | 8398 | | return Equals(_unknownFields, other._unknownFields); |
| | 8399 | | } |
| | 8400 | |
|
| | 8401 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8402 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8403 | | public override int GetHashCode() { |
| | 8404 | | int hash = 1; |
| | 8405 | | if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth |
| | 8406 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 8407 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 8408 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 8409 | | if (HasFont) hash ^= Font.GetHashCode(); |
| | 8410 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 8411 | | if (HasValue) hash ^= Value.GetHashCode(); |
| | 8412 | | if (HasLineSpacing) hash ^= LineSpacing.GetHashCode(); |
| | 8413 | | if (HasLineCount) hash ^= LineCount.GetHashCode(); |
| | 8414 | | if (HasTextWrapping) hash ^= TextWrapping.GetHashCode(); |
| | 8415 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| | 8416 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 8417 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 8418 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 8419 | | if (HasHTextAlign) hash ^= HTextAlign.GetHashCode(); |
| | 8420 | | if (HasVTextAlign) hash ^= VTextAlign.GetHashCode(); |
| | 8421 | | if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 8422 | | if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 8423 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 8424 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 8425 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 8426 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 8427 | | if (HasBillboard) hash ^= Billboard.GetHashCode(); |
| | 8428 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 8429 | | if (_unknownFields != null) { |
| | 8430 | | hash ^= _unknownFields.GetHashCode(); |
| | 8431 | | } |
| | 8432 | | return hash; |
| | 8433 | | } |
| | 8434 | |
|
| | 8435 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8436 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8437 | | public override string ToString() { |
| | 8438 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 8439 | | } |
| | 8440 | |
|
| | 8441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8443 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 8444 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8445 | | output.WriteRawMessage(this); |
| | 8446 | | #else |
| | 8447 | | if (HasOutlineWidth) { |
| | 8448 | | output.WriteRawTag(13); |
| | 8449 | | output.WriteFloat(OutlineWidth); |
| | 8450 | | } |
| | 8451 | | if (outlineColor_ != null) { |
| | 8452 | | output.WriteRawTag(18); |
| | 8453 | | output.WriteMessage(OutlineColor); |
| | 8454 | | } |
| | 8455 | | if (color_ != null) { |
| | 8456 | | output.WriteRawTag(26); |
| | 8457 | | output.WriteMessage(Color); |
| | 8458 | | } |
| | 8459 | | if (HasFontSize) { |
| | 8460 | | output.WriteRawTag(37); |
| | 8461 | | output.WriteFloat(FontSize); |
| | 8462 | | } |
| | 8463 | | if (HasFont) { |
| | 8464 | | output.WriteRawTag(42); |
| | 8465 | | output.WriteString(Font); |
| | 8466 | | } |
| | 8467 | | if (HasOpacity) { |
| | 8468 | | output.WriteRawTag(53); |
| | 8469 | | output.WriteFloat(Opacity); |
| | 8470 | | } |
| | 8471 | | if (HasValue) { |
| | 8472 | | output.WriteRawTag(58); |
| | 8473 | | output.WriteString(Value); |
| | 8474 | | } |
| | 8475 | | if (HasLineSpacing) { |
| | 8476 | | output.WriteRawTag(66); |
| | 8477 | | output.WriteString(LineSpacing); |
| | 8478 | | } |
| | 8479 | | if (HasLineCount) { |
| | 8480 | | output.WriteRawTag(72); |
| | 8481 | | output.WriteInt32(LineCount); |
| | 8482 | | } |
| | 8483 | | if (HasTextWrapping) { |
| | 8484 | | output.WriteRawTag(80); |
| | 8485 | | output.WriteBool(TextWrapping); |
| | 8486 | | } |
| | 8487 | | if (HasShadowBlur) { |
| | 8488 | | output.WriteRawTag(93); |
| | 8489 | | output.WriteFloat(ShadowBlur); |
| | 8490 | | } |
| | 8491 | | if (HasShadowOffsetX) { |
| | 8492 | | output.WriteRawTag(101); |
| | 8493 | | output.WriteFloat(ShadowOffsetX); |
| | 8494 | | } |
| | 8495 | | if (HasShadowOffsetY) { |
| | 8496 | | output.WriteRawTag(109); |
| | 8497 | | output.WriteFloat(ShadowOffsetY); |
| | 8498 | | } |
| | 8499 | | if (shadowColor_ != null) { |
| | 8500 | | output.WriteRawTag(114); |
| | 8501 | | output.WriteMessage(ShadowColor); |
| | 8502 | | } |
| | 8503 | | if (HasHTextAlign) { |
| | 8504 | | output.WriteRawTag(122); |
| | 8505 | | output.WriteString(HTextAlign); |
| | 8506 | | } |
| | 8507 | | if (HasVTextAlign) { |
| | 8508 | | output.WriteRawTag(130, 1); |
| | 8509 | | output.WriteString(VTextAlign); |
| | 8510 | | } |
| | 8511 | | if (HasWidth) { |
| | 8512 | | output.WriteRawTag(141, 1); |
| | 8513 | | output.WriteFloat(Width); |
| | 8514 | | } |
| | 8515 | | if (HasHeight) { |
| | 8516 | | output.WriteRawTag(149, 1); |
| | 8517 | | output.WriteFloat(Height); |
| | 8518 | | } |
| | 8519 | | if (HasPaddingTop) { |
| | 8520 | | output.WriteRawTag(157, 1); |
| | 8521 | | output.WriteFloat(PaddingTop); |
| | 8522 | | } |
| | 8523 | | if (HasPaddingRight) { |
| | 8524 | | output.WriteRawTag(165, 1); |
| | 8525 | | output.WriteFloat(PaddingRight); |
| | 8526 | | } |
| | 8527 | | if (HasPaddingBottom) { |
| | 8528 | | output.WriteRawTag(173, 1); |
| | 8529 | | output.WriteFloat(PaddingBottom); |
| | 8530 | | } |
| | 8531 | | if (HasPaddingLeft) { |
| | 8532 | | output.WriteRawTag(181, 1); |
| | 8533 | | output.WriteFloat(PaddingLeft); |
| | 8534 | | } |
| | 8535 | | if (HasBillboard) { |
| | 8536 | | output.WriteRawTag(184, 1); |
| | 8537 | | output.WriteBool(Billboard); |
| | 8538 | | } |
| | 8539 | | if (HasVisible) { |
| | 8540 | | output.WriteRawTag(192, 1); |
| | 8541 | | output.WriteBool(Visible); |
| | 8542 | | } |
| | 8543 | | if (_unknownFields != null) { |
| | 8544 | | _unknownFields.WriteTo(output); |
| | 8545 | | } |
| | 8546 | | #endif |
| | 8547 | | } |
| | 8548 | |
|
| | 8549 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8550 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8551 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8552 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 8553 | | if (HasOutlineWidth) { |
| | 8554 | | output.WriteRawTag(13); |
| | 8555 | | output.WriteFloat(OutlineWidth); |
| | 8556 | | } |
| | 8557 | | if (outlineColor_ != null) { |
| | 8558 | | output.WriteRawTag(18); |
| | 8559 | | output.WriteMessage(OutlineColor); |
| | 8560 | | } |
| | 8561 | | if (color_ != null) { |
| | 8562 | | output.WriteRawTag(26); |
| | 8563 | | output.WriteMessage(Color); |
| | 8564 | | } |
| | 8565 | | if (HasFontSize) { |
| | 8566 | | output.WriteRawTag(37); |
| | 8567 | | output.WriteFloat(FontSize); |
| | 8568 | | } |
| | 8569 | | if (HasFont) { |
| | 8570 | | output.WriteRawTag(42); |
| | 8571 | | output.WriteString(Font); |
| | 8572 | | } |
| | 8573 | | if (HasOpacity) { |
| | 8574 | | output.WriteRawTag(53); |
| | 8575 | | output.WriteFloat(Opacity); |
| | 8576 | | } |
| | 8577 | | if (HasValue) { |
| | 8578 | | output.WriteRawTag(58); |
| | 8579 | | output.WriteString(Value); |
| | 8580 | | } |
| | 8581 | | if (HasLineSpacing) { |
| | 8582 | | output.WriteRawTag(66); |
| | 8583 | | output.WriteString(LineSpacing); |
| | 8584 | | } |
| | 8585 | | if (HasLineCount) { |
| | 8586 | | output.WriteRawTag(72); |
| | 8587 | | output.WriteInt32(LineCount); |
| | 8588 | | } |
| | 8589 | | if (HasTextWrapping) { |
| | 8590 | | output.WriteRawTag(80); |
| | 8591 | | output.WriteBool(TextWrapping); |
| | 8592 | | } |
| | 8593 | | if (HasShadowBlur) { |
| | 8594 | | output.WriteRawTag(93); |
| | 8595 | | output.WriteFloat(ShadowBlur); |
| | 8596 | | } |
| | 8597 | | if (HasShadowOffsetX) { |
| | 8598 | | output.WriteRawTag(101); |
| | 8599 | | output.WriteFloat(ShadowOffsetX); |
| | 8600 | | } |
| | 8601 | | if (HasShadowOffsetY) { |
| | 8602 | | output.WriteRawTag(109); |
| | 8603 | | output.WriteFloat(ShadowOffsetY); |
| | 8604 | | } |
| | 8605 | | if (shadowColor_ != null) { |
| | 8606 | | output.WriteRawTag(114); |
| | 8607 | | output.WriteMessage(ShadowColor); |
| | 8608 | | } |
| | 8609 | | if (HasHTextAlign) { |
| | 8610 | | output.WriteRawTag(122); |
| | 8611 | | output.WriteString(HTextAlign); |
| | 8612 | | } |
| | 8613 | | if (HasVTextAlign) { |
| | 8614 | | output.WriteRawTag(130, 1); |
| | 8615 | | output.WriteString(VTextAlign); |
| | 8616 | | } |
| | 8617 | | if (HasWidth) { |
| | 8618 | | output.WriteRawTag(141, 1); |
| | 8619 | | output.WriteFloat(Width); |
| | 8620 | | } |
| | 8621 | | if (HasHeight) { |
| | 8622 | | output.WriteRawTag(149, 1); |
| | 8623 | | output.WriteFloat(Height); |
| | 8624 | | } |
| | 8625 | | if (HasPaddingTop) { |
| | 8626 | | output.WriteRawTag(157, 1); |
| | 8627 | | output.WriteFloat(PaddingTop); |
| | 8628 | | } |
| | 8629 | | if (HasPaddingRight) { |
| | 8630 | | output.WriteRawTag(165, 1); |
| | 8631 | | output.WriteFloat(PaddingRight); |
| | 8632 | | } |
| | 8633 | | if (HasPaddingBottom) { |
| | 8634 | | output.WriteRawTag(173, 1); |
| | 8635 | | output.WriteFloat(PaddingBottom); |
| | 8636 | | } |
| | 8637 | | if (HasPaddingLeft) { |
| | 8638 | | output.WriteRawTag(181, 1); |
| | 8639 | | output.WriteFloat(PaddingLeft); |
| | 8640 | | } |
| | 8641 | | if (HasBillboard) { |
| | 8642 | | output.WriteRawTag(184, 1); |
| | 8643 | | output.WriteBool(Billboard); |
| | 8644 | | } |
| | 8645 | | if (HasVisible) { |
| | 8646 | | output.WriteRawTag(192, 1); |
| | 8647 | | output.WriteBool(Visible); |
| | 8648 | | } |
| | 8649 | | if (_unknownFields != null) { |
| | 8650 | | _unknownFields.WriteTo(ref output); |
| | 8651 | | } |
| | 8652 | | } |
| | 8653 | | #endif |
| | 8654 | |
|
| | 8655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8657 | | public int CalculateSize() { |
| | 8658 | | int size = 0; |
| | 8659 | | if (HasOutlineWidth) { |
| | 8660 | | size += 1 + 4; |
| | 8661 | | } |
| | 8662 | | if (outlineColor_ != null) { |
| | 8663 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 8664 | | } |
| | 8665 | | if (color_ != null) { |
| | 8666 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 8667 | | } |
| | 8668 | | if (HasFontSize) { |
| | 8669 | | size += 1 + 4; |
| | 8670 | | } |
| | 8671 | | if (HasFont) { |
| | 8672 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Font); |
| | 8673 | | } |
| | 8674 | | if (HasOpacity) { |
| | 8675 | | size += 1 + 4; |
| | 8676 | | } |
| | 8677 | | if (HasValue) { |
| | 8678 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 8679 | | } |
| | 8680 | | if (HasLineSpacing) { |
| | 8681 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(LineSpacing); |
| | 8682 | | } |
| | 8683 | | if (HasLineCount) { |
| | 8684 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineCount); |
| | 8685 | | } |
| | 8686 | | if (HasTextWrapping) { |
| | 8687 | | size += 1 + 1; |
| | 8688 | | } |
| | 8689 | | if (HasShadowBlur) { |
| | 8690 | | size += 1 + 4; |
| | 8691 | | } |
| | 8692 | | if (HasShadowOffsetX) { |
| | 8693 | | size += 1 + 4; |
| | 8694 | | } |
| | 8695 | | if (HasShadowOffsetY) { |
| | 8696 | | size += 1 + 4; |
| | 8697 | | } |
| | 8698 | | if (shadowColor_ != null) { |
| | 8699 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 8700 | | } |
| | 8701 | | if (HasHTextAlign) { |
| | 8702 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 8703 | | } |
| | 8704 | | if (HasVTextAlign) { |
| | 8705 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 8706 | | } |
| | 8707 | | if (HasWidth) { |
| | 8708 | | size += 2 + 4; |
| | 8709 | | } |
| | 8710 | | if (HasHeight) { |
| | 8711 | | size += 2 + 4; |
| | 8712 | | } |
| | 8713 | | if (HasPaddingTop) { |
| | 8714 | | size += 2 + 4; |
| | 8715 | | } |
| | 8716 | | if (HasPaddingRight) { |
| | 8717 | | size += 2 + 4; |
| | 8718 | | } |
| | 8719 | | if (HasPaddingBottom) { |
| | 8720 | | size += 2 + 4; |
| | 8721 | | } |
| | 8722 | | if (HasPaddingLeft) { |
| | 8723 | | size += 2 + 4; |
| | 8724 | | } |
| | 8725 | | if (HasBillboard) { |
| | 8726 | | size += 2 + 1; |
| | 8727 | | } |
| | 8728 | | if (HasVisible) { |
| | 8729 | | size += 2 + 1; |
| | 8730 | | } |
| | 8731 | | if (_unknownFields != null) { |
| | 8732 | | size += _unknownFields.CalculateSize(); |
| | 8733 | | } |
| | 8734 | | return size; |
| | 8735 | | } |
| | 8736 | |
|
| | 8737 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8738 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8739 | | public void MergeFrom(ECS6ComponentTextShape other) { |
| | 8740 | | if (other == null) { |
| | 8741 | | return; |
| | 8742 | | } |
| | 8743 | | if (other.HasOutlineWidth) { |
| | 8744 | | OutlineWidth = other.OutlineWidth; |
| | 8745 | | } |
| | 8746 | | if (other.outlineColor_ != null) { |
| | 8747 | | if (outlineColor_ == null) { |
| | 8748 | | OutlineColor = new global::Decentraland.Common.Color3(); |
| | 8749 | | } |
| | 8750 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 8751 | | } |
| | 8752 | | if (other.color_ != null) { |
| | 8753 | | if (color_ == null) { |
| | 8754 | | Color = new global::Decentraland.Common.Color3(); |
| | 8755 | | } |
| | 8756 | | Color.MergeFrom(other.Color); |
| | 8757 | | } |
| | 8758 | | if (other.HasFontSize) { |
| | 8759 | | FontSize = other.FontSize; |
| | 8760 | | } |
| | 8761 | | if (other.HasFont) { |
| | 8762 | | Font = other.Font; |
| | 8763 | | } |
| | 8764 | | if (other.HasOpacity) { |
| | 8765 | | Opacity = other.Opacity; |
| | 8766 | | } |
| | 8767 | | if (other.HasValue) { |
| | 8768 | | Value = other.Value; |
| | 8769 | | } |
| | 8770 | | if (other.HasLineSpacing) { |
| | 8771 | | LineSpacing = other.LineSpacing; |
| | 8772 | | } |
| | 8773 | | if (other.HasLineCount) { |
| | 8774 | | LineCount = other.LineCount; |
| | 8775 | | } |
| | 8776 | | if (other.HasTextWrapping) { |
| | 8777 | | TextWrapping = other.TextWrapping; |
| | 8778 | | } |
| | 8779 | | if (other.HasShadowBlur) { |
| | 8780 | | ShadowBlur = other.ShadowBlur; |
| | 8781 | | } |
| | 8782 | | if (other.HasShadowOffsetX) { |
| | 8783 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 8784 | | } |
| | 8785 | | if (other.HasShadowOffsetY) { |
| | 8786 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 8787 | | } |
| | 8788 | | if (other.shadowColor_ != null) { |
| | 8789 | | if (shadowColor_ == null) { |
| | 8790 | | ShadowColor = new global::Decentraland.Common.Color3(); |
| | 8791 | | } |
| | 8792 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 8793 | | } |
| | 8794 | | if (other.HasHTextAlign) { |
| | 8795 | | HTextAlign = other.HTextAlign; |
| | 8796 | | } |
| | 8797 | | if (other.HasVTextAlign) { |
| | 8798 | | VTextAlign = other.VTextAlign; |
| | 8799 | | } |
| | 8800 | | if (other.HasWidth) { |
| | 8801 | | Width = other.Width; |
| | 8802 | | } |
| | 8803 | | if (other.HasHeight) { |
| | 8804 | | Height = other.Height; |
| | 8805 | | } |
| | 8806 | | if (other.HasPaddingTop) { |
| | 8807 | | PaddingTop = other.PaddingTop; |
| | 8808 | | } |
| | 8809 | | if (other.HasPaddingRight) { |
| | 8810 | | PaddingRight = other.PaddingRight; |
| | 8811 | | } |
| | 8812 | | if (other.HasPaddingBottom) { |
| | 8813 | | PaddingBottom = other.PaddingBottom; |
| | 8814 | | } |
| | 8815 | | if (other.HasPaddingLeft) { |
| | 8816 | | PaddingLeft = other.PaddingLeft; |
| | 8817 | | } |
| | 8818 | | if (other.HasBillboard) { |
| | 8819 | | Billboard = other.Billboard; |
| | 8820 | | } |
| | 8821 | | if (other.HasVisible) { |
| | 8822 | | Visible = other.Visible; |
| | 8823 | | } |
| | 8824 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 8825 | | } |
| | 8826 | |
|
| | 8827 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8828 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8829 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 8830 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8831 | | input.ReadRawMessage(this); |
| | 8832 | | #else |
| | 8833 | | uint tag; |
| | 8834 | | while ((tag = input.ReadTag()) != 0) { |
| | 8835 | | switch(tag) { |
| | 8836 | | default: |
| | 8837 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 8838 | | break; |
| | 8839 | | case 13: { |
| | 8840 | | OutlineWidth = input.ReadFloat(); |
| | 8841 | | break; |
| | 8842 | | } |
| | 8843 | | case 18: { |
| | 8844 | | if (outlineColor_ == null) { |
| | 8845 | | OutlineColor = new global::Decentraland.Common.Color3(); |
| | 8846 | | } |
| | 8847 | | input.ReadMessage(OutlineColor); |
| | 8848 | | break; |
| | 8849 | | } |
| | 8850 | | case 26: { |
| | 8851 | | if (color_ == null) { |
| | 8852 | | Color = new global::Decentraland.Common.Color3(); |
| | 8853 | | } |
| | 8854 | | input.ReadMessage(Color); |
| | 8855 | | break; |
| | 8856 | | } |
| | 8857 | | case 37: { |
| | 8858 | | FontSize = input.ReadFloat(); |
| | 8859 | | break; |
| | 8860 | | } |
| | 8861 | | case 42: { |
| | 8862 | | Font = input.ReadString(); |
| | 8863 | | break; |
| | 8864 | | } |
| | 8865 | | case 53: { |
| | 8866 | | Opacity = input.ReadFloat(); |
| | 8867 | | break; |
| | 8868 | | } |
| | 8869 | | case 58: { |
| | 8870 | | Value = input.ReadString(); |
| | 8871 | | break; |
| | 8872 | | } |
| | 8873 | | case 66: { |
| | 8874 | | LineSpacing = input.ReadString(); |
| | 8875 | | break; |
| | 8876 | | } |
| | 8877 | | case 72: { |
| | 8878 | | LineCount = input.ReadInt32(); |
| | 8879 | | break; |
| | 8880 | | } |
| | 8881 | | case 80: { |
| | 8882 | | TextWrapping = input.ReadBool(); |
| | 8883 | | break; |
| | 8884 | | } |
| | 8885 | | case 93: { |
| | 8886 | | ShadowBlur = input.ReadFloat(); |
| | 8887 | | break; |
| | 8888 | | } |
| | 8889 | | case 101: { |
| | 8890 | | ShadowOffsetX = input.ReadFloat(); |
| | 8891 | | break; |
| | 8892 | | } |
| | 8893 | | case 109: { |
| | 8894 | | ShadowOffsetY = input.ReadFloat(); |
| | 8895 | | break; |
| | 8896 | | } |
| | 8897 | | case 114: { |
| | 8898 | | if (shadowColor_ == null) { |
| | 8899 | | ShadowColor = new global::Decentraland.Common.Color3(); |
| | 8900 | | } |
| | 8901 | | input.ReadMessage(ShadowColor); |
| | 8902 | | break; |
| | 8903 | | } |
| | 8904 | | case 122: { |
| | 8905 | | HTextAlign = input.ReadString(); |
| | 8906 | | break; |
| | 8907 | | } |
| | 8908 | | case 130: { |
| | 8909 | | VTextAlign = input.ReadString(); |
| | 8910 | | break; |
| | 8911 | | } |
| | 8912 | | case 141: { |
| | 8913 | | Width = input.ReadFloat(); |
| | 8914 | | break; |
| | 8915 | | } |
| | 8916 | | case 149: { |
| | 8917 | | Height = input.ReadFloat(); |
| | 8918 | | break; |
| | 8919 | | } |
| | 8920 | | case 157: { |
| | 8921 | | PaddingTop = input.ReadFloat(); |
| | 8922 | | break; |
| | 8923 | | } |
| | 8924 | | case 165: { |
| | 8925 | | PaddingRight = input.ReadFloat(); |
| | 8926 | | break; |
| | 8927 | | } |
| | 8928 | | case 173: { |
| | 8929 | | PaddingBottom = input.ReadFloat(); |
| | 8930 | | break; |
| | 8931 | | } |
| | 8932 | | case 181: { |
| | 8933 | | PaddingLeft = input.ReadFloat(); |
| | 8934 | | break; |
| | 8935 | | } |
| | 8936 | | case 184: { |
| | 8937 | | Billboard = input.ReadBool(); |
| | 8938 | | break; |
| | 8939 | | } |
| | 8940 | | case 192: { |
| | 8941 | | Visible = input.ReadBool(); |
| | 8942 | | break; |
| | 8943 | | } |
| | 8944 | | } |
| | 8945 | | } |
| | 8946 | | #endif |
| | 8947 | | } |
| | 8948 | |
|
| | 8949 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8950 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8951 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8952 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 8953 | | uint tag; |
| | 8954 | | while ((tag = input.ReadTag()) != 0) { |
| | 8955 | | switch(tag) { |
| | 8956 | | default: |
| | 8957 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 8958 | | break; |
| | 8959 | | case 13: { |
| | 8960 | | OutlineWidth = input.ReadFloat(); |
| | 8961 | | break; |
| | 8962 | | } |
| | 8963 | | case 18: { |
| | 8964 | | if (outlineColor_ == null) { |
| | 8965 | | OutlineColor = new global::Decentraland.Common.Color3(); |
| | 8966 | | } |
| | 8967 | | input.ReadMessage(OutlineColor); |
| | 8968 | | break; |
| | 8969 | | } |
| | 8970 | | case 26: { |
| | 8971 | | if (color_ == null) { |
| | 8972 | | Color = new global::Decentraland.Common.Color3(); |
| | 8973 | | } |
| | 8974 | | input.ReadMessage(Color); |
| | 8975 | | break; |
| | 8976 | | } |
| | 8977 | | case 37: { |
| | 8978 | | FontSize = input.ReadFloat(); |
| | 8979 | | break; |
| | 8980 | | } |
| | 8981 | | case 42: { |
| | 8982 | | Font = input.ReadString(); |
| | 8983 | | break; |
| | 8984 | | } |
| | 8985 | | case 53: { |
| | 8986 | | Opacity = input.ReadFloat(); |
| | 8987 | | break; |
| | 8988 | | } |
| | 8989 | | case 58: { |
| | 8990 | | Value = input.ReadString(); |
| | 8991 | | break; |
| | 8992 | | } |
| | 8993 | | case 66: { |
| | 8994 | | LineSpacing = input.ReadString(); |
| | 8995 | | break; |
| | 8996 | | } |
| | 8997 | | case 72: { |
| | 8998 | | LineCount = input.ReadInt32(); |
| | 8999 | | break; |
| | 9000 | | } |
| | 9001 | | case 80: { |
| | 9002 | | TextWrapping = input.ReadBool(); |
| | 9003 | | break; |
| | 9004 | | } |
| | 9005 | | case 93: { |
| | 9006 | | ShadowBlur = input.ReadFloat(); |
| | 9007 | | break; |
| | 9008 | | } |
| | 9009 | | case 101: { |
| | 9010 | | ShadowOffsetX = input.ReadFloat(); |
| | 9011 | | break; |
| | 9012 | | } |
| | 9013 | | case 109: { |
| | 9014 | | ShadowOffsetY = input.ReadFloat(); |
| | 9015 | | break; |
| | 9016 | | } |
| | 9017 | | case 114: { |
| | 9018 | | if (shadowColor_ == null) { |
| | 9019 | | ShadowColor = new global::Decentraland.Common.Color3(); |
| | 9020 | | } |
| | 9021 | | input.ReadMessage(ShadowColor); |
| | 9022 | | break; |
| | 9023 | | } |
| | 9024 | | case 122: { |
| | 9025 | | HTextAlign = input.ReadString(); |
| | 9026 | | break; |
| | 9027 | | } |
| | 9028 | | case 130: { |
| | 9029 | | VTextAlign = input.ReadString(); |
| | 9030 | | break; |
| | 9031 | | } |
| | 9032 | | case 141: { |
| | 9033 | | Width = input.ReadFloat(); |
| | 9034 | | break; |
| | 9035 | | } |
| | 9036 | | case 149: { |
| | 9037 | | Height = input.ReadFloat(); |
| | 9038 | | break; |
| | 9039 | | } |
| | 9040 | | case 157: { |
| | 9041 | | PaddingTop = input.ReadFloat(); |
| | 9042 | | break; |
| | 9043 | | } |
| | 9044 | | case 165: { |
| | 9045 | | PaddingRight = input.ReadFloat(); |
| | 9046 | | break; |
| | 9047 | | } |
| | 9048 | | case 173: { |
| | 9049 | | PaddingBottom = input.ReadFloat(); |
| | 9050 | | break; |
| | 9051 | | } |
| | 9052 | | case 181: { |
| | 9053 | | PaddingLeft = input.ReadFloat(); |
| | 9054 | | break; |
| | 9055 | | } |
| | 9056 | | case 184: { |
| | 9057 | | Billboard = input.ReadBool(); |
| | 9058 | | break; |
| | 9059 | | } |
| | 9060 | | case 192: { |
| | 9061 | | Visible = input.ReadBool(); |
| | 9062 | | break; |
| | 9063 | | } |
| | 9064 | | } |
| | 9065 | | } |
| | 9066 | | } |
| | 9067 | | #endif |
| | 9068 | |
|
| | 9069 | | } |
| | 9070 | |
|
| | 9071 | | /// <summary> |
| | 9072 | | /// CLASS_ID.PBR_MATERIAL |
| | 9073 | | /// </summary> |
| | 9074 | | public sealed partial class ECS6ComponentMaterial : pb::IMessage<ECS6ComponentMaterial> |
| | 9075 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9076 | | , pb::IBufferMessage |
| | 9077 | | #endif |
| | 9078 | | { |
| | 9079 | | private static readonly pb::MessageParser<ECS6ComponentMaterial> _parser = new pb::MessageParser<ECS6ComponentMateri |
| | 9080 | | private pb::UnknownFieldSet _unknownFields; |
| | 9081 | | private int _hasBits0; |
| | 9082 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9083 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9084 | | public static pb::MessageParser<ECS6ComponentMaterial> Parser { get { return _parser; } } |
| | 9085 | |
|
| | 9086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9088 | | public static pbr::MessageDescriptor Descriptor { |
| | 9089 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[20]; } |
| | 9090 | | } |
| | 9091 | |
|
| | 9092 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9093 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9094 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 9095 | | get { return Descriptor; } |
| | 9096 | | } |
| | 9097 | |
|
| | 9098 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9099 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9100 | | public ECS6ComponentMaterial() { |
| | 9101 | | OnConstruction(); |
| | 9102 | | } |
| | 9103 | |
|
| | 9104 | | partial void OnConstruction(); |
| | 9105 | |
|
| | 9106 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9107 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9108 | | public ECS6ComponentMaterial(ECS6ComponentMaterial other) : this() { |
| | 9109 | | _hasBits0 = other._hasBits0; |
| | 9110 | | alphaTest_ = other.alphaTest_; |
| | 9111 | | albedoColor_ = other.albedoColor_ != null ? other.albedoColor_.Clone() : null; |
| | 9112 | | emissiveColor_ = other.emissiveColor_ != null ? other.emissiveColor_.Clone() : null; |
| | 9113 | | metallic_ = other.metallic_; |
| | 9114 | | roughness_ = other.roughness_; |
| | 9115 | | reflectivityColor_ = other.reflectivityColor_ != null ? other.reflectivityColor_.Clone() : null; |
| | 9116 | | directIntensity_ = other.directIntensity_; |
| | 9117 | | microSurface_ = other.microSurface_; |
| | 9118 | | emissiveIntensity_ = other.emissiveIntensity_; |
| | 9119 | | specularIntensity_ = other.specularIntensity_; |
| | 9120 | | albedoTexture_ = other.albedoTexture_; |
| | 9121 | | alphaTexture_ = other.alphaTexture_; |
| | 9122 | | emissiveTexture_ = other.emissiveTexture_; |
| | 9123 | | bumpTexture_ = other.bumpTexture_; |
| | 9124 | | transparencyMode_ = other.transparencyMode_; |
| | 9125 | | castShadows_ = other.castShadows_; |
| | 9126 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 9127 | | } |
| | 9128 | |
|
| | 9129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9131 | | public ECS6ComponentMaterial Clone() { |
| | 9132 | | return new ECS6ComponentMaterial(this); |
| | 9133 | | } |
| | 9134 | |
|
| | 9135 | | /// <summary>Field number for the "alpha_test" field.</summary> |
| | 9136 | | public const int AlphaTestFieldNumber = 1; |
| | 9137 | | private float alphaTest_; |
| | 9138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9140 | | public float AlphaTest { |
| | 9141 | | get { if ((_hasBits0 & 1) != 0) { return alphaTest_; } else { return 0F; } } |
| | 9142 | | set { |
| | 9143 | | _hasBits0 |= 1; |
| | 9144 | | alphaTest_ = value; |
| | 9145 | | } |
| | 9146 | | } |
| | 9147 | | /// <summary>Gets whether the "alpha_test" field is set</summary> |
| | 9148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9150 | | public bool HasAlphaTest { |
| | 9151 | | get { return (_hasBits0 & 1) != 0; } |
| | 9152 | | } |
| | 9153 | | /// <summary>Clears the value of the "alpha_test" field</summary> |
| | 9154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9156 | | public void ClearAlphaTest() { |
| | 9157 | | _hasBits0 &= ~1; |
| | 9158 | | } |
| | 9159 | |
|
| | 9160 | | /// <summary>Field number for the "albedo_color" field.</summary> |
| | 9161 | | public const int AlbedoColorFieldNumber = 2; |
| | 9162 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 albedoColor_; |
| | 9163 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9164 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9165 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 AlbedoColor { |
| | 9166 | | get { return albedoColor_; } |
| | 9167 | | set { |
| | 9168 | | albedoColor_ = value; |
| | 9169 | | } |
| | 9170 | | } |
| | 9171 | |
|
| | 9172 | | /// <summary>Field number for the "emissive_color" field.</summary> |
| | 9173 | | public const int EmissiveColorFieldNumber = 3; |
| | 9174 | | private global::Decentraland.Common.Color3 emissiveColor_; |
| | 9175 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9176 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9177 | | public global::Decentraland.Common.Color3 EmissiveColor { |
| | 9178 | | get { return emissiveColor_; } |
| | 9179 | | set { |
| | 9180 | | emissiveColor_ = value; |
| | 9181 | | } |
| | 9182 | | } |
| | 9183 | |
|
| | 9184 | | /// <summary>Field number for the "metallic" field.</summary> |
| | 9185 | | public const int MetallicFieldNumber = 4; |
| | 9186 | | private float metallic_; |
| | 9187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9189 | | public float Metallic { |
| | 9190 | | get { if ((_hasBits0 & 2) != 0) { return metallic_; } else { return 0F; } } |
| | 9191 | | set { |
| | 9192 | | _hasBits0 |= 2; |
| | 9193 | | metallic_ = value; |
| | 9194 | | } |
| | 9195 | | } |
| | 9196 | | /// <summary>Gets whether the "metallic" field is set</summary> |
| | 9197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9199 | | public bool HasMetallic { |
| | 9200 | | get { return (_hasBits0 & 2) != 0; } |
| | 9201 | | } |
| | 9202 | | /// <summary>Clears the value of the "metallic" field</summary> |
| | 9203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9205 | | public void ClearMetallic() { |
| | 9206 | | _hasBits0 &= ~2; |
| | 9207 | | } |
| | 9208 | |
|
| | 9209 | | /// <summary>Field number for the "roughness" field.</summary> |
| | 9210 | | public const int RoughnessFieldNumber = 5; |
| | 9211 | | private float roughness_; |
| | 9212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9214 | | public float Roughness { |
| | 9215 | | get { if ((_hasBits0 & 4) != 0) { return roughness_; } else { return 0F; } } |
| | 9216 | | set { |
| | 9217 | | _hasBits0 |= 4; |
| | 9218 | | roughness_ = value; |
| | 9219 | | } |
| | 9220 | | } |
| | 9221 | | /// <summary>Gets whether the "roughness" field is set</summary> |
| | 9222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9224 | | public bool HasRoughness { |
| | 9225 | | get { return (_hasBits0 & 4) != 0; } |
| | 9226 | | } |
| | 9227 | | /// <summary>Clears the value of the "roughness" field</summary> |
| | 9228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9230 | | public void ClearRoughness() { |
| | 9231 | | _hasBits0 &= ~4; |
| | 9232 | | } |
| | 9233 | |
|
| | 9234 | | /// <summary>Field number for the "reflectivity_color" field.</summary> |
| | 9235 | | public const int ReflectivityColorFieldNumber = 6; |
| | 9236 | | private global::Decentraland.Common.Color3 reflectivityColor_; |
| | 9237 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9238 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9239 | | public global::Decentraland.Common.Color3 ReflectivityColor { |
| | 9240 | | get { return reflectivityColor_; } |
| | 9241 | | set { |
| | 9242 | | reflectivityColor_ = value; |
| | 9243 | | } |
| | 9244 | | } |
| | 9245 | |
|
| | 9246 | | /// <summary>Field number for the "direct_intensity" field.</summary> |
| | 9247 | | public const int DirectIntensityFieldNumber = 7; |
| | 9248 | | private float directIntensity_; |
| | 9249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9251 | | public float DirectIntensity { |
| | 9252 | | get { if ((_hasBits0 & 8) != 0) { return directIntensity_; } else { return 0F; } } |
| | 9253 | | set { |
| | 9254 | | _hasBits0 |= 8; |
| | 9255 | | directIntensity_ = value; |
| | 9256 | | } |
| | 9257 | | } |
| | 9258 | | /// <summary>Gets whether the "direct_intensity" field is set</summary> |
| | 9259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9261 | | public bool HasDirectIntensity { |
| | 9262 | | get { return (_hasBits0 & 8) != 0; } |
| | 9263 | | } |
| | 9264 | | /// <summary>Clears the value of the "direct_intensity" field</summary> |
| | 9265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9267 | | public void ClearDirectIntensity() { |
| | 9268 | | _hasBits0 &= ~8; |
| | 9269 | | } |
| | 9270 | |
|
| | 9271 | | /// <summary>Field number for the "micro_surface" field.</summary> |
| | 9272 | | public const int MicroSurfaceFieldNumber = 8; |
| | 9273 | | private float microSurface_; |
| | 9274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9276 | | public float MicroSurface { |
| | 9277 | | get { if ((_hasBits0 & 16) != 0) { return microSurface_; } else { return 0F; } } |
| | 9278 | | set { |
| | 9279 | | _hasBits0 |= 16; |
| | 9280 | | microSurface_ = value; |
| | 9281 | | } |
| | 9282 | | } |
| | 9283 | | /// <summary>Gets whether the "micro_surface" field is set</summary> |
| | 9284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9286 | | public bool HasMicroSurface { |
| | 9287 | | get { return (_hasBits0 & 16) != 0; } |
| | 9288 | | } |
| | 9289 | | /// <summary>Clears the value of the "micro_surface" field</summary> |
| | 9290 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9291 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9292 | | public void ClearMicroSurface() { |
| | 9293 | | _hasBits0 &= ~16; |
| | 9294 | | } |
| | 9295 | |
|
| | 9296 | | /// <summary>Field number for the "emissive_intensity" field.</summary> |
| | 9297 | | public const int EmissiveIntensityFieldNumber = 9; |
| | 9298 | | private float emissiveIntensity_; |
| | 9299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9301 | | public float EmissiveIntensity { |
| | 9302 | | get { if ((_hasBits0 & 32) != 0) { return emissiveIntensity_; } else { return 0F; } } |
| | 9303 | | set { |
| | 9304 | | _hasBits0 |= 32; |
| | 9305 | | emissiveIntensity_ = value; |
| | 9306 | | } |
| | 9307 | | } |
| | 9308 | | /// <summary>Gets whether the "emissive_intensity" field is set</summary> |
| | 9309 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9310 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9311 | | public bool HasEmissiveIntensity { |
| | 9312 | | get { return (_hasBits0 & 32) != 0; } |
| | 9313 | | } |
| | 9314 | | /// <summary>Clears the value of the "emissive_intensity" field</summary> |
| | 9315 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9316 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9317 | | public void ClearEmissiveIntensity() { |
| | 9318 | | _hasBits0 &= ~32; |
| | 9319 | | } |
| | 9320 | |
|
| | 9321 | | /// <summary>Field number for the "specular_intensity" field.</summary> |
| | 9322 | | public const int SpecularIntensityFieldNumber = 10; |
| | 9323 | | private float specularIntensity_; |
| | 9324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9326 | | public float SpecularIntensity { |
| | 9327 | | get { if ((_hasBits0 & 64) != 0) { return specularIntensity_; } else { return 0F; } } |
| | 9328 | | set { |
| | 9329 | | _hasBits0 |= 64; |
| | 9330 | | specularIntensity_ = value; |
| | 9331 | | } |
| | 9332 | | } |
| | 9333 | | /// <summary>Gets whether the "specular_intensity" field is set</summary> |
| | 9334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9336 | | public bool HasSpecularIntensity { |
| | 9337 | | get { return (_hasBits0 & 64) != 0; } |
| | 9338 | | } |
| | 9339 | | /// <summary>Clears the value of the "specular_intensity" field</summary> |
| | 9340 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9341 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9342 | | public void ClearSpecularIntensity() { |
| | 9343 | | _hasBits0 &= ~64; |
| | 9344 | | } |
| | 9345 | |
|
| | 9346 | | /// <summary>Field number for the "albedo_texture" field.</summary> |
| | 9347 | | public const int AlbedoTextureFieldNumber = 11; |
| | 9348 | | private string albedoTexture_; |
| | 9349 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9350 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9351 | | public string AlbedoTexture { |
| | 9352 | | get { return albedoTexture_ ?? ""; } |
| | 9353 | | set { |
| | 9354 | | albedoTexture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9355 | | } |
| | 9356 | | } |
| | 9357 | | /// <summary>Gets whether the "albedo_texture" field is set</summary> |
| | 9358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9360 | | public bool HasAlbedoTexture { |
| | 9361 | | get { return albedoTexture_ != null; } |
| | 9362 | | } |
| | 9363 | | /// <summary>Clears the value of the "albedo_texture" field</summary> |
| | 9364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9366 | | public void ClearAlbedoTexture() { |
| | 9367 | | albedoTexture_ = null; |
| | 9368 | | } |
| | 9369 | |
|
| | 9370 | | /// <summary>Field number for the "alpha_texture" field.</summary> |
| | 9371 | | public const int AlphaTextureFieldNumber = 12; |
| | 9372 | | private string alphaTexture_; |
| | 9373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9375 | | public string AlphaTexture { |
| | 9376 | | get { return alphaTexture_ ?? ""; } |
| | 9377 | | set { |
| | 9378 | | alphaTexture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9379 | | } |
| | 9380 | | } |
| | 9381 | | /// <summary>Gets whether the "alpha_texture" field is set</summary> |
| | 9382 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9383 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9384 | | public bool HasAlphaTexture { |
| | 9385 | | get { return alphaTexture_ != null; } |
| | 9386 | | } |
| | 9387 | | /// <summary>Clears the value of the "alpha_texture" field</summary> |
| | 9388 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9389 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9390 | | public void ClearAlphaTexture() { |
| | 9391 | | alphaTexture_ = null; |
| | 9392 | | } |
| | 9393 | |
|
| | 9394 | | /// <summary>Field number for the "emissive_texture" field.</summary> |
| | 9395 | | public const int EmissiveTextureFieldNumber = 13; |
| | 9396 | | private string emissiveTexture_; |
| | 9397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9399 | | public string EmissiveTexture { |
| | 9400 | | get { return emissiveTexture_ ?? ""; } |
| | 9401 | | set { |
| | 9402 | | emissiveTexture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9403 | | } |
| | 9404 | | } |
| | 9405 | | /// <summary>Gets whether the "emissive_texture" field is set</summary> |
| | 9406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9408 | | public bool HasEmissiveTexture { |
| | 9409 | | get { return emissiveTexture_ != null; } |
| | 9410 | | } |
| | 9411 | | /// <summary>Clears the value of the "emissive_texture" field</summary> |
| | 9412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9414 | | public void ClearEmissiveTexture() { |
| | 9415 | | emissiveTexture_ = null; |
| | 9416 | | } |
| | 9417 | |
|
| | 9418 | | /// <summary>Field number for the "bump_texture" field.</summary> |
| | 9419 | | public const int BumpTextureFieldNumber = 14; |
| | 9420 | | private string bumpTexture_; |
| | 9421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9423 | | public string BumpTexture { |
| | 9424 | | get { return bumpTexture_ ?? ""; } |
| | 9425 | | set { |
| | 9426 | | bumpTexture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9427 | | } |
| | 9428 | | } |
| | 9429 | | /// <summary>Gets whether the "bump_texture" field is set</summary> |
| | 9430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9432 | | public bool HasBumpTexture { |
| | 9433 | | get { return bumpTexture_ != null; } |
| | 9434 | | } |
| | 9435 | | /// <summary>Clears the value of the "bump_texture" field</summary> |
| | 9436 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9437 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9438 | | public void ClearBumpTexture() { |
| | 9439 | | bumpTexture_ = null; |
| | 9440 | | } |
| | 9441 | |
|
| | 9442 | | /// <summary>Field number for the "transparency_mode" field.</summary> |
| | 9443 | | public const int TransparencyModeFieldNumber = 15; |
| | 9444 | | private float transparencyMode_; |
| | 9445 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9446 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9447 | | public float TransparencyMode { |
| | 9448 | | get { if ((_hasBits0 & 128) != 0) { return transparencyMode_; } else { return 0F; } } |
| | 9449 | | set { |
| | 9450 | | _hasBits0 |= 128; |
| | 9451 | | transparencyMode_ = value; |
| | 9452 | | } |
| | 9453 | | } |
| | 9454 | | /// <summary>Gets whether the "transparency_mode" field is set</summary> |
| | 9455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9457 | | public bool HasTransparencyMode { |
| | 9458 | | get { return (_hasBits0 & 128) != 0; } |
| | 9459 | | } |
| | 9460 | | /// <summary>Clears the value of the "transparency_mode" field</summary> |
| | 9461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9463 | | public void ClearTransparencyMode() { |
| | 9464 | | _hasBits0 &= ~128; |
| | 9465 | | } |
| | 9466 | |
|
| | 9467 | | /// <summary>Field number for the "cast_shadows" field.</summary> |
| | 9468 | | public const int CastShadowsFieldNumber = 16; |
| | 9469 | | private bool castShadows_; |
| | 9470 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9471 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9472 | | public bool CastShadows { |
| | 9473 | | get { if ((_hasBits0 & 256) != 0) { return castShadows_; } else { return false; } } |
| | 9474 | | set { |
| | 9475 | | _hasBits0 |= 256; |
| | 9476 | | castShadows_ = value; |
| | 9477 | | } |
| | 9478 | | } |
| | 9479 | | /// <summary>Gets whether the "cast_shadows" field is set</summary> |
| | 9480 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9481 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9482 | | public bool HasCastShadows { |
| | 9483 | | get { return (_hasBits0 & 256) != 0; } |
| | 9484 | | } |
| | 9485 | | /// <summary>Clears the value of the "cast_shadows" field</summary> |
| | 9486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9488 | | public void ClearCastShadows() { |
| | 9489 | | _hasBits0 &= ~256; |
| | 9490 | | } |
| | 9491 | |
|
| | 9492 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9493 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9494 | | public override bool Equals(object other) { |
| | 9495 | | return Equals(other as ECS6ComponentMaterial); |
| | 9496 | | } |
| | 9497 | |
|
| | 9498 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9499 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9500 | | public bool Equals(ECS6ComponentMaterial other) { |
| | 9501 | | if (ReferenceEquals(other, null)) { |
| | 9502 | | return false; |
| | 9503 | | } |
| | 9504 | | if (ReferenceEquals(other, this)) { |
| | 9505 | | return true; |
| | 9506 | | } |
| | 9507 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AlphaTest, other.AlphaTest)) return false |
| | 9508 | | if (!object.Equals(AlbedoColor, other.AlbedoColor)) return false; |
| | 9509 | | if (!object.Equals(EmissiveColor, other.EmissiveColor)) return false; |
| | 9510 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Metallic, other.Metallic)) return false; |
| | 9511 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roughness, other.Roughness)) return false |
| | 9512 | | if (!object.Equals(ReflectivityColor, other.ReflectivityColor)) return false; |
| | 9513 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DirectIntensity, other.DirectIntensity)) |
| | 9514 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MicroSurface, other.MicroSurface)) return |
| | 9515 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EmissiveIntensity, other.EmissiveIntensit |
| | 9516 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SpecularIntensity, other.SpecularIntensit |
| | 9517 | | if (AlbedoTexture != other.AlbedoTexture) return false; |
| | 9518 | | if (AlphaTexture != other.AlphaTexture) return false; |
| | 9519 | | if (EmissiveTexture != other.EmissiveTexture) return false; |
| | 9520 | | if (BumpTexture != other.BumpTexture) return false; |
| | 9521 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TransparencyMode, other.TransparencyMode) |
| | 9522 | | if (CastShadows != other.CastShadows) return false; |
| | 9523 | | return Equals(_unknownFields, other._unknownFields); |
| | 9524 | | } |
| | 9525 | |
|
| | 9526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9528 | | public override int GetHashCode() { |
| | 9529 | | int hash = 1; |
| | 9530 | | if (HasAlphaTest) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AlphaTest); |
| | 9531 | | if (albedoColor_ != null) hash ^= AlbedoColor.GetHashCode(); |
| | 9532 | | if (emissiveColor_ != null) hash ^= EmissiveColor.GetHashCode(); |
| | 9533 | | if (HasMetallic) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Metallic); |
| | 9534 | | if (HasRoughness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roughness); |
| | 9535 | | if (reflectivityColor_ != null) hash ^= ReflectivityColor.GetHashCode(); |
| | 9536 | | if (HasDirectIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DirectInt |
| | 9537 | | if (HasMicroSurface) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MicroSurface |
| | 9538 | | if (HasEmissiveIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Emissiv |
| | 9539 | | if (HasSpecularIntensity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Specula |
| | 9540 | | if (HasAlbedoTexture) hash ^= AlbedoTexture.GetHashCode(); |
| | 9541 | | if (HasAlphaTexture) hash ^= AlphaTexture.GetHashCode(); |
| | 9542 | | if (HasEmissiveTexture) hash ^= EmissiveTexture.GetHashCode(); |
| | 9543 | | if (HasBumpTexture) hash ^= BumpTexture.GetHashCode(); |
| | 9544 | | if (HasTransparencyMode) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Transpar |
| | 9545 | | if (HasCastShadows) hash ^= CastShadows.GetHashCode(); |
| | 9546 | | if (_unknownFields != null) { |
| | 9547 | | hash ^= _unknownFields.GetHashCode(); |
| | 9548 | | } |
| | 9549 | | return hash; |
| | 9550 | | } |
| | 9551 | |
|
| | 9552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9554 | | public override string ToString() { |
| | 9555 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 9556 | | } |
| | 9557 | |
|
| | 9558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9560 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 9561 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9562 | | output.WriteRawMessage(this); |
| | 9563 | | #else |
| | 9564 | | if (HasAlphaTest) { |
| | 9565 | | output.WriteRawTag(13); |
| | 9566 | | output.WriteFloat(AlphaTest); |
| | 9567 | | } |
| | 9568 | | if (albedoColor_ != null) { |
| | 9569 | | output.WriteRawTag(18); |
| | 9570 | | output.WriteMessage(AlbedoColor); |
| | 9571 | | } |
| | 9572 | | if (emissiveColor_ != null) { |
| | 9573 | | output.WriteRawTag(26); |
| | 9574 | | output.WriteMessage(EmissiveColor); |
| | 9575 | | } |
| | 9576 | | if (HasMetallic) { |
| | 9577 | | output.WriteRawTag(37); |
| | 9578 | | output.WriteFloat(Metallic); |
| | 9579 | | } |
| | 9580 | | if (HasRoughness) { |
| | 9581 | | output.WriteRawTag(45); |
| | 9582 | | output.WriteFloat(Roughness); |
| | 9583 | | } |
| | 9584 | | if (reflectivityColor_ != null) { |
| | 9585 | | output.WriteRawTag(50); |
| | 9586 | | output.WriteMessage(ReflectivityColor); |
| | 9587 | | } |
| | 9588 | | if (HasDirectIntensity) { |
| | 9589 | | output.WriteRawTag(61); |
| | 9590 | | output.WriteFloat(DirectIntensity); |
| | 9591 | | } |
| | 9592 | | if (HasMicroSurface) { |
| | 9593 | | output.WriteRawTag(69); |
| | 9594 | | output.WriteFloat(MicroSurface); |
| | 9595 | | } |
| | 9596 | | if (HasEmissiveIntensity) { |
| | 9597 | | output.WriteRawTag(77); |
| | 9598 | | output.WriteFloat(EmissiveIntensity); |
| | 9599 | | } |
| | 9600 | | if (HasSpecularIntensity) { |
| | 9601 | | output.WriteRawTag(85); |
| | 9602 | | output.WriteFloat(SpecularIntensity); |
| | 9603 | | } |
| | 9604 | | if (HasAlbedoTexture) { |
| | 9605 | | output.WriteRawTag(90); |
| | 9606 | | output.WriteString(AlbedoTexture); |
| | 9607 | | } |
| | 9608 | | if (HasAlphaTexture) { |
| | 9609 | | output.WriteRawTag(98); |
| | 9610 | | output.WriteString(AlphaTexture); |
| | 9611 | | } |
| | 9612 | | if (HasEmissiveTexture) { |
| | 9613 | | output.WriteRawTag(106); |
| | 9614 | | output.WriteString(EmissiveTexture); |
| | 9615 | | } |
| | 9616 | | if (HasBumpTexture) { |
| | 9617 | | output.WriteRawTag(114); |
| | 9618 | | output.WriteString(BumpTexture); |
| | 9619 | | } |
| | 9620 | | if (HasTransparencyMode) { |
| | 9621 | | output.WriteRawTag(125); |
| | 9622 | | output.WriteFloat(TransparencyMode); |
| | 9623 | | } |
| | 9624 | | if (HasCastShadows) { |
| | 9625 | | output.WriteRawTag(128, 1); |
| | 9626 | | output.WriteBool(CastShadows); |
| | 9627 | | } |
| | 9628 | | if (_unknownFields != null) { |
| | 9629 | | _unknownFields.WriteTo(output); |
| | 9630 | | } |
| | 9631 | | #endif |
| | 9632 | | } |
| | 9633 | |
|
| | 9634 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9637 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 9638 | | if (HasAlphaTest) { |
| | 9639 | | output.WriteRawTag(13); |
| | 9640 | | output.WriteFloat(AlphaTest); |
| | 9641 | | } |
| | 9642 | | if (albedoColor_ != null) { |
| | 9643 | | output.WriteRawTag(18); |
| | 9644 | | output.WriteMessage(AlbedoColor); |
| | 9645 | | } |
| | 9646 | | if (emissiveColor_ != null) { |
| | 9647 | | output.WriteRawTag(26); |
| | 9648 | | output.WriteMessage(EmissiveColor); |
| | 9649 | | } |
| | 9650 | | if (HasMetallic) { |
| | 9651 | | output.WriteRawTag(37); |
| | 9652 | | output.WriteFloat(Metallic); |
| | 9653 | | } |
| | 9654 | | if (HasRoughness) { |
| | 9655 | | output.WriteRawTag(45); |
| | 9656 | | output.WriteFloat(Roughness); |
| | 9657 | | } |
| | 9658 | | if (reflectivityColor_ != null) { |
| | 9659 | | output.WriteRawTag(50); |
| | 9660 | | output.WriteMessage(ReflectivityColor); |
| | 9661 | | } |
| | 9662 | | if (HasDirectIntensity) { |
| | 9663 | | output.WriteRawTag(61); |
| | 9664 | | output.WriteFloat(DirectIntensity); |
| | 9665 | | } |
| | 9666 | | if (HasMicroSurface) { |
| | 9667 | | output.WriteRawTag(69); |
| | 9668 | | output.WriteFloat(MicroSurface); |
| | 9669 | | } |
| | 9670 | | if (HasEmissiveIntensity) { |
| | 9671 | | output.WriteRawTag(77); |
| | 9672 | | output.WriteFloat(EmissiveIntensity); |
| | 9673 | | } |
| | 9674 | | if (HasSpecularIntensity) { |
| | 9675 | | output.WriteRawTag(85); |
| | 9676 | | output.WriteFloat(SpecularIntensity); |
| | 9677 | | } |
| | 9678 | | if (HasAlbedoTexture) { |
| | 9679 | | output.WriteRawTag(90); |
| | 9680 | | output.WriteString(AlbedoTexture); |
| | 9681 | | } |
| | 9682 | | if (HasAlphaTexture) { |
| | 9683 | | output.WriteRawTag(98); |
| | 9684 | | output.WriteString(AlphaTexture); |
| | 9685 | | } |
| | 9686 | | if (HasEmissiveTexture) { |
| | 9687 | | output.WriteRawTag(106); |
| | 9688 | | output.WriteString(EmissiveTexture); |
| | 9689 | | } |
| | 9690 | | if (HasBumpTexture) { |
| | 9691 | | output.WriteRawTag(114); |
| | 9692 | | output.WriteString(BumpTexture); |
| | 9693 | | } |
| | 9694 | | if (HasTransparencyMode) { |
| | 9695 | | output.WriteRawTag(125); |
| | 9696 | | output.WriteFloat(TransparencyMode); |
| | 9697 | | } |
| | 9698 | | if (HasCastShadows) { |
| | 9699 | | output.WriteRawTag(128, 1); |
| | 9700 | | output.WriteBool(CastShadows); |
| | 9701 | | } |
| | 9702 | | if (_unknownFields != null) { |
| | 9703 | | _unknownFields.WriteTo(ref output); |
| | 9704 | | } |
| | 9705 | | } |
| | 9706 | | #endif |
| | 9707 | |
|
| | 9708 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9709 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9710 | | public int CalculateSize() { |
| | 9711 | | int size = 0; |
| | 9712 | | if (HasAlphaTest) { |
| | 9713 | | size += 1 + 4; |
| | 9714 | | } |
| | 9715 | | if (albedoColor_ != null) { |
| | 9716 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlbedoColor); |
| | 9717 | | } |
| | 9718 | | if (emissiveColor_ != null) { |
| | 9719 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveColor); |
| | 9720 | | } |
| | 9721 | | if (HasMetallic) { |
| | 9722 | | size += 1 + 4; |
| | 9723 | | } |
| | 9724 | | if (HasRoughness) { |
| | 9725 | | size += 1 + 4; |
| | 9726 | | } |
| | 9727 | | if (reflectivityColor_ != null) { |
| | 9728 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReflectivityColor); |
| | 9729 | | } |
| | 9730 | | if (HasDirectIntensity) { |
| | 9731 | | size += 1 + 4; |
| | 9732 | | } |
| | 9733 | | if (HasMicroSurface) { |
| | 9734 | | size += 1 + 4; |
| | 9735 | | } |
| | 9736 | | if (HasEmissiveIntensity) { |
| | 9737 | | size += 1 + 4; |
| | 9738 | | } |
| | 9739 | | if (HasSpecularIntensity) { |
| | 9740 | | size += 1 + 4; |
| | 9741 | | } |
| | 9742 | | if (HasAlbedoTexture) { |
| | 9743 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AlbedoTexture); |
| | 9744 | | } |
| | 9745 | | if (HasAlphaTexture) { |
| | 9746 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AlphaTexture); |
| | 9747 | | } |
| | 9748 | | if (HasEmissiveTexture) { |
| | 9749 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EmissiveTexture); |
| | 9750 | | } |
| | 9751 | | if (HasBumpTexture) { |
| | 9752 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BumpTexture); |
| | 9753 | | } |
| | 9754 | | if (HasTransparencyMode) { |
| | 9755 | | size += 1 + 4; |
| | 9756 | | } |
| | 9757 | | if (HasCastShadows) { |
| | 9758 | | size += 2 + 1; |
| | 9759 | | } |
| | 9760 | | if (_unknownFields != null) { |
| | 9761 | | size += _unknownFields.CalculateSize(); |
| | 9762 | | } |
| | 9763 | | return size; |
| | 9764 | | } |
| | 9765 | |
|
| | 9766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9768 | | public void MergeFrom(ECS6ComponentMaterial other) { |
| | 9769 | | if (other == null) { |
| | 9770 | | return; |
| | 9771 | | } |
| | 9772 | | if (other.HasAlphaTest) { |
| | 9773 | | AlphaTest = other.AlphaTest; |
| | 9774 | | } |
| | 9775 | | if (other.albedoColor_ != null) { |
| | 9776 | | if (albedoColor_ == null) { |
| | 9777 | | AlbedoColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 9778 | | } |
| | 9779 | | AlbedoColor.MergeFrom(other.AlbedoColor); |
| | 9780 | | } |
| | 9781 | | if (other.emissiveColor_ != null) { |
| | 9782 | | if (emissiveColor_ == null) { |
| | 9783 | | EmissiveColor = new global::Decentraland.Common.Color3(); |
| | 9784 | | } |
| | 9785 | | EmissiveColor.MergeFrom(other.EmissiveColor); |
| | 9786 | | } |
| | 9787 | | if (other.HasMetallic) { |
| | 9788 | | Metallic = other.Metallic; |
| | 9789 | | } |
| | 9790 | | if (other.HasRoughness) { |
| | 9791 | | Roughness = other.Roughness; |
| | 9792 | | } |
| | 9793 | | if (other.reflectivityColor_ != null) { |
| | 9794 | | if (reflectivityColor_ == null) { |
| | 9795 | | ReflectivityColor = new global::Decentraland.Common.Color3(); |
| | 9796 | | } |
| | 9797 | | ReflectivityColor.MergeFrom(other.ReflectivityColor); |
| | 9798 | | } |
| | 9799 | | if (other.HasDirectIntensity) { |
| | 9800 | | DirectIntensity = other.DirectIntensity; |
| | 9801 | | } |
| | 9802 | | if (other.HasMicroSurface) { |
| | 9803 | | MicroSurface = other.MicroSurface; |
| | 9804 | | } |
| | 9805 | | if (other.HasEmissiveIntensity) { |
| | 9806 | | EmissiveIntensity = other.EmissiveIntensity; |
| | 9807 | | } |
| | 9808 | | if (other.HasSpecularIntensity) { |
| | 9809 | | SpecularIntensity = other.SpecularIntensity; |
| | 9810 | | } |
| | 9811 | | if (other.HasAlbedoTexture) { |
| | 9812 | | AlbedoTexture = other.AlbedoTexture; |
| | 9813 | | } |
| | 9814 | | if (other.HasAlphaTexture) { |
| | 9815 | | AlphaTexture = other.AlphaTexture; |
| | 9816 | | } |
| | 9817 | | if (other.HasEmissiveTexture) { |
| | 9818 | | EmissiveTexture = other.EmissiveTexture; |
| | 9819 | | } |
| | 9820 | | if (other.HasBumpTexture) { |
| | 9821 | | BumpTexture = other.BumpTexture; |
| | 9822 | | } |
| | 9823 | | if (other.HasTransparencyMode) { |
| | 9824 | | TransparencyMode = other.TransparencyMode; |
| | 9825 | | } |
| | 9826 | | if (other.HasCastShadows) { |
| | 9827 | | CastShadows = other.CastShadows; |
| | 9828 | | } |
| | 9829 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 9830 | | } |
| | 9831 | |
|
| | 9832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9834 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 9835 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9836 | | input.ReadRawMessage(this); |
| | 9837 | | #else |
| | 9838 | | uint tag; |
| | 9839 | | while ((tag = input.ReadTag()) != 0) { |
| | 9840 | | switch(tag) { |
| | 9841 | | default: |
| | 9842 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 9843 | | break; |
| | 9844 | | case 13: { |
| | 9845 | | AlphaTest = input.ReadFloat(); |
| | 9846 | | break; |
| | 9847 | | } |
| | 9848 | | case 18: { |
| | 9849 | | if (albedoColor_ == null) { |
| | 9850 | | AlbedoColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 9851 | | } |
| | 9852 | | input.ReadMessage(AlbedoColor); |
| | 9853 | | break; |
| | 9854 | | } |
| | 9855 | | case 26: { |
| | 9856 | | if (emissiveColor_ == null) { |
| | 9857 | | EmissiveColor = new global::Decentraland.Common.Color3(); |
| | 9858 | | } |
| | 9859 | | input.ReadMessage(EmissiveColor); |
| | 9860 | | break; |
| | 9861 | | } |
| | 9862 | | case 37: { |
| | 9863 | | Metallic = input.ReadFloat(); |
| | 9864 | | break; |
| | 9865 | | } |
| | 9866 | | case 45: { |
| | 9867 | | Roughness = input.ReadFloat(); |
| | 9868 | | break; |
| | 9869 | | } |
| | 9870 | | case 50: { |
| | 9871 | | if (reflectivityColor_ == null) { |
| | 9872 | | ReflectivityColor = new global::Decentraland.Common.Color3(); |
| | 9873 | | } |
| | 9874 | | input.ReadMessage(ReflectivityColor); |
| | 9875 | | break; |
| | 9876 | | } |
| | 9877 | | case 61: { |
| | 9878 | | DirectIntensity = input.ReadFloat(); |
| | 9879 | | break; |
| | 9880 | | } |
| | 9881 | | case 69: { |
| | 9882 | | MicroSurface = input.ReadFloat(); |
| | 9883 | | break; |
| | 9884 | | } |
| | 9885 | | case 77: { |
| | 9886 | | EmissiveIntensity = input.ReadFloat(); |
| | 9887 | | break; |
| | 9888 | | } |
| | 9889 | | case 85: { |
| | 9890 | | SpecularIntensity = input.ReadFloat(); |
| | 9891 | | break; |
| | 9892 | | } |
| | 9893 | | case 90: { |
| | 9894 | | AlbedoTexture = input.ReadString(); |
| | 9895 | | break; |
| | 9896 | | } |
| | 9897 | | case 98: { |
| | 9898 | | AlphaTexture = input.ReadString(); |
| | 9899 | | break; |
| | 9900 | | } |
| | 9901 | | case 106: { |
| | 9902 | | EmissiveTexture = input.ReadString(); |
| | 9903 | | break; |
| | 9904 | | } |
| | 9905 | | case 114: { |
| | 9906 | | BumpTexture = input.ReadString(); |
| | 9907 | | break; |
| | 9908 | | } |
| | 9909 | | case 125: { |
| | 9910 | | TransparencyMode = input.ReadFloat(); |
| | 9911 | | break; |
| | 9912 | | } |
| | 9913 | | case 128: { |
| | 9914 | | CastShadows = input.ReadBool(); |
| | 9915 | | break; |
| | 9916 | | } |
| | 9917 | | } |
| | 9918 | | } |
| | 9919 | | #endif |
| | 9920 | | } |
| | 9921 | |
|
| | 9922 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9925 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 9926 | | uint tag; |
| | 9927 | | while ((tag = input.ReadTag()) != 0) { |
| | 9928 | | switch(tag) { |
| | 9929 | | default: |
| | 9930 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 9931 | | break; |
| | 9932 | | case 13: { |
| | 9933 | | AlphaTest = input.ReadFloat(); |
| | 9934 | | break; |
| | 9935 | | } |
| | 9936 | | case 18: { |
| | 9937 | | if (albedoColor_ == null) { |
| | 9938 | | AlbedoColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 9939 | | } |
| | 9940 | | input.ReadMessage(AlbedoColor); |
| | 9941 | | break; |
| | 9942 | | } |
| | 9943 | | case 26: { |
| | 9944 | | if (emissiveColor_ == null) { |
| | 9945 | | EmissiveColor = new global::Decentraland.Common.Color3(); |
| | 9946 | | } |
| | 9947 | | input.ReadMessage(EmissiveColor); |
| | 9948 | | break; |
| | 9949 | | } |
| | 9950 | | case 37: { |
| | 9951 | | Metallic = input.ReadFloat(); |
| | 9952 | | break; |
| | 9953 | | } |
| | 9954 | | case 45: { |
| | 9955 | | Roughness = input.ReadFloat(); |
| | 9956 | | break; |
| | 9957 | | } |
| | 9958 | | case 50: { |
| | 9959 | | if (reflectivityColor_ == null) { |
| | 9960 | | ReflectivityColor = new global::Decentraland.Common.Color3(); |
| | 9961 | | } |
| | 9962 | | input.ReadMessage(ReflectivityColor); |
| | 9963 | | break; |
| | 9964 | | } |
| | 9965 | | case 61: { |
| | 9966 | | DirectIntensity = input.ReadFloat(); |
| | 9967 | | break; |
| | 9968 | | } |
| | 9969 | | case 69: { |
| | 9970 | | MicroSurface = input.ReadFloat(); |
| | 9971 | | break; |
| | 9972 | | } |
| | 9973 | | case 77: { |
| | 9974 | | EmissiveIntensity = input.ReadFloat(); |
| | 9975 | | break; |
| | 9976 | | } |
| | 9977 | | case 85: { |
| | 9978 | | SpecularIntensity = input.ReadFloat(); |
| | 9979 | | break; |
| | 9980 | | } |
| | 9981 | | case 90: { |
| | 9982 | | AlbedoTexture = input.ReadString(); |
| | 9983 | | break; |
| | 9984 | | } |
| | 9985 | | case 98: { |
| | 9986 | | AlphaTexture = input.ReadString(); |
| | 9987 | | break; |
| | 9988 | | } |
| | 9989 | | case 106: { |
| | 9990 | | EmissiveTexture = input.ReadString(); |
| | 9991 | | break; |
| | 9992 | | } |
| | 9993 | | case 114: { |
| | 9994 | | BumpTexture = input.ReadString(); |
| | 9995 | | break; |
| | 9996 | | } |
| | 9997 | | case 125: { |
| | 9998 | | TransparencyMode = input.ReadFloat(); |
| | 9999 | | break; |
| | 10000 | | } |
| | 10001 | | case 128: { |
| | 10002 | | CastShadows = input.ReadBool(); |
| | 10003 | | break; |
| | 10004 | | } |
| | 10005 | | } |
| | 10006 | | } |
| | 10007 | | } |
| | 10008 | | #endif |
| | 10009 | |
|
| | 10010 | | } |
| | 10011 | |
|
| | 10012 | | /// <summary> |
| | 10013 | | /// CLASS_ID.BASIC_MATERIAL |
| | 10014 | | /// </summary> |
| | 10015 | | public sealed partial class ECS6ComponentBasicMaterial : pb::IMessage<ECS6ComponentBasicMaterial> |
| | 10016 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10017 | | , pb::IBufferMessage |
| | 10018 | | #endif |
| | 10019 | | { |
| | 10020 | | private static readonly pb::MessageParser<ECS6ComponentBasicMaterial> _parser = new pb::MessageParser<ECS6ComponentB |
| | 10021 | | private pb::UnknownFieldSet _unknownFields; |
| | 10022 | | private int _hasBits0; |
| | 10023 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10024 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10025 | | public static pb::MessageParser<ECS6ComponentBasicMaterial> Parser { get { return _parser; } } |
| | 10026 | |
|
| | 10027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10029 | | public static pbr::MessageDescriptor Descriptor { |
| | 10030 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[21]; } |
| | 10031 | | } |
| | 10032 | |
|
| | 10033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10035 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10036 | | get { return Descriptor; } |
| | 10037 | | } |
| | 10038 | |
|
| | 10039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10041 | | public ECS6ComponentBasicMaterial() { |
| | 10042 | | OnConstruction(); |
| | 10043 | | } |
| | 10044 | |
|
| | 10045 | | partial void OnConstruction(); |
| | 10046 | |
|
| | 10047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10049 | | public ECS6ComponentBasicMaterial(ECS6ComponentBasicMaterial other) : this() { |
| | 10050 | | _hasBits0 = other._hasBits0; |
| | 10051 | | alphaTest_ = other.alphaTest_; |
| | 10052 | | texture_ = other.texture_; |
| | 10053 | | castShadows_ = other.castShadows_; |
| | 10054 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10055 | | } |
| | 10056 | |
|
| | 10057 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10058 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10059 | | public ECS6ComponentBasicMaterial Clone() { |
| | 10060 | | return new ECS6ComponentBasicMaterial(this); |
| | 10061 | | } |
| | 10062 | |
|
| | 10063 | | /// <summary>Field number for the "alpha_test" field.</summary> |
| | 10064 | | public const int AlphaTestFieldNumber = 1; |
| | 10065 | | private float alphaTest_; |
| | 10066 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10067 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10068 | | public float AlphaTest { |
| | 10069 | | get { if ((_hasBits0 & 1) != 0) { return alphaTest_; } else { return 0F; } } |
| | 10070 | | set { |
| | 10071 | | _hasBits0 |= 1; |
| | 10072 | | alphaTest_ = value; |
| | 10073 | | } |
| | 10074 | | } |
| | 10075 | | /// <summary>Gets whether the "alpha_test" field is set</summary> |
| | 10076 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10077 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10078 | | public bool HasAlphaTest { |
| | 10079 | | get { return (_hasBits0 & 1) != 0; } |
| | 10080 | | } |
| | 10081 | | /// <summary>Clears the value of the "alpha_test" field</summary> |
| | 10082 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10083 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10084 | | public void ClearAlphaTest() { |
| | 10085 | | _hasBits0 &= ~1; |
| | 10086 | | } |
| | 10087 | |
|
| | 10088 | | /// <summary>Field number for the "texture" field.</summary> |
| | 10089 | | public const int TextureFieldNumber = 2; |
| | 10090 | | private string texture_; |
| | 10091 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10092 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10093 | | public string Texture { |
| | 10094 | | get { return texture_ ?? ""; } |
| | 10095 | | set { |
| | 10096 | | texture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10097 | | } |
| | 10098 | | } |
| | 10099 | | /// <summary>Gets whether the "texture" field is set</summary> |
| | 10100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10102 | | public bool HasTexture { |
| | 10103 | | get { return texture_ != null; } |
| | 10104 | | } |
| | 10105 | | /// <summary>Clears the value of the "texture" field</summary> |
| | 10106 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10107 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10108 | | public void ClearTexture() { |
| | 10109 | | texture_ = null; |
| | 10110 | | } |
| | 10111 | |
|
| | 10112 | | /// <summary>Field number for the "cast_shadows" field.</summary> |
| | 10113 | | public const int CastShadowsFieldNumber = 3; |
| | 10114 | | private bool castShadows_; |
| | 10115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10116 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10117 | | public bool CastShadows { |
| | 10118 | | get { if ((_hasBits0 & 2) != 0) { return castShadows_; } else { return false; } } |
| | 10119 | | set { |
| | 10120 | | _hasBits0 |= 2; |
| | 10121 | | castShadows_ = value; |
| | 10122 | | } |
| | 10123 | | } |
| | 10124 | | /// <summary>Gets whether the "cast_shadows" field is set</summary> |
| | 10125 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10126 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10127 | | public bool HasCastShadows { |
| | 10128 | | get { return (_hasBits0 & 2) != 0; } |
| | 10129 | | } |
| | 10130 | | /// <summary>Clears the value of the "cast_shadows" field</summary> |
| | 10131 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10132 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10133 | | public void ClearCastShadows() { |
| | 10134 | | _hasBits0 &= ~2; |
| | 10135 | | } |
| | 10136 | |
|
| | 10137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10139 | | public override bool Equals(object other) { |
| | 10140 | | return Equals(other as ECS6ComponentBasicMaterial); |
| | 10141 | | } |
| | 10142 | |
|
| | 10143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10145 | | public bool Equals(ECS6ComponentBasicMaterial other) { |
| | 10146 | | if (ReferenceEquals(other, null)) { |
| | 10147 | | return false; |
| | 10148 | | } |
| | 10149 | | if (ReferenceEquals(other, this)) { |
| | 10150 | | return true; |
| | 10151 | | } |
| | 10152 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AlphaTest, other.AlphaTest)) return false |
| | 10153 | | if (Texture != other.Texture) return false; |
| | 10154 | | if (CastShadows != other.CastShadows) return false; |
| | 10155 | | return Equals(_unknownFields, other._unknownFields); |
| | 10156 | | } |
| | 10157 | |
|
| | 10158 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10159 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10160 | | public override int GetHashCode() { |
| | 10161 | | int hash = 1; |
| | 10162 | | if (HasAlphaTest) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AlphaTest); |
| | 10163 | | if (HasTexture) hash ^= Texture.GetHashCode(); |
| | 10164 | | if (HasCastShadows) hash ^= CastShadows.GetHashCode(); |
| | 10165 | | if (_unknownFields != null) { |
| | 10166 | | hash ^= _unknownFields.GetHashCode(); |
| | 10167 | | } |
| | 10168 | | return hash; |
| | 10169 | | } |
| | 10170 | |
|
| | 10171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10172 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10173 | | public override string ToString() { |
| | 10174 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10175 | | } |
| | 10176 | |
|
| | 10177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10179 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10180 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10181 | | output.WriteRawMessage(this); |
| | 10182 | | #else |
| | 10183 | | if (HasAlphaTest) { |
| | 10184 | | output.WriteRawTag(13); |
| | 10185 | | output.WriteFloat(AlphaTest); |
| | 10186 | | } |
| | 10187 | | if (HasTexture) { |
| | 10188 | | output.WriteRawTag(18); |
| | 10189 | | output.WriteString(Texture); |
| | 10190 | | } |
| | 10191 | | if (HasCastShadows) { |
| | 10192 | | output.WriteRawTag(24); |
| | 10193 | | output.WriteBool(CastShadows); |
| | 10194 | | } |
| | 10195 | | if (_unknownFields != null) { |
| | 10196 | | _unknownFields.WriteTo(output); |
| | 10197 | | } |
| | 10198 | | #endif |
| | 10199 | | } |
| | 10200 | |
|
| | 10201 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10204 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10205 | | if (HasAlphaTest) { |
| | 10206 | | output.WriteRawTag(13); |
| | 10207 | | output.WriteFloat(AlphaTest); |
| | 10208 | | } |
| | 10209 | | if (HasTexture) { |
| | 10210 | | output.WriteRawTag(18); |
| | 10211 | | output.WriteString(Texture); |
| | 10212 | | } |
| | 10213 | | if (HasCastShadows) { |
| | 10214 | | output.WriteRawTag(24); |
| | 10215 | | output.WriteBool(CastShadows); |
| | 10216 | | } |
| | 10217 | | if (_unknownFields != null) { |
| | 10218 | | _unknownFields.WriteTo(ref output); |
| | 10219 | | } |
| | 10220 | | } |
| | 10221 | | #endif |
| | 10222 | |
|
| | 10223 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10224 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10225 | | public int CalculateSize() { |
| | 10226 | | int size = 0; |
| | 10227 | | if (HasAlphaTest) { |
| | 10228 | | size += 1 + 4; |
| | 10229 | | } |
| | 10230 | | if (HasTexture) { |
| | 10231 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Texture); |
| | 10232 | | } |
| | 10233 | | if (HasCastShadows) { |
| | 10234 | | size += 1 + 1; |
| | 10235 | | } |
| | 10236 | | if (_unknownFields != null) { |
| | 10237 | | size += _unknownFields.CalculateSize(); |
| | 10238 | | } |
| | 10239 | | return size; |
| | 10240 | | } |
| | 10241 | |
|
| | 10242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10244 | | public void MergeFrom(ECS6ComponentBasicMaterial other) { |
| | 10245 | | if (other == null) { |
| | 10246 | | return; |
| | 10247 | | } |
| | 10248 | | if (other.HasAlphaTest) { |
| | 10249 | | AlphaTest = other.AlphaTest; |
| | 10250 | | } |
| | 10251 | | if (other.HasTexture) { |
| | 10252 | | Texture = other.Texture; |
| | 10253 | | } |
| | 10254 | | if (other.HasCastShadows) { |
| | 10255 | | CastShadows = other.CastShadows; |
| | 10256 | | } |
| | 10257 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10258 | | } |
| | 10259 | |
|
| | 10260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10262 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10263 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10264 | | input.ReadRawMessage(this); |
| | 10265 | | #else |
| | 10266 | | uint tag; |
| | 10267 | | while ((tag = input.ReadTag()) != 0) { |
| | 10268 | | switch(tag) { |
| | 10269 | | default: |
| | 10270 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 10271 | | break; |
| | 10272 | | case 13: { |
| | 10273 | | AlphaTest = input.ReadFloat(); |
| | 10274 | | break; |
| | 10275 | | } |
| | 10276 | | case 18: { |
| | 10277 | | Texture = input.ReadString(); |
| | 10278 | | break; |
| | 10279 | | } |
| | 10280 | | case 24: { |
| | 10281 | | CastShadows = input.ReadBool(); |
| | 10282 | | break; |
| | 10283 | | } |
| | 10284 | | } |
| | 10285 | | } |
| | 10286 | | #endif |
| | 10287 | | } |
| | 10288 | |
|
| | 10289 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10290 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10291 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10292 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 10293 | | uint tag; |
| | 10294 | | while ((tag = input.ReadTag()) != 0) { |
| | 10295 | | switch(tag) { |
| | 10296 | | default: |
| | 10297 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 10298 | | break; |
| | 10299 | | case 13: { |
| | 10300 | | AlphaTest = input.ReadFloat(); |
| | 10301 | | break; |
| | 10302 | | } |
| | 10303 | | case 18: { |
| | 10304 | | Texture = input.ReadString(); |
| | 10305 | | break; |
| | 10306 | | } |
| | 10307 | | case 24: { |
| | 10308 | | CastShadows = input.ReadBool(); |
| | 10309 | | break; |
| | 10310 | | } |
| | 10311 | | } |
| | 10312 | | } |
| | 10313 | | } |
| | 10314 | | #endif |
| | 10315 | |
|
| | 10316 | | } |
| | 10317 | |
|
| | 10318 | | /// <summary> |
| | 10319 | | /// CLASS_ID.UUID_CALLBACK |
| | 10320 | | /// </summary> |
| | 10321 | | public sealed partial class ECS6ComponentUuidCallback : pb::IMessage<ECS6ComponentUuidCallback> |
| | 10322 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10323 | | , pb::IBufferMessage |
| | 10324 | | #endif |
| | 10325 | | { |
| | 10326 | | private static readonly pb::MessageParser<ECS6ComponentUuidCallback> _parser = new pb::MessageParser<ECS6ComponentUu |
| | 10327 | | private pb::UnknownFieldSet _unknownFields; |
| | 10328 | | private int _hasBits0; |
| | 10329 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10330 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10331 | | public static pb::MessageParser<ECS6ComponentUuidCallback> Parser { get { return _parser; } } |
| | 10332 | |
|
| | 10333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10335 | | public static pbr::MessageDescriptor Descriptor { |
| | 10336 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[22]; } |
| | 10337 | | } |
| | 10338 | |
|
| | 10339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10341 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10342 | | get { return Descriptor; } |
| | 10343 | | } |
| | 10344 | |
|
| | 10345 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10346 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10347 | | public ECS6ComponentUuidCallback() { |
| | 10348 | | OnConstruction(); |
| | 10349 | | } |
| | 10350 | |
|
| | 10351 | | partial void OnConstruction(); |
| | 10352 | |
|
| | 10353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10355 | | public ECS6ComponentUuidCallback(ECS6ComponentUuidCallback other) : this() { |
| | 10356 | | _hasBits0 = other._hasBits0; |
| | 10357 | | button_ = other.button_; |
| | 10358 | | hoverText_ = other.hoverText_; |
| | 10359 | | distance_ = other.distance_; |
| | 10360 | | showFeedback_ = other.showFeedback_; |
| | 10361 | | type_ = other.type_; |
| | 10362 | | uuid_ = other.uuid_; |
| | 10363 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10364 | | } |
| | 10365 | |
|
| | 10366 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10367 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10368 | | public ECS6ComponentUuidCallback Clone() { |
| | 10369 | | return new ECS6ComponentUuidCallback(this); |
| | 10370 | | } |
| | 10371 | |
|
| | 10372 | | /// <summary>Field number for the "button" field.</summary> |
| | 10373 | | public const int ButtonFieldNumber = 1; |
| | 10374 | | private string button_; |
| | 10375 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10376 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10377 | | public string Button { |
| | 10378 | | get { return button_ ?? ""; } |
| | 10379 | | set { |
| | 10380 | | button_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10381 | | } |
| | 10382 | | } |
| | 10383 | | /// <summary>Gets whether the "button" field is set</summary> |
| | 10384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10386 | | public bool HasButton { |
| | 10387 | | get { return button_ != null; } |
| | 10388 | | } |
| | 10389 | | /// <summary>Clears the value of the "button" field</summary> |
| | 10390 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10391 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10392 | | public void ClearButton() { |
| | 10393 | | button_ = null; |
| | 10394 | | } |
| | 10395 | |
|
| | 10396 | | /// <summary>Field number for the "hover_text" field.</summary> |
| | 10397 | | public const int HoverTextFieldNumber = 2; |
| | 10398 | | private string hoverText_; |
| | 10399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10401 | | public string HoverText { |
| | 10402 | | get { return hoverText_ ?? ""; } |
| | 10403 | | set { |
| | 10404 | | hoverText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10405 | | } |
| | 10406 | | } |
| | 10407 | | /// <summary>Gets whether the "hover_text" field is set</summary> |
| | 10408 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10409 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10410 | | public bool HasHoverText { |
| | 10411 | | get { return hoverText_ != null; } |
| | 10412 | | } |
| | 10413 | | /// <summary>Clears the value of the "hover_text" field</summary> |
| | 10414 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10415 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10416 | | public void ClearHoverText() { |
| | 10417 | | hoverText_ = null; |
| | 10418 | | } |
| | 10419 | |
|
| | 10420 | | /// <summary>Field number for the "distance" field.</summary> |
| | 10421 | | public const int DistanceFieldNumber = 3; |
| | 10422 | | private float distance_; |
| | 10423 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10424 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10425 | | public float Distance { |
| | 10426 | | get { if ((_hasBits0 & 1) != 0) { return distance_; } else { return 0F; } } |
| | 10427 | | set { |
| | 10428 | | _hasBits0 |= 1; |
| | 10429 | | distance_ = value; |
| | 10430 | | } |
| | 10431 | | } |
| | 10432 | | /// <summary>Gets whether the "distance" field is set</summary> |
| | 10433 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10434 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10435 | | public bool HasDistance { |
| | 10436 | | get { return (_hasBits0 & 1) != 0; } |
| | 10437 | | } |
| | 10438 | | /// <summary>Clears the value of the "distance" field</summary> |
| | 10439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10441 | | public void ClearDistance() { |
| | 10442 | | _hasBits0 &= ~1; |
| | 10443 | | } |
| | 10444 | |
|
| | 10445 | | /// <summary>Field number for the "show_feedback" field.</summary> |
| | 10446 | | public const int ShowFeedbackFieldNumber = 4; |
| | 10447 | | private bool showFeedback_; |
| | 10448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10450 | | public bool ShowFeedback { |
| | 10451 | | get { if ((_hasBits0 & 2) != 0) { return showFeedback_; } else { return false; } } |
| | 10452 | | set { |
| | 10453 | | _hasBits0 |= 2; |
| | 10454 | | showFeedback_ = value; |
| | 10455 | | } |
| | 10456 | | } |
| | 10457 | | /// <summary>Gets whether the "show_feedback" field is set</summary> |
| | 10458 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10459 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10460 | | public bool HasShowFeedback { |
| | 10461 | | get { return (_hasBits0 & 2) != 0; } |
| | 10462 | | } |
| | 10463 | | /// <summary>Clears the value of the "show_feedback" field</summary> |
| | 10464 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10465 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10466 | | public void ClearShowFeedback() { |
| | 10467 | | _hasBits0 &= ~2; |
| | 10468 | | } |
| | 10469 | |
|
| | 10470 | | /// <summary>Field number for the "type" field.</summary> |
| | 10471 | | public const int TypeFieldNumber = 5; |
| | 10472 | | private string type_; |
| | 10473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10475 | | public string Type { |
| | 10476 | | get { return type_ ?? ""; } |
| | 10477 | | set { |
| | 10478 | | type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10479 | | } |
| | 10480 | | } |
| | 10481 | | /// <summary>Gets whether the "type" field is set</summary> |
| | 10482 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10483 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10484 | | public bool HasType { |
| | 10485 | | get { return type_ != null; } |
| | 10486 | | } |
| | 10487 | | /// <summary>Clears the value of the "type" field</summary> |
| | 10488 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10489 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10490 | | public void ClearType() { |
| | 10491 | | type_ = null; |
| | 10492 | | } |
| | 10493 | |
|
| | 10494 | | /// <summary>Field number for the "uuid" field.</summary> |
| | 10495 | | public const int UuidFieldNumber = 6; |
| | 10496 | | private string uuid_; |
| | 10497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10499 | | public string Uuid { |
| | 10500 | | get { return uuid_ ?? ""; } |
| | 10501 | | set { |
| | 10502 | | uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10503 | | } |
| | 10504 | | } |
| | 10505 | | /// <summary>Gets whether the "uuid" field is set</summary> |
| | 10506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10508 | | public bool HasUuid { |
| | 10509 | | get { return uuid_ != null; } |
| | 10510 | | } |
| | 10511 | | /// <summary>Clears the value of the "uuid" field</summary> |
| | 10512 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10513 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10514 | | public void ClearUuid() { |
| | 10515 | | uuid_ = null; |
| | 10516 | | } |
| | 10517 | |
|
| | 10518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10520 | | public override bool Equals(object other) { |
| | 10521 | | return Equals(other as ECS6ComponentUuidCallback); |
| | 10522 | | } |
| | 10523 | |
|
| | 10524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10526 | | public bool Equals(ECS6ComponentUuidCallback other) { |
| | 10527 | | if (ReferenceEquals(other, null)) { |
| | 10528 | | return false; |
| | 10529 | | } |
| | 10530 | | if (ReferenceEquals(other, this)) { |
| | 10531 | | return true; |
| | 10532 | | } |
| | 10533 | | if (Button != other.Button) return false; |
| | 10534 | | if (HoverText != other.HoverText) return false; |
| | 10535 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Distance, other.Distance)) return false; |
| | 10536 | | if (ShowFeedback != other.ShowFeedback) return false; |
| | 10537 | | if (Type != other.Type) return false; |
| | 10538 | | if (Uuid != other.Uuid) return false; |
| | 10539 | | return Equals(_unknownFields, other._unknownFields); |
| | 10540 | | } |
| | 10541 | |
|
| | 10542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10544 | | public override int GetHashCode() { |
| | 10545 | | int hash = 1; |
| | 10546 | | if (HasButton) hash ^= Button.GetHashCode(); |
| | 10547 | | if (HasHoverText) hash ^= HoverText.GetHashCode(); |
| | 10548 | | if (HasDistance) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Distance); |
| | 10549 | | if (HasShowFeedback) hash ^= ShowFeedback.GetHashCode(); |
| | 10550 | | if (HasType) hash ^= Type.GetHashCode(); |
| | 10551 | | if (HasUuid) hash ^= Uuid.GetHashCode(); |
| | 10552 | | if (_unknownFields != null) { |
| | 10553 | | hash ^= _unknownFields.GetHashCode(); |
| | 10554 | | } |
| | 10555 | | return hash; |
| | 10556 | | } |
| | 10557 | |
|
| | 10558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10560 | | public override string ToString() { |
| | 10561 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10562 | | } |
| | 10563 | |
|
| | 10564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10566 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10567 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10568 | | output.WriteRawMessage(this); |
| | 10569 | | #else |
| | 10570 | | if (HasButton) { |
| | 10571 | | output.WriteRawTag(10); |
| | 10572 | | output.WriteString(Button); |
| | 10573 | | } |
| | 10574 | | if (HasHoverText) { |
| | 10575 | | output.WriteRawTag(18); |
| | 10576 | | output.WriteString(HoverText); |
| | 10577 | | } |
| | 10578 | | if (HasDistance) { |
| | 10579 | | output.WriteRawTag(29); |
| | 10580 | | output.WriteFloat(Distance); |
| | 10581 | | } |
| | 10582 | | if (HasShowFeedback) { |
| | 10583 | | output.WriteRawTag(32); |
| | 10584 | | output.WriteBool(ShowFeedback); |
| | 10585 | | } |
| | 10586 | | if (HasType) { |
| | 10587 | | output.WriteRawTag(42); |
| | 10588 | | output.WriteString(Type); |
| | 10589 | | } |
| | 10590 | | if (HasUuid) { |
| | 10591 | | output.WriteRawTag(50); |
| | 10592 | | output.WriteString(Uuid); |
| | 10593 | | } |
| | 10594 | | if (_unknownFields != null) { |
| | 10595 | | _unknownFields.WriteTo(output); |
| | 10596 | | } |
| | 10597 | | #endif |
| | 10598 | | } |
| | 10599 | |
|
| | 10600 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10601 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10602 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10603 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10604 | | if (HasButton) { |
| | 10605 | | output.WriteRawTag(10); |
| | 10606 | | output.WriteString(Button); |
| | 10607 | | } |
| | 10608 | | if (HasHoverText) { |
| | 10609 | | output.WriteRawTag(18); |
| | 10610 | | output.WriteString(HoverText); |
| | 10611 | | } |
| | 10612 | | if (HasDistance) { |
| | 10613 | | output.WriteRawTag(29); |
| | 10614 | | output.WriteFloat(Distance); |
| | 10615 | | } |
| | 10616 | | if (HasShowFeedback) { |
| | 10617 | | output.WriteRawTag(32); |
| | 10618 | | output.WriteBool(ShowFeedback); |
| | 10619 | | } |
| | 10620 | | if (HasType) { |
| | 10621 | | output.WriteRawTag(42); |
| | 10622 | | output.WriteString(Type); |
| | 10623 | | } |
| | 10624 | | if (HasUuid) { |
| | 10625 | | output.WriteRawTag(50); |
| | 10626 | | output.WriteString(Uuid); |
| | 10627 | | } |
| | 10628 | | if (_unknownFields != null) { |
| | 10629 | | _unknownFields.WriteTo(ref output); |
| | 10630 | | } |
| | 10631 | | } |
| | 10632 | | #endif |
| | 10633 | |
|
| | 10634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10636 | | public int CalculateSize() { |
| | 10637 | | int size = 0; |
| | 10638 | | if (HasButton) { |
| | 10639 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Button); |
| | 10640 | | } |
| | 10641 | | if (HasHoverText) { |
| | 10642 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HoverText); |
| | 10643 | | } |
| | 10644 | | if (HasDistance) { |
| | 10645 | | size += 1 + 4; |
| | 10646 | | } |
| | 10647 | | if (HasShowFeedback) { |
| | 10648 | | size += 1 + 1; |
| | 10649 | | } |
| | 10650 | | if (HasType) { |
| | 10651 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); |
| | 10652 | | } |
| | 10653 | | if (HasUuid) { |
| | 10654 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); |
| | 10655 | | } |
| | 10656 | | if (_unknownFields != null) { |
| | 10657 | | size += _unknownFields.CalculateSize(); |
| | 10658 | | } |
| | 10659 | | return size; |
| | 10660 | | } |
| | 10661 | |
|
| | 10662 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10663 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10664 | | public void MergeFrom(ECS6ComponentUuidCallback other) { |
| | 10665 | | if (other == null) { |
| | 10666 | | return; |
| | 10667 | | } |
| | 10668 | | if (other.HasButton) { |
| | 10669 | | Button = other.Button; |
| | 10670 | | } |
| | 10671 | | if (other.HasHoverText) { |
| | 10672 | | HoverText = other.HoverText; |
| | 10673 | | } |
| | 10674 | | if (other.HasDistance) { |
| | 10675 | | Distance = other.Distance; |
| | 10676 | | } |
| | 10677 | | if (other.HasShowFeedback) { |
| | 10678 | | ShowFeedback = other.ShowFeedback; |
| | 10679 | | } |
| | 10680 | | if (other.HasType) { |
| | 10681 | | Type = other.Type; |
| | 10682 | | } |
| | 10683 | | if (other.HasUuid) { |
| | 10684 | | Uuid = other.Uuid; |
| | 10685 | | } |
| | 10686 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10687 | | } |
| | 10688 | |
|
| | 10689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10691 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10692 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10693 | | input.ReadRawMessage(this); |
| | 10694 | | #else |
| | 10695 | | uint tag; |
| | 10696 | | while ((tag = input.ReadTag()) != 0) { |
| | 10697 | | switch(tag) { |
| | 10698 | | default: |
| | 10699 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 10700 | | break; |
| | 10701 | | case 10: { |
| | 10702 | | Button = input.ReadString(); |
| | 10703 | | break; |
| | 10704 | | } |
| | 10705 | | case 18: { |
| | 10706 | | HoverText = input.ReadString(); |
| | 10707 | | break; |
| | 10708 | | } |
| | 10709 | | case 29: { |
| | 10710 | | Distance = input.ReadFloat(); |
| | 10711 | | break; |
| | 10712 | | } |
| | 10713 | | case 32: { |
| | 10714 | | ShowFeedback = input.ReadBool(); |
| | 10715 | | break; |
| | 10716 | | } |
| | 10717 | | case 42: { |
| | 10718 | | Type = input.ReadString(); |
| | 10719 | | break; |
| | 10720 | | } |
| | 10721 | | case 50: { |
| | 10722 | | Uuid = input.ReadString(); |
| | 10723 | | break; |
| | 10724 | | } |
| | 10725 | | } |
| | 10726 | | } |
| | 10727 | | #endif |
| | 10728 | | } |
| | 10729 | |
|
| | 10730 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10731 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10732 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10733 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 10734 | | uint tag; |
| | 10735 | | while ((tag = input.ReadTag()) != 0) { |
| | 10736 | | switch(tag) { |
| | 10737 | | default: |
| | 10738 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 10739 | | break; |
| | 10740 | | case 10: { |
| | 10741 | | Button = input.ReadString(); |
| | 10742 | | break; |
| | 10743 | | } |
| | 10744 | | case 18: { |
| | 10745 | | HoverText = input.ReadString(); |
| | 10746 | | break; |
| | 10747 | | } |
| | 10748 | | case 29: { |
| | 10749 | | Distance = input.ReadFloat(); |
| | 10750 | | break; |
| | 10751 | | } |
| | 10752 | | case 32: { |
| | 10753 | | ShowFeedback = input.ReadBool(); |
| | 10754 | | break; |
| | 10755 | | } |
| | 10756 | | case 42: { |
| | 10757 | | Type = input.ReadString(); |
| | 10758 | | break; |
| | 10759 | | } |
| | 10760 | | case 50: { |
| | 10761 | | Uuid = input.ReadString(); |
| | 10762 | | break; |
| | 10763 | | } |
| | 10764 | | } |
| | 10765 | | } |
| | 10766 | | } |
| | 10767 | | #endif |
| | 10768 | |
|
| | 10769 | | } |
| | 10770 | |
|
| | 10771 | | /// <summary> |
| | 10772 | | /// CLASS_ID.SMART_ITEM) |
| | 10773 | | /// </summary> |
| | 10774 | | public sealed partial class ECS6ComponentSmartItem : pb::IMessage<ECS6ComponentSmartItem> |
| | 10775 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10776 | | , pb::IBufferMessage |
| | 10777 | | #endif |
| | 10778 | | { |
| | 10779 | | private static readonly pb::MessageParser<ECS6ComponentSmartItem> _parser = new pb::MessageParser<ECS6ComponentSmart |
| | 10780 | | private pb::UnknownFieldSet _unknownFields; |
| | 10781 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10782 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10783 | | public static pb::MessageParser<ECS6ComponentSmartItem> Parser { get { return _parser; } } |
| | 10784 | |
|
| | 10785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10787 | | public static pbr::MessageDescriptor Descriptor { |
| | 10788 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[23]; } |
| | 10789 | | } |
| | 10790 | |
|
| | 10791 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10792 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10793 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10794 | | get { return Descriptor; } |
| | 10795 | | } |
| | 10796 | |
|
| | 10797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10799 | | public ECS6ComponentSmartItem() { |
| | 10800 | | OnConstruction(); |
| | 10801 | | } |
| | 10802 | |
|
| | 10803 | | partial void OnConstruction(); |
| | 10804 | |
|
| | 10805 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10806 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10807 | | public ECS6ComponentSmartItem(ECS6ComponentSmartItem other) : this() { |
| | 10808 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10809 | | } |
| | 10810 | |
|
| | 10811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10813 | | public ECS6ComponentSmartItem Clone() { |
| | 10814 | | return new ECS6ComponentSmartItem(this); |
| | 10815 | | } |
| | 10816 | |
|
| | 10817 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10818 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10819 | | public override bool Equals(object other) { |
| | 10820 | | return Equals(other as ECS6ComponentSmartItem); |
| | 10821 | | } |
| | 10822 | |
|
| | 10823 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10824 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10825 | | public bool Equals(ECS6ComponentSmartItem other) { |
| | 10826 | | if (ReferenceEquals(other, null)) { |
| | 10827 | | return false; |
| | 10828 | | } |
| | 10829 | | if (ReferenceEquals(other, this)) { |
| | 10830 | | return true; |
| | 10831 | | } |
| | 10832 | | return Equals(_unknownFields, other._unknownFields); |
| | 10833 | | } |
| | 10834 | |
|
| | 10835 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10836 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10837 | | public override int GetHashCode() { |
| | 10838 | | int hash = 1; |
| | 10839 | | if (_unknownFields != null) { |
| | 10840 | | hash ^= _unknownFields.GetHashCode(); |
| | 10841 | | } |
| | 10842 | | return hash; |
| | 10843 | | } |
| | 10844 | |
|
| | 10845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10847 | | public override string ToString() { |
| | 10848 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10849 | | } |
| | 10850 | |
|
| | 10851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10853 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10854 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10855 | | output.WriteRawMessage(this); |
| | 10856 | | #else |
| | 10857 | | if (_unknownFields != null) { |
| | 10858 | | _unknownFields.WriteTo(output); |
| | 10859 | | } |
| | 10860 | | #endif |
| | 10861 | | } |
| | 10862 | |
|
| | 10863 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10864 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10865 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10866 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10867 | | if (_unknownFields != null) { |
| | 10868 | | _unknownFields.WriteTo(ref output); |
| | 10869 | | } |
| | 10870 | | } |
| | 10871 | | #endif |
| | 10872 | |
|
| | 10873 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10874 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10875 | | public int CalculateSize() { |
| | 10876 | | int size = 0; |
| | 10877 | | if (_unknownFields != null) { |
| | 10878 | | size += _unknownFields.CalculateSize(); |
| | 10879 | | } |
| | 10880 | | return size; |
| | 10881 | | } |
| | 10882 | |
|
| | 10883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10885 | | public void MergeFrom(ECS6ComponentSmartItem other) { |
| | 10886 | | if (other == null) { |
| | 10887 | | return; |
| | 10888 | | } |
| | 10889 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10890 | | } |
| | 10891 | |
|
| | 10892 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10893 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10894 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10895 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10896 | | input.ReadRawMessage(this); |
| | 10897 | | #else |
| | 10898 | | uint tag; |
| | 10899 | | while ((tag = input.ReadTag()) != 0) { |
| | 10900 | | switch(tag) { |
| | 10901 | | default: |
| | 10902 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 10903 | | break; |
| | 10904 | | } |
| | 10905 | | } |
| | 10906 | | #endif |
| | 10907 | | } |
| | 10908 | |
|
| | 10909 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10912 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 10913 | | uint tag; |
| | 10914 | | while ((tag = input.ReadTag()) != 0) { |
| | 10915 | | switch(tag) { |
| | 10916 | | default: |
| | 10917 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 10918 | | break; |
| | 10919 | | } |
| | 10920 | | } |
| | 10921 | | } |
| | 10922 | | #endif |
| | 10923 | |
|
| | 10924 | | } |
| | 10925 | |
|
| | 10926 | | /// <summary> |
| | 10927 | | /// CLASS_ID.VIDEO_CLIP |
| | 10928 | | /// </summary> |
| | 10929 | | public sealed partial class ECS6ComponentVideoClip : pb::IMessage<ECS6ComponentVideoClip> |
| | 10930 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10931 | | , pb::IBufferMessage |
| | 10932 | | #endif |
| | 10933 | | { |
| | 10934 | | private static readonly pb::MessageParser<ECS6ComponentVideoClip> _parser = new pb::MessageParser<ECS6ComponentVideo |
| | 10935 | | private pb::UnknownFieldSet _unknownFields; |
| | 10936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10938 | | public static pb::MessageParser<ECS6ComponentVideoClip> Parser { get { return _parser; } } |
| | 10939 | |
|
| | 10940 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10941 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10942 | | public static pbr::MessageDescriptor Descriptor { |
| | 10943 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[24]; } |
| | 10944 | | } |
| | 10945 | |
|
| | 10946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10948 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10949 | | get { return Descriptor; } |
| | 10950 | | } |
| | 10951 | |
|
| | 10952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10954 | | public ECS6ComponentVideoClip() { |
| | 10955 | | OnConstruction(); |
| | 10956 | | } |
| | 10957 | |
|
| | 10958 | | partial void OnConstruction(); |
| | 10959 | |
|
| | 10960 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10961 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10962 | | public ECS6ComponentVideoClip(ECS6ComponentVideoClip other) : this() { |
| | 10963 | | url_ = other.url_; |
| | 10964 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10965 | | } |
| | 10966 | |
|
| | 10967 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10968 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10969 | | public ECS6ComponentVideoClip Clone() { |
| | 10970 | | return new ECS6ComponentVideoClip(this); |
| | 10971 | | } |
| | 10972 | |
|
| | 10973 | | /// <summary>Field number for the "url" field.</summary> |
| | 10974 | | public const int UrlFieldNumber = 1; |
| | 10975 | | private string url_; |
| | 10976 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10977 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10978 | | public string Url { |
| | 10979 | | get { return url_ ?? ""; } |
| | 10980 | | set { |
| | 10981 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10982 | | } |
| | 10983 | | } |
| | 10984 | | /// <summary>Gets whether the "url" field is set</summary> |
| | 10985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10987 | | public bool HasUrl { |
| | 10988 | | get { return url_ != null; } |
| | 10989 | | } |
| | 10990 | | /// <summary>Clears the value of the "url" field</summary> |
| | 10991 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10992 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10993 | | public void ClearUrl() { |
| | 10994 | | url_ = null; |
| | 10995 | | } |
| | 10996 | |
|
| | 10997 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10998 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10999 | | public override bool Equals(object other) { |
| | 11000 | | return Equals(other as ECS6ComponentVideoClip); |
| | 11001 | | } |
| | 11002 | |
|
| | 11003 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11004 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11005 | | public bool Equals(ECS6ComponentVideoClip other) { |
| | 11006 | | if (ReferenceEquals(other, null)) { |
| | 11007 | | return false; |
| | 11008 | | } |
| | 11009 | | if (ReferenceEquals(other, this)) { |
| | 11010 | | return true; |
| | 11011 | | } |
| | 11012 | | if (Url != other.Url) return false; |
| | 11013 | | return Equals(_unknownFields, other._unknownFields); |
| | 11014 | | } |
| | 11015 | |
|
| | 11016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11018 | | public override int GetHashCode() { |
| | 11019 | | int hash = 1; |
| | 11020 | | if (HasUrl) hash ^= Url.GetHashCode(); |
| | 11021 | | if (_unknownFields != null) { |
| | 11022 | | hash ^= _unknownFields.GetHashCode(); |
| | 11023 | | } |
| | 11024 | | return hash; |
| | 11025 | | } |
| | 11026 | |
|
| | 11027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11029 | | public override string ToString() { |
| | 11030 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11031 | | } |
| | 11032 | |
|
| | 11033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11035 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11036 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11037 | | output.WriteRawMessage(this); |
| | 11038 | | #else |
| | 11039 | | if (HasUrl) { |
| | 11040 | | output.WriteRawTag(10); |
| | 11041 | | output.WriteString(Url); |
| | 11042 | | } |
| | 11043 | | if (_unknownFields != null) { |
| | 11044 | | _unknownFields.WriteTo(output); |
| | 11045 | | } |
| | 11046 | | #endif |
| | 11047 | | } |
| | 11048 | |
|
| | 11049 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11050 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11051 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11052 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 11053 | | if (HasUrl) { |
| | 11054 | | output.WriteRawTag(10); |
| | 11055 | | output.WriteString(Url); |
| | 11056 | | } |
| | 11057 | | if (_unknownFields != null) { |
| | 11058 | | _unknownFields.WriteTo(ref output); |
| | 11059 | | } |
| | 11060 | | } |
| | 11061 | | #endif |
| | 11062 | |
|
| | 11063 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11064 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11065 | | public int CalculateSize() { |
| | 11066 | | int size = 0; |
| | 11067 | | if (HasUrl) { |
| | 11068 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 11069 | | } |
| | 11070 | | if (_unknownFields != null) { |
| | 11071 | | size += _unknownFields.CalculateSize(); |
| | 11072 | | } |
| | 11073 | | return size; |
| | 11074 | | } |
| | 11075 | |
|
| | 11076 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11077 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11078 | | public void MergeFrom(ECS6ComponentVideoClip other) { |
| | 11079 | | if (other == null) { |
| | 11080 | | return; |
| | 11081 | | } |
| | 11082 | | if (other.HasUrl) { |
| | 11083 | | Url = other.Url; |
| | 11084 | | } |
| | 11085 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 11086 | | } |
| | 11087 | |
|
| | 11088 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11089 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11090 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 11091 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11092 | | input.ReadRawMessage(this); |
| | 11093 | | #else |
| | 11094 | | uint tag; |
| | 11095 | | while ((tag = input.ReadTag()) != 0) { |
| | 11096 | | switch(tag) { |
| | 11097 | | default: |
| | 11098 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11099 | | break; |
| | 11100 | | case 10: { |
| | 11101 | | Url = input.ReadString(); |
| | 11102 | | break; |
| | 11103 | | } |
| | 11104 | | } |
| | 11105 | | } |
| | 11106 | | #endif |
| | 11107 | | } |
| | 11108 | |
|
| | 11109 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11112 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11113 | | uint tag; |
| | 11114 | | while ((tag = input.ReadTag()) != 0) { |
| | 11115 | | switch(tag) { |
| | 11116 | | default: |
| | 11117 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11118 | | break; |
| | 11119 | | case 10: { |
| | 11120 | | Url = input.ReadString(); |
| | 11121 | | break; |
| | 11122 | | } |
| | 11123 | | } |
| | 11124 | | } |
| | 11125 | | } |
| | 11126 | | #endif |
| | 11127 | |
|
| | 11128 | | } |
| | 11129 | |
|
| | 11130 | | /// <summary> |
| | 11131 | | /// CLASS_ID.VIDEO_TEXTURE |
| | 11132 | | /// </summary> |
| | 11133 | | public sealed partial class ECS6ComponentVideoTexture : pb::IMessage<ECS6ComponentVideoTexture> |
| | 11134 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11135 | | , pb::IBufferMessage |
| | 11136 | | #endif |
| | 11137 | | { |
| | 11138 | | private static readonly pb::MessageParser<ECS6ComponentVideoTexture> _parser = new pb::MessageParser<ECS6ComponentVi |
| | 11139 | | private pb::UnknownFieldSet _unknownFields; |
| | 11140 | | private int _hasBits0; |
| | 11141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11143 | | public static pb::MessageParser<ECS6ComponentVideoTexture> Parser { get { return _parser; } } |
| | 11144 | |
|
| | 11145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11147 | | public static pbr::MessageDescriptor Descriptor { |
| | 11148 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[25]; } |
| | 11149 | | } |
| | 11150 | |
|
| | 11151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11153 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11154 | | get { return Descriptor; } |
| | 11155 | | } |
| | 11156 | |
|
| | 11157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11159 | | public ECS6ComponentVideoTexture() { |
| | 11160 | | OnConstruction(); |
| | 11161 | | } |
| | 11162 | |
|
| | 11163 | | partial void OnConstruction(); |
| | 11164 | |
|
| | 11165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11167 | | public ECS6ComponentVideoTexture(ECS6ComponentVideoTexture other) : this() { |
| | 11168 | | _hasBits0 = other._hasBits0; |
| | 11169 | | samplingMode_ = other.samplingMode_; |
| | 11170 | | wrap_ = other.wrap_; |
| | 11171 | | volume_ = other.volume_; |
| | 11172 | | playbackRate_ = other.playbackRate_; |
| | 11173 | | seek_ = other.seek_; |
| | 11174 | | playing_ = other.playing_; |
| | 11175 | | loop_ = other.loop_; |
| | 11176 | | videoClipId_ = other.videoClipId_; |
| | 11177 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11178 | | } |
| | 11179 | |
|
| | 11180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11182 | | public ECS6ComponentVideoTexture Clone() { |
| | 11183 | | return new ECS6ComponentVideoTexture(this); |
| | 11184 | | } |
| | 11185 | |
|
| | 11186 | | /// <summary>Field number for the "sampling_mode" field.</summary> |
| | 11187 | | public const int SamplingModeFieldNumber = 1; |
| | 11188 | | private int samplingMode_; |
| | 11189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11191 | | public int SamplingMode { |
| | 11192 | | get { if ((_hasBits0 & 1) != 0) { return samplingMode_; } else { return 0; } } |
| | 11193 | | set { |
| | 11194 | | _hasBits0 |= 1; |
| | 11195 | | samplingMode_ = value; |
| | 11196 | | } |
| | 11197 | | } |
| | 11198 | | /// <summary>Gets whether the "sampling_mode" field is set</summary> |
| | 11199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11201 | | public bool HasSamplingMode { |
| | 11202 | | get { return (_hasBits0 & 1) != 0; } |
| | 11203 | | } |
| | 11204 | | /// <summary>Clears the value of the "sampling_mode" field</summary> |
| | 11205 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11206 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11207 | | public void ClearSamplingMode() { |
| | 11208 | | _hasBits0 &= ~1; |
| | 11209 | | } |
| | 11210 | |
|
| | 11211 | | /// <summary>Field number for the "wrap" field.</summary> |
| | 11212 | | public const int WrapFieldNumber = 2; |
| | 11213 | | private int wrap_; |
| | 11214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11216 | | public int Wrap { |
| | 11217 | | get { if ((_hasBits0 & 2) != 0) { return wrap_; } else { return 0; } } |
| | 11218 | | set { |
| | 11219 | | _hasBits0 |= 2; |
| | 11220 | | wrap_ = value; |
| | 11221 | | } |
| | 11222 | | } |
| | 11223 | | /// <summary>Gets whether the "wrap" field is set</summary> |
| | 11224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11226 | | public bool HasWrap { |
| | 11227 | | get { return (_hasBits0 & 2) != 0; } |
| | 11228 | | } |
| | 11229 | | /// <summary>Clears the value of the "wrap" field</summary> |
| | 11230 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11231 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11232 | | public void ClearWrap() { |
| | 11233 | | _hasBits0 &= ~2; |
| | 11234 | | } |
| | 11235 | |
|
| | 11236 | | /// <summary>Field number for the "volume" field.</summary> |
| | 11237 | | public const int VolumeFieldNumber = 3; |
| | 11238 | | private float volume_; |
| | 11239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11241 | | public float Volume { |
| | 11242 | | get { if ((_hasBits0 & 4) != 0) { return volume_; } else { return 0F; } } |
| | 11243 | | set { |
| | 11244 | | _hasBits0 |= 4; |
| | 11245 | | volume_ = value; |
| | 11246 | | } |
| | 11247 | | } |
| | 11248 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 11249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11251 | | public bool HasVolume { |
| | 11252 | | get { return (_hasBits0 & 4) != 0; } |
| | 11253 | | } |
| | 11254 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 11255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11257 | | public void ClearVolume() { |
| | 11258 | | _hasBits0 &= ~4; |
| | 11259 | | } |
| | 11260 | |
|
| | 11261 | | /// <summary>Field number for the "playback_rate" field.</summary> |
| | 11262 | | public const int PlaybackRateFieldNumber = 4; |
| | 11263 | | private float playbackRate_; |
| | 11264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11266 | | public float PlaybackRate { |
| | 11267 | | get { if ((_hasBits0 & 8) != 0) { return playbackRate_; } else { return 0F; } } |
| | 11268 | | set { |
| | 11269 | | _hasBits0 |= 8; |
| | 11270 | | playbackRate_ = value; |
| | 11271 | | } |
| | 11272 | | } |
| | 11273 | | /// <summary>Gets whether the "playback_rate" field is set</summary> |
| | 11274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11276 | | public bool HasPlaybackRate { |
| | 11277 | | get { return (_hasBits0 & 8) != 0; } |
| | 11278 | | } |
| | 11279 | | /// <summary>Clears the value of the "playback_rate" field</summary> |
| | 11280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11282 | | public void ClearPlaybackRate() { |
| | 11283 | | _hasBits0 &= ~8; |
| | 11284 | | } |
| | 11285 | |
|
| | 11286 | | /// <summary>Field number for the "seek" field.</summary> |
| | 11287 | | public const int SeekFieldNumber = 5; |
| | 11288 | | private float seek_; |
| | 11289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11291 | | public float Seek { |
| | 11292 | | get { if ((_hasBits0 & 16) != 0) { return seek_; } else { return 0F; } } |
| | 11293 | | set { |
| | 11294 | | _hasBits0 |= 16; |
| | 11295 | | seek_ = value; |
| | 11296 | | } |
| | 11297 | | } |
| | 11298 | | /// <summary>Gets whether the "seek" field is set</summary> |
| | 11299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11301 | | public bool HasSeek { |
| | 11302 | | get { return (_hasBits0 & 16) != 0; } |
| | 11303 | | } |
| | 11304 | | /// <summary>Clears the value of the "seek" field</summary> |
| | 11305 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11306 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11307 | | public void ClearSeek() { |
| | 11308 | | _hasBits0 &= ~16; |
| | 11309 | | } |
| | 11310 | |
|
| | 11311 | | /// <summary>Field number for the "playing" field.</summary> |
| | 11312 | | public const int PlayingFieldNumber = 6; |
| | 11313 | | private bool playing_; |
| | 11314 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11315 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11316 | | public bool Playing { |
| | 11317 | | get { if ((_hasBits0 & 32) != 0) { return playing_; } else { return false; } } |
| | 11318 | | set { |
| | 11319 | | _hasBits0 |= 32; |
| | 11320 | | playing_ = value; |
| | 11321 | | } |
| | 11322 | | } |
| | 11323 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 11324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11326 | | public bool HasPlaying { |
| | 11327 | | get { return (_hasBits0 & 32) != 0; } |
| | 11328 | | } |
| | 11329 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 11330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11332 | | public void ClearPlaying() { |
| | 11333 | | _hasBits0 &= ~32; |
| | 11334 | | } |
| | 11335 | |
|
| | 11336 | | /// <summary>Field number for the "loop" field.</summary> |
| | 11337 | | public const int LoopFieldNumber = 7; |
| | 11338 | | private bool loop_; |
| | 11339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11341 | | public bool Loop { |
| | 11342 | | get { if ((_hasBits0 & 64) != 0) { return loop_; } else { return false; } } |
| | 11343 | | set { |
| | 11344 | | _hasBits0 |= 64; |
| | 11345 | | loop_ = value; |
| | 11346 | | } |
| | 11347 | | } |
| | 11348 | | /// <summary>Gets whether the "loop" field is set</summary> |
| | 11349 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11350 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11351 | | public bool HasLoop { |
| | 11352 | | get { return (_hasBits0 & 64) != 0; } |
| | 11353 | | } |
| | 11354 | | /// <summary>Clears the value of the "loop" field</summary> |
| | 11355 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11356 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11357 | | public void ClearLoop() { |
| | 11358 | | _hasBits0 &= ~64; |
| | 11359 | | } |
| | 11360 | |
|
| | 11361 | | /// <summary>Field number for the "video_clip_id" field.</summary> |
| | 11362 | | public const int VideoClipIdFieldNumber = 8; |
| | 11363 | | private string videoClipId_; |
| | 11364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11366 | | public string VideoClipId { |
| | 11367 | | get { return videoClipId_ ?? ""; } |
| | 11368 | | set { |
| | 11369 | | videoClipId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11370 | | } |
| | 11371 | | } |
| | 11372 | | /// <summary>Gets whether the "video_clip_id" field is set</summary> |
| | 11373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11375 | | public bool HasVideoClipId { |
| | 11376 | | get { return videoClipId_ != null; } |
| | 11377 | | } |
| | 11378 | | /// <summary>Clears the value of the "video_clip_id" field</summary> |
| | 11379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11381 | | public void ClearVideoClipId() { |
| | 11382 | | videoClipId_ = null; |
| | 11383 | | } |
| | 11384 | |
|
| | 11385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11387 | | public override bool Equals(object other) { |
| | 11388 | | return Equals(other as ECS6ComponentVideoTexture); |
| | 11389 | | } |
| | 11390 | |
|
| | 11391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11393 | | public bool Equals(ECS6ComponentVideoTexture other) { |
| | 11394 | | if (ReferenceEquals(other, null)) { |
| | 11395 | | return false; |
| | 11396 | | } |
| | 11397 | | if (ReferenceEquals(other, this)) { |
| | 11398 | | return true; |
| | 11399 | | } |
| | 11400 | | if (SamplingMode != other.SamplingMode) return false; |
| | 11401 | | if (Wrap != other.Wrap) return false; |
| | 11402 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 11403 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PlaybackRate, other.PlaybackRate)) return |
| | 11404 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Seek, other.Seek)) return false; |
| | 11405 | | if (Playing != other.Playing) return false; |
| | 11406 | | if (Loop != other.Loop) return false; |
| | 11407 | | if (VideoClipId != other.VideoClipId) return false; |
| | 11408 | | return Equals(_unknownFields, other._unknownFields); |
| | 11409 | | } |
| | 11410 | |
|
| | 11411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11413 | | public override int GetHashCode() { |
| | 11414 | | int hash = 1; |
| | 11415 | | if (HasSamplingMode) hash ^= SamplingMode.GetHashCode(); |
| | 11416 | | if (HasWrap) hash ^= Wrap.GetHashCode(); |
| | 11417 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 11418 | | if (HasPlaybackRate) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PlaybackRate |
| | 11419 | | if (HasSeek) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Seek); |
| | 11420 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| | 11421 | | if (HasLoop) hash ^= Loop.GetHashCode(); |
| | 11422 | | if (HasVideoClipId) hash ^= VideoClipId.GetHashCode(); |
| | 11423 | | if (_unknownFields != null) { |
| | 11424 | | hash ^= _unknownFields.GetHashCode(); |
| | 11425 | | } |
| | 11426 | | return hash; |
| | 11427 | | } |
| | 11428 | |
|
| | 11429 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11430 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11431 | | public override string ToString() { |
| | 11432 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11433 | | } |
| | 11434 | |
|
| | 11435 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11436 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11437 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11438 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11439 | | output.WriteRawMessage(this); |
| | 11440 | | #else |
| | 11441 | | if (HasSamplingMode) { |
| | 11442 | | output.WriteRawTag(8); |
| | 11443 | | output.WriteInt32(SamplingMode); |
| | 11444 | | } |
| | 11445 | | if (HasWrap) { |
| | 11446 | | output.WriteRawTag(16); |
| | 11447 | | output.WriteInt32(Wrap); |
| | 11448 | | } |
| | 11449 | | if (HasVolume) { |
| | 11450 | | output.WriteRawTag(29); |
| | 11451 | | output.WriteFloat(Volume); |
| | 11452 | | } |
| | 11453 | | if (HasPlaybackRate) { |
| | 11454 | | output.WriteRawTag(37); |
| | 11455 | | output.WriteFloat(PlaybackRate); |
| | 11456 | | } |
| | 11457 | | if (HasSeek) { |
| | 11458 | | output.WriteRawTag(45); |
| | 11459 | | output.WriteFloat(Seek); |
| | 11460 | | } |
| | 11461 | | if (HasPlaying) { |
| | 11462 | | output.WriteRawTag(48); |
| | 11463 | | output.WriteBool(Playing); |
| | 11464 | | } |
| | 11465 | | if (HasLoop) { |
| | 11466 | | output.WriteRawTag(56); |
| | 11467 | | output.WriteBool(Loop); |
| | 11468 | | } |
| | 11469 | | if (HasVideoClipId) { |
| | 11470 | | output.WriteRawTag(66); |
| | 11471 | | output.WriteString(VideoClipId); |
| | 11472 | | } |
| | 11473 | | if (_unknownFields != null) { |
| | 11474 | | _unknownFields.WriteTo(output); |
| | 11475 | | } |
| | 11476 | | #endif |
| | 11477 | | } |
| | 11478 | |
|
| | 11479 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11480 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11481 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11482 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 11483 | | if (HasSamplingMode) { |
| | 11484 | | output.WriteRawTag(8); |
| | 11485 | | output.WriteInt32(SamplingMode); |
| | 11486 | | } |
| | 11487 | | if (HasWrap) { |
| | 11488 | | output.WriteRawTag(16); |
| | 11489 | | output.WriteInt32(Wrap); |
| | 11490 | | } |
| | 11491 | | if (HasVolume) { |
| | 11492 | | output.WriteRawTag(29); |
| | 11493 | | output.WriteFloat(Volume); |
| | 11494 | | } |
| | 11495 | | if (HasPlaybackRate) { |
| | 11496 | | output.WriteRawTag(37); |
| | 11497 | | output.WriteFloat(PlaybackRate); |
| | 11498 | | } |
| | 11499 | | if (HasSeek) { |
| | 11500 | | output.WriteRawTag(45); |
| | 11501 | | output.WriteFloat(Seek); |
| | 11502 | | } |
| | 11503 | | if (HasPlaying) { |
| | 11504 | | output.WriteRawTag(48); |
| | 11505 | | output.WriteBool(Playing); |
| | 11506 | | } |
| | 11507 | | if (HasLoop) { |
| | 11508 | | output.WriteRawTag(56); |
| | 11509 | | output.WriteBool(Loop); |
| | 11510 | | } |
| | 11511 | | if (HasVideoClipId) { |
| | 11512 | | output.WriteRawTag(66); |
| | 11513 | | output.WriteString(VideoClipId); |
| | 11514 | | } |
| | 11515 | | if (_unknownFields != null) { |
| | 11516 | | _unknownFields.WriteTo(ref output); |
| | 11517 | | } |
| | 11518 | | } |
| | 11519 | | #endif |
| | 11520 | |
|
| | 11521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11523 | | public int CalculateSize() { |
| | 11524 | | int size = 0; |
| | 11525 | | if (HasSamplingMode) { |
| | 11526 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SamplingMode); |
| | 11527 | | } |
| | 11528 | | if (HasWrap) { |
| | 11529 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Wrap); |
| | 11530 | | } |
| | 11531 | | if (HasVolume) { |
| | 11532 | | size += 1 + 4; |
| | 11533 | | } |
| | 11534 | | if (HasPlaybackRate) { |
| | 11535 | | size += 1 + 4; |
| | 11536 | | } |
| | 11537 | | if (HasSeek) { |
| | 11538 | | size += 1 + 4; |
| | 11539 | | } |
| | 11540 | | if (HasPlaying) { |
| | 11541 | | size += 1 + 1; |
| | 11542 | | } |
| | 11543 | | if (HasLoop) { |
| | 11544 | | size += 1 + 1; |
| | 11545 | | } |
| | 11546 | | if (HasVideoClipId) { |
| | 11547 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VideoClipId); |
| | 11548 | | } |
| | 11549 | | if (_unknownFields != null) { |
| | 11550 | | size += _unknownFields.CalculateSize(); |
| | 11551 | | } |
| | 11552 | | return size; |
| | 11553 | | } |
| | 11554 | |
|
| | 11555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11557 | | public void MergeFrom(ECS6ComponentVideoTexture other) { |
| | 11558 | | if (other == null) { |
| | 11559 | | return; |
| | 11560 | | } |
| | 11561 | | if (other.HasSamplingMode) { |
| | 11562 | | SamplingMode = other.SamplingMode; |
| | 11563 | | } |
| | 11564 | | if (other.HasWrap) { |
| | 11565 | | Wrap = other.Wrap; |
| | 11566 | | } |
| | 11567 | | if (other.HasVolume) { |
| | 11568 | | Volume = other.Volume; |
| | 11569 | | } |
| | 11570 | | if (other.HasPlaybackRate) { |
| | 11571 | | PlaybackRate = other.PlaybackRate; |
| | 11572 | | } |
| | 11573 | | if (other.HasSeek) { |
| | 11574 | | Seek = other.Seek; |
| | 11575 | | } |
| | 11576 | | if (other.HasPlaying) { |
| | 11577 | | Playing = other.Playing; |
| | 11578 | | } |
| | 11579 | | if (other.HasLoop) { |
| | 11580 | | Loop = other.Loop; |
| | 11581 | | } |
| | 11582 | | if (other.HasVideoClipId) { |
| | 11583 | | VideoClipId = other.VideoClipId; |
| | 11584 | | } |
| | 11585 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 11586 | | } |
| | 11587 | |
|
| | 11588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11590 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 11591 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11592 | | input.ReadRawMessage(this); |
| | 11593 | | #else |
| | 11594 | | uint tag; |
| | 11595 | | while ((tag = input.ReadTag()) != 0) { |
| | 11596 | | switch(tag) { |
| | 11597 | | default: |
| | 11598 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11599 | | break; |
| | 11600 | | case 8: { |
| | 11601 | | SamplingMode = input.ReadInt32(); |
| | 11602 | | break; |
| | 11603 | | } |
| | 11604 | | case 16: { |
| | 11605 | | Wrap = input.ReadInt32(); |
| | 11606 | | break; |
| | 11607 | | } |
| | 11608 | | case 29: { |
| | 11609 | | Volume = input.ReadFloat(); |
| | 11610 | | break; |
| | 11611 | | } |
| | 11612 | | case 37: { |
| | 11613 | | PlaybackRate = input.ReadFloat(); |
| | 11614 | | break; |
| | 11615 | | } |
| | 11616 | | case 45: { |
| | 11617 | | Seek = input.ReadFloat(); |
| | 11618 | | break; |
| | 11619 | | } |
| | 11620 | | case 48: { |
| | 11621 | | Playing = input.ReadBool(); |
| | 11622 | | break; |
| | 11623 | | } |
| | 11624 | | case 56: { |
| | 11625 | | Loop = input.ReadBool(); |
| | 11626 | | break; |
| | 11627 | | } |
| | 11628 | | case 66: { |
| | 11629 | | VideoClipId = input.ReadString(); |
| | 11630 | | break; |
| | 11631 | | } |
| | 11632 | | } |
| | 11633 | | } |
| | 11634 | | #endif |
| | 11635 | | } |
| | 11636 | |
|
| | 11637 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11638 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11639 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11640 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11641 | | uint tag; |
| | 11642 | | while ((tag = input.ReadTag()) != 0) { |
| | 11643 | | switch(tag) { |
| | 11644 | | default: |
| | 11645 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11646 | | break; |
| | 11647 | | case 8: { |
| | 11648 | | SamplingMode = input.ReadInt32(); |
| | 11649 | | break; |
| | 11650 | | } |
| | 11651 | | case 16: { |
| | 11652 | | Wrap = input.ReadInt32(); |
| | 11653 | | break; |
| | 11654 | | } |
| | 11655 | | case 29: { |
| | 11656 | | Volume = input.ReadFloat(); |
| | 11657 | | break; |
| | 11658 | | } |
| | 11659 | | case 37: { |
| | 11660 | | PlaybackRate = input.ReadFloat(); |
| | 11661 | | break; |
| | 11662 | | } |
| | 11663 | | case 45: { |
| | 11664 | | Seek = input.ReadFloat(); |
| | 11665 | | break; |
| | 11666 | | } |
| | 11667 | | case 48: { |
| | 11668 | | Playing = input.ReadBool(); |
| | 11669 | | break; |
| | 11670 | | } |
| | 11671 | | case 56: { |
| | 11672 | | Loop = input.ReadBool(); |
| | 11673 | | break; |
| | 11674 | | } |
| | 11675 | | case 66: { |
| | 11676 | | VideoClipId = input.ReadString(); |
| | 11677 | | break; |
| | 11678 | | } |
| | 11679 | | } |
| | 11680 | | } |
| | 11681 | | } |
| | 11682 | | #endif |
| | 11683 | |
|
| | 11684 | | #region Nested types |
| | 11685 | | /// <summary>Container for nested types declared in the ECS6ComponentVideoTexture message type.</summary> |
| | 11686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11688 | | public static partial class Types { |
| | 11689 | | public enum VideoStatus { |
| | 11690 | | [pbr::OriginalName("NONE")] None = 0, |
| | 11691 | | [pbr::OriginalName("ERROR")] Error = 1, |
| | 11692 | | [pbr::OriginalName("LOADING")] Loading = 2, |
| | 11693 | | [pbr::OriginalName("READY")] Ready = 3, |
| | 11694 | | [pbr::OriginalName("PLAYING")] Playing = 4, |
| | 11695 | | [pbr::OriginalName("BUFFERING")] Buffering = 5, |
| | 11696 | | } |
| | 11697 | |
|
| | 11698 | | } |
| | 11699 | | #endregion |
| | 11700 | |
|
| | 11701 | | } |
| | 11702 | |
|
| | 11703 | | /// <summary> |
| | 11704 | | /// CLASS_ID.CAMERA_MODE_AREA |
| | 11705 | | /// </summary> |
| | 11706 | | public sealed partial class ECS6ComponentCameraModeArea : pb::IMessage<ECS6ComponentCameraModeArea> |
| | 11707 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11708 | | , pb::IBufferMessage |
| | 11709 | | #endif |
| | 11710 | | { |
| | 11711 | | private static readonly pb::MessageParser<ECS6ComponentCameraModeArea> _parser = new pb::MessageParser<ECS6Component |
| | 11712 | | private pb::UnknownFieldSet _unknownFields; |
| | 11713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11715 | | public static pb::MessageParser<ECS6ComponentCameraModeArea> Parser { get { return _parser; } } |
| | 11716 | |
|
| | 11717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11719 | | public static pbr::MessageDescriptor Descriptor { |
| | 11720 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[26]; } |
| | 11721 | | } |
| | 11722 | |
|
| | 11723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11725 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11726 | | get { return Descriptor; } |
| | 11727 | | } |
| | 11728 | |
|
| | 11729 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11730 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11731 | | public ECS6ComponentCameraModeArea() { |
| | 11732 | | OnConstruction(); |
| | 11733 | | } |
| | 11734 | |
|
| | 11735 | | partial void OnConstruction(); |
| | 11736 | |
|
| | 11737 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11738 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11739 | | public ECS6ComponentCameraModeArea(ECS6ComponentCameraModeArea other) : this() { |
| | 11740 | | area_ = other.area_ != null ? other.area_.Clone() : null; |
| | 11741 | | cameraMode_ = other.cameraMode_; |
| | 11742 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11743 | | } |
| | 11744 | |
|
| | 11745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11747 | | public ECS6ComponentCameraModeArea Clone() { |
| | 11748 | | return new ECS6ComponentCameraModeArea(this); |
| | 11749 | | } |
| | 11750 | |
|
| | 11751 | | /// <summary>Field number for the "area" field.</summary> |
| | 11752 | | public const int AreaFieldNumber = 1; |
| | 11753 | | private global::Decentraland.Sdk.Ecs6.Area area_; |
| | 11754 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11755 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11756 | | public global::Decentraland.Sdk.Ecs6.Area Area { |
| | 11757 | | get { return area_; } |
| | 11758 | | set { |
| | 11759 | | area_ = value; |
| | 11760 | | } |
| | 11761 | | } |
| | 11762 | |
|
| | 11763 | | /// <summary>Field number for the "camera_mode" field.</summary> |
| | 11764 | | public const int CameraModeFieldNumber = 2; |
| | 11765 | | private global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode cameraMode_ = global::Decentralan |
| | 11766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11768 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode CameraMode { |
| | 11769 | | get { return cameraMode_; } |
| | 11770 | | set { |
| | 11771 | | cameraMode_ = value; |
| | 11772 | | } |
| | 11773 | | } |
| | 11774 | |
|
| | 11775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11777 | | public override bool Equals(object other) { |
| | 11778 | | return Equals(other as ECS6ComponentCameraModeArea); |
| | 11779 | | } |
| | 11780 | |
|
| | 11781 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11782 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11783 | | public bool Equals(ECS6ComponentCameraModeArea other) { |
| | 11784 | | if (ReferenceEquals(other, null)) { |
| | 11785 | | return false; |
| | 11786 | | } |
| | 11787 | | if (ReferenceEquals(other, this)) { |
| | 11788 | | return true; |
| | 11789 | | } |
| | 11790 | | if (!object.Equals(Area, other.Area)) return false; |
| | 11791 | | if (CameraMode != other.CameraMode) return false; |
| | 11792 | | return Equals(_unknownFields, other._unknownFields); |
| | 11793 | | } |
| | 11794 | |
|
| | 11795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11797 | | public override int GetHashCode() { |
| | 11798 | | int hash = 1; |
| | 11799 | | if (area_ != null) hash ^= Area.GetHashCode(); |
| | 11800 | | if (CameraMode != global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode.CmFirstPerson) hash ^ |
| | 11801 | | if (_unknownFields != null) { |
| | 11802 | | hash ^= _unknownFields.GetHashCode(); |
| | 11803 | | } |
| | 11804 | | return hash; |
| | 11805 | | } |
| | 11806 | |
|
| | 11807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11809 | | public override string ToString() { |
| | 11810 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11811 | | } |
| | 11812 | |
|
| | 11813 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11814 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11815 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11816 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11817 | | output.WriteRawMessage(this); |
| | 11818 | | #else |
| | 11819 | | if (area_ != null) { |
| | 11820 | | output.WriteRawTag(10); |
| | 11821 | | output.WriteMessage(Area); |
| | 11822 | | } |
| | 11823 | | if (CameraMode != global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode.CmFirstPerson) { |
| | 11824 | | output.WriteRawTag(16); |
| | 11825 | | output.WriteEnum((int) CameraMode); |
| | 11826 | | } |
| | 11827 | | if (_unknownFields != null) { |
| | 11828 | | _unknownFields.WriteTo(output); |
| | 11829 | | } |
| | 11830 | | #endif |
| | 11831 | | } |
| | 11832 | |
|
| | 11833 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11836 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 11837 | | if (area_ != null) { |
| | 11838 | | output.WriteRawTag(10); |
| | 11839 | | output.WriteMessage(Area); |
| | 11840 | | } |
| | 11841 | | if (CameraMode != global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode.CmFirstPerson) { |
| | 11842 | | output.WriteRawTag(16); |
| | 11843 | | output.WriteEnum((int) CameraMode); |
| | 11844 | | } |
| | 11845 | | if (_unknownFields != null) { |
| | 11846 | | _unknownFields.WriteTo(ref output); |
| | 11847 | | } |
| | 11848 | | } |
| | 11849 | | #endif |
| | 11850 | |
|
| | 11851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11853 | | public int CalculateSize() { |
| | 11854 | | int size = 0; |
| | 11855 | | if (area_ != null) { |
| | 11856 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Area); |
| | 11857 | | } |
| | 11858 | | if (CameraMode != global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode.CmFirstPerson) { |
| | 11859 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CameraMode); |
| | 11860 | | } |
| | 11861 | | if (_unknownFields != null) { |
| | 11862 | | size += _unknownFields.CalculateSize(); |
| | 11863 | | } |
| | 11864 | | return size; |
| | 11865 | | } |
| | 11866 | |
|
| | 11867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11869 | | public void MergeFrom(ECS6ComponentCameraModeArea other) { |
| | 11870 | | if (other == null) { |
| | 11871 | | return; |
| | 11872 | | } |
| | 11873 | | if (other.area_ != null) { |
| | 11874 | | if (area_ == null) { |
| | 11875 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 11876 | | } |
| | 11877 | | Area.MergeFrom(other.Area); |
| | 11878 | | } |
| | 11879 | | if (other.CameraMode != global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode.CmFirstPerson) |
| | 11880 | | CameraMode = other.CameraMode; |
| | 11881 | | } |
| | 11882 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 11883 | | } |
| | 11884 | |
|
| | 11885 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11886 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11887 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 11888 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11889 | | input.ReadRawMessage(this); |
| | 11890 | | #else |
| | 11891 | | uint tag; |
| | 11892 | | while ((tag = input.ReadTag()) != 0) { |
| | 11893 | | switch(tag) { |
| | 11894 | | default: |
| | 11895 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11896 | | break; |
| | 11897 | | case 10: { |
| | 11898 | | if (area_ == null) { |
| | 11899 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 11900 | | } |
| | 11901 | | input.ReadMessage(Area); |
| | 11902 | | break; |
| | 11903 | | } |
| | 11904 | | case 16: { |
| | 11905 | | CameraMode = (global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode) input.ReadEnum(); |
| | 11906 | | break; |
| | 11907 | | } |
| | 11908 | | } |
| | 11909 | | } |
| | 11910 | | #endif |
| | 11911 | | } |
| | 11912 | |
|
| | 11913 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11916 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11917 | | uint tag; |
| | 11918 | | while ((tag = input.ReadTag()) != 0) { |
| | 11919 | | switch(tag) { |
| | 11920 | | default: |
| | 11921 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11922 | | break; |
| | 11923 | | case 10: { |
| | 11924 | | if (area_ == null) { |
| | 11925 | | Area = new global::Decentraland.Sdk.Ecs6.Area(); |
| | 11926 | | } |
| | 11927 | | input.ReadMessage(Area); |
| | 11928 | | break; |
| | 11929 | | } |
| | 11930 | | case 16: { |
| | 11931 | | CameraMode = (global::Decentraland.Sdk.Ecs6.ECS6ComponentCameraModeArea.Types.CameraMode) input.ReadEnum(); |
| | 11932 | | break; |
| | 11933 | | } |
| | 11934 | | } |
| | 11935 | | } |
| | 11936 | | } |
| | 11937 | | #endif |
| | 11938 | |
|
| | 11939 | | #region Nested types |
| | 11940 | | /// <summary>Container for nested types declared in the ECS6ComponentCameraModeArea message type.</summary> |
| | 11941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11943 | | public static partial class Types { |
| | 11944 | | public enum CameraMode { |
| | 11945 | | [pbr::OriginalName("CM_FIRST_PERSON")] CmFirstPerson = 0, |
| | 11946 | | [pbr::OriginalName("CM_THIRD_PERSON")] CmThirdPerson = 1, |
| | 11947 | | [pbr::OriginalName("CM_BUILDING_TOOL_GOD_MODE")] CmBuildingToolGodMode = 2, |
| | 11948 | | } |
| | 11949 | |
|
| | 11950 | | } |
| | 11951 | | #endregion |
| | 11952 | |
|
| | 11953 | | } |
| | 11954 | |
|
| | 11955 | | /// <summary> |
| | 11956 | | /// CLASS_ID.AVATAR_TEXTURE |
| | 11957 | | /// </summary> |
| | 11958 | | public sealed partial class ECS6ComponentAvatarTexture : pb::IMessage<ECS6ComponentAvatarTexture> |
| | 11959 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11960 | | , pb::IBufferMessage |
| | 11961 | | #endif |
| | 11962 | | { |
| | 11963 | | private static readonly pb::MessageParser<ECS6ComponentAvatarTexture> _parser = new pb::MessageParser<ECS6ComponentA |
| | 11964 | | private pb::UnknownFieldSet _unknownFields; |
| | 11965 | | private int _hasBits0; |
| | 11966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11968 | | public static pb::MessageParser<ECS6ComponentAvatarTexture> Parser { get { return _parser; } } |
| | 11969 | |
|
| | 11970 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11971 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11972 | | public static pbr::MessageDescriptor Descriptor { |
| | 11973 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[27]; } |
| | 11974 | | } |
| | 11975 | |
|
| | 11976 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11977 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11978 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11979 | | get { return Descriptor; } |
| | 11980 | | } |
| | 11981 | |
|
| | 11982 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11983 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11984 | | public ECS6ComponentAvatarTexture() { |
| | 11985 | | OnConstruction(); |
| | 11986 | | } |
| | 11987 | |
|
| | 11988 | | partial void OnConstruction(); |
| | 11989 | |
|
| | 11990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11992 | | public ECS6ComponentAvatarTexture(ECS6ComponentAvatarTexture other) : this() { |
| | 11993 | | _hasBits0 = other._hasBits0; |
| | 11994 | | samplingMode_ = other.samplingMode_; |
| | 11995 | | wrap_ = other.wrap_; |
| | 11996 | | hasAlpha_ = other.hasAlpha_; |
| | 11997 | | userId_ = other.userId_; |
| | 11998 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11999 | | } |
| | 12000 | |
|
| | 12001 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12002 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12003 | | public ECS6ComponentAvatarTexture Clone() { |
| | 12004 | | return new ECS6ComponentAvatarTexture(this); |
| | 12005 | | } |
| | 12006 | |
|
| | 12007 | | /// <summary>Field number for the "sampling_mode" field.</summary> |
| | 12008 | | public const int SamplingModeFieldNumber = 1; |
| | 12009 | | private int samplingMode_; |
| | 12010 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12011 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12012 | | public int SamplingMode { |
| | 12013 | | get { if ((_hasBits0 & 1) != 0) { return samplingMode_; } else { return 0; } } |
| | 12014 | | set { |
| | 12015 | | _hasBits0 |= 1; |
| | 12016 | | samplingMode_ = value; |
| | 12017 | | } |
| | 12018 | | } |
| | 12019 | | /// <summary>Gets whether the "sampling_mode" field is set</summary> |
| | 12020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12022 | | public bool HasSamplingMode { |
| | 12023 | | get { return (_hasBits0 & 1) != 0; } |
| | 12024 | | } |
| | 12025 | | /// <summary>Clears the value of the "sampling_mode" field</summary> |
| | 12026 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12027 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12028 | | public void ClearSamplingMode() { |
| | 12029 | | _hasBits0 &= ~1; |
| | 12030 | | } |
| | 12031 | |
|
| | 12032 | | /// <summary>Field number for the "wrap" field.</summary> |
| | 12033 | | public const int WrapFieldNumber = 2; |
| | 12034 | | private int wrap_; |
| | 12035 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12036 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12037 | | public int Wrap { |
| | 12038 | | get { if ((_hasBits0 & 2) != 0) { return wrap_; } else { return 0; } } |
| | 12039 | | set { |
| | 12040 | | _hasBits0 |= 2; |
| | 12041 | | wrap_ = value; |
| | 12042 | | } |
| | 12043 | | } |
| | 12044 | | /// <summary>Gets whether the "wrap" field is set</summary> |
| | 12045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12047 | | public bool HasWrap { |
| | 12048 | | get { return (_hasBits0 & 2) != 0; } |
| | 12049 | | } |
| | 12050 | | /// <summary>Clears the value of the "wrap" field</summary> |
| | 12051 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12052 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12053 | | public void ClearWrap() { |
| | 12054 | | _hasBits0 &= ~2; |
| | 12055 | | } |
| | 12056 | |
|
| | 12057 | | /// <summary>Field number for the "has_alpha" field.</summary> |
| | 12058 | | public const int HasAlphaFieldNumber = 3; |
| | 12059 | | private bool hasAlpha_; |
| | 12060 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12061 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12062 | | public bool HasAlpha { |
| | 12063 | | get { if ((_hasBits0 & 4) != 0) { return hasAlpha_; } else { return false; } } |
| | 12064 | | set { |
| | 12065 | | _hasBits0 |= 4; |
| | 12066 | | hasAlpha_ = value; |
| | 12067 | | } |
| | 12068 | | } |
| | 12069 | | /// <summary>Gets whether the "has_alpha" field is set</summary> |
| | 12070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12072 | | public bool HasHasAlpha { |
| | 12073 | | get { return (_hasBits0 & 4) != 0; } |
| | 12074 | | } |
| | 12075 | | /// <summary>Clears the value of the "has_alpha" field</summary> |
| | 12076 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12077 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12078 | | public void ClearHasAlpha() { |
| | 12079 | | _hasBits0 &= ~4; |
| | 12080 | | } |
| | 12081 | |
|
| | 12082 | | /// <summary>Field number for the "user_id" field.</summary> |
| | 12083 | | public const int UserIdFieldNumber = 4; |
| | 12084 | | private string userId_; |
| | 12085 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12086 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12087 | | public string UserId { |
| | 12088 | | get { return userId_ ?? ""; } |
| | 12089 | | set { |
| | 12090 | | userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12091 | | } |
| | 12092 | | } |
| | 12093 | | /// <summary>Gets whether the "user_id" field is set</summary> |
| | 12094 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12095 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12096 | | public bool HasUserId { |
| | 12097 | | get { return userId_ != null; } |
| | 12098 | | } |
| | 12099 | | /// <summary>Clears the value of the "user_id" field</summary> |
| | 12100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12102 | | public void ClearUserId() { |
| | 12103 | | userId_ = null; |
| | 12104 | | } |
| | 12105 | |
|
| | 12106 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12107 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12108 | | public override bool Equals(object other) { |
| | 12109 | | return Equals(other as ECS6ComponentAvatarTexture); |
| | 12110 | | } |
| | 12111 | |
|
| | 12112 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12113 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12114 | | public bool Equals(ECS6ComponentAvatarTexture other) { |
| | 12115 | | if (ReferenceEquals(other, null)) { |
| | 12116 | | return false; |
| | 12117 | | } |
| | 12118 | | if (ReferenceEquals(other, this)) { |
| | 12119 | | return true; |
| | 12120 | | } |
| | 12121 | | if (SamplingMode != other.SamplingMode) return false; |
| | 12122 | | if (Wrap != other.Wrap) return false; |
| | 12123 | | if (HasAlpha != other.HasAlpha) return false; |
| | 12124 | | if (UserId != other.UserId) return false; |
| | 12125 | | return Equals(_unknownFields, other._unknownFields); |
| | 12126 | | } |
| | 12127 | |
|
| | 12128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12130 | | public override int GetHashCode() { |
| | 12131 | | int hash = 1; |
| | 12132 | | if (HasSamplingMode) hash ^= SamplingMode.GetHashCode(); |
| | 12133 | | if (HasWrap) hash ^= Wrap.GetHashCode(); |
| | 12134 | | if (HasHasAlpha) hash ^= HasAlpha.GetHashCode(); |
| | 12135 | | if (HasUserId) hash ^= UserId.GetHashCode(); |
| | 12136 | | if (_unknownFields != null) { |
| | 12137 | | hash ^= _unknownFields.GetHashCode(); |
| | 12138 | | } |
| | 12139 | | return hash; |
| | 12140 | | } |
| | 12141 | |
|
| | 12142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12144 | | public override string ToString() { |
| | 12145 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12146 | | } |
| | 12147 | |
|
| | 12148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12150 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12151 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12152 | | output.WriteRawMessage(this); |
| | 12153 | | #else |
| | 12154 | | if (HasSamplingMode) { |
| | 12155 | | output.WriteRawTag(8); |
| | 12156 | | output.WriteInt32(SamplingMode); |
| | 12157 | | } |
| | 12158 | | if (HasWrap) { |
| | 12159 | | output.WriteRawTag(16); |
| | 12160 | | output.WriteInt32(Wrap); |
| | 12161 | | } |
| | 12162 | | if (HasHasAlpha) { |
| | 12163 | | output.WriteRawTag(24); |
| | 12164 | | output.WriteBool(HasAlpha); |
| | 12165 | | } |
| | 12166 | | if (HasUserId) { |
| | 12167 | | output.WriteRawTag(34); |
| | 12168 | | output.WriteString(UserId); |
| | 12169 | | } |
| | 12170 | | if (_unknownFields != null) { |
| | 12171 | | _unknownFields.WriteTo(output); |
| | 12172 | | } |
| | 12173 | | #endif |
| | 12174 | | } |
| | 12175 | |
|
| | 12176 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12179 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12180 | | if (HasSamplingMode) { |
| | 12181 | | output.WriteRawTag(8); |
| | 12182 | | output.WriteInt32(SamplingMode); |
| | 12183 | | } |
| | 12184 | | if (HasWrap) { |
| | 12185 | | output.WriteRawTag(16); |
| | 12186 | | output.WriteInt32(Wrap); |
| | 12187 | | } |
| | 12188 | | if (HasHasAlpha) { |
| | 12189 | | output.WriteRawTag(24); |
| | 12190 | | output.WriteBool(HasAlpha); |
| | 12191 | | } |
| | 12192 | | if (HasUserId) { |
| | 12193 | | output.WriteRawTag(34); |
| | 12194 | | output.WriteString(UserId); |
| | 12195 | | } |
| | 12196 | | if (_unknownFields != null) { |
| | 12197 | | _unknownFields.WriteTo(ref output); |
| | 12198 | | } |
| | 12199 | | } |
| | 12200 | | #endif |
| | 12201 | |
|
| | 12202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12204 | | public int CalculateSize() { |
| | 12205 | | int size = 0; |
| | 12206 | | if (HasSamplingMode) { |
| | 12207 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SamplingMode); |
| | 12208 | | } |
| | 12209 | | if (HasWrap) { |
| | 12210 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Wrap); |
| | 12211 | | } |
| | 12212 | | if (HasHasAlpha) { |
| | 12213 | | size += 1 + 1; |
| | 12214 | | } |
| | 12215 | | if (HasUserId) { |
| | 12216 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); |
| | 12217 | | } |
| | 12218 | | if (_unknownFields != null) { |
| | 12219 | | size += _unknownFields.CalculateSize(); |
| | 12220 | | } |
| | 12221 | | return size; |
| | 12222 | | } |
| | 12223 | |
|
| | 12224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12226 | | public void MergeFrom(ECS6ComponentAvatarTexture other) { |
| | 12227 | | if (other == null) { |
| | 12228 | | return; |
| | 12229 | | } |
| | 12230 | | if (other.HasSamplingMode) { |
| | 12231 | | SamplingMode = other.SamplingMode; |
| | 12232 | | } |
| | 12233 | | if (other.HasWrap) { |
| | 12234 | | Wrap = other.Wrap; |
| | 12235 | | } |
| | 12236 | | if (other.HasHasAlpha) { |
| | 12237 | | HasAlpha = other.HasAlpha; |
| | 12238 | | } |
| | 12239 | | if (other.HasUserId) { |
| | 12240 | | UserId = other.UserId; |
| | 12241 | | } |
| | 12242 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 12243 | | } |
| | 12244 | |
|
| | 12245 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12246 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12247 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 12248 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12249 | | input.ReadRawMessage(this); |
| | 12250 | | #else |
| | 12251 | | uint tag; |
| | 12252 | | while ((tag = input.ReadTag()) != 0) { |
| | 12253 | | switch(tag) { |
| | 12254 | | default: |
| | 12255 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 12256 | | break; |
| | 12257 | | case 8: { |
| | 12258 | | SamplingMode = input.ReadInt32(); |
| | 12259 | | break; |
| | 12260 | | } |
| | 12261 | | case 16: { |
| | 12262 | | Wrap = input.ReadInt32(); |
| | 12263 | | break; |
| | 12264 | | } |
| | 12265 | | case 24: { |
| | 12266 | | HasAlpha = input.ReadBool(); |
| | 12267 | | break; |
| | 12268 | | } |
| | 12269 | | case 34: { |
| | 12270 | | UserId = input.ReadString(); |
| | 12271 | | break; |
| | 12272 | | } |
| | 12273 | | } |
| | 12274 | | } |
| | 12275 | | #endif |
| | 12276 | | } |
| | 12277 | |
|
| | 12278 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12281 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 12282 | | uint tag; |
| | 12283 | | while ((tag = input.ReadTag()) != 0) { |
| | 12284 | | switch(tag) { |
| | 12285 | | default: |
| | 12286 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 12287 | | break; |
| | 12288 | | case 8: { |
| | 12289 | | SamplingMode = input.ReadInt32(); |
| | 12290 | | break; |
| | 12291 | | } |
| | 12292 | | case 16: { |
| | 12293 | | Wrap = input.ReadInt32(); |
| | 12294 | | break; |
| | 12295 | | } |
| | 12296 | | case 24: { |
| | 12297 | | HasAlpha = input.ReadBool(); |
| | 12298 | | break; |
| | 12299 | | } |
| | 12300 | | case 34: { |
| | 12301 | | UserId = input.ReadString(); |
| | 12302 | | break; |
| | 12303 | | } |
| | 12304 | | } |
| | 12305 | | } |
| | 12306 | | } |
| | 12307 | | #endif |
| | 12308 | |
|
| | 12309 | | } |
| | 12310 | |
|
| | 12311 | | /// <summary> |
| | 12312 | | /// CLASS_ID.AUDIO_CLIP |
| | 12313 | | /// </summary> |
| | 12314 | | public sealed partial class ECS6ComponentAudioClip : pb::IMessage<ECS6ComponentAudioClip> |
| | 12315 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12316 | | , pb::IBufferMessage |
| | 12317 | | #endif |
| | 12318 | | { |
| | 12319 | | private static readonly pb::MessageParser<ECS6ComponentAudioClip> _parser = new pb::MessageParser<ECS6ComponentAudio |
| | 12320 | | private pb::UnknownFieldSet _unknownFields; |
| | 12321 | | private int _hasBits0; |
| | 12322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12324 | | public static pb::MessageParser<ECS6ComponentAudioClip> Parser { get { return _parser; } } |
| | 12325 | |
|
| | 12326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12328 | | public static pbr::MessageDescriptor Descriptor { |
| | 12329 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[28]; } |
| | 12330 | | } |
| | 12331 | |
|
| | 12332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12334 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 12335 | | get { return Descriptor; } |
| | 12336 | | } |
| | 12337 | |
|
| | 12338 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12339 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12340 | | public ECS6ComponentAudioClip() { |
| | 12341 | | OnConstruction(); |
| | 12342 | | } |
| | 12343 | |
|
| | 12344 | | partial void OnConstruction(); |
| | 12345 | |
|
| | 12346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12348 | | public ECS6ComponentAudioClip(ECS6ComponentAudioClip other) : this() { |
| | 12349 | | _hasBits0 = other._hasBits0; |
| | 12350 | | url_ = other.url_; |
| | 12351 | | loop_ = other.loop_; |
| | 12352 | | loadingCompleteEventId_ = other.loadingCompleteEventId_; |
| | 12353 | | volume_ = other.volume_; |
| | 12354 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 12355 | | } |
| | 12356 | |
|
| | 12357 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12358 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12359 | | public ECS6ComponentAudioClip Clone() { |
| | 12360 | | return new ECS6ComponentAudioClip(this); |
| | 12361 | | } |
| | 12362 | |
|
| | 12363 | | /// <summary>Field number for the "url" field.</summary> |
| | 12364 | | public const int UrlFieldNumber = 1; |
| | 12365 | | private string url_; |
| | 12366 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12367 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12368 | | public string Url { |
| | 12369 | | get { return url_ ?? ""; } |
| | 12370 | | set { |
| | 12371 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12372 | | } |
| | 12373 | | } |
| | 12374 | | /// <summary>Gets whether the "url" field is set</summary> |
| | 12375 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12376 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12377 | | public bool HasUrl { |
| | 12378 | | get { return url_ != null; } |
| | 12379 | | } |
| | 12380 | | /// <summary>Clears the value of the "url" field</summary> |
| | 12381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12383 | | public void ClearUrl() { |
| | 12384 | | url_ = null; |
| | 12385 | | } |
| | 12386 | |
|
| | 12387 | | /// <summary>Field number for the "loop" field.</summary> |
| | 12388 | | public const int LoopFieldNumber = 2; |
| | 12389 | | private bool loop_; |
| | 12390 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12391 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12392 | | public bool Loop { |
| | 12393 | | get { if ((_hasBits0 & 1) != 0) { return loop_; } else { return false; } } |
| | 12394 | | set { |
| | 12395 | | _hasBits0 |= 1; |
| | 12396 | | loop_ = value; |
| | 12397 | | } |
| | 12398 | | } |
| | 12399 | | /// <summary>Gets whether the "loop" field is set</summary> |
| | 12400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12402 | | public bool HasLoop { |
| | 12403 | | get { return (_hasBits0 & 1) != 0; } |
| | 12404 | | } |
| | 12405 | | /// <summary>Clears the value of the "loop" field</summary> |
| | 12406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12408 | | public void ClearLoop() { |
| | 12409 | | _hasBits0 &= ~1; |
| | 12410 | | } |
| | 12411 | |
|
| | 12412 | | /// <summary>Field number for the "loading_complete_event_id" field.</summary> |
| | 12413 | | public const int LoadingCompleteEventIdFieldNumber = 3; |
| | 12414 | | private string loadingCompleteEventId_; |
| | 12415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12417 | | public string LoadingCompleteEventId { |
| | 12418 | | get { return loadingCompleteEventId_ ?? ""; } |
| | 12419 | | set { |
| | 12420 | | loadingCompleteEventId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12421 | | } |
| | 12422 | | } |
| | 12423 | | /// <summary>Gets whether the "loading_complete_event_id" field is set</summary> |
| | 12424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12426 | | public bool HasLoadingCompleteEventId { |
| | 12427 | | get { return loadingCompleteEventId_ != null; } |
| | 12428 | | } |
| | 12429 | | /// <summary>Clears the value of the "loading_complete_event_id" field</summary> |
| | 12430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12432 | | public void ClearLoadingCompleteEventId() { |
| | 12433 | | loadingCompleteEventId_ = null; |
| | 12434 | | } |
| | 12435 | |
|
| | 12436 | | /// <summary>Field number for the "volume" field.</summary> |
| | 12437 | | public const int VolumeFieldNumber = 4; |
| | 12438 | | private float volume_; |
| | 12439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12441 | | public float Volume { |
| | 12442 | | get { if ((_hasBits0 & 2) != 0) { return volume_; } else { return 0F; } } |
| | 12443 | | set { |
| | 12444 | | _hasBits0 |= 2; |
| | 12445 | | volume_ = value; |
| | 12446 | | } |
| | 12447 | | } |
| | 12448 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 12449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12451 | | public bool HasVolume { |
| | 12452 | | get { return (_hasBits0 & 2) != 0; } |
| | 12453 | | } |
| | 12454 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 12455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12457 | | public void ClearVolume() { |
| | 12458 | | _hasBits0 &= ~2; |
| | 12459 | | } |
| | 12460 | |
|
| | 12461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12463 | | public override bool Equals(object other) { |
| | 12464 | | return Equals(other as ECS6ComponentAudioClip); |
| | 12465 | | } |
| | 12466 | |
|
| | 12467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12469 | | public bool Equals(ECS6ComponentAudioClip other) { |
| | 12470 | | if (ReferenceEquals(other, null)) { |
| | 12471 | | return false; |
| | 12472 | | } |
| | 12473 | | if (ReferenceEquals(other, this)) { |
| | 12474 | | return true; |
| | 12475 | | } |
| | 12476 | | if (Url != other.Url) return false; |
| | 12477 | | if (Loop != other.Loop) return false; |
| | 12478 | | if (LoadingCompleteEventId != other.LoadingCompleteEventId) return false; |
| | 12479 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 12480 | | return Equals(_unknownFields, other._unknownFields); |
| | 12481 | | } |
| | 12482 | |
|
| | 12483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12485 | | public override int GetHashCode() { |
| | 12486 | | int hash = 1; |
| | 12487 | | if (HasUrl) hash ^= Url.GetHashCode(); |
| | 12488 | | if (HasLoop) hash ^= Loop.GetHashCode(); |
| | 12489 | | if (HasLoadingCompleteEventId) hash ^= LoadingCompleteEventId.GetHashCode(); |
| | 12490 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 12491 | | if (_unknownFields != null) { |
| | 12492 | | hash ^= _unknownFields.GetHashCode(); |
| | 12493 | | } |
| | 12494 | | return hash; |
| | 12495 | | } |
| | 12496 | |
|
| | 12497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12499 | | public override string ToString() { |
| | 12500 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12501 | | } |
| | 12502 | |
|
| | 12503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12505 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12506 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12507 | | output.WriteRawMessage(this); |
| | 12508 | | #else |
| | 12509 | | if (HasUrl) { |
| | 12510 | | output.WriteRawTag(10); |
| | 12511 | | output.WriteString(Url); |
| | 12512 | | } |
| | 12513 | | if (HasLoop) { |
| | 12514 | | output.WriteRawTag(16); |
| | 12515 | | output.WriteBool(Loop); |
| | 12516 | | } |
| | 12517 | | if (HasLoadingCompleteEventId) { |
| | 12518 | | output.WriteRawTag(26); |
| | 12519 | | output.WriteString(LoadingCompleteEventId); |
| | 12520 | | } |
| | 12521 | | if (HasVolume) { |
| | 12522 | | output.WriteRawTag(37); |
| | 12523 | | output.WriteFloat(Volume); |
| | 12524 | | } |
| | 12525 | | if (_unknownFields != null) { |
| | 12526 | | _unknownFields.WriteTo(output); |
| | 12527 | | } |
| | 12528 | | #endif |
| | 12529 | | } |
| | 12530 | |
|
| | 12531 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12534 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12535 | | if (HasUrl) { |
| | 12536 | | output.WriteRawTag(10); |
| | 12537 | | output.WriteString(Url); |
| | 12538 | | } |
| | 12539 | | if (HasLoop) { |
| | 12540 | | output.WriteRawTag(16); |
| | 12541 | | output.WriteBool(Loop); |
| | 12542 | | } |
| | 12543 | | if (HasLoadingCompleteEventId) { |
| | 12544 | | output.WriteRawTag(26); |
| | 12545 | | output.WriteString(LoadingCompleteEventId); |
| | 12546 | | } |
| | 12547 | | if (HasVolume) { |
| | 12548 | | output.WriteRawTag(37); |
| | 12549 | | output.WriteFloat(Volume); |
| | 12550 | | } |
| | 12551 | | if (_unknownFields != null) { |
| | 12552 | | _unknownFields.WriteTo(ref output); |
| | 12553 | | } |
| | 12554 | | } |
| | 12555 | | #endif |
| | 12556 | |
|
| | 12557 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12558 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12559 | | public int CalculateSize() { |
| | 12560 | | int size = 0; |
| | 12561 | | if (HasUrl) { |
| | 12562 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 12563 | | } |
| | 12564 | | if (HasLoop) { |
| | 12565 | | size += 1 + 1; |
| | 12566 | | } |
| | 12567 | | if (HasLoadingCompleteEventId) { |
| | 12568 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(LoadingCompleteEventId); |
| | 12569 | | } |
| | 12570 | | if (HasVolume) { |
| | 12571 | | size += 1 + 4; |
| | 12572 | | } |
| | 12573 | | if (_unknownFields != null) { |
| | 12574 | | size += _unknownFields.CalculateSize(); |
| | 12575 | | } |
| | 12576 | | return size; |
| | 12577 | | } |
| | 12578 | |
|
| | 12579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12581 | | public void MergeFrom(ECS6ComponentAudioClip other) { |
| | 12582 | | if (other == null) { |
| | 12583 | | return; |
| | 12584 | | } |
| | 12585 | | if (other.HasUrl) { |
| | 12586 | | Url = other.Url; |
| | 12587 | | } |
| | 12588 | | if (other.HasLoop) { |
| | 12589 | | Loop = other.Loop; |
| | 12590 | | } |
| | 12591 | | if (other.HasLoadingCompleteEventId) { |
| | 12592 | | LoadingCompleteEventId = other.LoadingCompleteEventId; |
| | 12593 | | } |
| | 12594 | | if (other.HasVolume) { |
| | 12595 | | Volume = other.Volume; |
| | 12596 | | } |
| | 12597 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 12598 | | } |
| | 12599 | |
|
| | 12600 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12601 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12602 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 12603 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12604 | | input.ReadRawMessage(this); |
| | 12605 | | #else |
| | 12606 | | uint tag; |
| | 12607 | | while ((tag = input.ReadTag()) != 0) { |
| | 12608 | | switch(tag) { |
| | 12609 | | default: |
| | 12610 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 12611 | | break; |
| | 12612 | | case 10: { |
| | 12613 | | Url = input.ReadString(); |
| | 12614 | | break; |
| | 12615 | | } |
| | 12616 | | case 16: { |
| | 12617 | | Loop = input.ReadBool(); |
| | 12618 | | break; |
| | 12619 | | } |
| | 12620 | | case 26: { |
| | 12621 | | LoadingCompleteEventId = input.ReadString(); |
| | 12622 | | break; |
| | 12623 | | } |
| | 12624 | | case 37: { |
| | 12625 | | Volume = input.ReadFloat(); |
| | 12626 | | break; |
| | 12627 | | } |
| | 12628 | | } |
| | 12629 | | } |
| | 12630 | | #endif |
| | 12631 | | } |
| | 12632 | |
|
| | 12633 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12636 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 12637 | | uint tag; |
| | 12638 | | while ((tag = input.ReadTag()) != 0) { |
| | 12639 | | switch(tag) { |
| | 12640 | | default: |
| | 12641 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 12642 | | break; |
| | 12643 | | case 10: { |
| | 12644 | | Url = input.ReadString(); |
| | 12645 | | break; |
| | 12646 | | } |
| | 12647 | | case 16: { |
| | 12648 | | Loop = input.ReadBool(); |
| | 12649 | | break; |
| | 12650 | | } |
| | 12651 | | case 26: { |
| | 12652 | | LoadingCompleteEventId = input.ReadString(); |
| | 12653 | | break; |
| | 12654 | | } |
| | 12655 | | case 37: { |
| | 12656 | | Volume = input.ReadFloat(); |
| | 12657 | | break; |
| | 12658 | | } |
| | 12659 | | } |
| | 12660 | | } |
| | 12661 | | } |
| | 12662 | | #endif |
| | 12663 | |
|
| | 12664 | | } |
| | 12665 | |
|
| | 12666 | | /// <summary> |
| | 12667 | | /// CLASS_ID.AUDIO_SOURCE |
| | 12668 | | /// </summary> |
| | 12669 | | public sealed partial class ECS6ComponentAudioSource : pb::IMessage<ECS6ComponentAudioSource> |
| | 12670 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12671 | | , pb::IBufferMessage |
| | 12672 | | #endif |
| | 12673 | | { |
| | 12674 | | private static readonly pb::MessageParser<ECS6ComponentAudioSource> _parser = new pb::MessageParser<ECS6ComponentAud |
| | 12675 | | private pb::UnknownFieldSet _unknownFields; |
| | 12676 | | private int _hasBits0; |
| | 12677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12679 | | public static pb::MessageParser<ECS6ComponentAudioSource> Parser { get { return _parser; } } |
| | 12680 | |
|
| | 12681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12683 | | public static pbr::MessageDescriptor Descriptor { |
| | 12684 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[29]; } |
| | 12685 | | } |
| | 12686 | |
|
| | 12687 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12688 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12689 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 12690 | | get { return Descriptor; } |
| | 12691 | | } |
| | 12692 | |
|
| | 12693 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12694 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12695 | | public ECS6ComponentAudioSource() { |
| | 12696 | | OnConstruction(); |
| | 12697 | | } |
| | 12698 | |
|
| | 12699 | | partial void OnConstruction(); |
| | 12700 | |
|
| | 12701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12703 | | public ECS6ComponentAudioSource(ECS6ComponentAudioSource other) : this() { |
| | 12704 | | _hasBits0 = other._hasBits0; |
| | 12705 | | audioClipId_ = other.audioClipId_; |
| | 12706 | | loop_ = other.loop_; |
| | 12707 | | volume_ = other.volume_; |
| | 12708 | | playing_ = other.playing_; |
| | 12709 | | pitch_ = other.pitch_; |
| | 12710 | | playedAtTimestamp_ = other.playedAtTimestamp_; |
| | 12711 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 12712 | | } |
| | 12713 | |
|
| | 12714 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12715 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12716 | | public ECS6ComponentAudioSource Clone() { |
| | 12717 | | return new ECS6ComponentAudioSource(this); |
| | 12718 | | } |
| | 12719 | |
|
| | 12720 | | /// <summary>Field number for the "audio_clip_id" field.</summary> |
| | 12721 | | public const int AudioClipIdFieldNumber = 1; |
| | 12722 | | private string audioClipId_; |
| | 12723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12725 | | public string AudioClipId { |
| | 12726 | | get { return audioClipId_ ?? ""; } |
| | 12727 | | set { |
| | 12728 | | audioClipId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12729 | | } |
| | 12730 | | } |
| | 12731 | | /// <summary>Gets whether the "audio_clip_id" field is set</summary> |
| | 12732 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12733 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12734 | | public bool HasAudioClipId { |
| | 12735 | | get { return audioClipId_ != null; } |
| | 12736 | | } |
| | 12737 | | /// <summary>Clears the value of the "audio_clip_id" field</summary> |
| | 12738 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12739 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12740 | | public void ClearAudioClipId() { |
| | 12741 | | audioClipId_ = null; |
| | 12742 | | } |
| | 12743 | |
|
| | 12744 | | /// <summary>Field number for the "loop" field.</summary> |
| | 12745 | | public const int LoopFieldNumber = 2; |
| | 12746 | | private bool loop_; |
| | 12747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12749 | | public bool Loop { |
| | 12750 | | get { if ((_hasBits0 & 1) != 0) { return loop_; } else { return false; } } |
| | 12751 | | set { |
| | 12752 | | _hasBits0 |= 1; |
| | 12753 | | loop_ = value; |
| | 12754 | | } |
| | 12755 | | } |
| | 12756 | | /// <summary>Gets whether the "loop" field is set</summary> |
| | 12757 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12758 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12759 | | public bool HasLoop { |
| | 12760 | | get { return (_hasBits0 & 1) != 0; } |
| | 12761 | | } |
| | 12762 | | /// <summary>Clears the value of the "loop" field</summary> |
| | 12763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12765 | | public void ClearLoop() { |
| | 12766 | | _hasBits0 &= ~1; |
| | 12767 | | } |
| | 12768 | |
|
| | 12769 | | /// <summary>Field number for the "volume" field.</summary> |
| | 12770 | | public const int VolumeFieldNumber = 3; |
| | 12771 | | private float volume_; |
| | 12772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12774 | | public float Volume { |
| | 12775 | | get { if ((_hasBits0 & 2) != 0) { return volume_; } else { return 0F; } } |
| | 12776 | | set { |
| | 12777 | | _hasBits0 |= 2; |
| | 12778 | | volume_ = value; |
| | 12779 | | } |
| | 12780 | | } |
| | 12781 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 12782 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12783 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12784 | | public bool HasVolume { |
| | 12785 | | get { return (_hasBits0 & 2) != 0; } |
| | 12786 | | } |
| | 12787 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 12788 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12789 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12790 | | public void ClearVolume() { |
| | 12791 | | _hasBits0 &= ~2; |
| | 12792 | | } |
| | 12793 | |
|
| | 12794 | | /// <summary>Field number for the "playing" field.</summary> |
| | 12795 | | public const int PlayingFieldNumber = 4; |
| | 12796 | | private bool playing_; |
| | 12797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12799 | | public bool Playing { |
| | 12800 | | get { if ((_hasBits0 & 4) != 0) { return playing_; } else { return false; } } |
| | 12801 | | set { |
| | 12802 | | _hasBits0 |= 4; |
| | 12803 | | playing_ = value; |
| | 12804 | | } |
| | 12805 | | } |
| | 12806 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 12807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12809 | | public bool HasPlaying { |
| | 12810 | | get { return (_hasBits0 & 4) != 0; } |
| | 12811 | | } |
| | 12812 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 12813 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12814 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12815 | | public void ClearPlaying() { |
| | 12816 | | _hasBits0 &= ~4; |
| | 12817 | | } |
| | 12818 | |
|
| | 12819 | | /// <summary>Field number for the "pitch" field.</summary> |
| | 12820 | | public const int PitchFieldNumber = 5; |
| | 12821 | | private float pitch_; |
| | 12822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12824 | | public float Pitch { |
| | 12825 | | get { if ((_hasBits0 & 8) != 0) { return pitch_; } else { return 0F; } } |
| | 12826 | | set { |
| | 12827 | | _hasBits0 |= 8; |
| | 12828 | | pitch_ = value; |
| | 12829 | | } |
| | 12830 | | } |
| | 12831 | | /// <summary>Gets whether the "pitch" field is set</summary> |
| | 12832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12834 | | public bool HasPitch { |
| | 12835 | | get { return (_hasBits0 & 8) != 0; } |
| | 12836 | | } |
| | 12837 | | /// <summary>Clears the value of the "pitch" field</summary> |
| | 12838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12840 | | public void ClearPitch() { |
| | 12841 | | _hasBits0 &= ~8; |
| | 12842 | | } |
| | 12843 | |
|
| | 12844 | | /// <summary>Field number for the "played_at_timestamp" field.</summary> |
| | 12845 | | public const int PlayedAtTimestampFieldNumber = 6; |
| | 12846 | | private int playedAtTimestamp_; |
| | 12847 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12848 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12849 | | public int PlayedAtTimestamp { |
| | 12850 | | get { if ((_hasBits0 & 16) != 0) { return playedAtTimestamp_; } else { return 0; } } |
| | 12851 | | set { |
| | 12852 | | _hasBits0 |= 16; |
| | 12853 | | playedAtTimestamp_ = value; |
| | 12854 | | } |
| | 12855 | | } |
| | 12856 | | /// <summary>Gets whether the "played_at_timestamp" field is set</summary> |
| | 12857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12859 | | public bool HasPlayedAtTimestamp { |
| | 12860 | | get { return (_hasBits0 & 16) != 0; } |
| | 12861 | | } |
| | 12862 | | /// <summary>Clears the value of the "played_at_timestamp" field</summary> |
| | 12863 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12864 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12865 | | public void ClearPlayedAtTimestamp() { |
| | 12866 | | _hasBits0 &= ~16; |
| | 12867 | | } |
| | 12868 | |
|
| | 12869 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12870 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12871 | | public override bool Equals(object other) { |
| | 12872 | | return Equals(other as ECS6ComponentAudioSource); |
| | 12873 | | } |
| | 12874 | |
|
| | 12875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12877 | | public bool Equals(ECS6ComponentAudioSource other) { |
| | 12878 | | if (ReferenceEquals(other, null)) { |
| | 12879 | | return false; |
| | 12880 | | } |
| | 12881 | | if (ReferenceEquals(other, this)) { |
| | 12882 | | return true; |
| | 12883 | | } |
| | 12884 | | if (AudioClipId != other.AudioClipId) return false; |
| | 12885 | | if (Loop != other.Loop) return false; |
| | 12886 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 12887 | | if (Playing != other.Playing) return false; |
| | 12888 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Pitch, other.Pitch)) return false; |
| | 12889 | | if (PlayedAtTimestamp != other.PlayedAtTimestamp) return false; |
| | 12890 | | return Equals(_unknownFields, other._unknownFields); |
| | 12891 | | } |
| | 12892 | |
|
| | 12893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12895 | | public override int GetHashCode() { |
| | 12896 | | int hash = 1; |
| | 12897 | | if (HasAudioClipId) hash ^= AudioClipId.GetHashCode(); |
| | 12898 | | if (HasLoop) hash ^= Loop.GetHashCode(); |
| | 12899 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 12900 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| | 12901 | | if (HasPitch) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Pitch); |
| | 12902 | | if (HasPlayedAtTimestamp) hash ^= PlayedAtTimestamp.GetHashCode(); |
| | 12903 | | if (_unknownFields != null) { |
| | 12904 | | hash ^= _unknownFields.GetHashCode(); |
| | 12905 | | } |
| | 12906 | | return hash; |
| | 12907 | | } |
| | 12908 | |
|
| | 12909 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12910 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12911 | | public override string ToString() { |
| | 12912 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12913 | | } |
| | 12914 | |
|
| | 12915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12917 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12918 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12919 | | output.WriteRawMessage(this); |
| | 12920 | | #else |
| | 12921 | | if (HasAudioClipId) { |
| | 12922 | | output.WriteRawTag(10); |
| | 12923 | | output.WriteString(AudioClipId); |
| | 12924 | | } |
| | 12925 | | if (HasLoop) { |
| | 12926 | | output.WriteRawTag(16); |
| | 12927 | | output.WriteBool(Loop); |
| | 12928 | | } |
| | 12929 | | if (HasVolume) { |
| | 12930 | | output.WriteRawTag(29); |
| | 12931 | | output.WriteFloat(Volume); |
| | 12932 | | } |
| | 12933 | | if (HasPlaying) { |
| | 12934 | | output.WriteRawTag(32); |
| | 12935 | | output.WriteBool(Playing); |
| | 12936 | | } |
| | 12937 | | if (HasPitch) { |
| | 12938 | | output.WriteRawTag(45); |
| | 12939 | | output.WriteFloat(Pitch); |
| | 12940 | | } |
| | 12941 | | if (HasPlayedAtTimestamp) { |
| | 12942 | | output.WriteRawTag(48); |
| | 12943 | | output.WriteInt32(PlayedAtTimestamp); |
| | 12944 | | } |
| | 12945 | | if (_unknownFields != null) { |
| | 12946 | | _unknownFields.WriteTo(output); |
| | 12947 | | } |
| | 12948 | | #endif |
| | 12949 | | } |
| | 12950 | |
|
| | 12951 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12954 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12955 | | if (HasAudioClipId) { |
| | 12956 | | output.WriteRawTag(10); |
| | 12957 | | output.WriteString(AudioClipId); |
| | 12958 | | } |
| | 12959 | | if (HasLoop) { |
| | 12960 | | output.WriteRawTag(16); |
| | 12961 | | output.WriteBool(Loop); |
| | 12962 | | } |
| | 12963 | | if (HasVolume) { |
| | 12964 | | output.WriteRawTag(29); |
| | 12965 | | output.WriteFloat(Volume); |
| | 12966 | | } |
| | 12967 | | if (HasPlaying) { |
| | 12968 | | output.WriteRawTag(32); |
| | 12969 | | output.WriteBool(Playing); |
| | 12970 | | } |
| | 12971 | | if (HasPitch) { |
| | 12972 | | output.WriteRawTag(45); |
| | 12973 | | output.WriteFloat(Pitch); |
| | 12974 | | } |
| | 12975 | | if (HasPlayedAtTimestamp) { |
| | 12976 | | output.WriteRawTag(48); |
| | 12977 | | output.WriteInt32(PlayedAtTimestamp); |
| | 12978 | | } |
| | 12979 | | if (_unknownFields != null) { |
| | 12980 | | _unknownFields.WriteTo(ref output); |
| | 12981 | | } |
| | 12982 | | } |
| | 12983 | | #endif |
| | 12984 | |
|
| | 12985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12987 | | public int CalculateSize() { |
| | 12988 | | int size = 0; |
| | 12989 | | if (HasAudioClipId) { |
| | 12990 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AudioClipId); |
| | 12991 | | } |
| | 12992 | | if (HasLoop) { |
| | 12993 | | size += 1 + 1; |
| | 12994 | | } |
| | 12995 | | if (HasVolume) { |
| | 12996 | | size += 1 + 4; |
| | 12997 | | } |
| | 12998 | | if (HasPlaying) { |
| | 12999 | | size += 1 + 1; |
| | 13000 | | } |
| | 13001 | | if (HasPitch) { |
| | 13002 | | size += 1 + 4; |
| | 13003 | | } |
| | 13004 | | if (HasPlayedAtTimestamp) { |
| | 13005 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayedAtTimestamp); |
| | 13006 | | } |
| | 13007 | | if (_unknownFields != null) { |
| | 13008 | | size += _unknownFields.CalculateSize(); |
| | 13009 | | } |
| | 13010 | | return size; |
| | 13011 | | } |
| | 13012 | |
|
| | 13013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13015 | | public void MergeFrom(ECS6ComponentAudioSource other) { |
| | 13016 | | if (other == null) { |
| | 13017 | | return; |
| | 13018 | | } |
| | 13019 | | if (other.HasAudioClipId) { |
| | 13020 | | AudioClipId = other.AudioClipId; |
| | 13021 | | } |
| | 13022 | | if (other.HasLoop) { |
| | 13023 | | Loop = other.Loop; |
| | 13024 | | } |
| | 13025 | | if (other.HasVolume) { |
| | 13026 | | Volume = other.Volume; |
| | 13027 | | } |
| | 13028 | | if (other.HasPlaying) { |
| | 13029 | | Playing = other.Playing; |
| | 13030 | | } |
| | 13031 | | if (other.HasPitch) { |
| | 13032 | | Pitch = other.Pitch; |
| | 13033 | | } |
| | 13034 | | if (other.HasPlayedAtTimestamp) { |
| | 13035 | | PlayedAtTimestamp = other.PlayedAtTimestamp; |
| | 13036 | | } |
| | 13037 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13038 | | } |
| | 13039 | |
|
| | 13040 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13041 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13042 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13043 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13044 | | input.ReadRawMessage(this); |
| | 13045 | | #else |
| | 13046 | | uint tag; |
| | 13047 | | while ((tag = input.ReadTag()) != 0) { |
| | 13048 | | switch(tag) { |
| | 13049 | | default: |
| | 13050 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13051 | | break; |
| | 13052 | | case 10: { |
| | 13053 | | AudioClipId = input.ReadString(); |
| | 13054 | | break; |
| | 13055 | | } |
| | 13056 | | case 16: { |
| | 13057 | | Loop = input.ReadBool(); |
| | 13058 | | break; |
| | 13059 | | } |
| | 13060 | | case 29: { |
| | 13061 | | Volume = input.ReadFloat(); |
| | 13062 | | break; |
| | 13063 | | } |
| | 13064 | | case 32: { |
| | 13065 | | Playing = input.ReadBool(); |
| | 13066 | | break; |
| | 13067 | | } |
| | 13068 | | case 45: { |
| | 13069 | | Pitch = input.ReadFloat(); |
| | 13070 | | break; |
| | 13071 | | } |
| | 13072 | | case 48: { |
| | 13073 | | PlayedAtTimestamp = input.ReadInt32(); |
| | 13074 | | break; |
| | 13075 | | } |
| | 13076 | | } |
| | 13077 | | } |
| | 13078 | | #endif |
| | 13079 | | } |
| | 13080 | |
|
| | 13081 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13082 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13083 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13084 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13085 | | uint tag; |
| | 13086 | | while ((tag = input.ReadTag()) != 0) { |
| | 13087 | | switch(tag) { |
| | 13088 | | default: |
| | 13089 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13090 | | break; |
| | 13091 | | case 10: { |
| | 13092 | | AudioClipId = input.ReadString(); |
| | 13093 | | break; |
| | 13094 | | } |
| | 13095 | | case 16: { |
| | 13096 | | Loop = input.ReadBool(); |
| | 13097 | | break; |
| | 13098 | | } |
| | 13099 | | case 29: { |
| | 13100 | | Volume = input.ReadFloat(); |
| | 13101 | | break; |
| | 13102 | | } |
| | 13103 | | case 32: { |
| | 13104 | | Playing = input.ReadBool(); |
| | 13105 | | break; |
| | 13106 | | } |
| | 13107 | | case 45: { |
| | 13108 | | Pitch = input.ReadFloat(); |
| | 13109 | | break; |
| | 13110 | | } |
| | 13111 | | case 48: { |
| | 13112 | | PlayedAtTimestamp = input.ReadInt32(); |
| | 13113 | | break; |
| | 13114 | | } |
| | 13115 | | } |
| | 13116 | | } |
| | 13117 | | } |
| | 13118 | | #endif |
| | 13119 | |
|
| | 13120 | | } |
| | 13121 | |
|
| | 13122 | | /// <summary> |
| | 13123 | | /// CLASS_ID.AUDIO_STREAM |
| | 13124 | | /// </summary> |
| | 13125 | | public sealed partial class ECS6ComponentAudioStream : pb::IMessage<ECS6ComponentAudioStream> |
| | 13126 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13127 | | , pb::IBufferMessage |
| | 13128 | | #endif |
| | 13129 | | { |
| | 13130 | | private static readonly pb::MessageParser<ECS6ComponentAudioStream> _parser = new pb::MessageParser<ECS6ComponentAud |
| | 13131 | | private pb::UnknownFieldSet _unknownFields; |
| | 13132 | | private int _hasBits0; |
| | 13133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13135 | | public static pb::MessageParser<ECS6ComponentAudioStream> Parser { get { return _parser; } } |
| | 13136 | |
|
| | 13137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13139 | | public static pbr::MessageDescriptor Descriptor { |
| | 13140 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[30]; } |
| | 13141 | | } |
| | 13142 | |
|
| | 13143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13145 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13146 | | get { return Descriptor; } |
| | 13147 | | } |
| | 13148 | |
|
| | 13149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13151 | | public ECS6ComponentAudioStream() { |
| | 13152 | | OnConstruction(); |
| | 13153 | | } |
| | 13154 | |
|
| | 13155 | | partial void OnConstruction(); |
| | 13156 | |
|
| | 13157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13159 | | public ECS6ComponentAudioStream(ECS6ComponentAudioStream other) : this() { |
| | 13160 | | _hasBits0 = other._hasBits0; |
| | 13161 | | url_ = other.url_; |
| | 13162 | | playing_ = other.playing_; |
| | 13163 | | volume_ = other.volume_; |
| | 13164 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13165 | | } |
| | 13166 | |
|
| | 13167 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13168 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13169 | | public ECS6ComponentAudioStream Clone() { |
| | 13170 | | return new ECS6ComponentAudioStream(this); |
| | 13171 | | } |
| | 13172 | |
|
| | 13173 | | /// <summary>Field number for the "url" field.</summary> |
| | 13174 | | public const int UrlFieldNumber = 1; |
| | 13175 | | private string url_; |
| | 13176 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13177 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13178 | | public string Url { |
| | 13179 | | get { return url_ ?? ""; } |
| | 13180 | | set { |
| | 13181 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 13182 | | } |
| | 13183 | | } |
| | 13184 | | /// <summary>Gets whether the "url" field is set</summary> |
| | 13185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13187 | | public bool HasUrl { |
| | 13188 | | get { return url_ != null; } |
| | 13189 | | } |
| | 13190 | | /// <summary>Clears the value of the "url" field</summary> |
| | 13191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13193 | | public void ClearUrl() { |
| | 13194 | | url_ = null; |
| | 13195 | | } |
| | 13196 | |
|
| | 13197 | | /// <summary>Field number for the "playing" field.</summary> |
| | 13198 | | public const int PlayingFieldNumber = 2; |
| | 13199 | | private bool playing_; |
| | 13200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13202 | | public bool Playing { |
| | 13203 | | get { if ((_hasBits0 & 1) != 0) { return playing_; } else { return false; } } |
| | 13204 | | set { |
| | 13205 | | _hasBits0 |= 1; |
| | 13206 | | playing_ = value; |
| | 13207 | | } |
| | 13208 | | } |
| | 13209 | | /// <summary>Gets whether the "playing" field is set</summary> |
| | 13210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13212 | | public bool HasPlaying { |
| | 13213 | | get { return (_hasBits0 & 1) != 0; } |
| | 13214 | | } |
| | 13215 | | /// <summary>Clears the value of the "playing" field</summary> |
| | 13216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13218 | | public void ClearPlaying() { |
| | 13219 | | _hasBits0 &= ~1; |
| | 13220 | | } |
| | 13221 | |
|
| | 13222 | | /// <summary>Field number for the "volume" field.</summary> |
| | 13223 | | public const int VolumeFieldNumber = 3; |
| | 13224 | | private float volume_; |
| | 13225 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13226 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13227 | | public float Volume { |
| | 13228 | | get { if ((_hasBits0 & 2) != 0) { return volume_; } else { return 0F; } } |
| | 13229 | | set { |
| | 13230 | | _hasBits0 |= 2; |
| | 13231 | | volume_ = value; |
| | 13232 | | } |
| | 13233 | | } |
| | 13234 | | /// <summary>Gets whether the "volume" field is set</summary> |
| | 13235 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13236 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13237 | | public bool HasVolume { |
| | 13238 | | get { return (_hasBits0 & 2) != 0; } |
| | 13239 | | } |
| | 13240 | | /// <summary>Clears the value of the "volume" field</summary> |
| | 13241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13243 | | public void ClearVolume() { |
| | 13244 | | _hasBits0 &= ~2; |
| | 13245 | | } |
| | 13246 | |
|
| | 13247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13249 | | public override bool Equals(object other) { |
| | 13250 | | return Equals(other as ECS6ComponentAudioStream); |
| | 13251 | | } |
| | 13252 | |
|
| | 13253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13255 | | public bool Equals(ECS6ComponentAudioStream other) { |
| | 13256 | | if (ReferenceEquals(other, null)) { |
| | 13257 | | return false; |
| | 13258 | | } |
| | 13259 | | if (ReferenceEquals(other, this)) { |
| | 13260 | | return true; |
| | 13261 | | } |
| | 13262 | | if (Url != other.Url) return false; |
| | 13263 | | if (Playing != other.Playing) return false; |
| | 13264 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 13265 | | return Equals(_unknownFields, other._unknownFields); |
| | 13266 | | } |
| | 13267 | |
|
| | 13268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13270 | | public override int GetHashCode() { |
| | 13271 | | int hash = 1; |
| | 13272 | | if (HasUrl) hash ^= Url.GetHashCode(); |
| | 13273 | | if (HasPlaying) hash ^= Playing.GetHashCode(); |
| | 13274 | | if (HasVolume) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 13275 | | if (_unknownFields != null) { |
| | 13276 | | hash ^= _unknownFields.GetHashCode(); |
| | 13277 | | } |
| | 13278 | | return hash; |
| | 13279 | | } |
| | 13280 | |
|
| | 13281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13283 | | public override string ToString() { |
| | 13284 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13285 | | } |
| | 13286 | |
|
| | 13287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13289 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13290 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13291 | | output.WriteRawMessage(this); |
| | 13292 | | #else |
| | 13293 | | if (HasUrl) { |
| | 13294 | | output.WriteRawTag(10); |
| | 13295 | | output.WriteString(Url); |
| | 13296 | | } |
| | 13297 | | if (HasPlaying) { |
| | 13298 | | output.WriteRawTag(16); |
| | 13299 | | output.WriteBool(Playing); |
| | 13300 | | } |
| | 13301 | | if (HasVolume) { |
| | 13302 | | output.WriteRawTag(29); |
| | 13303 | | output.WriteFloat(Volume); |
| | 13304 | | } |
| | 13305 | | if (_unknownFields != null) { |
| | 13306 | | _unknownFields.WriteTo(output); |
| | 13307 | | } |
| | 13308 | | #endif |
| | 13309 | | } |
| | 13310 | |
|
| | 13311 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13314 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13315 | | if (HasUrl) { |
| | 13316 | | output.WriteRawTag(10); |
| | 13317 | | output.WriteString(Url); |
| | 13318 | | } |
| | 13319 | | if (HasPlaying) { |
| | 13320 | | output.WriteRawTag(16); |
| | 13321 | | output.WriteBool(Playing); |
| | 13322 | | } |
| | 13323 | | if (HasVolume) { |
| | 13324 | | output.WriteRawTag(29); |
| | 13325 | | output.WriteFloat(Volume); |
| | 13326 | | } |
| | 13327 | | if (_unknownFields != null) { |
| | 13328 | | _unknownFields.WriteTo(ref output); |
| | 13329 | | } |
| | 13330 | | } |
| | 13331 | | #endif |
| | 13332 | |
|
| | 13333 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13334 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13335 | | public int CalculateSize() { |
| | 13336 | | int size = 0; |
| | 13337 | | if (HasUrl) { |
| | 13338 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 13339 | | } |
| | 13340 | | if (HasPlaying) { |
| | 13341 | | size += 1 + 1; |
| | 13342 | | } |
| | 13343 | | if (HasVolume) { |
| | 13344 | | size += 1 + 4; |
| | 13345 | | } |
| | 13346 | | if (_unknownFields != null) { |
| | 13347 | | size += _unknownFields.CalculateSize(); |
| | 13348 | | } |
| | 13349 | | return size; |
| | 13350 | | } |
| | 13351 | |
|
| | 13352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13354 | | public void MergeFrom(ECS6ComponentAudioStream other) { |
| | 13355 | | if (other == null) { |
| | 13356 | | return; |
| | 13357 | | } |
| | 13358 | | if (other.HasUrl) { |
| | 13359 | | Url = other.Url; |
| | 13360 | | } |
| | 13361 | | if (other.HasPlaying) { |
| | 13362 | | Playing = other.Playing; |
| | 13363 | | } |
| | 13364 | | if (other.HasVolume) { |
| | 13365 | | Volume = other.Volume; |
| | 13366 | | } |
| | 13367 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13368 | | } |
| | 13369 | |
|
| | 13370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13372 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13373 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13374 | | input.ReadRawMessage(this); |
| | 13375 | | #else |
| | 13376 | | uint tag; |
| | 13377 | | while ((tag = input.ReadTag()) != 0) { |
| | 13378 | | switch(tag) { |
| | 13379 | | default: |
| | 13380 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13381 | | break; |
| | 13382 | | case 10: { |
| | 13383 | | Url = input.ReadString(); |
| | 13384 | | break; |
| | 13385 | | } |
| | 13386 | | case 16: { |
| | 13387 | | Playing = input.ReadBool(); |
| | 13388 | | break; |
| | 13389 | | } |
| | 13390 | | case 29: { |
| | 13391 | | Volume = input.ReadFloat(); |
| | 13392 | | break; |
| | 13393 | | } |
| | 13394 | | } |
| | 13395 | | } |
| | 13396 | | #endif |
| | 13397 | | } |
| | 13398 | |
|
| | 13399 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13402 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13403 | | uint tag; |
| | 13404 | | while ((tag = input.ReadTag()) != 0) { |
| | 13405 | | switch(tag) { |
| | 13406 | | default: |
| | 13407 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13408 | | break; |
| | 13409 | | case 10: { |
| | 13410 | | Url = input.ReadString(); |
| | 13411 | | break; |
| | 13412 | | } |
| | 13413 | | case 16: { |
| | 13414 | | Playing = input.ReadBool(); |
| | 13415 | | break; |
| | 13416 | | } |
| | 13417 | | case 29: { |
| | 13418 | | Volume = input.ReadFloat(); |
| | 13419 | | break; |
| | 13420 | | } |
| | 13421 | | } |
| | 13422 | | } |
| | 13423 | | } |
| | 13424 | | #endif |
| | 13425 | |
|
| | 13426 | | } |
| | 13427 | |
|
| | 13428 | | /// <summary> |
| | 13429 | | /// CLASS_ID.AVATAR_SHAPE |
| | 13430 | | /// </summary> |
| | 13431 | | public sealed partial class ECS6ComponentAvatarShape : pb::IMessage<ECS6ComponentAvatarShape> |
| | 13432 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13433 | | , pb::IBufferMessage |
| | 13434 | | #endif |
| | 13435 | | { |
| | 13436 | | private static readonly pb::MessageParser<ECS6ComponentAvatarShape> _parser = new pb::MessageParser<ECS6ComponentAva |
| | 13437 | | private pb::UnknownFieldSet _unknownFields; |
| | 13438 | | private int _hasBits0; |
| | 13439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13441 | | public static pb::MessageParser<ECS6ComponentAvatarShape> Parser { get { return _parser; } } |
| | 13442 | |
|
| | 13443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13445 | | public static pbr::MessageDescriptor Descriptor { |
| | 13446 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[31]; } |
| | 13447 | | } |
| | 13448 | |
|
| | 13449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13451 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13452 | | get { return Descriptor; } |
| | 13453 | | } |
| | 13454 | |
|
| | 13455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13457 | | public ECS6ComponentAvatarShape() { |
| | 13458 | | OnConstruction(); |
| | 13459 | | } |
| | 13460 | |
|
| | 13461 | | partial void OnConstruction(); |
| | 13462 | |
|
| | 13463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13465 | | public ECS6ComponentAvatarShape(ECS6ComponentAvatarShape other) : this() { |
| | 13466 | | _hasBits0 = other._hasBits0; |
| | 13467 | | id_ = other.id_; |
| | 13468 | | name_ = other.name_; |
| | 13469 | | expressionTriggerId_ = other.expressionTriggerId_; |
| | 13470 | | expressionTriggerTimestamp_ = other.expressionTriggerTimestamp_; |
| | 13471 | | bodyShape_ = other.bodyShape_; |
| | 13472 | | wearables_ = other.wearables_.Clone(); |
| | 13473 | | emotes_ = other.emotes_.Clone(); |
| | 13474 | | skinColor_ = other.skinColor_ != null ? other.skinColor_.Clone() : null; |
| | 13475 | | hairColor_ = other.hairColor_ != null ? other.hairColor_.Clone() : null; |
| | 13476 | | eyeColor_ = other.eyeColor_ != null ? other.eyeColor_.Clone() : null; |
| | 13477 | | useDummyModel_ = other.useDummyModel_; |
| | 13478 | | talking_ = other.talking_; |
| | 13479 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13480 | | } |
| | 13481 | |
|
| | 13482 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13483 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13484 | | public ECS6ComponentAvatarShape Clone() { |
| | 13485 | | return new ECS6ComponentAvatarShape(this); |
| | 13486 | | } |
| | 13487 | |
|
| | 13488 | | /// <summary>Field number for the "id" field.</summary> |
| | 13489 | | public const int IdFieldNumber = 1; |
| | 13490 | | private string id_; |
| | 13491 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13492 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13493 | | public string Id { |
| | 13494 | | get { return id_ ?? ""; } |
| | 13495 | | set { |
| | 13496 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 13497 | | } |
| | 13498 | | } |
| | 13499 | | /// <summary>Gets whether the "id" field is set</summary> |
| | 13500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13502 | | public bool HasId { |
| | 13503 | | get { return id_ != null; } |
| | 13504 | | } |
| | 13505 | | /// <summary>Clears the value of the "id" field</summary> |
| | 13506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13508 | | public void ClearId() { |
| | 13509 | | id_ = null; |
| | 13510 | | } |
| | 13511 | |
|
| | 13512 | | /// <summary>Field number for the "name" field.</summary> |
| | 13513 | | public const int NameFieldNumber = 2; |
| | 13514 | | private string name_; |
| | 13515 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13516 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13517 | | public string Name { |
| | 13518 | | get { return name_ ?? ""; } |
| | 13519 | | set { |
| | 13520 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 13521 | | } |
| | 13522 | | } |
| | 13523 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 13524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13526 | | public bool HasName { |
| | 13527 | | get { return name_ != null; } |
| | 13528 | | } |
| | 13529 | | /// <summary>Clears the value of the "name" field</summary> |
| | 13530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13532 | | public void ClearName() { |
| | 13533 | | name_ = null; |
| | 13534 | | } |
| | 13535 | |
|
| | 13536 | | /// <summary>Field number for the "expression_trigger_id" field.</summary> |
| | 13537 | | public const int ExpressionTriggerIdFieldNumber = 3; |
| | 13538 | | private string expressionTriggerId_; |
| | 13539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13541 | | public string ExpressionTriggerId { |
| | 13542 | | get { return expressionTriggerId_ ?? ""; } |
| | 13543 | | set { |
| | 13544 | | expressionTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 13545 | | } |
| | 13546 | | } |
| | 13547 | | /// <summary>Gets whether the "expression_trigger_id" field is set</summary> |
| | 13548 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13549 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13550 | | public bool HasExpressionTriggerId { |
| | 13551 | | get { return expressionTriggerId_ != null; } |
| | 13552 | | } |
| | 13553 | | /// <summary>Clears the value of the "expression_trigger_id" field</summary> |
| | 13554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13556 | | public void ClearExpressionTriggerId() { |
| | 13557 | | expressionTriggerId_ = null; |
| | 13558 | | } |
| | 13559 | |
|
| | 13560 | | /// <summary>Field number for the "expression_trigger_timestamp" field.</summary> |
| | 13561 | | public const int ExpressionTriggerTimestampFieldNumber = 4; |
| | 13562 | | private long expressionTriggerTimestamp_; |
| | 13563 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13564 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13565 | | public long ExpressionTriggerTimestamp { |
| | 13566 | | get { if ((_hasBits0 & 1) != 0) { return expressionTriggerTimestamp_; } else { return 0L; } } |
| | 13567 | | set { |
| | 13568 | | _hasBits0 |= 1; |
| | 13569 | | expressionTriggerTimestamp_ = value; |
| | 13570 | | } |
| | 13571 | | } |
| | 13572 | | /// <summary>Gets whether the "expression_trigger_timestamp" field is set</summary> |
| | 13573 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13574 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13575 | | public bool HasExpressionTriggerTimestamp { |
| | 13576 | | get { return (_hasBits0 & 1) != 0; } |
| | 13577 | | } |
| | 13578 | | /// <summary>Clears the value of the "expression_trigger_timestamp" field</summary> |
| | 13579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13581 | | public void ClearExpressionTriggerTimestamp() { |
| | 13582 | | _hasBits0 &= ~1; |
| | 13583 | | } |
| | 13584 | |
|
| | 13585 | | /// <summary>Field number for the "body_shape" field.</summary> |
| | 13586 | | public const int BodyShapeFieldNumber = 5; |
| | 13587 | | private string bodyShape_; |
| | 13588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13590 | | public string BodyShape { |
| | 13591 | | get { return bodyShape_ ?? ""; } |
| | 13592 | | set { |
| | 13593 | | bodyShape_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 13594 | | } |
| | 13595 | | } |
| | 13596 | | /// <summary>Gets whether the "body_shape" field is set</summary> |
| | 13597 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13598 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13599 | | public bool HasBodyShape { |
| | 13600 | | get { return bodyShape_ != null; } |
| | 13601 | | } |
| | 13602 | | /// <summary>Clears the value of the "body_shape" field</summary> |
| | 13603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13605 | | public void ClearBodyShape() { |
| | 13606 | | bodyShape_ = null; |
| | 13607 | | } |
| | 13608 | |
|
| | 13609 | | /// <summary>Field number for the "wearables" field.</summary> |
| | 13610 | | public const int WearablesFieldNumber = 6; |
| | 13611 | | private static readonly pb::FieldCodec<string> _repeated_wearables_codec |
| | 13612 | | = pb::FieldCodec.ForString(50); |
| | 13613 | | private readonly pbc::RepeatedField<string> wearables_ = new pbc::RepeatedField<string>(); |
| | 13614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13616 | | public pbc::RepeatedField<string> Wearables { |
| | 13617 | | get { return wearables_; } |
| | 13618 | | } |
| | 13619 | |
|
| | 13620 | | /// <summary>Field number for the "emotes" field.</summary> |
| | 13621 | | public const int EmotesFieldNumber = 7; |
| | 13622 | | private static readonly pb::FieldCodec<global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape.Types.Emote> _repeated |
| | 13623 | | = pb::FieldCodec.ForMessage(58, global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape.Types.Emote.Parser); |
| | 13624 | | private readonly pbc::RepeatedField<global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape.Types.Emote> emotes_ = ne |
| | 13625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13627 | | public pbc::RepeatedField<global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape.Types.Emote> Emotes { |
| | 13628 | | get { return emotes_; } |
| | 13629 | | } |
| | 13630 | |
|
| | 13631 | | /// <summary>Field number for the "skin_color" field.</summary> |
| | 13632 | | public const int SkinColorFieldNumber = 8; |
| | 13633 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 skinColor_; |
| | 13634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13636 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 SkinColor { |
| | 13637 | | get { return skinColor_; } |
| | 13638 | | set { |
| | 13639 | | skinColor_ = value; |
| | 13640 | | } |
| | 13641 | | } |
| | 13642 | |
|
| | 13643 | | /// <summary>Field number for the "hair_color" field.</summary> |
| | 13644 | | public const int HairColorFieldNumber = 9; |
| | 13645 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 hairColor_; |
| | 13646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13648 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 HairColor { |
| | 13649 | | get { return hairColor_; } |
| | 13650 | | set { |
| | 13651 | | hairColor_ = value; |
| | 13652 | | } |
| | 13653 | | } |
| | 13654 | |
|
| | 13655 | | /// <summary>Field number for the "eye_color" field.</summary> |
| | 13656 | | public const int EyeColorFieldNumber = 10; |
| | 13657 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 eyeColor_; |
| | 13658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13660 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 EyeColor { |
| | 13661 | | get { return eyeColor_; } |
| | 13662 | | set { |
| | 13663 | | eyeColor_ = value; |
| | 13664 | | } |
| | 13665 | | } |
| | 13666 | |
|
| | 13667 | | /// <summary>Field number for the "use_dummy_model" field.</summary> |
| | 13668 | | public const int UseDummyModelFieldNumber = 11; |
| | 13669 | | private bool useDummyModel_; |
| | 13670 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13671 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13672 | | public bool UseDummyModel { |
| | 13673 | | get { if ((_hasBits0 & 2) != 0) { return useDummyModel_; } else { return false; } } |
| | 13674 | | set { |
| | 13675 | | _hasBits0 |= 2; |
| | 13676 | | useDummyModel_ = value; |
| | 13677 | | } |
| | 13678 | | } |
| | 13679 | | /// <summary>Gets whether the "use_dummy_model" field is set</summary> |
| | 13680 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13681 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13682 | | public bool HasUseDummyModel { |
| | 13683 | | get { return (_hasBits0 & 2) != 0; } |
| | 13684 | | } |
| | 13685 | | /// <summary>Clears the value of the "use_dummy_model" field</summary> |
| | 13686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13688 | | public void ClearUseDummyModel() { |
| | 13689 | | _hasBits0 &= ~2; |
| | 13690 | | } |
| | 13691 | |
|
| | 13692 | | /// <summary>Field number for the "talking" field.</summary> |
| | 13693 | | public const int TalkingFieldNumber = 12; |
| | 13694 | | private bool talking_; |
| | 13695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13697 | | public bool Talking { |
| | 13698 | | get { if ((_hasBits0 & 4) != 0) { return talking_; } else { return false; } } |
| | 13699 | | set { |
| | 13700 | | _hasBits0 |= 4; |
| | 13701 | | talking_ = value; |
| | 13702 | | } |
| | 13703 | | } |
| | 13704 | | /// <summary>Gets whether the "talking" field is set</summary> |
| | 13705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13707 | | public bool HasTalking { |
| | 13708 | | get { return (_hasBits0 & 4) != 0; } |
| | 13709 | | } |
| | 13710 | | /// <summary>Clears the value of the "talking" field</summary> |
| | 13711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13713 | | public void ClearTalking() { |
| | 13714 | | _hasBits0 &= ~4; |
| | 13715 | | } |
| | 13716 | |
|
| | 13717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13719 | | public override bool Equals(object other) { |
| | 13720 | | return Equals(other as ECS6ComponentAvatarShape); |
| | 13721 | | } |
| | 13722 | |
|
| | 13723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13725 | | public bool Equals(ECS6ComponentAvatarShape other) { |
| | 13726 | | if (ReferenceEquals(other, null)) { |
| | 13727 | | return false; |
| | 13728 | | } |
| | 13729 | | if (ReferenceEquals(other, this)) { |
| | 13730 | | return true; |
| | 13731 | | } |
| | 13732 | | if (Id != other.Id) return false; |
| | 13733 | | if (Name != other.Name) return false; |
| | 13734 | | if (ExpressionTriggerId != other.ExpressionTriggerId) return false; |
| | 13735 | | if (ExpressionTriggerTimestamp != other.ExpressionTriggerTimestamp) return false; |
| | 13736 | | if (BodyShape != other.BodyShape) return false; |
| | 13737 | | if(!wearables_.Equals(other.wearables_)) return false; |
| | 13738 | | if(!emotes_.Equals(other.emotes_)) return false; |
| | 13739 | | if (!object.Equals(SkinColor, other.SkinColor)) return false; |
| | 13740 | | if (!object.Equals(HairColor, other.HairColor)) return false; |
| | 13741 | | if (!object.Equals(EyeColor, other.EyeColor)) return false; |
| | 13742 | | if (UseDummyModel != other.UseDummyModel) return false; |
| | 13743 | | if (Talking != other.Talking) return false; |
| | 13744 | | return Equals(_unknownFields, other._unknownFields); |
| | 13745 | | } |
| | 13746 | |
|
| | 13747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13749 | | public override int GetHashCode() { |
| | 13750 | | int hash = 1; |
| | 13751 | | if (HasId) hash ^= Id.GetHashCode(); |
| | 13752 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 13753 | | if (HasExpressionTriggerId) hash ^= ExpressionTriggerId.GetHashCode(); |
| | 13754 | | if (HasExpressionTriggerTimestamp) hash ^= ExpressionTriggerTimestamp.GetHashCode(); |
| | 13755 | | if (HasBodyShape) hash ^= BodyShape.GetHashCode(); |
| | 13756 | | hash ^= wearables_.GetHashCode(); |
| | 13757 | | hash ^= emotes_.GetHashCode(); |
| | 13758 | | if (skinColor_ != null) hash ^= SkinColor.GetHashCode(); |
| | 13759 | | if (hairColor_ != null) hash ^= HairColor.GetHashCode(); |
| | 13760 | | if (eyeColor_ != null) hash ^= EyeColor.GetHashCode(); |
| | 13761 | | if (HasUseDummyModel) hash ^= UseDummyModel.GetHashCode(); |
| | 13762 | | if (HasTalking) hash ^= Talking.GetHashCode(); |
| | 13763 | | if (_unknownFields != null) { |
| | 13764 | | hash ^= _unknownFields.GetHashCode(); |
| | 13765 | | } |
| | 13766 | | return hash; |
| | 13767 | | } |
| | 13768 | |
|
| | 13769 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13770 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13771 | | public override string ToString() { |
| | 13772 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13773 | | } |
| | 13774 | |
|
| | 13775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13777 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13778 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13779 | | output.WriteRawMessage(this); |
| | 13780 | | #else |
| | 13781 | | if (HasId) { |
| | 13782 | | output.WriteRawTag(10); |
| | 13783 | | output.WriteString(Id); |
| | 13784 | | } |
| | 13785 | | if (HasName) { |
| | 13786 | | output.WriteRawTag(18); |
| | 13787 | | output.WriteString(Name); |
| | 13788 | | } |
| | 13789 | | if (HasExpressionTriggerId) { |
| | 13790 | | output.WriteRawTag(26); |
| | 13791 | | output.WriteString(ExpressionTriggerId); |
| | 13792 | | } |
| | 13793 | | if (HasExpressionTriggerTimestamp) { |
| | 13794 | | output.WriteRawTag(32); |
| | 13795 | | output.WriteInt64(ExpressionTriggerTimestamp); |
| | 13796 | | } |
| | 13797 | | if (HasBodyShape) { |
| | 13798 | | output.WriteRawTag(42); |
| | 13799 | | output.WriteString(BodyShape); |
| | 13800 | | } |
| | 13801 | | wearables_.WriteTo(output, _repeated_wearables_codec); |
| | 13802 | | emotes_.WriteTo(output, _repeated_emotes_codec); |
| | 13803 | | if (skinColor_ != null) { |
| | 13804 | | output.WriteRawTag(66); |
| | 13805 | | output.WriteMessage(SkinColor); |
| | 13806 | | } |
| | 13807 | | if (hairColor_ != null) { |
| | 13808 | | output.WriteRawTag(74); |
| | 13809 | | output.WriteMessage(HairColor); |
| | 13810 | | } |
| | 13811 | | if (eyeColor_ != null) { |
| | 13812 | | output.WriteRawTag(82); |
| | 13813 | | output.WriteMessage(EyeColor); |
| | 13814 | | } |
| | 13815 | | if (HasUseDummyModel) { |
| | 13816 | | output.WriteRawTag(88); |
| | 13817 | | output.WriteBool(UseDummyModel); |
| | 13818 | | } |
| | 13819 | | if (HasTalking) { |
| | 13820 | | output.WriteRawTag(96); |
| | 13821 | | output.WriteBool(Talking); |
| | 13822 | | } |
| | 13823 | | if (_unknownFields != null) { |
| | 13824 | | _unknownFields.WriteTo(output); |
| | 13825 | | } |
| | 13826 | | #endif |
| | 13827 | | } |
| | 13828 | |
|
| | 13829 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13830 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13831 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13832 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13833 | | if (HasId) { |
| | 13834 | | output.WriteRawTag(10); |
| | 13835 | | output.WriteString(Id); |
| | 13836 | | } |
| | 13837 | | if (HasName) { |
| | 13838 | | output.WriteRawTag(18); |
| | 13839 | | output.WriteString(Name); |
| | 13840 | | } |
| | 13841 | | if (HasExpressionTriggerId) { |
| | 13842 | | output.WriteRawTag(26); |
| | 13843 | | output.WriteString(ExpressionTriggerId); |
| | 13844 | | } |
| | 13845 | | if (HasExpressionTriggerTimestamp) { |
| | 13846 | | output.WriteRawTag(32); |
| | 13847 | | output.WriteInt64(ExpressionTriggerTimestamp); |
| | 13848 | | } |
| | 13849 | | if (HasBodyShape) { |
| | 13850 | | output.WriteRawTag(42); |
| | 13851 | | output.WriteString(BodyShape); |
| | 13852 | | } |
| | 13853 | | wearables_.WriteTo(ref output, _repeated_wearables_codec); |
| | 13854 | | emotes_.WriteTo(ref output, _repeated_emotes_codec); |
| | 13855 | | if (skinColor_ != null) { |
| | 13856 | | output.WriteRawTag(66); |
| | 13857 | | output.WriteMessage(SkinColor); |
| | 13858 | | } |
| | 13859 | | if (hairColor_ != null) { |
| | 13860 | | output.WriteRawTag(74); |
| | 13861 | | output.WriteMessage(HairColor); |
| | 13862 | | } |
| | 13863 | | if (eyeColor_ != null) { |
| | 13864 | | output.WriteRawTag(82); |
| | 13865 | | output.WriteMessage(EyeColor); |
| | 13866 | | } |
| | 13867 | | if (HasUseDummyModel) { |
| | 13868 | | output.WriteRawTag(88); |
| | 13869 | | output.WriteBool(UseDummyModel); |
| | 13870 | | } |
| | 13871 | | if (HasTalking) { |
| | 13872 | | output.WriteRawTag(96); |
| | 13873 | | output.WriteBool(Talking); |
| | 13874 | | } |
| | 13875 | | if (_unknownFields != null) { |
| | 13876 | | _unknownFields.WriteTo(ref output); |
| | 13877 | | } |
| | 13878 | | } |
| | 13879 | | #endif |
| | 13880 | |
|
| | 13881 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13882 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13883 | | public int CalculateSize() { |
| | 13884 | | int size = 0; |
| | 13885 | | if (HasId) { |
| | 13886 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 13887 | | } |
| | 13888 | | if (HasName) { |
| | 13889 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 13890 | | } |
| | 13891 | | if (HasExpressionTriggerId) { |
| | 13892 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ExpressionTriggerId); |
| | 13893 | | } |
| | 13894 | | if (HasExpressionTriggerTimestamp) { |
| | 13895 | | size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExpressionTriggerTimestamp); |
| | 13896 | | } |
| | 13897 | | if (HasBodyShape) { |
| | 13898 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BodyShape); |
| | 13899 | | } |
| | 13900 | | size += wearables_.CalculateSize(_repeated_wearables_codec); |
| | 13901 | | size += emotes_.CalculateSize(_repeated_emotes_codec); |
| | 13902 | | if (skinColor_ != null) { |
| | 13903 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SkinColor); |
| | 13904 | | } |
| | 13905 | | if (hairColor_ != null) { |
| | 13906 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(HairColor); |
| | 13907 | | } |
| | 13908 | | if (eyeColor_ != null) { |
| | 13909 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(EyeColor); |
| | 13910 | | } |
| | 13911 | | if (HasUseDummyModel) { |
| | 13912 | | size += 1 + 1; |
| | 13913 | | } |
| | 13914 | | if (HasTalking) { |
| | 13915 | | size += 1 + 1; |
| | 13916 | | } |
| | 13917 | | if (_unknownFields != null) { |
| | 13918 | | size += _unknownFields.CalculateSize(); |
| | 13919 | | } |
| | 13920 | | return size; |
| | 13921 | | } |
| | 13922 | |
|
| | 13923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13925 | | public void MergeFrom(ECS6ComponentAvatarShape other) { |
| | 13926 | | if (other == null) { |
| | 13927 | | return; |
| | 13928 | | } |
| | 13929 | | if (other.HasId) { |
| | 13930 | | Id = other.Id; |
| | 13931 | | } |
| | 13932 | | if (other.HasName) { |
| | 13933 | | Name = other.Name; |
| | 13934 | | } |
| | 13935 | | if (other.HasExpressionTriggerId) { |
| | 13936 | | ExpressionTriggerId = other.ExpressionTriggerId; |
| | 13937 | | } |
| | 13938 | | if (other.HasExpressionTriggerTimestamp) { |
| | 13939 | | ExpressionTriggerTimestamp = other.ExpressionTriggerTimestamp; |
| | 13940 | | } |
| | 13941 | | if (other.HasBodyShape) { |
| | 13942 | | BodyShape = other.BodyShape; |
| | 13943 | | } |
| | 13944 | | wearables_.Add(other.wearables_); |
| | 13945 | | emotes_.Add(other.emotes_); |
| | 13946 | | if (other.skinColor_ != null) { |
| | 13947 | | if (skinColor_ == null) { |
| | 13948 | | SkinColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 13949 | | } |
| | 13950 | | SkinColor.MergeFrom(other.SkinColor); |
| | 13951 | | } |
| | 13952 | | if (other.hairColor_ != null) { |
| | 13953 | | if (hairColor_ == null) { |
| | 13954 | | HairColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 13955 | | } |
| | 13956 | | HairColor.MergeFrom(other.HairColor); |
| | 13957 | | } |
| | 13958 | | if (other.eyeColor_ != null) { |
| | 13959 | | if (eyeColor_ == null) { |
| | 13960 | | EyeColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 13961 | | } |
| | 13962 | | EyeColor.MergeFrom(other.EyeColor); |
| | 13963 | | } |
| | 13964 | | if (other.HasUseDummyModel) { |
| | 13965 | | UseDummyModel = other.UseDummyModel; |
| | 13966 | | } |
| | 13967 | | if (other.HasTalking) { |
| | 13968 | | Talking = other.Talking; |
| | 13969 | | } |
| | 13970 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13971 | | } |
| | 13972 | |
|
| | 13973 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13974 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13975 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13976 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13977 | | input.ReadRawMessage(this); |
| | 13978 | | #else |
| | 13979 | | uint tag; |
| | 13980 | | while ((tag = input.ReadTag()) != 0) { |
| | 13981 | | switch(tag) { |
| | 13982 | | default: |
| | 13983 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13984 | | break; |
| | 13985 | | case 10: { |
| | 13986 | | Id = input.ReadString(); |
| | 13987 | | break; |
| | 13988 | | } |
| | 13989 | | case 18: { |
| | 13990 | | Name = input.ReadString(); |
| | 13991 | | break; |
| | 13992 | | } |
| | 13993 | | case 26: { |
| | 13994 | | ExpressionTriggerId = input.ReadString(); |
| | 13995 | | break; |
| | 13996 | | } |
| | 13997 | | case 32: { |
| | 13998 | | ExpressionTriggerTimestamp = input.ReadInt64(); |
| | 13999 | | break; |
| | 14000 | | } |
| | 14001 | | case 42: { |
| | 14002 | | BodyShape = input.ReadString(); |
| | 14003 | | break; |
| | 14004 | | } |
| | 14005 | | case 50: { |
| | 14006 | | wearables_.AddEntriesFrom(input, _repeated_wearables_codec); |
| | 14007 | | break; |
| | 14008 | | } |
| | 14009 | | case 58: { |
| | 14010 | | emotes_.AddEntriesFrom(input, _repeated_emotes_codec); |
| | 14011 | | break; |
| | 14012 | | } |
| | 14013 | | case 66: { |
| | 14014 | | if (skinColor_ == null) { |
| | 14015 | | SkinColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14016 | | } |
| | 14017 | | input.ReadMessage(SkinColor); |
| | 14018 | | break; |
| | 14019 | | } |
| | 14020 | | case 74: { |
| | 14021 | | if (hairColor_ == null) { |
| | 14022 | | HairColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14023 | | } |
| | 14024 | | input.ReadMessage(HairColor); |
| | 14025 | | break; |
| | 14026 | | } |
| | 14027 | | case 82: { |
| | 14028 | | if (eyeColor_ == null) { |
| | 14029 | | EyeColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14030 | | } |
| | 14031 | | input.ReadMessage(EyeColor); |
| | 14032 | | break; |
| | 14033 | | } |
| | 14034 | | case 88: { |
| | 14035 | | UseDummyModel = input.ReadBool(); |
| | 14036 | | break; |
| | 14037 | | } |
| | 14038 | | case 96: { |
| | 14039 | | Talking = input.ReadBool(); |
| | 14040 | | break; |
| | 14041 | | } |
| | 14042 | | } |
| | 14043 | | } |
| | 14044 | | #endif |
| | 14045 | | } |
| | 14046 | |
|
| | 14047 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14050 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14051 | | uint tag; |
| | 14052 | | while ((tag = input.ReadTag()) != 0) { |
| | 14053 | | switch(tag) { |
| | 14054 | | default: |
| | 14055 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14056 | | break; |
| | 14057 | | case 10: { |
| | 14058 | | Id = input.ReadString(); |
| | 14059 | | break; |
| | 14060 | | } |
| | 14061 | | case 18: { |
| | 14062 | | Name = input.ReadString(); |
| | 14063 | | break; |
| | 14064 | | } |
| | 14065 | | case 26: { |
| | 14066 | | ExpressionTriggerId = input.ReadString(); |
| | 14067 | | break; |
| | 14068 | | } |
| | 14069 | | case 32: { |
| | 14070 | | ExpressionTriggerTimestamp = input.ReadInt64(); |
| | 14071 | | break; |
| | 14072 | | } |
| | 14073 | | case 42: { |
| | 14074 | | BodyShape = input.ReadString(); |
| | 14075 | | break; |
| | 14076 | | } |
| | 14077 | | case 50: { |
| | 14078 | | wearables_.AddEntriesFrom(ref input, _repeated_wearables_codec); |
| | 14079 | | break; |
| | 14080 | | } |
| | 14081 | | case 58: { |
| | 14082 | | emotes_.AddEntriesFrom(ref input, _repeated_emotes_codec); |
| | 14083 | | break; |
| | 14084 | | } |
| | 14085 | | case 66: { |
| | 14086 | | if (skinColor_ == null) { |
| | 14087 | | SkinColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14088 | | } |
| | 14089 | | input.ReadMessage(SkinColor); |
| | 14090 | | break; |
| | 14091 | | } |
| | 14092 | | case 74: { |
| | 14093 | | if (hairColor_ == null) { |
| | 14094 | | HairColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14095 | | } |
| | 14096 | | input.ReadMessage(HairColor); |
| | 14097 | | break; |
| | 14098 | | } |
| | 14099 | | case 82: { |
| | 14100 | | if (eyeColor_ == null) { |
| | 14101 | | EyeColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 14102 | | } |
| | 14103 | | input.ReadMessage(EyeColor); |
| | 14104 | | break; |
| | 14105 | | } |
| | 14106 | | case 88: { |
| | 14107 | | UseDummyModel = input.ReadBool(); |
| | 14108 | | break; |
| | 14109 | | } |
| | 14110 | | case 96: { |
| | 14111 | | Talking = input.ReadBool(); |
| | 14112 | | break; |
| | 14113 | | } |
| | 14114 | | } |
| | 14115 | | } |
| | 14116 | | } |
| | 14117 | | #endif |
| | 14118 | |
|
| | 14119 | | #region Nested types |
| | 14120 | | /// <summary>Container for nested types declared in the ECS6ComponentAvatarShape message type.</summary> |
| | 14121 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14122 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14123 | | public static partial class Types { |
| | 14124 | | public sealed partial class Emote : pb::IMessage<Emote> |
| | 14125 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14126 | | , pb::IBufferMessage |
| | 14127 | | #endif |
| | 14128 | | { |
| | 14129 | | private static readonly pb::MessageParser<Emote> _parser = new pb::MessageParser<Emote>(() => new Emote()); |
| | 14130 | | private pb::UnknownFieldSet _unknownFields; |
| | 14131 | | private int _hasBits0; |
| | 14132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14134 | | public static pb::MessageParser<Emote> Parser { get { return _parser; } } |
| | 14135 | |
|
| | 14136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14138 | | public static pbr::MessageDescriptor Descriptor { |
| | 14139 | | get { return global::Decentraland.Sdk.Ecs6.ECS6ComponentAvatarShape.Descriptor.NestedTypes[0]; } |
| | 14140 | | } |
| | 14141 | |
|
| | 14142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14144 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 14145 | | get { return Descriptor; } |
| | 14146 | | } |
| | 14147 | |
|
| | 14148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14150 | | public Emote() { |
| | 14151 | | OnConstruction(); |
| | 14152 | | } |
| | 14153 | |
|
| | 14154 | | partial void OnConstruction(); |
| | 14155 | |
|
| | 14156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14158 | | public Emote(Emote other) : this() { |
| | 14159 | | _hasBits0 = other._hasBits0; |
| | 14160 | | slot_ = other.slot_; |
| | 14161 | | urn_ = other.urn_; |
| | 14162 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 14163 | | } |
| | 14164 | |
|
| | 14165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14167 | | public Emote Clone() { |
| | 14168 | | return new Emote(this); |
| | 14169 | | } |
| | 14170 | |
|
| | 14171 | | /// <summary>Field number for the "slot" field.</summary> |
| | 14172 | | public const int SlotFieldNumber = 1; |
| | 14173 | | private int slot_; |
| | 14174 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14175 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14176 | | public int Slot { |
| | 14177 | | get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return 0; } } |
| | 14178 | | set { |
| | 14179 | | _hasBits0 |= 1; |
| | 14180 | | slot_ = value; |
| | 14181 | | } |
| | 14182 | | } |
| | 14183 | | /// <summary>Gets whether the "slot" field is set</summary> |
| | 14184 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14185 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14186 | | public bool HasSlot { |
| | 14187 | | get { return (_hasBits0 & 1) != 0; } |
| | 14188 | | } |
| | 14189 | | /// <summary>Clears the value of the "slot" field</summary> |
| | 14190 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14191 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14192 | | public void ClearSlot() { |
| | 14193 | | _hasBits0 &= ~1; |
| | 14194 | | } |
| | 14195 | |
|
| | 14196 | | /// <summary>Field number for the "urn" field.</summary> |
| | 14197 | | public const int UrnFieldNumber = 2; |
| | 14198 | | private string urn_; |
| | 14199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14201 | | public string Urn { |
| | 14202 | | get { return urn_ ?? ""; } |
| | 14203 | | set { |
| | 14204 | | urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 14205 | | } |
| | 14206 | | } |
| | 14207 | | /// <summary>Gets whether the "urn" field is set</summary> |
| | 14208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14210 | | public bool HasUrn { |
| | 14211 | | get { return urn_ != null; } |
| | 14212 | | } |
| | 14213 | | /// <summary>Clears the value of the "urn" field</summary> |
| | 14214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14216 | | public void ClearUrn() { |
| | 14217 | | urn_ = null; |
| | 14218 | | } |
| | 14219 | |
|
| | 14220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14222 | | public override bool Equals(object other) { |
| | 14223 | | return Equals(other as Emote); |
| | 14224 | | } |
| | 14225 | |
|
| | 14226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14228 | | public bool Equals(Emote other) { |
| | 14229 | | if (ReferenceEquals(other, null)) { |
| | 14230 | | return false; |
| | 14231 | | } |
| | 14232 | | if (ReferenceEquals(other, this)) { |
| | 14233 | | return true; |
| | 14234 | | } |
| | 14235 | | if (Slot != other.Slot) return false; |
| | 14236 | | if (Urn != other.Urn) return false; |
| | 14237 | | return Equals(_unknownFields, other._unknownFields); |
| | 14238 | | } |
| | 14239 | |
|
| | 14240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14242 | | public override int GetHashCode() { |
| | 14243 | | int hash = 1; |
| | 14244 | | if (HasSlot) hash ^= Slot.GetHashCode(); |
| | 14245 | | if (HasUrn) hash ^= Urn.GetHashCode(); |
| | 14246 | | if (_unknownFields != null) { |
| | 14247 | | hash ^= _unknownFields.GetHashCode(); |
| | 14248 | | } |
| | 14249 | | return hash; |
| | 14250 | | } |
| | 14251 | |
|
| | 14252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14254 | | public override string ToString() { |
| | 14255 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 14256 | | } |
| | 14257 | |
|
| | 14258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14260 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 14261 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14262 | | output.WriteRawMessage(this); |
| | 14263 | | #else |
| | 14264 | | if (HasSlot) { |
| | 14265 | | output.WriteRawTag(8); |
| | 14266 | | output.WriteInt32(Slot); |
| | 14267 | | } |
| | 14268 | | if (HasUrn) { |
| | 14269 | | output.WriteRawTag(18); |
| | 14270 | | output.WriteString(Urn); |
| | 14271 | | } |
| | 14272 | | if (_unknownFields != null) { |
| | 14273 | | _unknownFields.WriteTo(output); |
| | 14274 | | } |
| | 14275 | | #endif |
| | 14276 | | } |
| | 14277 | |
|
| | 14278 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14281 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 14282 | | if (HasSlot) { |
| | 14283 | | output.WriteRawTag(8); |
| | 14284 | | output.WriteInt32(Slot); |
| | 14285 | | } |
| | 14286 | | if (HasUrn) { |
| | 14287 | | output.WriteRawTag(18); |
| | 14288 | | output.WriteString(Urn); |
| | 14289 | | } |
| | 14290 | | if (_unknownFields != null) { |
| | 14291 | | _unknownFields.WriteTo(ref output); |
| | 14292 | | } |
| | 14293 | | } |
| | 14294 | | #endif |
| | 14295 | |
|
| | 14296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14298 | | public int CalculateSize() { |
| | 14299 | | int size = 0; |
| | 14300 | | if (HasSlot) { |
| | 14301 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); |
| | 14302 | | } |
| | 14303 | | if (HasUrn) { |
| | 14304 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn); |
| | 14305 | | } |
| | 14306 | | if (_unknownFields != null) { |
| | 14307 | | size += _unknownFields.CalculateSize(); |
| | 14308 | | } |
| | 14309 | | return size; |
| | 14310 | | } |
| | 14311 | |
|
| | 14312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14314 | | public void MergeFrom(Emote other) { |
| | 14315 | | if (other == null) { |
| | 14316 | | return; |
| | 14317 | | } |
| | 14318 | | if (other.HasSlot) { |
| | 14319 | | Slot = other.Slot; |
| | 14320 | | } |
| | 14321 | | if (other.HasUrn) { |
| | 14322 | | Urn = other.Urn; |
| | 14323 | | } |
| | 14324 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 14325 | | } |
| | 14326 | |
|
| | 14327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14329 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 14330 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14331 | | input.ReadRawMessage(this); |
| | 14332 | | #else |
| | 14333 | | uint tag; |
| | 14334 | | while ((tag = input.ReadTag()) != 0) { |
| | 14335 | | switch(tag) { |
| | 14336 | | default: |
| | 14337 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 14338 | | break; |
| | 14339 | | case 8: { |
| | 14340 | | Slot = input.ReadInt32(); |
| | 14341 | | break; |
| | 14342 | | } |
| | 14343 | | case 18: { |
| | 14344 | | Urn = input.ReadString(); |
| | 14345 | | break; |
| | 14346 | | } |
| | 14347 | | } |
| | 14348 | | } |
| | 14349 | | #endif |
| | 14350 | | } |
| | 14351 | |
|
| | 14352 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14355 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14356 | | uint tag; |
| | 14357 | | while ((tag = input.ReadTag()) != 0) { |
| | 14358 | | switch(tag) { |
| | 14359 | | default: |
| | 14360 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14361 | | break; |
| | 14362 | | case 8: { |
| | 14363 | | Slot = input.ReadInt32(); |
| | 14364 | | break; |
| | 14365 | | } |
| | 14366 | | case 18: { |
| | 14367 | | Urn = input.ReadString(); |
| | 14368 | | break; |
| | 14369 | | } |
| | 14370 | | } |
| | 14371 | | } |
| | 14372 | | } |
| | 14373 | | #endif |
| | 14374 | |
|
| | 14375 | | } |
| | 14376 | |
|
| | 14377 | | } |
| | 14378 | | #endregion |
| | 14379 | |
|
| | 14380 | | } |
| | 14381 | |
|
| | 14382 | | /// <summary> |
| | 14383 | | /// CLASS_ID.GIZMOS |
| | 14384 | | /// </summary> |
| | 14385 | | public sealed partial class ECS6ComponentGizmos : pb::IMessage<ECS6ComponentGizmos> |
| | 14386 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14387 | | , pb::IBufferMessage |
| | 14388 | | #endif |
| | 14389 | | { |
| | 14390 | | private static readonly pb::MessageParser<ECS6ComponentGizmos> _parser = new pb::MessageParser<ECS6ComponentGizmos>( |
| | 14391 | | private pb::UnknownFieldSet _unknownFields; |
| | 14392 | | private int _hasBits0; |
| | 14393 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14394 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14395 | | public static pb::MessageParser<ECS6ComponentGizmos> Parser { get { return _parser; } } |
| | 14396 | |
|
| | 14397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14399 | | public static pbr::MessageDescriptor Descriptor { |
| | 14400 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[32]; } |
| | 14401 | | } |
| | 14402 | |
|
| | 14403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14405 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 14406 | | get { return Descriptor; } |
| | 14407 | | } |
| | 14408 | |
|
| | 14409 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14410 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14411 | | public ECS6ComponentGizmos() { |
| | 14412 | | OnConstruction(); |
| | 14413 | | } |
| | 14414 | |
|
| | 14415 | | partial void OnConstruction(); |
| | 14416 | |
|
| | 14417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14419 | | public ECS6ComponentGizmos(ECS6ComponentGizmos other) : this() { |
| | 14420 | | _hasBits0 = other._hasBits0; |
| | 14421 | | position_ = other.position_; |
| | 14422 | | rotation_ = other.rotation_; |
| | 14423 | | scale_ = other.scale_; |
| | 14424 | | cycle_ = other.cycle_; |
| | 14425 | | selectedGizmo_ = other.selectedGizmo_; |
| | 14426 | | localReference_ = other.localReference_; |
| | 14427 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 14428 | | } |
| | 14429 | |
|
| | 14430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14432 | | public ECS6ComponentGizmos Clone() { |
| | 14433 | | return new ECS6ComponentGizmos(this); |
| | 14434 | | } |
| | 14435 | |
|
| | 14436 | | /// <summary>Field number for the "position" field.</summary> |
| | 14437 | | public const int PositionFieldNumber = 1; |
| | 14438 | | private bool position_; |
| | 14439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14441 | | public bool Position { |
| | 14442 | | get { if ((_hasBits0 & 1) != 0) { return position_; } else { return false; } } |
| | 14443 | | set { |
| | 14444 | | _hasBits0 |= 1; |
| | 14445 | | position_ = value; |
| | 14446 | | } |
| | 14447 | | } |
| | 14448 | | /// <summary>Gets whether the "position" field is set</summary> |
| | 14449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14451 | | public bool HasPosition { |
| | 14452 | | get { return (_hasBits0 & 1) != 0; } |
| | 14453 | | } |
| | 14454 | | /// <summary>Clears the value of the "position" field</summary> |
| | 14455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14457 | | public void ClearPosition() { |
| | 14458 | | _hasBits0 &= ~1; |
| | 14459 | | } |
| | 14460 | |
|
| | 14461 | | /// <summary>Field number for the "rotation" field.</summary> |
| | 14462 | | public const int RotationFieldNumber = 2; |
| | 14463 | | private bool rotation_; |
| | 14464 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14465 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14466 | | public bool Rotation { |
| | 14467 | | get { if ((_hasBits0 & 2) != 0) { return rotation_; } else { return false; } } |
| | 14468 | | set { |
| | 14469 | | _hasBits0 |= 2; |
| | 14470 | | rotation_ = value; |
| | 14471 | | } |
| | 14472 | | } |
| | 14473 | | /// <summary>Gets whether the "rotation" field is set</summary> |
| | 14474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14476 | | public bool HasRotation { |
| | 14477 | | get { return (_hasBits0 & 2) != 0; } |
| | 14478 | | } |
| | 14479 | | /// <summary>Clears the value of the "rotation" field</summary> |
| | 14480 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14481 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14482 | | public void ClearRotation() { |
| | 14483 | | _hasBits0 &= ~2; |
| | 14484 | | } |
| | 14485 | |
|
| | 14486 | | /// <summary>Field number for the "scale" field.</summary> |
| | 14487 | | public const int ScaleFieldNumber = 3; |
| | 14488 | | private bool scale_; |
| | 14489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14491 | | public bool Scale { |
| | 14492 | | get { if ((_hasBits0 & 4) != 0) { return scale_; } else { return false; } } |
| | 14493 | | set { |
| | 14494 | | _hasBits0 |= 4; |
| | 14495 | | scale_ = value; |
| | 14496 | | } |
| | 14497 | | } |
| | 14498 | | /// <summary>Gets whether the "scale" field is set</summary> |
| | 14499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14501 | | public bool HasScale { |
| | 14502 | | get { return (_hasBits0 & 4) != 0; } |
| | 14503 | | } |
| | 14504 | | /// <summary>Clears the value of the "scale" field</summary> |
| | 14505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14507 | | public void ClearScale() { |
| | 14508 | | _hasBits0 &= ~4; |
| | 14509 | | } |
| | 14510 | |
|
| | 14511 | | /// <summary>Field number for the "cycle" field.</summary> |
| | 14512 | | public const int CycleFieldNumber = 4; |
| | 14513 | | private bool cycle_; |
| | 14514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14516 | | public bool Cycle { |
| | 14517 | | get { if ((_hasBits0 & 8) != 0) { return cycle_; } else { return false; } } |
| | 14518 | | set { |
| | 14519 | | _hasBits0 |= 8; |
| | 14520 | | cycle_ = value; |
| | 14521 | | } |
| | 14522 | | } |
| | 14523 | | /// <summary>Gets whether the "cycle" field is set</summary> |
| | 14524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14526 | | public bool HasCycle { |
| | 14527 | | get { return (_hasBits0 & 8) != 0; } |
| | 14528 | | } |
| | 14529 | | /// <summary>Clears the value of the "cycle" field</summary> |
| | 14530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14532 | | public void ClearCycle() { |
| | 14533 | | _hasBits0 &= ~8; |
| | 14534 | | } |
| | 14535 | |
|
| | 14536 | | /// <summary>Field number for the "selected_gizmo" field.</summary> |
| | 14537 | | public const int SelectedGizmoFieldNumber = 5; |
| | 14538 | | private string selectedGizmo_; |
| | 14539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14541 | | public string SelectedGizmo { |
| | 14542 | | get { return selectedGizmo_ ?? ""; } |
| | 14543 | | set { |
| | 14544 | | selectedGizmo_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 14545 | | } |
| | 14546 | | } |
| | 14547 | | /// <summary>Gets whether the "selected_gizmo" field is set</summary> |
| | 14548 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14549 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14550 | | public bool HasSelectedGizmo { |
| | 14551 | | get { return selectedGizmo_ != null; } |
| | 14552 | | } |
| | 14553 | | /// <summary>Clears the value of the "selected_gizmo" field</summary> |
| | 14554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14556 | | public void ClearSelectedGizmo() { |
| | 14557 | | selectedGizmo_ = null; |
| | 14558 | | } |
| | 14559 | |
|
| | 14560 | | /// <summary>Field number for the "local_reference" field.</summary> |
| | 14561 | | public const int LocalReferenceFieldNumber = 6; |
| | 14562 | | private bool localReference_; |
| | 14563 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14564 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14565 | | public bool LocalReference { |
| | 14566 | | get { if ((_hasBits0 & 16) != 0) { return localReference_; } else { return false; } } |
| | 14567 | | set { |
| | 14568 | | _hasBits0 |= 16; |
| | 14569 | | localReference_ = value; |
| | 14570 | | } |
| | 14571 | | } |
| | 14572 | | /// <summary>Gets whether the "local_reference" field is set</summary> |
| | 14573 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14574 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14575 | | public bool HasLocalReference { |
| | 14576 | | get { return (_hasBits0 & 16) != 0; } |
| | 14577 | | } |
| | 14578 | | /// <summary>Clears the value of the "local_reference" field</summary> |
| | 14579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14581 | | public void ClearLocalReference() { |
| | 14582 | | _hasBits0 &= ~16; |
| | 14583 | | } |
| | 14584 | |
|
| | 14585 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14586 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14587 | | public override bool Equals(object other) { |
| | 14588 | | return Equals(other as ECS6ComponentGizmos); |
| | 14589 | | } |
| | 14590 | |
|
| | 14591 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14592 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14593 | | public bool Equals(ECS6ComponentGizmos other) { |
| | 14594 | | if (ReferenceEquals(other, null)) { |
| | 14595 | | return false; |
| | 14596 | | } |
| | 14597 | | if (ReferenceEquals(other, this)) { |
| | 14598 | | return true; |
| | 14599 | | } |
| | 14600 | | if (Position != other.Position) return false; |
| | 14601 | | if (Rotation != other.Rotation) return false; |
| | 14602 | | if (Scale != other.Scale) return false; |
| | 14603 | | if (Cycle != other.Cycle) return false; |
| | 14604 | | if (SelectedGizmo != other.SelectedGizmo) return false; |
| | 14605 | | if (LocalReference != other.LocalReference) return false; |
| | 14606 | | return Equals(_unknownFields, other._unknownFields); |
| | 14607 | | } |
| | 14608 | |
|
| | 14609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14611 | | public override int GetHashCode() { |
| | 14612 | | int hash = 1; |
| | 14613 | | if (HasPosition) hash ^= Position.GetHashCode(); |
| | 14614 | | if (HasRotation) hash ^= Rotation.GetHashCode(); |
| | 14615 | | if (HasScale) hash ^= Scale.GetHashCode(); |
| | 14616 | | if (HasCycle) hash ^= Cycle.GetHashCode(); |
| | 14617 | | if (HasSelectedGizmo) hash ^= SelectedGizmo.GetHashCode(); |
| | 14618 | | if (HasLocalReference) hash ^= LocalReference.GetHashCode(); |
| | 14619 | | if (_unknownFields != null) { |
| | 14620 | | hash ^= _unknownFields.GetHashCode(); |
| | 14621 | | } |
| | 14622 | | return hash; |
| | 14623 | | } |
| | 14624 | |
|
| | 14625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14627 | | public override string ToString() { |
| | 14628 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 14629 | | } |
| | 14630 | |
|
| | 14631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14633 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 14634 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14635 | | output.WriteRawMessage(this); |
| | 14636 | | #else |
| | 14637 | | if (HasPosition) { |
| | 14638 | | output.WriteRawTag(8); |
| | 14639 | | output.WriteBool(Position); |
| | 14640 | | } |
| | 14641 | | if (HasRotation) { |
| | 14642 | | output.WriteRawTag(16); |
| | 14643 | | output.WriteBool(Rotation); |
| | 14644 | | } |
| | 14645 | | if (HasScale) { |
| | 14646 | | output.WriteRawTag(24); |
| | 14647 | | output.WriteBool(Scale); |
| | 14648 | | } |
| | 14649 | | if (HasCycle) { |
| | 14650 | | output.WriteRawTag(32); |
| | 14651 | | output.WriteBool(Cycle); |
| | 14652 | | } |
| | 14653 | | if (HasSelectedGizmo) { |
| | 14654 | | output.WriteRawTag(42); |
| | 14655 | | output.WriteString(SelectedGizmo); |
| | 14656 | | } |
| | 14657 | | if (HasLocalReference) { |
| | 14658 | | output.WriteRawTag(48); |
| | 14659 | | output.WriteBool(LocalReference); |
| | 14660 | | } |
| | 14661 | | if (_unknownFields != null) { |
| | 14662 | | _unknownFields.WriteTo(output); |
| | 14663 | | } |
| | 14664 | | #endif |
| | 14665 | | } |
| | 14666 | |
|
| | 14667 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14668 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14669 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14670 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 14671 | | if (HasPosition) { |
| | 14672 | | output.WriteRawTag(8); |
| | 14673 | | output.WriteBool(Position); |
| | 14674 | | } |
| | 14675 | | if (HasRotation) { |
| | 14676 | | output.WriteRawTag(16); |
| | 14677 | | output.WriteBool(Rotation); |
| | 14678 | | } |
| | 14679 | | if (HasScale) { |
| | 14680 | | output.WriteRawTag(24); |
| | 14681 | | output.WriteBool(Scale); |
| | 14682 | | } |
| | 14683 | | if (HasCycle) { |
| | 14684 | | output.WriteRawTag(32); |
| | 14685 | | output.WriteBool(Cycle); |
| | 14686 | | } |
| | 14687 | | if (HasSelectedGizmo) { |
| | 14688 | | output.WriteRawTag(42); |
| | 14689 | | output.WriteString(SelectedGizmo); |
| | 14690 | | } |
| | 14691 | | if (HasLocalReference) { |
| | 14692 | | output.WriteRawTag(48); |
| | 14693 | | output.WriteBool(LocalReference); |
| | 14694 | | } |
| | 14695 | | if (_unknownFields != null) { |
| | 14696 | | _unknownFields.WriteTo(ref output); |
| | 14697 | | } |
| | 14698 | | } |
| | 14699 | | #endif |
| | 14700 | |
|
| | 14701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14703 | | public int CalculateSize() { |
| | 14704 | | int size = 0; |
| | 14705 | | if (HasPosition) { |
| | 14706 | | size += 1 + 1; |
| | 14707 | | } |
| | 14708 | | if (HasRotation) { |
| | 14709 | | size += 1 + 1; |
| | 14710 | | } |
| | 14711 | | if (HasScale) { |
| | 14712 | | size += 1 + 1; |
| | 14713 | | } |
| | 14714 | | if (HasCycle) { |
| | 14715 | | size += 1 + 1; |
| | 14716 | | } |
| | 14717 | | if (HasSelectedGizmo) { |
| | 14718 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectedGizmo); |
| | 14719 | | } |
| | 14720 | | if (HasLocalReference) { |
| | 14721 | | size += 1 + 1; |
| | 14722 | | } |
| | 14723 | | if (_unknownFields != null) { |
| | 14724 | | size += _unknownFields.CalculateSize(); |
| | 14725 | | } |
| | 14726 | | return size; |
| | 14727 | | } |
| | 14728 | |
|
| | 14729 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14730 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14731 | | public void MergeFrom(ECS6ComponentGizmos other) { |
| | 14732 | | if (other == null) { |
| | 14733 | | return; |
| | 14734 | | } |
| | 14735 | | if (other.HasPosition) { |
| | 14736 | | Position = other.Position; |
| | 14737 | | } |
| | 14738 | | if (other.HasRotation) { |
| | 14739 | | Rotation = other.Rotation; |
| | 14740 | | } |
| | 14741 | | if (other.HasScale) { |
| | 14742 | | Scale = other.Scale; |
| | 14743 | | } |
| | 14744 | | if (other.HasCycle) { |
| | 14745 | | Cycle = other.Cycle; |
| | 14746 | | } |
| | 14747 | | if (other.HasSelectedGizmo) { |
| | 14748 | | SelectedGizmo = other.SelectedGizmo; |
| | 14749 | | } |
| | 14750 | | if (other.HasLocalReference) { |
| | 14751 | | LocalReference = other.LocalReference; |
| | 14752 | | } |
| | 14753 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 14754 | | } |
| | 14755 | |
|
| | 14756 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14757 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14758 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 14759 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14760 | | input.ReadRawMessage(this); |
| | 14761 | | #else |
| | 14762 | | uint tag; |
| | 14763 | | while ((tag = input.ReadTag()) != 0) { |
| | 14764 | | switch(tag) { |
| | 14765 | | default: |
| | 14766 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 14767 | | break; |
| | 14768 | | case 8: { |
| | 14769 | | Position = input.ReadBool(); |
| | 14770 | | break; |
| | 14771 | | } |
| | 14772 | | case 16: { |
| | 14773 | | Rotation = input.ReadBool(); |
| | 14774 | | break; |
| | 14775 | | } |
| | 14776 | | case 24: { |
| | 14777 | | Scale = input.ReadBool(); |
| | 14778 | | break; |
| | 14779 | | } |
| | 14780 | | case 32: { |
| | 14781 | | Cycle = input.ReadBool(); |
| | 14782 | | break; |
| | 14783 | | } |
| | 14784 | | case 42: { |
| | 14785 | | SelectedGizmo = input.ReadString(); |
| | 14786 | | break; |
| | 14787 | | } |
| | 14788 | | case 48: { |
| | 14789 | | LocalReference = input.ReadBool(); |
| | 14790 | | break; |
| | 14791 | | } |
| | 14792 | | } |
| | 14793 | | } |
| | 14794 | | #endif |
| | 14795 | | } |
| | 14796 | |
|
| | 14797 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14798 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14799 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14800 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14801 | | uint tag; |
| | 14802 | | while ((tag = input.ReadTag()) != 0) { |
| | 14803 | | switch(tag) { |
| | 14804 | | default: |
| | 14805 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14806 | | break; |
| | 14807 | | case 8: { |
| | 14808 | | Position = input.ReadBool(); |
| | 14809 | | break; |
| | 14810 | | } |
| | 14811 | | case 16: { |
| | 14812 | | Rotation = input.ReadBool(); |
| | 14813 | | break; |
| | 14814 | | } |
| | 14815 | | case 24: { |
| | 14816 | | Scale = input.ReadBool(); |
| | 14817 | | break; |
| | 14818 | | } |
| | 14819 | | case 32: { |
| | 14820 | | Cycle = input.ReadBool(); |
| | 14821 | | break; |
| | 14822 | | } |
| | 14823 | | case 42: { |
| | 14824 | | SelectedGizmo = input.ReadString(); |
| | 14825 | | break; |
| | 14826 | | } |
| | 14827 | | case 48: { |
| | 14828 | | LocalReference = input.ReadBool(); |
| | 14829 | | break; |
| | 14830 | | } |
| | 14831 | | } |
| | 14832 | | } |
| | 14833 | | } |
| | 14834 | | #endif |
| | 14835 | |
|
| | 14836 | | } |
| | 14837 | |
|
| | 14838 | | /// <summary> |
| | 14839 | | /// NO CLASS |
| | 14840 | | /// </summary> |
| | 14841 | | public sealed partial class ECS6ComponentUiShape : pb::IMessage<ECS6ComponentUiShape> |
| | 14842 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14843 | | , pb::IBufferMessage |
| | 14844 | | #endif |
| | 14845 | | { |
| | 14846 | | private static readonly pb::MessageParser<ECS6ComponentUiShape> _parser = new pb::MessageParser<ECS6ComponentUiShape |
| | 14847 | | private pb::UnknownFieldSet _unknownFields; |
| | 14848 | | private int _hasBits0; |
| | 14849 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14850 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14851 | | public static pb::MessageParser<ECS6ComponentUiShape> Parser { get { return _parser; } } |
| | 14852 | |
|
| | 14853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14855 | | public static pbr::MessageDescriptor Descriptor { |
| | 14856 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[33]; } |
| | 14857 | | } |
| | 14858 | |
|
| | 14859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14861 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 14862 | | get { return Descriptor; } |
| | 14863 | | } |
| | 14864 | |
|
| | 14865 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14866 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14867 | | public ECS6ComponentUiShape() { |
| | 14868 | | OnConstruction(); |
| | 14869 | | } |
| | 14870 | |
|
| | 14871 | | partial void OnConstruction(); |
| | 14872 | |
|
| | 14873 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14874 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14875 | | public ECS6ComponentUiShape(ECS6ComponentUiShape other) : this() { |
| | 14876 | | _hasBits0 = other._hasBits0; |
| | 14877 | | name_ = other.name_; |
| | 14878 | | visible_ = other.visible_; |
| | 14879 | | opacity_ = other.opacity_; |
| | 14880 | | hAlign_ = other.hAlign_; |
| | 14881 | | vAlign_ = other.vAlign_; |
| | 14882 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 14883 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 14884 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 14885 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 14886 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 14887 | | parentComponent_ = other.parentComponent_; |
| | 14888 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 14889 | | } |
| | 14890 | |
|
| | 14891 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14892 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14893 | | public ECS6ComponentUiShape Clone() { |
| | 14894 | | return new ECS6ComponentUiShape(this); |
| | 14895 | | } |
| | 14896 | |
|
| | 14897 | | /// <summary>Field number for the "name" field.</summary> |
| | 14898 | | public const int NameFieldNumber = 1; |
| | 14899 | | private string name_; |
| | 14900 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14901 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14902 | | public string Name { |
| | 14903 | | get { return name_ ?? ""; } |
| | 14904 | | set { |
| | 14905 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 14906 | | } |
| | 14907 | | } |
| | 14908 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 14909 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14910 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14911 | | public bool HasName { |
| | 14912 | | get { return name_ != null; } |
| | 14913 | | } |
| | 14914 | | /// <summary>Clears the value of the "name" field</summary> |
| | 14915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14917 | | public void ClearName() { |
| | 14918 | | name_ = null; |
| | 14919 | | } |
| | 14920 | |
|
| | 14921 | | /// <summary>Field number for the "visible" field.</summary> |
| | 14922 | | public const int VisibleFieldNumber = 2; |
| | 14923 | | private bool visible_; |
| | 14924 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14925 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14926 | | public bool Visible { |
| | 14927 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 14928 | | set { |
| | 14929 | | _hasBits0 |= 1; |
| | 14930 | | visible_ = value; |
| | 14931 | | } |
| | 14932 | | } |
| | 14933 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 14934 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14935 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14936 | | public bool HasVisible { |
| | 14937 | | get { return (_hasBits0 & 1) != 0; } |
| | 14938 | | } |
| | 14939 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 14940 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14941 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14942 | | public void ClearVisible() { |
| | 14943 | | _hasBits0 &= ~1; |
| | 14944 | | } |
| | 14945 | |
|
| | 14946 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 14947 | | public const int OpacityFieldNumber = 3; |
| | 14948 | | private float opacity_; |
| | 14949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14951 | | public float Opacity { |
| | 14952 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 14953 | | set { |
| | 14954 | | _hasBits0 |= 2; |
| | 14955 | | opacity_ = value; |
| | 14956 | | } |
| | 14957 | | } |
| | 14958 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 14959 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14960 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14961 | | public bool HasOpacity { |
| | 14962 | | get { return (_hasBits0 & 2) != 0; } |
| | 14963 | | } |
| | 14964 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 14965 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14966 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14967 | | public void ClearOpacity() { |
| | 14968 | | _hasBits0 &= ~2; |
| | 14969 | | } |
| | 14970 | |
|
| | 14971 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 14972 | | public const int HAlignFieldNumber = 4; |
| | 14973 | | private string hAlign_; |
| | 14974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14976 | | public string HAlign { |
| | 14977 | | get { return hAlign_ ?? ""; } |
| | 14978 | | set { |
| | 14979 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 14980 | | } |
| | 14981 | | } |
| | 14982 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 14983 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14984 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14985 | | public bool HasHAlign { |
| | 14986 | | get { return hAlign_ != null; } |
| | 14987 | | } |
| | 14988 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 14989 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14990 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14991 | | public void ClearHAlign() { |
| | 14992 | | hAlign_ = null; |
| | 14993 | | } |
| | 14994 | |
|
| | 14995 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 14996 | | public const int VAlignFieldNumber = 5; |
| | 14997 | | private string vAlign_; |
| | 14998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15000 | | public string VAlign { |
| | 15001 | | get { return vAlign_ ?? ""; } |
| | 15002 | | set { |
| | 15003 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15004 | | } |
| | 15005 | | } |
| | 15006 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 15007 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15008 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15009 | | public bool HasVAlign { |
| | 15010 | | get { return vAlign_ != null; } |
| | 15011 | | } |
| | 15012 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 15013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15015 | | public void ClearVAlign() { |
| | 15016 | | vAlign_ = null; |
| | 15017 | | } |
| | 15018 | |
|
| | 15019 | | /// <summary>Field number for the "width" field.</summary> |
| | 15020 | | public const int WidthFieldNumber = 6; |
| | 15021 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 15022 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15023 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15024 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 15025 | | get { return width_; } |
| | 15026 | | set { |
| | 15027 | | width_ = value; |
| | 15028 | | } |
| | 15029 | | } |
| | 15030 | |
|
| | 15031 | | /// <summary>Field number for the "height" field.</summary> |
| | 15032 | | public const int HeightFieldNumber = 7; |
| | 15033 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 15034 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15035 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15036 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 15037 | | get { return height_; } |
| | 15038 | | set { |
| | 15039 | | height_ = value; |
| | 15040 | | } |
| | 15041 | | } |
| | 15042 | |
|
| | 15043 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 15044 | | public const int PositionXFieldNumber = 8; |
| | 15045 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 15046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15048 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 15049 | | get { return positionX_; } |
| | 15050 | | set { |
| | 15051 | | positionX_ = value; |
| | 15052 | | } |
| | 15053 | | } |
| | 15054 | |
|
| | 15055 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 15056 | | public const int PositionYFieldNumber = 9; |
| | 15057 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 15058 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15059 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15060 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 15061 | | get { return positionY_; } |
| | 15062 | | set { |
| | 15063 | | positionY_ = value; |
| | 15064 | | } |
| | 15065 | | } |
| | 15066 | |
|
| | 15067 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 15068 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 15069 | | private bool isPointerBlocker_; |
| | 15070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15072 | | public bool IsPointerBlocker { |
| | 15073 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 15074 | | set { |
| | 15075 | | _hasBits0 |= 4; |
| | 15076 | | isPointerBlocker_ = value; |
| | 15077 | | } |
| | 15078 | | } |
| | 15079 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 15080 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15081 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15082 | | public bool HasIsPointerBlocker { |
| | 15083 | | get { return (_hasBits0 & 4) != 0; } |
| | 15084 | | } |
| | 15085 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 15086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15088 | | public void ClearIsPointerBlocker() { |
| | 15089 | | _hasBits0 &= ~4; |
| | 15090 | | } |
| | 15091 | |
|
| | 15092 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 15093 | | public const int ParentComponentFieldNumber = 11; |
| | 15094 | | private string parentComponent_; |
| | 15095 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15096 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15097 | | public string ParentComponent { |
| | 15098 | | get { return parentComponent_ ?? ""; } |
| | 15099 | | set { |
| | 15100 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15101 | | } |
| | 15102 | | } |
| | 15103 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 15104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15106 | | public bool HasParentComponent { |
| | 15107 | | get { return parentComponent_ != null; } |
| | 15108 | | } |
| | 15109 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 15110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15112 | | public void ClearParentComponent() { |
| | 15113 | | parentComponent_ = null; |
| | 15114 | | } |
| | 15115 | |
|
| | 15116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15118 | | public override bool Equals(object other) { |
| | 15119 | | return Equals(other as ECS6ComponentUiShape); |
| | 15120 | | } |
| | 15121 | |
|
| | 15122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15124 | | public bool Equals(ECS6ComponentUiShape other) { |
| | 15125 | | if (ReferenceEquals(other, null)) { |
| | 15126 | | return false; |
| | 15127 | | } |
| | 15128 | | if (ReferenceEquals(other, this)) { |
| | 15129 | | return true; |
| | 15130 | | } |
| | 15131 | | if (Name != other.Name) return false; |
| | 15132 | | if (Visible != other.Visible) return false; |
| | 15133 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 15134 | | if (HAlign != other.HAlign) return false; |
| | 15135 | | if (VAlign != other.VAlign) return false; |
| | 15136 | | if (!object.Equals(Width, other.Width)) return false; |
| | 15137 | | if (!object.Equals(Height, other.Height)) return false; |
| | 15138 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 15139 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 15140 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 15141 | | if (ParentComponent != other.ParentComponent) return false; |
| | 15142 | | return Equals(_unknownFields, other._unknownFields); |
| | 15143 | | } |
| | 15144 | |
|
| | 15145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15147 | | public override int GetHashCode() { |
| | 15148 | | int hash = 1; |
| | 15149 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 15150 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 15151 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 15152 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 15153 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 15154 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 15155 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 15156 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 15157 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 15158 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 15159 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 15160 | | if (_unknownFields != null) { |
| | 15161 | | hash ^= _unknownFields.GetHashCode(); |
| | 15162 | | } |
| | 15163 | | return hash; |
| | 15164 | | } |
| | 15165 | |
|
| | 15166 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15167 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15168 | | public override string ToString() { |
| | 15169 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15170 | | } |
| | 15171 | |
|
| | 15172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15174 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15175 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15176 | | output.WriteRawMessage(this); |
| | 15177 | | #else |
| | 15178 | | if (HasName) { |
| | 15179 | | output.WriteRawTag(10); |
| | 15180 | | output.WriteString(Name); |
| | 15181 | | } |
| | 15182 | | if (HasVisible) { |
| | 15183 | | output.WriteRawTag(16); |
| | 15184 | | output.WriteBool(Visible); |
| | 15185 | | } |
| | 15186 | | if (HasOpacity) { |
| | 15187 | | output.WriteRawTag(29); |
| | 15188 | | output.WriteFloat(Opacity); |
| | 15189 | | } |
| | 15190 | | if (HasHAlign) { |
| | 15191 | | output.WriteRawTag(34); |
| | 15192 | | output.WriteString(HAlign); |
| | 15193 | | } |
| | 15194 | | if (HasVAlign) { |
| | 15195 | | output.WriteRawTag(42); |
| | 15196 | | output.WriteString(VAlign); |
| | 15197 | | } |
| | 15198 | | if (width_ != null) { |
| | 15199 | | output.WriteRawTag(50); |
| | 15200 | | output.WriteMessage(Width); |
| | 15201 | | } |
| | 15202 | | if (height_ != null) { |
| | 15203 | | output.WriteRawTag(58); |
| | 15204 | | output.WriteMessage(Height); |
| | 15205 | | } |
| | 15206 | | if (positionX_ != null) { |
| | 15207 | | output.WriteRawTag(66); |
| | 15208 | | output.WriteMessage(PositionX); |
| | 15209 | | } |
| | 15210 | | if (positionY_ != null) { |
| | 15211 | | output.WriteRawTag(74); |
| | 15212 | | output.WriteMessage(PositionY); |
| | 15213 | | } |
| | 15214 | | if (HasIsPointerBlocker) { |
| | 15215 | | output.WriteRawTag(80); |
| | 15216 | | output.WriteBool(IsPointerBlocker); |
| | 15217 | | } |
| | 15218 | | if (HasParentComponent) { |
| | 15219 | | output.WriteRawTag(90); |
| | 15220 | | output.WriteString(ParentComponent); |
| | 15221 | | } |
| | 15222 | | if (_unknownFields != null) { |
| | 15223 | | _unknownFields.WriteTo(output); |
| | 15224 | | } |
| | 15225 | | #endif |
| | 15226 | | } |
| | 15227 | |
|
| | 15228 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15229 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15230 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15231 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 15232 | | if (HasName) { |
| | 15233 | | output.WriteRawTag(10); |
| | 15234 | | output.WriteString(Name); |
| | 15235 | | } |
| | 15236 | | if (HasVisible) { |
| | 15237 | | output.WriteRawTag(16); |
| | 15238 | | output.WriteBool(Visible); |
| | 15239 | | } |
| | 15240 | | if (HasOpacity) { |
| | 15241 | | output.WriteRawTag(29); |
| | 15242 | | output.WriteFloat(Opacity); |
| | 15243 | | } |
| | 15244 | | if (HasHAlign) { |
| | 15245 | | output.WriteRawTag(34); |
| | 15246 | | output.WriteString(HAlign); |
| | 15247 | | } |
| | 15248 | | if (HasVAlign) { |
| | 15249 | | output.WriteRawTag(42); |
| | 15250 | | output.WriteString(VAlign); |
| | 15251 | | } |
| | 15252 | | if (width_ != null) { |
| | 15253 | | output.WriteRawTag(50); |
| | 15254 | | output.WriteMessage(Width); |
| | 15255 | | } |
| | 15256 | | if (height_ != null) { |
| | 15257 | | output.WriteRawTag(58); |
| | 15258 | | output.WriteMessage(Height); |
| | 15259 | | } |
| | 15260 | | if (positionX_ != null) { |
| | 15261 | | output.WriteRawTag(66); |
| | 15262 | | output.WriteMessage(PositionX); |
| | 15263 | | } |
| | 15264 | | if (positionY_ != null) { |
| | 15265 | | output.WriteRawTag(74); |
| | 15266 | | output.WriteMessage(PositionY); |
| | 15267 | | } |
| | 15268 | | if (HasIsPointerBlocker) { |
| | 15269 | | output.WriteRawTag(80); |
| | 15270 | | output.WriteBool(IsPointerBlocker); |
| | 15271 | | } |
| | 15272 | | if (HasParentComponent) { |
| | 15273 | | output.WriteRawTag(90); |
| | 15274 | | output.WriteString(ParentComponent); |
| | 15275 | | } |
| | 15276 | | if (_unknownFields != null) { |
| | 15277 | | _unknownFields.WriteTo(ref output); |
| | 15278 | | } |
| | 15279 | | } |
| | 15280 | | #endif |
| | 15281 | |
|
| | 15282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15284 | | public int CalculateSize() { |
| | 15285 | | int size = 0; |
| | 15286 | | if (HasName) { |
| | 15287 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 15288 | | } |
| | 15289 | | if (HasVisible) { |
| | 15290 | | size += 1 + 1; |
| | 15291 | | } |
| | 15292 | | if (HasOpacity) { |
| | 15293 | | size += 1 + 4; |
| | 15294 | | } |
| | 15295 | | if (HasHAlign) { |
| | 15296 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 15297 | | } |
| | 15298 | | if (HasVAlign) { |
| | 15299 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 15300 | | } |
| | 15301 | | if (width_ != null) { |
| | 15302 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 15303 | | } |
| | 15304 | | if (height_ != null) { |
| | 15305 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 15306 | | } |
| | 15307 | | if (positionX_ != null) { |
| | 15308 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 15309 | | } |
| | 15310 | | if (positionY_ != null) { |
| | 15311 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 15312 | | } |
| | 15313 | | if (HasIsPointerBlocker) { |
| | 15314 | | size += 1 + 1; |
| | 15315 | | } |
| | 15316 | | if (HasParentComponent) { |
| | 15317 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 15318 | | } |
| | 15319 | | if (_unknownFields != null) { |
| | 15320 | | size += _unknownFields.CalculateSize(); |
| | 15321 | | } |
| | 15322 | | return size; |
| | 15323 | | } |
| | 15324 | |
|
| | 15325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15327 | | public void MergeFrom(ECS6ComponentUiShape other) { |
| | 15328 | | if (other == null) { |
| | 15329 | | return; |
| | 15330 | | } |
| | 15331 | | if (other.HasName) { |
| | 15332 | | Name = other.Name; |
| | 15333 | | } |
| | 15334 | | if (other.HasVisible) { |
| | 15335 | | Visible = other.Visible; |
| | 15336 | | } |
| | 15337 | | if (other.HasOpacity) { |
| | 15338 | | Opacity = other.Opacity; |
| | 15339 | | } |
| | 15340 | | if (other.HasHAlign) { |
| | 15341 | | HAlign = other.HAlign; |
| | 15342 | | } |
| | 15343 | | if (other.HasVAlign) { |
| | 15344 | | VAlign = other.VAlign; |
| | 15345 | | } |
| | 15346 | | if (other.width_ != null) { |
| | 15347 | | if (width_ == null) { |
| | 15348 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15349 | | } |
| | 15350 | | Width.MergeFrom(other.Width); |
| | 15351 | | } |
| | 15352 | | if (other.height_ != null) { |
| | 15353 | | if (height_ == null) { |
| | 15354 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15355 | | } |
| | 15356 | | Height.MergeFrom(other.Height); |
| | 15357 | | } |
| | 15358 | | if (other.positionX_ != null) { |
| | 15359 | | if (positionX_ == null) { |
| | 15360 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15361 | | } |
| | 15362 | | PositionX.MergeFrom(other.PositionX); |
| | 15363 | | } |
| | 15364 | | if (other.positionY_ != null) { |
| | 15365 | | if (positionY_ == null) { |
| | 15366 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15367 | | } |
| | 15368 | | PositionY.MergeFrom(other.PositionY); |
| | 15369 | | } |
| | 15370 | | if (other.HasIsPointerBlocker) { |
| | 15371 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 15372 | | } |
| | 15373 | | if (other.HasParentComponent) { |
| | 15374 | | ParentComponent = other.ParentComponent; |
| | 15375 | | } |
| | 15376 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 15377 | | } |
| | 15378 | |
|
| | 15379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15381 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 15382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15383 | | input.ReadRawMessage(this); |
| | 15384 | | #else |
| | 15385 | | uint tag; |
| | 15386 | | while ((tag = input.ReadTag()) != 0) { |
| | 15387 | | switch(tag) { |
| | 15388 | | default: |
| | 15389 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 15390 | | break; |
| | 15391 | | case 10: { |
| | 15392 | | Name = input.ReadString(); |
| | 15393 | | break; |
| | 15394 | | } |
| | 15395 | | case 16: { |
| | 15396 | | Visible = input.ReadBool(); |
| | 15397 | | break; |
| | 15398 | | } |
| | 15399 | | case 29: { |
| | 15400 | | Opacity = input.ReadFloat(); |
| | 15401 | | break; |
| | 15402 | | } |
| | 15403 | | case 34: { |
| | 15404 | | HAlign = input.ReadString(); |
| | 15405 | | break; |
| | 15406 | | } |
| | 15407 | | case 42: { |
| | 15408 | | VAlign = input.ReadString(); |
| | 15409 | | break; |
| | 15410 | | } |
| | 15411 | | case 50: { |
| | 15412 | | if (width_ == null) { |
| | 15413 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15414 | | } |
| | 15415 | | input.ReadMessage(Width); |
| | 15416 | | break; |
| | 15417 | | } |
| | 15418 | | case 58: { |
| | 15419 | | if (height_ == null) { |
| | 15420 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15421 | | } |
| | 15422 | | input.ReadMessage(Height); |
| | 15423 | | break; |
| | 15424 | | } |
| | 15425 | | case 66: { |
| | 15426 | | if (positionX_ == null) { |
| | 15427 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15428 | | } |
| | 15429 | | input.ReadMessage(PositionX); |
| | 15430 | | break; |
| | 15431 | | } |
| | 15432 | | case 74: { |
| | 15433 | | if (positionY_ == null) { |
| | 15434 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15435 | | } |
| | 15436 | | input.ReadMessage(PositionY); |
| | 15437 | | break; |
| | 15438 | | } |
| | 15439 | | case 80: { |
| | 15440 | | IsPointerBlocker = input.ReadBool(); |
| | 15441 | | break; |
| | 15442 | | } |
| | 15443 | | case 90: { |
| | 15444 | | ParentComponent = input.ReadString(); |
| | 15445 | | break; |
| | 15446 | | } |
| | 15447 | | } |
| | 15448 | | } |
| | 15449 | | #endif |
| | 15450 | | } |
| | 15451 | |
|
| | 15452 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15455 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 15456 | | uint tag; |
| | 15457 | | while ((tag = input.ReadTag()) != 0) { |
| | 15458 | | switch(tag) { |
| | 15459 | | default: |
| | 15460 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 15461 | | break; |
| | 15462 | | case 10: { |
| | 15463 | | Name = input.ReadString(); |
| | 15464 | | break; |
| | 15465 | | } |
| | 15466 | | case 16: { |
| | 15467 | | Visible = input.ReadBool(); |
| | 15468 | | break; |
| | 15469 | | } |
| | 15470 | | case 29: { |
| | 15471 | | Opacity = input.ReadFloat(); |
| | 15472 | | break; |
| | 15473 | | } |
| | 15474 | | case 34: { |
| | 15475 | | HAlign = input.ReadString(); |
| | 15476 | | break; |
| | 15477 | | } |
| | 15478 | | case 42: { |
| | 15479 | | VAlign = input.ReadString(); |
| | 15480 | | break; |
| | 15481 | | } |
| | 15482 | | case 50: { |
| | 15483 | | if (width_ == null) { |
| | 15484 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15485 | | } |
| | 15486 | | input.ReadMessage(Width); |
| | 15487 | | break; |
| | 15488 | | } |
| | 15489 | | case 58: { |
| | 15490 | | if (height_ == null) { |
| | 15491 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15492 | | } |
| | 15493 | | input.ReadMessage(Height); |
| | 15494 | | break; |
| | 15495 | | } |
| | 15496 | | case 66: { |
| | 15497 | | if (positionX_ == null) { |
| | 15498 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15499 | | } |
| | 15500 | | input.ReadMessage(PositionX); |
| | 15501 | | break; |
| | 15502 | | } |
| | 15503 | | case 74: { |
| | 15504 | | if (positionY_ == null) { |
| | 15505 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 15506 | | } |
| | 15507 | | input.ReadMessage(PositionY); |
| | 15508 | | break; |
| | 15509 | | } |
| | 15510 | | case 80: { |
| | 15511 | | IsPointerBlocker = input.ReadBool(); |
| | 15512 | | break; |
| | 15513 | | } |
| | 15514 | | case 90: { |
| | 15515 | | ParentComponent = input.ReadString(); |
| | 15516 | | break; |
| | 15517 | | } |
| | 15518 | | } |
| | 15519 | | } |
| | 15520 | | } |
| | 15521 | | #endif |
| | 15522 | |
|
| | 15523 | | } |
| | 15524 | |
|
| | 15525 | | /// <summary> |
| | 15526 | | /// CLASS_ID.UI_CONTAINER_RECT |
| | 15527 | | /// </summary> |
| | 15528 | | public sealed partial class ECS6ComponentUiContainerRect : pb::IMessage<ECS6ComponentUiContainerRect> |
| | 15529 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15530 | | , pb::IBufferMessage |
| | 15531 | | #endif |
| | 15532 | | { |
| | 15533 | | private static readonly pb::MessageParser<ECS6ComponentUiContainerRect> _parser = new pb::MessageParser<ECS6Componen |
| | 15534 | | private pb::UnknownFieldSet _unknownFields; |
| | 15535 | | private int _hasBits0; |
| | 15536 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15537 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15538 | | public static pb::MessageParser<ECS6ComponentUiContainerRect> Parser { get { return _parser; } } |
| | 15539 | |
|
| | 15540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15542 | | public static pbr::MessageDescriptor Descriptor { |
| | 15543 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[34]; } |
| | 15544 | | } |
| | 15545 | |
|
| | 15546 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15547 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15548 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 15549 | | get { return Descriptor; } |
| | 15550 | | } |
| | 15551 | |
|
| | 15552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15554 | | public ECS6ComponentUiContainerRect() { |
| | 15555 | | OnConstruction(); |
| | 15556 | | } |
| | 15557 | |
|
| | 15558 | | partial void OnConstruction(); |
| | 15559 | |
|
| | 15560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15562 | | public ECS6ComponentUiContainerRect(ECS6ComponentUiContainerRect other) : this() { |
| | 15563 | | _hasBits0 = other._hasBits0; |
| | 15564 | | name_ = other.name_; |
| | 15565 | | visible_ = other.visible_; |
| | 15566 | | opacity_ = other.opacity_; |
| | 15567 | | hAlign_ = other.hAlign_; |
| | 15568 | | vAlign_ = other.vAlign_; |
| | 15569 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 15570 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 15571 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 15572 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 15573 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 15574 | | parentComponent_ = other.parentComponent_; |
| | 15575 | | thickness_ = other.thickness_; |
| | 15576 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 15577 | | alignmentUsesSize_ = other.alignmentUsesSize_; |
| | 15578 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 15579 | | } |
| | 15580 | |
|
| | 15581 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15582 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15583 | | public ECS6ComponentUiContainerRect Clone() { |
| | 15584 | | return new ECS6ComponentUiContainerRect(this); |
| | 15585 | | } |
| | 15586 | |
|
| | 15587 | | /// <summary>Field number for the "name" field.</summary> |
| | 15588 | | public const int NameFieldNumber = 1; |
| | 15589 | | private string name_; |
| | 15590 | | /// <summary> |
| | 15591 | | /// UiShape |
| | 15592 | | /// </summary> |
| | 15593 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15594 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15595 | | public string Name { |
| | 15596 | | get { return name_ ?? ""; } |
| | 15597 | | set { |
| | 15598 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15599 | | } |
| | 15600 | | } |
| | 15601 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 15602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15604 | | public bool HasName { |
| | 15605 | | get { return name_ != null; } |
| | 15606 | | } |
| | 15607 | | /// <summary>Clears the value of the "name" field</summary> |
| | 15608 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15609 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15610 | | public void ClearName() { |
| | 15611 | | name_ = null; |
| | 15612 | | } |
| | 15613 | |
|
| | 15614 | | /// <summary>Field number for the "visible" field.</summary> |
| | 15615 | | public const int VisibleFieldNumber = 2; |
| | 15616 | | private bool visible_; |
| | 15617 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15618 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15619 | | public bool Visible { |
| | 15620 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 15621 | | set { |
| | 15622 | | _hasBits0 |= 1; |
| | 15623 | | visible_ = value; |
| | 15624 | | } |
| | 15625 | | } |
| | 15626 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 15627 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15628 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15629 | | public bool HasVisible { |
| | 15630 | | get { return (_hasBits0 & 1) != 0; } |
| | 15631 | | } |
| | 15632 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 15633 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15634 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15635 | | public void ClearVisible() { |
| | 15636 | | _hasBits0 &= ~1; |
| | 15637 | | } |
| | 15638 | |
|
| | 15639 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 15640 | | public const int OpacityFieldNumber = 3; |
| | 15641 | | private float opacity_; |
| | 15642 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15643 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15644 | | public float Opacity { |
| | 15645 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 15646 | | set { |
| | 15647 | | _hasBits0 |= 2; |
| | 15648 | | opacity_ = value; |
| | 15649 | | } |
| | 15650 | | } |
| | 15651 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 15652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15654 | | public bool HasOpacity { |
| | 15655 | | get { return (_hasBits0 & 2) != 0; } |
| | 15656 | | } |
| | 15657 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 15658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15660 | | public void ClearOpacity() { |
| | 15661 | | _hasBits0 &= ~2; |
| | 15662 | | } |
| | 15663 | |
|
| | 15664 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 15665 | | public const int HAlignFieldNumber = 4; |
| | 15666 | | private string hAlign_; |
| | 15667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15669 | | public string HAlign { |
| | 15670 | | get { return hAlign_ ?? ""; } |
| | 15671 | | set { |
| | 15672 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15673 | | } |
| | 15674 | | } |
| | 15675 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 15676 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15677 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15678 | | public bool HasHAlign { |
| | 15679 | | get { return hAlign_ != null; } |
| | 15680 | | } |
| | 15681 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 15682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15684 | | public void ClearHAlign() { |
| | 15685 | | hAlign_ = null; |
| | 15686 | | } |
| | 15687 | |
|
| | 15688 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 15689 | | public const int VAlignFieldNumber = 5; |
| | 15690 | | private string vAlign_; |
| | 15691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15693 | | public string VAlign { |
| | 15694 | | get { return vAlign_ ?? ""; } |
| | 15695 | | set { |
| | 15696 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15697 | | } |
| | 15698 | | } |
| | 15699 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 15700 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15701 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15702 | | public bool HasVAlign { |
| | 15703 | | get { return vAlign_ != null; } |
| | 15704 | | } |
| | 15705 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 15706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15708 | | public void ClearVAlign() { |
| | 15709 | | vAlign_ = null; |
| | 15710 | | } |
| | 15711 | |
|
| | 15712 | | /// <summary>Field number for the "width" field.</summary> |
| | 15713 | | public const int WidthFieldNumber = 6; |
| | 15714 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 15715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15717 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 15718 | | get { return width_; } |
| | 15719 | | set { |
| | 15720 | | width_ = value; |
| | 15721 | | } |
| | 15722 | | } |
| | 15723 | |
|
| | 15724 | | /// <summary>Field number for the "height" field.</summary> |
| | 15725 | | public const int HeightFieldNumber = 7; |
| | 15726 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 15727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15729 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 15730 | | get { return height_; } |
| | 15731 | | set { |
| | 15732 | | height_ = value; |
| | 15733 | | } |
| | 15734 | | } |
| | 15735 | |
|
| | 15736 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 15737 | | public const int PositionXFieldNumber = 8; |
| | 15738 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 15739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15741 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 15742 | | get { return positionX_; } |
| | 15743 | | set { |
| | 15744 | | positionX_ = value; |
| | 15745 | | } |
| | 15746 | | } |
| | 15747 | |
|
| | 15748 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 15749 | | public const int PositionYFieldNumber = 9; |
| | 15750 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 15751 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15752 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15753 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 15754 | | get { return positionY_; } |
| | 15755 | | set { |
| | 15756 | | positionY_ = value; |
| | 15757 | | } |
| | 15758 | | } |
| | 15759 | |
|
| | 15760 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 15761 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 15762 | | private bool isPointerBlocker_; |
| | 15763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15765 | | public bool IsPointerBlocker { |
| | 15766 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 15767 | | set { |
| | 15768 | | _hasBits0 |= 4; |
| | 15769 | | isPointerBlocker_ = value; |
| | 15770 | | } |
| | 15771 | | } |
| | 15772 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 15773 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15774 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15775 | | public bool HasIsPointerBlocker { |
| | 15776 | | get { return (_hasBits0 & 4) != 0; } |
| | 15777 | | } |
| | 15778 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 15779 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15780 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15781 | | public void ClearIsPointerBlocker() { |
| | 15782 | | _hasBits0 &= ~4; |
| | 15783 | | } |
| | 15784 | |
|
| | 15785 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 15786 | | public const int ParentComponentFieldNumber = 14; |
| | 15787 | | private string parentComponent_; |
| | 15788 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15789 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15790 | | public string ParentComponent { |
| | 15791 | | get { return parentComponent_ ?? ""; } |
| | 15792 | | set { |
| | 15793 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15794 | | } |
| | 15795 | | } |
| | 15796 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 15797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15799 | | public bool HasParentComponent { |
| | 15800 | | get { return parentComponent_ != null; } |
| | 15801 | | } |
| | 15802 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 15803 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15804 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15805 | | public void ClearParentComponent() { |
| | 15806 | | parentComponent_ = null; |
| | 15807 | | } |
| | 15808 | |
|
| | 15809 | | /// <summary>Field number for the "thickness" field.</summary> |
| | 15810 | | public const int ThicknessFieldNumber = 11; |
| | 15811 | | private float thickness_; |
| | 15812 | | /// <summary> |
| | 15813 | | /// UiShape |
| | 15814 | | /// </summary> |
| | 15815 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15816 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15817 | | public float Thickness { |
| | 15818 | | get { if ((_hasBits0 & 8) != 0) { return thickness_; } else { return 0F; } } |
| | 15819 | | set { |
| | 15820 | | _hasBits0 |= 8; |
| | 15821 | | thickness_ = value; |
| | 15822 | | } |
| | 15823 | | } |
| | 15824 | | /// <summary>Gets whether the "thickness" field is set</summary> |
| | 15825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15827 | | public bool HasThickness { |
| | 15828 | | get { return (_hasBits0 & 8) != 0; } |
| | 15829 | | } |
| | 15830 | | /// <summary>Clears the value of the "thickness" field</summary> |
| | 15831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15833 | | public void ClearThickness() { |
| | 15834 | | _hasBits0 &= ~8; |
| | 15835 | | } |
| | 15836 | |
|
| | 15837 | | /// <summary>Field number for the "color" field.</summary> |
| | 15838 | | public const int ColorFieldNumber = 12; |
| | 15839 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 color_; |
| | 15840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15842 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Color { |
| | 15843 | | get { return color_; } |
| | 15844 | | set { |
| | 15845 | | color_ = value; |
| | 15846 | | } |
| | 15847 | | } |
| | 15848 | |
|
| | 15849 | | /// <summary>Field number for the "alignment_uses_size" field.</summary> |
| | 15850 | | public const int AlignmentUsesSizeFieldNumber = 13; |
| | 15851 | | private bool alignmentUsesSize_; |
| | 15852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15854 | | public bool AlignmentUsesSize { |
| | 15855 | | get { if ((_hasBits0 & 16) != 0) { return alignmentUsesSize_; } else { return false; } } |
| | 15856 | | set { |
| | 15857 | | _hasBits0 |= 16; |
| | 15858 | | alignmentUsesSize_ = value; |
| | 15859 | | } |
| | 15860 | | } |
| | 15861 | | /// <summary>Gets whether the "alignment_uses_size" field is set</summary> |
| | 15862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15864 | | public bool HasAlignmentUsesSize { |
| | 15865 | | get { return (_hasBits0 & 16) != 0; } |
| | 15866 | | } |
| | 15867 | | /// <summary>Clears the value of the "alignment_uses_size" field</summary> |
| | 15868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15870 | | public void ClearAlignmentUsesSize() { |
| | 15871 | | _hasBits0 &= ~16; |
| | 15872 | | } |
| | 15873 | |
|
| | 15874 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15875 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15876 | | public override bool Equals(object other) { |
| | 15877 | | return Equals(other as ECS6ComponentUiContainerRect); |
| | 15878 | | } |
| | 15879 | |
|
| | 15880 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15881 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15882 | | public bool Equals(ECS6ComponentUiContainerRect other) { |
| | 15883 | | if (ReferenceEquals(other, null)) { |
| | 15884 | | return false; |
| | 15885 | | } |
| | 15886 | | if (ReferenceEquals(other, this)) { |
| | 15887 | | return true; |
| | 15888 | | } |
| | 15889 | | if (Name != other.Name) return false; |
| | 15890 | | if (Visible != other.Visible) return false; |
| | 15891 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 15892 | | if (HAlign != other.HAlign) return false; |
| | 15893 | | if (VAlign != other.VAlign) return false; |
| | 15894 | | if (!object.Equals(Width, other.Width)) return false; |
| | 15895 | | if (!object.Equals(Height, other.Height)) return false; |
| | 15896 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 15897 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 15898 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 15899 | | if (ParentComponent != other.ParentComponent) return false; |
| | 15900 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Thickness, other.Thickness)) return false |
| | 15901 | | if (!object.Equals(Color, other.Color)) return false; |
| | 15902 | | if (AlignmentUsesSize != other.AlignmentUsesSize) return false; |
| | 15903 | | return Equals(_unknownFields, other._unknownFields); |
| | 15904 | | } |
| | 15905 | |
|
| | 15906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15908 | | public override int GetHashCode() { |
| | 15909 | | int hash = 1; |
| | 15910 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 15911 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 15912 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 15913 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 15914 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 15915 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 15916 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 15917 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 15918 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 15919 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 15920 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 15921 | | if (HasThickness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Thickness); |
| | 15922 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 15923 | | if (HasAlignmentUsesSize) hash ^= AlignmentUsesSize.GetHashCode(); |
| | 15924 | | if (_unknownFields != null) { |
| | 15925 | | hash ^= _unknownFields.GetHashCode(); |
| | 15926 | | } |
| | 15927 | | return hash; |
| | 15928 | | } |
| | 15929 | |
|
| | 15930 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15931 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15932 | | public override string ToString() { |
| | 15933 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15934 | | } |
| | 15935 | |
|
| | 15936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15938 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15939 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15940 | | output.WriteRawMessage(this); |
| | 15941 | | #else |
| | 15942 | | if (HasName) { |
| | 15943 | | output.WriteRawTag(10); |
| | 15944 | | output.WriteString(Name); |
| | 15945 | | } |
| | 15946 | | if (HasVisible) { |
| | 15947 | | output.WriteRawTag(16); |
| | 15948 | | output.WriteBool(Visible); |
| | 15949 | | } |
| | 15950 | | if (HasOpacity) { |
| | 15951 | | output.WriteRawTag(29); |
| | 15952 | | output.WriteFloat(Opacity); |
| | 15953 | | } |
| | 15954 | | if (HasHAlign) { |
| | 15955 | | output.WriteRawTag(34); |
| | 15956 | | output.WriteString(HAlign); |
| | 15957 | | } |
| | 15958 | | if (HasVAlign) { |
| | 15959 | | output.WriteRawTag(42); |
| | 15960 | | output.WriteString(VAlign); |
| | 15961 | | } |
| | 15962 | | if (width_ != null) { |
| | 15963 | | output.WriteRawTag(50); |
| | 15964 | | output.WriteMessage(Width); |
| | 15965 | | } |
| | 15966 | | if (height_ != null) { |
| | 15967 | | output.WriteRawTag(58); |
| | 15968 | | output.WriteMessage(Height); |
| | 15969 | | } |
| | 15970 | | if (positionX_ != null) { |
| | 15971 | | output.WriteRawTag(66); |
| | 15972 | | output.WriteMessage(PositionX); |
| | 15973 | | } |
| | 15974 | | if (positionY_ != null) { |
| | 15975 | | output.WriteRawTag(74); |
| | 15976 | | output.WriteMessage(PositionY); |
| | 15977 | | } |
| | 15978 | | if (HasIsPointerBlocker) { |
| | 15979 | | output.WriteRawTag(80); |
| | 15980 | | output.WriteBool(IsPointerBlocker); |
| | 15981 | | } |
| | 15982 | | if (HasThickness) { |
| | 15983 | | output.WriteRawTag(93); |
| | 15984 | | output.WriteFloat(Thickness); |
| | 15985 | | } |
| | 15986 | | if (color_ != null) { |
| | 15987 | | output.WriteRawTag(98); |
| | 15988 | | output.WriteMessage(Color); |
| | 15989 | | } |
| | 15990 | | if (HasAlignmentUsesSize) { |
| | 15991 | | output.WriteRawTag(104); |
| | 15992 | | output.WriteBool(AlignmentUsesSize); |
| | 15993 | | } |
| | 15994 | | if (HasParentComponent) { |
| | 15995 | | output.WriteRawTag(114); |
| | 15996 | | output.WriteString(ParentComponent); |
| | 15997 | | } |
| | 15998 | | if (_unknownFields != null) { |
| | 15999 | | _unknownFields.WriteTo(output); |
| | 16000 | | } |
| | 16001 | | #endif |
| | 16002 | | } |
| | 16003 | |
|
| | 16004 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16005 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16006 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16007 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 16008 | | if (HasName) { |
| | 16009 | | output.WriteRawTag(10); |
| | 16010 | | output.WriteString(Name); |
| | 16011 | | } |
| | 16012 | | if (HasVisible) { |
| | 16013 | | output.WriteRawTag(16); |
| | 16014 | | output.WriteBool(Visible); |
| | 16015 | | } |
| | 16016 | | if (HasOpacity) { |
| | 16017 | | output.WriteRawTag(29); |
| | 16018 | | output.WriteFloat(Opacity); |
| | 16019 | | } |
| | 16020 | | if (HasHAlign) { |
| | 16021 | | output.WriteRawTag(34); |
| | 16022 | | output.WriteString(HAlign); |
| | 16023 | | } |
| | 16024 | | if (HasVAlign) { |
| | 16025 | | output.WriteRawTag(42); |
| | 16026 | | output.WriteString(VAlign); |
| | 16027 | | } |
| | 16028 | | if (width_ != null) { |
| | 16029 | | output.WriteRawTag(50); |
| | 16030 | | output.WriteMessage(Width); |
| | 16031 | | } |
| | 16032 | | if (height_ != null) { |
| | 16033 | | output.WriteRawTag(58); |
| | 16034 | | output.WriteMessage(Height); |
| | 16035 | | } |
| | 16036 | | if (positionX_ != null) { |
| | 16037 | | output.WriteRawTag(66); |
| | 16038 | | output.WriteMessage(PositionX); |
| | 16039 | | } |
| | 16040 | | if (positionY_ != null) { |
| | 16041 | | output.WriteRawTag(74); |
| | 16042 | | output.WriteMessage(PositionY); |
| | 16043 | | } |
| | 16044 | | if (HasIsPointerBlocker) { |
| | 16045 | | output.WriteRawTag(80); |
| | 16046 | | output.WriteBool(IsPointerBlocker); |
| | 16047 | | } |
| | 16048 | | if (HasThickness) { |
| | 16049 | | output.WriteRawTag(93); |
| | 16050 | | output.WriteFloat(Thickness); |
| | 16051 | | } |
| | 16052 | | if (color_ != null) { |
| | 16053 | | output.WriteRawTag(98); |
| | 16054 | | output.WriteMessage(Color); |
| | 16055 | | } |
| | 16056 | | if (HasAlignmentUsesSize) { |
| | 16057 | | output.WriteRawTag(104); |
| | 16058 | | output.WriteBool(AlignmentUsesSize); |
| | 16059 | | } |
| | 16060 | | if (HasParentComponent) { |
| | 16061 | | output.WriteRawTag(114); |
| | 16062 | | output.WriteString(ParentComponent); |
| | 16063 | | } |
| | 16064 | | if (_unknownFields != null) { |
| | 16065 | | _unknownFields.WriteTo(ref output); |
| | 16066 | | } |
| | 16067 | | } |
| | 16068 | | #endif |
| | 16069 | |
|
| | 16070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16072 | | public int CalculateSize() { |
| | 16073 | | int size = 0; |
| | 16074 | | if (HasName) { |
| | 16075 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 16076 | | } |
| | 16077 | | if (HasVisible) { |
| | 16078 | | size += 1 + 1; |
| | 16079 | | } |
| | 16080 | | if (HasOpacity) { |
| | 16081 | | size += 1 + 4; |
| | 16082 | | } |
| | 16083 | | if (HasHAlign) { |
| | 16084 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 16085 | | } |
| | 16086 | | if (HasVAlign) { |
| | 16087 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 16088 | | } |
| | 16089 | | if (width_ != null) { |
| | 16090 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 16091 | | } |
| | 16092 | | if (height_ != null) { |
| | 16093 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 16094 | | } |
| | 16095 | | if (positionX_ != null) { |
| | 16096 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 16097 | | } |
| | 16098 | | if (positionY_ != null) { |
| | 16099 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 16100 | | } |
| | 16101 | | if (HasIsPointerBlocker) { |
| | 16102 | | size += 1 + 1; |
| | 16103 | | } |
| | 16104 | | if (HasParentComponent) { |
| | 16105 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 16106 | | } |
| | 16107 | | if (HasThickness) { |
| | 16108 | | size += 1 + 4; |
| | 16109 | | } |
| | 16110 | | if (color_ != null) { |
| | 16111 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 16112 | | } |
| | 16113 | | if (HasAlignmentUsesSize) { |
| | 16114 | | size += 1 + 1; |
| | 16115 | | } |
| | 16116 | | if (_unknownFields != null) { |
| | 16117 | | size += _unknownFields.CalculateSize(); |
| | 16118 | | } |
| | 16119 | | return size; |
| | 16120 | | } |
| | 16121 | |
|
| | 16122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16124 | | public void MergeFrom(ECS6ComponentUiContainerRect other) { |
| | 16125 | | if (other == null) { |
| | 16126 | | return; |
| | 16127 | | } |
| | 16128 | | if (other.HasName) { |
| | 16129 | | Name = other.Name; |
| | 16130 | | } |
| | 16131 | | if (other.HasVisible) { |
| | 16132 | | Visible = other.Visible; |
| | 16133 | | } |
| | 16134 | | if (other.HasOpacity) { |
| | 16135 | | Opacity = other.Opacity; |
| | 16136 | | } |
| | 16137 | | if (other.HasHAlign) { |
| | 16138 | | HAlign = other.HAlign; |
| | 16139 | | } |
| | 16140 | | if (other.HasVAlign) { |
| | 16141 | | VAlign = other.VAlign; |
| | 16142 | | } |
| | 16143 | | if (other.width_ != null) { |
| | 16144 | | if (width_ == null) { |
| | 16145 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16146 | | } |
| | 16147 | | Width.MergeFrom(other.Width); |
| | 16148 | | } |
| | 16149 | | if (other.height_ != null) { |
| | 16150 | | if (height_ == null) { |
| | 16151 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16152 | | } |
| | 16153 | | Height.MergeFrom(other.Height); |
| | 16154 | | } |
| | 16155 | | if (other.positionX_ != null) { |
| | 16156 | | if (positionX_ == null) { |
| | 16157 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16158 | | } |
| | 16159 | | PositionX.MergeFrom(other.PositionX); |
| | 16160 | | } |
| | 16161 | | if (other.positionY_ != null) { |
| | 16162 | | if (positionY_ == null) { |
| | 16163 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16164 | | } |
| | 16165 | | PositionY.MergeFrom(other.PositionY); |
| | 16166 | | } |
| | 16167 | | if (other.HasIsPointerBlocker) { |
| | 16168 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 16169 | | } |
| | 16170 | | if (other.HasParentComponent) { |
| | 16171 | | ParentComponent = other.ParentComponent; |
| | 16172 | | } |
| | 16173 | | if (other.HasThickness) { |
| | 16174 | | Thickness = other.Thickness; |
| | 16175 | | } |
| | 16176 | | if (other.color_ != null) { |
| | 16177 | | if (color_ == null) { |
| | 16178 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 16179 | | } |
| | 16180 | | Color.MergeFrom(other.Color); |
| | 16181 | | } |
| | 16182 | | if (other.HasAlignmentUsesSize) { |
| | 16183 | | AlignmentUsesSize = other.AlignmentUsesSize; |
| | 16184 | | } |
| | 16185 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 16186 | | } |
| | 16187 | |
|
| | 16188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16190 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 16191 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16192 | | input.ReadRawMessage(this); |
| | 16193 | | #else |
| | 16194 | | uint tag; |
| | 16195 | | while ((tag = input.ReadTag()) != 0) { |
| | 16196 | | switch(tag) { |
| | 16197 | | default: |
| | 16198 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 16199 | | break; |
| | 16200 | | case 10: { |
| | 16201 | | Name = input.ReadString(); |
| | 16202 | | break; |
| | 16203 | | } |
| | 16204 | | case 16: { |
| | 16205 | | Visible = input.ReadBool(); |
| | 16206 | | break; |
| | 16207 | | } |
| | 16208 | | case 29: { |
| | 16209 | | Opacity = input.ReadFloat(); |
| | 16210 | | break; |
| | 16211 | | } |
| | 16212 | | case 34: { |
| | 16213 | | HAlign = input.ReadString(); |
| | 16214 | | break; |
| | 16215 | | } |
| | 16216 | | case 42: { |
| | 16217 | | VAlign = input.ReadString(); |
| | 16218 | | break; |
| | 16219 | | } |
| | 16220 | | case 50: { |
| | 16221 | | if (width_ == null) { |
| | 16222 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16223 | | } |
| | 16224 | | input.ReadMessage(Width); |
| | 16225 | | break; |
| | 16226 | | } |
| | 16227 | | case 58: { |
| | 16228 | | if (height_ == null) { |
| | 16229 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16230 | | } |
| | 16231 | | input.ReadMessage(Height); |
| | 16232 | | break; |
| | 16233 | | } |
| | 16234 | | case 66: { |
| | 16235 | | if (positionX_ == null) { |
| | 16236 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16237 | | } |
| | 16238 | | input.ReadMessage(PositionX); |
| | 16239 | | break; |
| | 16240 | | } |
| | 16241 | | case 74: { |
| | 16242 | | if (positionY_ == null) { |
| | 16243 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16244 | | } |
| | 16245 | | input.ReadMessage(PositionY); |
| | 16246 | | break; |
| | 16247 | | } |
| | 16248 | | case 80: { |
| | 16249 | | IsPointerBlocker = input.ReadBool(); |
| | 16250 | | break; |
| | 16251 | | } |
| | 16252 | | case 93: { |
| | 16253 | | Thickness = input.ReadFloat(); |
| | 16254 | | break; |
| | 16255 | | } |
| | 16256 | | case 98: { |
| | 16257 | | if (color_ == null) { |
| | 16258 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 16259 | | } |
| | 16260 | | input.ReadMessage(Color); |
| | 16261 | | break; |
| | 16262 | | } |
| | 16263 | | case 104: { |
| | 16264 | | AlignmentUsesSize = input.ReadBool(); |
| | 16265 | | break; |
| | 16266 | | } |
| | 16267 | | case 114: { |
| | 16268 | | ParentComponent = input.ReadString(); |
| | 16269 | | break; |
| | 16270 | | } |
| | 16271 | | } |
| | 16272 | | } |
| | 16273 | | #endif |
| | 16274 | | } |
| | 16275 | |
|
| | 16276 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16278 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16279 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 16280 | | uint tag; |
| | 16281 | | while ((tag = input.ReadTag()) != 0) { |
| | 16282 | | switch(tag) { |
| | 16283 | | default: |
| | 16284 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 16285 | | break; |
| | 16286 | | case 10: { |
| | 16287 | | Name = input.ReadString(); |
| | 16288 | | break; |
| | 16289 | | } |
| | 16290 | | case 16: { |
| | 16291 | | Visible = input.ReadBool(); |
| | 16292 | | break; |
| | 16293 | | } |
| | 16294 | | case 29: { |
| | 16295 | | Opacity = input.ReadFloat(); |
| | 16296 | | break; |
| | 16297 | | } |
| | 16298 | | case 34: { |
| | 16299 | | HAlign = input.ReadString(); |
| | 16300 | | break; |
| | 16301 | | } |
| | 16302 | | case 42: { |
| | 16303 | | VAlign = input.ReadString(); |
| | 16304 | | break; |
| | 16305 | | } |
| | 16306 | | case 50: { |
| | 16307 | | if (width_ == null) { |
| | 16308 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16309 | | } |
| | 16310 | | input.ReadMessage(Width); |
| | 16311 | | break; |
| | 16312 | | } |
| | 16313 | | case 58: { |
| | 16314 | | if (height_ == null) { |
| | 16315 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16316 | | } |
| | 16317 | | input.ReadMessage(Height); |
| | 16318 | | break; |
| | 16319 | | } |
| | 16320 | | case 66: { |
| | 16321 | | if (positionX_ == null) { |
| | 16322 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16323 | | } |
| | 16324 | | input.ReadMessage(PositionX); |
| | 16325 | | break; |
| | 16326 | | } |
| | 16327 | | case 74: { |
| | 16328 | | if (positionY_ == null) { |
| | 16329 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 16330 | | } |
| | 16331 | | input.ReadMessage(PositionY); |
| | 16332 | | break; |
| | 16333 | | } |
| | 16334 | | case 80: { |
| | 16335 | | IsPointerBlocker = input.ReadBool(); |
| | 16336 | | break; |
| | 16337 | | } |
| | 16338 | | case 93: { |
| | 16339 | | Thickness = input.ReadFloat(); |
| | 16340 | | break; |
| | 16341 | | } |
| | 16342 | | case 98: { |
| | 16343 | | if (color_ == null) { |
| | 16344 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 16345 | | } |
| | 16346 | | input.ReadMessage(Color); |
| | 16347 | | break; |
| | 16348 | | } |
| | 16349 | | case 104: { |
| | 16350 | | AlignmentUsesSize = input.ReadBool(); |
| | 16351 | | break; |
| | 16352 | | } |
| | 16353 | | case 114: { |
| | 16354 | | ParentComponent = input.ReadString(); |
| | 16355 | | break; |
| | 16356 | | } |
| | 16357 | | } |
| | 16358 | | } |
| | 16359 | | } |
| | 16360 | | #endif |
| | 16361 | |
|
| | 16362 | | } |
| | 16363 | |
|
| | 16364 | | /// <summary> |
| | 16365 | | /// CLASS_ID.UI_CONTAINER_STACK |
| | 16366 | | /// </summary> |
| | 16367 | | public sealed partial class ECS6ComponentUiContainerStack : pb::IMessage<ECS6ComponentUiContainerStack> |
| | 16368 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16369 | | , pb::IBufferMessage |
| | 16370 | | #endif |
| | 16371 | | { |
| 1 | 16372 | | private static readonly pb::MessageParser<ECS6ComponentUiContainerStack> _parser = new pb::MessageParser<ECS6Compone |
| | 16373 | | private pb::UnknownFieldSet _unknownFields; |
| | 16374 | | private int _hasBits0; |
| | 16375 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16376 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 16377 | | public static pb::MessageParser<ECS6ComponentUiContainerStack> Parser { get { return _parser; } } |
| | 16378 | |
|
| | 16379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16381 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 16382 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[35]; } |
| | 16383 | | } |
| | 16384 | |
|
| | 16385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16387 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 16388 | | get { return Descriptor; } |
| | 16389 | | } |
| | 16390 | |
|
| | 16391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 16393 | | public ECS6ComponentUiContainerStack() { |
| | 16394 | | OnConstruction(); |
| 0 | 16395 | | } |
| | 16396 | |
|
| | 16397 | | partial void OnConstruction(); |
| | 16398 | |
|
| | 16399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 16401 | | public ECS6ComponentUiContainerStack(ECS6ComponentUiContainerStack other) : this() { |
| 0 | 16402 | | _hasBits0 = other._hasBits0; |
| 0 | 16403 | | name_ = other.name_; |
| 0 | 16404 | | visible_ = other.visible_; |
| 0 | 16405 | | opacity_ = other.opacity_; |
| 0 | 16406 | | hAlign_ = other.hAlign_; |
| 0 | 16407 | | vAlign_ = other.vAlign_; |
| 0 | 16408 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| 0 | 16409 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| 0 | 16410 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| 0 | 16411 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| 0 | 16412 | | isPointerBlocker_ = other.isPointerBlocker_; |
| 0 | 16413 | | parentComponent_ = other.parentComponent_; |
| 0 | 16414 | | adaptWidth_ = other.adaptWidth_; |
| 0 | 16415 | | adaptHeight_ = other.adaptHeight_; |
| 0 | 16416 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| 0 | 16417 | | stackOrientation_ = other.stackOrientation_; |
| 0 | 16418 | | spacing_ = other.spacing_; |
| 0 | 16419 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 16420 | | } |
| | 16421 | |
|
| | 16422 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16423 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16424 | | public ECS6ComponentUiContainerStack Clone() { |
| 0 | 16425 | | return new ECS6ComponentUiContainerStack(this); |
| | 16426 | | } |
| | 16427 | |
|
| | 16428 | | /// <summary>Field number for the "name" field.</summary> |
| | 16429 | | public const int NameFieldNumber = 1; |
| | 16430 | | private string name_; |
| | 16431 | | /// <summary> |
| | 16432 | | /// UiShape |
| | 16433 | | /// </summary> |
| | 16434 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16435 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16436 | | public string Name { |
| 0 | 16437 | | get { return name_ ?? ""; } |
| | 16438 | | set { |
| 0 | 16439 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 16440 | | } |
| | 16441 | | } |
| | 16442 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 16443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16445 | | public bool HasName { |
| 0 | 16446 | | get { return name_ != null; } |
| | 16447 | | } |
| | 16448 | | /// <summary>Clears the value of the "name" field</summary> |
| | 16449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16451 | | public void ClearName() { |
| 0 | 16452 | | name_ = null; |
| 0 | 16453 | | } |
| | 16454 | |
|
| | 16455 | | /// <summary>Field number for the "visible" field.</summary> |
| | 16456 | | public const int VisibleFieldNumber = 2; |
| | 16457 | | private bool visible_; |
| | 16458 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16459 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16460 | | public bool Visible { |
| 0 | 16461 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 16462 | | set { |
| 0 | 16463 | | _hasBits0 |= 1; |
| 0 | 16464 | | visible_ = value; |
| 0 | 16465 | | } |
| | 16466 | | } |
| | 16467 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 16468 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16469 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16470 | | public bool HasVisible { |
| 0 | 16471 | | get { return (_hasBits0 & 1) != 0; } |
| | 16472 | | } |
| | 16473 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 16474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16476 | | public void ClearVisible() { |
| 0 | 16477 | | _hasBits0 &= ~1; |
| 0 | 16478 | | } |
| | 16479 | |
|
| | 16480 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 16481 | | public const int OpacityFieldNumber = 3; |
| | 16482 | | private float opacity_; |
| | 16483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16485 | | public float Opacity { |
| 0 | 16486 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 16487 | | set { |
| 0 | 16488 | | _hasBits0 |= 2; |
| 0 | 16489 | | opacity_ = value; |
| 0 | 16490 | | } |
| | 16491 | | } |
| | 16492 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 16493 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16494 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16495 | | public bool HasOpacity { |
| 0 | 16496 | | get { return (_hasBits0 & 2) != 0; } |
| | 16497 | | } |
| | 16498 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 16499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16501 | | public void ClearOpacity() { |
| 0 | 16502 | | _hasBits0 &= ~2; |
| 0 | 16503 | | } |
| | 16504 | |
|
| | 16505 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 16506 | | public const int HAlignFieldNumber = 4; |
| | 16507 | | private string hAlign_; |
| | 16508 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16509 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16510 | | public string HAlign { |
| 0 | 16511 | | get { return hAlign_ ?? ""; } |
| | 16512 | | set { |
| 0 | 16513 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 16514 | | } |
| | 16515 | | } |
| | 16516 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 16517 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16518 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16519 | | public bool HasHAlign { |
| 0 | 16520 | | get { return hAlign_ != null; } |
| | 16521 | | } |
| | 16522 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 16523 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16524 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16525 | | public void ClearHAlign() { |
| 0 | 16526 | | hAlign_ = null; |
| 0 | 16527 | | } |
| | 16528 | |
|
| | 16529 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 16530 | | public const int VAlignFieldNumber = 5; |
| | 16531 | | private string vAlign_; |
| | 16532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16534 | | public string VAlign { |
| 0 | 16535 | | get { return vAlign_ ?? ""; } |
| | 16536 | | set { |
| 0 | 16537 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 16538 | | } |
| | 16539 | | } |
| | 16540 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 16541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16543 | | public bool HasVAlign { |
| 0 | 16544 | | get { return vAlign_ != null; } |
| | 16545 | | } |
| | 16546 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 16547 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16548 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16549 | | public void ClearVAlign() { |
| 0 | 16550 | | vAlign_ = null; |
| 0 | 16551 | | } |
| | 16552 | |
|
| | 16553 | | /// <summary>Field number for the "width" field.</summary> |
| | 16554 | | public const int WidthFieldNumber = 6; |
| | 16555 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 16556 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16557 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16558 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| 0 | 16559 | | get { return width_; } |
| | 16560 | | set { |
| 0 | 16561 | | width_ = value; |
| 0 | 16562 | | } |
| | 16563 | | } |
| | 16564 | |
|
| | 16565 | | /// <summary>Field number for the "height" field.</summary> |
| | 16566 | | public const int HeightFieldNumber = 7; |
| | 16567 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 16568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16570 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| 0 | 16571 | | get { return height_; } |
| | 16572 | | set { |
| 0 | 16573 | | height_ = value; |
| 0 | 16574 | | } |
| | 16575 | | } |
| | 16576 | |
|
| | 16577 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 16578 | | public const int PositionXFieldNumber = 8; |
| | 16579 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 16580 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16581 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16582 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| 0 | 16583 | | get { return positionX_; } |
| | 16584 | | set { |
| 0 | 16585 | | positionX_ = value; |
| 0 | 16586 | | } |
| | 16587 | | } |
| | 16588 | |
|
| | 16589 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 16590 | | public const int PositionYFieldNumber = 9; |
| | 16591 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 16592 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16593 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16594 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| 0 | 16595 | | get { return positionY_; } |
| | 16596 | | set { |
| 0 | 16597 | | positionY_ = value; |
| 0 | 16598 | | } |
| | 16599 | | } |
| | 16600 | |
|
| | 16601 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 16602 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 16603 | | private bool isPointerBlocker_; |
| | 16604 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16605 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16606 | | public bool IsPointerBlocker { |
| 0 | 16607 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 16608 | | set { |
| 0 | 16609 | | _hasBits0 |= 4; |
| 0 | 16610 | | isPointerBlocker_ = value; |
| 0 | 16611 | | } |
| | 16612 | | } |
| | 16613 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 16614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16616 | | public bool HasIsPointerBlocker { |
| 0 | 16617 | | get { return (_hasBits0 & 4) != 0; } |
| | 16618 | | } |
| | 16619 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 16620 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16621 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16622 | | public void ClearIsPointerBlocker() { |
| 0 | 16623 | | _hasBits0 &= ~4; |
| 0 | 16624 | | } |
| | 16625 | |
|
| | 16626 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 16627 | | public const int ParentComponentFieldNumber = 16; |
| | 16628 | | private string parentComponent_; |
| | 16629 | | /// <summary> |
| | 16630 | | /// UiShape |
| | 16631 | | /// </summary> |
| | 16632 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16633 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16634 | | public string ParentComponent { |
| 0 | 16635 | | get { return parentComponent_ ?? ""; } |
| | 16636 | | set { |
| 0 | 16637 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 16638 | | } |
| | 16639 | | } |
| | 16640 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 16641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16643 | | public bool HasParentComponent { |
| 0 | 16644 | | get { return parentComponent_ != null; } |
| | 16645 | | } |
| | 16646 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 16647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16649 | | public void ClearParentComponent() { |
| 0 | 16650 | | parentComponent_ = null; |
| 0 | 16651 | | } |
| | 16652 | |
|
| | 16653 | | /// <summary>Field number for the "adapt_width" field.</summary> |
| | 16654 | | public const int AdaptWidthFieldNumber = 11; |
| | 16655 | | private bool adaptWidth_; |
| | 16656 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16657 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16658 | | public bool AdaptWidth { |
| 0 | 16659 | | get { if ((_hasBits0 & 8) != 0) { return adaptWidth_; } else { return false; } } |
| | 16660 | | set { |
| 0 | 16661 | | _hasBits0 |= 8; |
| 0 | 16662 | | adaptWidth_ = value; |
| 0 | 16663 | | } |
| | 16664 | | } |
| | 16665 | | /// <summary>Gets whether the "adapt_width" field is set</summary> |
| | 16666 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16667 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16668 | | public bool HasAdaptWidth { |
| 0 | 16669 | | get { return (_hasBits0 & 8) != 0; } |
| | 16670 | | } |
| | 16671 | | /// <summary>Clears the value of the "adapt_width" field</summary> |
| | 16672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16674 | | public void ClearAdaptWidth() { |
| 0 | 16675 | | _hasBits0 &= ~8; |
| 0 | 16676 | | } |
| | 16677 | |
|
| | 16678 | | /// <summary>Field number for the "adapt_height" field.</summary> |
| | 16679 | | public const int AdaptHeightFieldNumber = 12; |
| | 16680 | | private bool adaptHeight_; |
| | 16681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16683 | | public bool AdaptHeight { |
| 0 | 16684 | | get { if ((_hasBits0 & 16) != 0) { return adaptHeight_; } else { return false; } } |
| | 16685 | | set { |
| 0 | 16686 | | _hasBits0 |= 16; |
| 0 | 16687 | | adaptHeight_ = value; |
| 0 | 16688 | | } |
| | 16689 | | } |
| | 16690 | | /// <summary>Gets whether the "adapt_height" field is set</summary> |
| | 16691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16693 | | public bool HasAdaptHeight { |
| 0 | 16694 | | get { return (_hasBits0 & 16) != 0; } |
| | 16695 | | } |
| | 16696 | | /// <summary>Clears the value of the "adapt_height" field</summary> |
| | 16697 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16698 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16699 | | public void ClearAdaptHeight() { |
| 0 | 16700 | | _hasBits0 &= ~16; |
| 0 | 16701 | | } |
| | 16702 | |
|
| | 16703 | | /// <summary>Field number for the "color" field.</summary> |
| | 16704 | | public const int ColorFieldNumber = 13; |
| | 16705 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 color_; |
| | 16706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16708 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Color { |
| 0 | 16709 | | get { return color_; } |
| | 16710 | | set { |
| 0 | 16711 | | color_ = value; |
| 0 | 16712 | | } |
| | 16713 | | } |
| | 16714 | |
|
| | 16715 | | /// <summary>Field number for the "stack_orientation" field.</summary> |
| | 16716 | | public const int StackOrientationFieldNumber = 14; |
| | 16717 | | private global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack.Types.UIStackOrientation stackOrientation_; |
| | 16718 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16719 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16720 | | public global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack.Types.UIStackOrientation StackOrientation { |
| 0 | 16721 | | get { if ((_hasBits0 & 32) != 0) { return stackOrientation_; } else { return global::Decentraland.Sdk.Ecs6.ECS6Com |
| | 16722 | | set { |
| 0 | 16723 | | _hasBits0 |= 32; |
| 0 | 16724 | | stackOrientation_ = value; |
| 0 | 16725 | | } |
| | 16726 | | } |
| | 16727 | | /// <summary>Gets whether the "stack_orientation" field is set</summary> |
| | 16728 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16729 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16730 | | public bool HasStackOrientation { |
| 0 | 16731 | | get { return (_hasBits0 & 32) != 0; } |
| | 16732 | | } |
| | 16733 | | /// <summary>Clears the value of the "stack_orientation" field</summary> |
| | 16734 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16735 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16736 | | public void ClearStackOrientation() { |
| 0 | 16737 | | _hasBits0 &= ~32; |
| 0 | 16738 | | } |
| | 16739 | |
|
| | 16740 | | /// <summary>Field number for the "spacing" field.</summary> |
| | 16741 | | public const int SpacingFieldNumber = 15; |
| | 16742 | | private float spacing_; |
| | 16743 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16744 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16745 | | public float Spacing { |
| 0 | 16746 | | get { if ((_hasBits0 & 64) != 0) { return spacing_; } else { return 0F; } } |
| | 16747 | | set { |
| 0 | 16748 | | _hasBits0 |= 64; |
| 0 | 16749 | | spacing_ = value; |
| 0 | 16750 | | } |
| | 16751 | | } |
| | 16752 | | /// <summary>Gets whether the "spacing" field is set</summary> |
| | 16753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16755 | | public bool HasSpacing { |
| 0 | 16756 | | get { return (_hasBits0 & 64) != 0; } |
| | 16757 | | } |
| | 16758 | | /// <summary>Clears the value of the "spacing" field</summary> |
| | 16759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16761 | | public void ClearSpacing() { |
| 0 | 16762 | | _hasBits0 &= ~64; |
| 0 | 16763 | | } |
| | 16764 | |
|
| | 16765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16767 | | public override bool Equals(object other) { |
| 0 | 16768 | | return Equals(other as ECS6ComponentUiContainerStack); |
| | 16769 | | } |
| | 16770 | |
|
| | 16771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16773 | | public bool Equals(ECS6ComponentUiContainerStack other) { |
| 0 | 16774 | | if (ReferenceEquals(other, null)) { |
| 0 | 16775 | | return false; |
| | 16776 | | } |
| 0 | 16777 | | if (ReferenceEquals(other, this)) { |
| 0 | 16778 | | return true; |
| | 16779 | | } |
| 0 | 16780 | | if (Name != other.Name) return false; |
| 0 | 16781 | | if (Visible != other.Visible) return false; |
| 0 | 16782 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| 0 | 16783 | | if (HAlign != other.HAlign) return false; |
| 0 | 16784 | | if (VAlign != other.VAlign) return false; |
| 0 | 16785 | | if (!object.Equals(Width, other.Width)) return false; |
| 0 | 16786 | | if (!object.Equals(Height, other.Height)) return false; |
| 0 | 16787 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| 0 | 16788 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| 0 | 16789 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| 0 | 16790 | | if (ParentComponent != other.ParentComponent) return false; |
| 0 | 16791 | | if (AdaptWidth != other.AdaptWidth) return false; |
| 0 | 16792 | | if (AdaptHeight != other.AdaptHeight) return false; |
| 0 | 16793 | | if (!object.Equals(Color, other.Color)) return false; |
| 0 | 16794 | | if (StackOrientation != other.StackOrientation) return false; |
| 0 | 16795 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Spacing, other.Spacing)) return false; |
| 0 | 16796 | | return Equals(_unknownFields, other._unknownFields); |
| | 16797 | | } |
| | 16798 | |
|
| | 16799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16801 | | public override int GetHashCode() { |
| 0 | 16802 | | int hash = 1; |
| 0 | 16803 | | if (HasName) hash ^= Name.GetHashCode(); |
| 0 | 16804 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| 0 | 16805 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| 0 | 16806 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| 0 | 16807 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| 0 | 16808 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| 0 | 16809 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| 0 | 16810 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| 0 | 16811 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| 0 | 16812 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| 0 | 16813 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| 0 | 16814 | | if (HasAdaptWidth) hash ^= AdaptWidth.GetHashCode(); |
| 0 | 16815 | | if (HasAdaptHeight) hash ^= AdaptHeight.GetHashCode(); |
| 0 | 16816 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| 0 | 16817 | | if (HasStackOrientation) hash ^= StackOrientation.GetHashCode(); |
| 0 | 16818 | | if (HasSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Spacing); |
| 0 | 16819 | | if (_unknownFields != null) { |
| 0 | 16820 | | hash ^= _unknownFields.GetHashCode(); |
| | 16821 | | } |
| 0 | 16822 | | return hash; |
| | 16823 | | } |
| | 16824 | |
|
| | 16825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16827 | | public override string ToString() { |
| 0 | 16828 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 16829 | | } |
| | 16830 | |
|
| | 16831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16833 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 16834 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16835 | | output.WriteRawMessage(this); |
| | 16836 | | #else |
| 0 | 16837 | | if (HasName) { |
| 0 | 16838 | | output.WriteRawTag(10); |
| 0 | 16839 | | output.WriteString(Name); |
| | 16840 | | } |
| 0 | 16841 | | if (HasVisible) { |
| 0 | 16842 | | output.WriteRawTag(16); |
| 0 | 16843 | | output.WriteBool(Visible); |
| | 16844 | | } |
| 0 | 16845 | | if (HasOpacity) { |
| 0 | 16846 | | output.WriteRawTag(29); |
| 0 | 16847 | | output.WriteFloat(Opacity); |
| | 16848 | | } |
| 0 | 16849 | | if (HasHAlign) { |
| 0 | 16850 | | output.WriteRawTag(34); |
| 0 | 16851 | | output.WriteString(HAlign); |
| | 16852 | | } |
| 0 | 16853 | | if (HasVAlign) { |
| 0 | 16854 | | output.WriteRawTag(42); |
| 0 | 16855 | | output.WriteString(VAlign); |
| | 16856 | | } |
| 0 | 16857 | | if (width_ != null) { |
| 0 | 16858 | | output.WriteRawTag(50); |
| 0 | 16859 | | output.WriteMessage(Width); |
| | 16860 | | } |
| 0 | 16861 | | if (height_ != null) { |
| 0 | 16862 | | output.WriteRawTag(58); |
| 0 | 16863 | | output.WriteMessage(Height); |
| | 16864 | | } |
| 0 | 16865 | | if (positionX_ != null) { |
| 0 | 16866 | | output.WriteRawTag(66); |
| 0 | 16867 | | output.WriteMessage(PositionX); |
| | 16868 | | } |
| 0 | 16869 | | if (positionY_ != null) { |
| 0 | 16870 | | output.WriteRawTag(74); |
| 0 | 16871 | | output.WriteMessage(PositionY); |
| | 16872 | | } |
| 0 | 16873 | | if (HasIsPointerBlocker) { |
| 0 | 16874 | | output.WriteRawTag(80); |
| 0 | 16875 | | output.WriteBool(IsPointerBlocker); |
| | 16876 | | } |
| 0 | 16877 | | if (HasAdaptWidth) { |
| 0 | 16878 | | output.WriteRawTag(88); |
| 0 | 16879 | | output.WriteBool(AdaptWidth); |
| | 16880 | | } |
| 0 | 16881 | | if (HasAdaptHeight) { |
| 0 | 16882 | | output.WriteRawTag(96); |
| 0 | 16883 | | output.WriteBool(AdaptHeight); |
| | 16884 | | } |
| 0 | 16885 | | if (color_ != null) { |
| 0 | 16886 | | output.WriteRawTag(106); |
| 0 | 16887 | | output.WriteMessage(Color); |
| | 16888 | | } |
| 0 | 16889 | | if (HasStackOrientation) { |
| 0 | 16890 | | output.WriteRawTag(112); |
| 0 | 16891 | | output.WriteEnum((int) StackOrientation); |
| | 16892 | | } |
| 0 | 16893 | | if (HasSpacing) { |
| 0 | 16894 | | output.WriteRawTag(125); |
| 0 | 16895 | | output.WriteFloat(Spacing); |
| | 16896 | | } |
| 0 | 16897 | | if (HasParentComponent) { |
| 0 | 16898 | | output.WriteRawTag(130, 1); |
| 0 | 16899 | | output.WriteString(ParentComponent); |
| | 16900 | | } |
| 0 | 16901 | | if (_unknownFields != null) { |
| 0 | 16902 | | _unknownFields.WriteTo(output); |
| | 16903 | | } |
| | 16904 | | #endif |
| 0 | 16905 | | } |
| | 16906 | |
|
| | 16907 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16908 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16909 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16910 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 16911 | | if (HasName) { |
| | 16912 | | output.WriteRawTag(10); |
| | 16913 | | output.WriteString(Name); |
| | 16914 | | } |
| | 16915 | | if (HasVisible) { |
| | 16916 | | output.WriteRawTag(16); |
| | 16917 | | output.WriteBool(Visible); |
| | 16918 | | } |
| | 16919 | | if (HasOpacity) { |
| | 16920 | | output.WriteRawTag(29); |
| | 16921 | | output.WriteFloat(Opacity); |
| | 16922 | | } |
| | 16923 | | if (HasHAlign) { |
| | 16924 | | output.WriteRawTag(34); |
| | 16925 | | output.WriteString(HAlign); |
| | 16926 | | } |
| | 16927 | | if (HasVAlign) { |
| | 16928 | | output.WriteRawTag(42); |
| | 16929 | | output.WriteString(VAlign); |
| | 16930 | | } |
| | 16931 | | if (width_ != null) { |
| | 16932 | | output.WriteRawTag(50); |
| | 16933 | | output.WriteMessage(Width); |
| | 16934 | | } |
| | 16935 | | if (height_ != null) { |
| | 16936 | | output.WriteRawTag(58); |
| | 16937 | | output.WriteMessage(Height); |
| | 16938 | | } |
| | 16939 | | if (positionX_ != null) { |
| | 16940 | | output.WriteRawTag(66); |
| | 16941 | | output.WriteMessage(PositionX); |
| | 16942 | | } |
| | 16943 | | if (positionY_ != null) { |
| | 16944 | | output.WriteRawTag(74); |
| | 16945 | | output.WriteMessage(PositionY); |
| | 16946 | | } |
| | 16947 | | if (HasIsPointerBlocker) { |
| | 16948 | | output.WriteRawTag(80); |
| | 16949 | | output.WriteBool(IsPointerBlocker); |
| | 16950 | | } |
| | 16951 | | if (HasAdaptWidth) { |
| | 16952 | | output.WriteRawTag(88); |
| | 16953 | | output.WriteBool(AdaptWidth); |
| | 16954 | | } |
| | 16955 | | if (HasAdaptHeight) { |
| | 16956 | | output.WriteRawTag(96); |
| | 16957 | | output.WriteBool(AdaptHeight); |
| | 16958 | | } |
| | 16959 | | if (color_ != null) { |
| | 16960 | | output.WriteRawTag(106); |
| | 16961 | | output.WriteMessage(Color); |
| | 16962 | | } |
| | 16963 | | if (HasStackOrientation) { |
| | 16964 | | output.WriteRawTag(112); |
| | 16965 | | output.WriteEnum((int) StackOrientation); |
| | 16966 | | } |
| | 16967 | | if (HasSpacing) { |
| | 16968 | | output.WriteRawTag(125); |
| | 16969 | | output.WriteFloat(Spacing); |
| | 16970 | | } |
| | 16971 | | if (HasParentComponent) { |
| | 16972 | | output.WriteRawTag(130, 1); |
| | 16973 | | output.WriteString(ParentComponent); |
| | 16974 | | } |
| | 16975 | | if (_unknownFields != null) { |
| | 16976 | | _unknownFields.WriteTo(ref output); |
| | 16977 | | } |
| | 16978 | | } |
| | 16979 | | #endif |
| | 16980 | |
|
| | 16981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16983 | | public int CalculateSize() { |
| 0 | 16984 | | int size = 0; |
| 0 | 16985 | | if (HasName) { |
| 0 | 16986 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 16987 | | } |
| 0 | 16988 | | if (HasVisible) { |
| 0 | 16989 | | size += 1 + 1; |
| | 16990 | | } |
| 0 | 16991 | | if (HasOpacity) { |
| 0 | 16992 | | size += 1 + 4; |
| | 16993 | | } |
| 0 | 16994 | | if (HasHAlign) { |
| 0 | 16995 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 16996 | | } |
| 0 | 16997 | | if (HasVAlign) { |
| 0 | 16998 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 16999 | | } |
| 0 | 17000 | | if (width_ != null) { |
| 0 | 17001 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 17002 | | } |
| 0 | 17003 | | if (height_ != null) { |
| 0 | 17004 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 17005 | | } |
| 0 | 17006 | | if (positionX_ != null) { |
| 0 | 17007 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 17008 | | } |
| 0 | 17009 | | if (positionY_ != null) { |
| 0 | 17010 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 17011 | | } |
| 0 | 17012 | | if (HasIsPointerBlocker) { |
| 0 | 17013 | | size += 1 + 1; |
| | 17014 | | } |
| 0 | 17015 | | if (HasParentComponent) { |
| 0 | 17016 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 17017 | | } |
| 0 | 17018 | | if (HasAdaptWidth) { |
| 0 | 17019 | | size += 1 + 1; |
| | 17020 | | } |
| 0 | 17021 | | if (HasAdaptHeight) { |
| 0 | 17022 | | size += 1 + 1; |
| | 17023 | | } |
| 0 | 17024 | | if (color_ != null) { |
| 0 | 17025 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 17026 | | } |
| 0 | 17027 | | if (HasStackOrientation) { |
| 0 | 17028 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StackOrientation); |
| | 17029 | | } |
| 0 | 17030 | | if (HasSpacing) { |
| 0 | 17031 | | size += 1 + 4; |
| | 17032 | | } |
| 0 | 17033 | | if (_unknownFields != null) { |
| 0 | 17034 | | size += _unknownFields.CalculateSize(); |
| | 17035 | | } |
| 0 | 17036 | | return size; |
| | 17037 | | } |
| | 17038 | |
|
| | 17039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17041 | | public void MergeFrom(ECS6ComponentUiContainerStack other) { |
| 0 | 17042 | | if (other == null) { |
| 0 | 17043 | | return; |
| | 17044 | | } |
| 0 | 17045 | | if (other.HasName) { |
| 0 | 17046 | | Name = other.Name; |
| | 17047 | | } |
| 0 | 17048 | | if (other.HasVisible) { |
| 0 | 17049 | | Visible = other.Visible; |
| | 17050 | | } |
| 0 | 17051 | | if (other.HasOpacity) { |
| 0 | 17052 | | Opacity = other.Opacity; |
| | 17053 | | } |
| 0 | 17054 | | if (other.HasHAlign) { |
| 0 | 17055 | | HAlign = other.HAlign; |
| | 17056 | | } |
| 0 | 17057 | | if (other.HasVAlign) { |
| 0 | 17058 | | VAlign = other.VAlign; |
| | 17059 | | } |
| 0 | 17060 | | if (other.width_ != null) { |
| 0 | 17061 | | if (width_ == null) { |
| 0 | 17062 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17063 | | } |
| 0 | 17064 | | Width.MergeFrom(other.Width); |
| | 17065 | | } |
| 0 | 17066 | | if (other.height_ != null) { |
| 0 | 17067 | | if (height_ == null) { |
| 0 | 17068 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17069 | | } |
| 0 | 17070 | | Height.MergeFrom(other.Height); |
| | 17071 | | } |
| 0 | 17072 | | if (other.positionX_ != null) { |
| 0 | 17073 | | if (positionX_ == null) { |
| 0 | 17074 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17075 | | } |
| 0 | 17076 | | PositionX.MergeFrom(other.PositionX); |
| | 17077 | | } |
| 0 | 17078 | | if (other.positionY_ != null) { |
| 0 | 17079 | | if (positionY_ == null) { |
| 0 | 17080 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17081 | | } |
| 0 | 17082 | | PositionY.MergeFrom(other.PositionY); |
| | 17083 | | } |
| 0 | 17084 | | if (other.HasIsPointerBlocker) { |
| 0 | 17085 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 17086 | | } |
| 0 | 17087 | | if (other.HasParentComponent) { |
| 0 | 17088 | | ParentComponent = other.ParentComponent; |
| | 17089 | | } |
| 0 | 17090 | | if (other.HasAdaptWidth) { |
| 0 | 17091 | | AdaptWidth = other.AdaptWidth; |
| | 17092 | | } |
| 0 | 17093 | | if (other.HasAdaptHeight) { |
| 0 | 17094 | | AdaptHeight = other.AdaptHeight; |
| | 17095 | | } |
| 0 | 17096 | | if (other.color_ != null) { |
| 0 | 17097 | | if (color_ == null) { |
| 0 | 17098 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 17099 | | } |
| 0 | 17100 | | Color.MergeFrom(other.Color); |
| | 17101 | | } |
| 0 | 17102 | | if (other.HasStackOrientation) { |
| 0 | 17103 | | StackOrientation = other.StackOrientation; |
| | 17104 | | } |
| 0 | 17105 | | if (other.HasSpacing) { |
| 0 | 17106 | | Spacing = other.Spacing; |
| | 17107 | | } |
| 0 | 17108 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 17109 | | } |
| | 17110 | |
|
| | 17111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17113 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 17114 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17115 | | input.ReadRawMessage(this); |
| | 17116 | | #else |
| | 17117 | | uint tag; |
| 0 | 17118 | | while ((tag = input.ReadTag()) != 0) { |
| | 17119 | | switch(tag) { |
| | 17120 | | default: |
| 0 | 17121 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 17122 | | break; |
| | 17123 | | case 10: { |
| 0 | 17124 | | Name = input.ReadString(); |
| 0 | 17125 | | break; |
| | 17126 | | } |
| | 17127 | | case 16: { |
| 0 | 17128 | | Visible = input.ReadBool(); |
| 0 | 17129 | | break; |
| | 17130 | | } |
| | 17131 | | case 29: { |
| 0 | 17132 | | Opacity = input.ReadFloat(); |
| 0 | 17133 | | break; |
| | 17134 | | } |
| | 17135 | | case 34: { |
| 0 | 17136 | | HAlign = input.ReadString(); |
| 0 | 17137 | | break; |
| | 17138 | | } |
| | 17139 | | case 42: { |
| 0 | 17140 | | VAlign = input.ReadString(); |
| 0 | 17141 | | break; |
| | 17142 | | } |
| | 17143 | | case 50: { |
| 0 | 17144 | | if (width_ == null) { |
| 0 | 17145 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17146 | | } |
| 0 | 17147 | | input.ReadMessage(Width); |
| 0 | 17148 | | break; |
| | 17149 | | } |
| | 17150 | | case 58: { |
| 0 | 17151 | | if (height_ == null) { |
| 0 | 17152 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17153 | | } |
| 0 | 17154 | | input.ReadMessage(Height); |
| 0 | 17155 | | break; |
| | 17156 | | } |
| | 17157 | | case 66: { |
| 0 | 17158 | | if (positionX_ == null) { |
| 0 | 17159 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17160 | | } |
| 0 | 17161 | | input.ReadMessage(PositionX); |
| 0 | 17162 | | break; |
| | 17163 | | } |
| | 17164 | | case 74: { |
| 0 | 17165 | | if (positionY_ == null) { |
| 0 | 17166 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17167 | | } |
| 0 | 17168 | | input.ReadMessage(PositionY); |
| 0 | 17169 | | break; |
| | 17170 | | } |
| | 17171 | | case 80: { |
| 0 | 17172 | | IsPointerBlocker = input.ReadBool(); |
| 0 | 17173 | | break; |
| | 17174 | | } |
| | 17175 | | case 88: { |
| 0 | 17176 | | AdaptWidth = input.ReadBool(); |
| 0 | 17177 | | break; |
| | 17178 | | } |
| | 17179 | | case 96: { |
| 0 | 17180 | | AdaptHeight = input.ReadBool(); |
| 0 | 17181 | | break; |
| | 17182 | | } |
| | 17183 | | case 106: { |
| 0 | 17184 | | if (color_ == null) { |
| 0 | 17185 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 17186 | | } |
| 0 | 17187 | | input.ReadMessage(Color); |
| 0 | 17188 | | break; |
| | 17189 | | } |
| | 17190 | | case 112: { |
| 0 | 17191 | | StackOrientation = (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack.Types.UIStackOrientation) in |
| 0 | 17192 | | break; |
| | 17193 | | } |
| | 17194 | | case 125: { |
| 0 | 17195 | | Spacing = input.ReadFloat(); |
| 0 | 17196 | | break; |
| | 17197 | | } |
| | 17198 | | case 130: { |
| 0 | 17199 | | ParentComponent = input.ReadString(); |
| | 17200 | | break; |
| | 17201 | | } |
| | 17202 | | } |
| | 17203 | | } |
| | 17204 | | #endif |
| 0 | 17205 | | } |
| | 17206 | |
|
| | 17207 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17210 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 17211 | | uint tag; |
| | 17212 | | while ((tag = input.ReadTag()) != 0) { |
| | 17213 | | switch(tag) { |
| | 17214 | | default: |
| | 17215 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 17216 | | break; |
| | 17217 | | case 10: { |
| | 17218 | | Name = input.ReadString(); |
| | 17219 | | break; |
| | 17220 | | } |
| | 17221 | | case 16: { |
| | 17222 | | Visible = input.ReadBool(); |
| | 17223 | | break; |
| | 17224 | | } |
| | 17225 | | case 29: { |
| | 17226 | | Opacity = input.ReadFloat(); |
| | 17227 | | break; |
| | 17228 | | } |
| | 17229 | | case 34: { |
| | 17230 | | HAlign = input.ReadString(); |
| | 17231 | | break; |
| | 17232 | | } |
| | 17233 | | case 42: { |
| | 17234 | | VAlign = input.ReadString(); |
| | 17235 | | break; |
| | 17236 | | } |
| | 17237 | | case 50: { |
| | 17238 | | if (width_ == null) { |
| | 17239 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17240 | | } |
| | 17241 | | input.ReadMessage(Width); |
| | 17242 | | break; |
| | 17243 | | } |
| | 17244 | | case 58: { |
| | 17245 | | if (height_ == null) { |
| | 17246 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17247 | | } |
| | 17248 | | input.ReadMessage(Height); |
| | 17249 | | break; |
| | 17250 | | } |
| | 17251 | | case 66: { |
| | 17252 | | if (positionX_ == null) { |
| | 17253 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17254 | | } |
| | 17255 | | input.ReadMessage(PositionX); |
| | 17256 | | break; |
| | 17257 | | } |
| | 17258 | | case 74: { |
| | 17259 | | if (positionY_ == null) { |
| | 17260 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 17261 | | } |
| | 17262 | | input.ReadMessage(PositionY); |
| | 17263 | | break; |
| | 17264 | | } |
| | 17265 | | case 80: { |
| | 17266 | | IsPointerBlocker = input.ReadBool(); |
| | 17267 | | break; |
| | 17268 | | } |
| | 17269 | | case 88: { |
| | 17270 | | AdaptWidth = input.ReadBool(); |
| | 17271 | | break; |
| | 17272 | | } |
| | 17273 | | case 96: { |
| | 17274 | | AdaptHeight = input.ReadBool(); |
| | 17275 | | break; |
| | 17276 | | } |
| | 17277 | | case 106: { |
| | 17278 | | if (color_ == null) { |
| | 17279 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 17280 | | } |
| | 17281 | | input.ReadMessage(Color); |
| | 17282 | | break; |
| | 17283 | | } |
| | 17284 | | case 112: { |
| | 17285 | | StackOrientation = (global::Decentraland.Sdk.Ecs6.ECS6ComponentUiContainerStack.Types.UIStackOrientation) in |
| | 17286 | | break; |
| | 17287 | | } |
| | 17288 | | case 125: { |
| | 17289 | | Spacing = input.ReadFloat(); |
| | 17290 | | break; |
| | 17291 | | } |
| | 17292 | | case 130: { |
| | 17293 | | ParentComponent = input.ReadString(); |
| | 17294 | | break; |
| | 17295 | | } |
| | 17296 | | } |
| | 17297 | | } |
| | 17298 | | } |
| | 17299 | | #endif |
| | 17300 | |
|
| | 17301 | | #region Nested types |
| | 17302 | | /// <summary>Container for nested types declared in the ECS6ComponentUiContainerStack message type.</summary> |
| | 17303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17305 | | public static partial class Types { |
| | 17306 | | public enum UIStackOrientation { |
| | 17307 | | [pbr::OriginalName("VERTICAL")] Vertical = 0, |
| | 17308 | | [pbr::OriginalName("HORIZONTAL")] Horizontal = 1, |
| | 17309 | | } |
| | 17310 | |
|
| | 17311 | | } |
| | 17312 | | #endregion |
| | 17313 | |
|
| | 17314 | | } |
| | 17315 | |
|
| | 17316 | | /// <summary> |
| | 17317 | | /// CLASS_ID.UI_BUTTON_SHAPE |
| | 17318 | | /// </summary> |
| | 17319 | | public sealed partial class ECS6ComponentUiButton : pb::IMessage<ECS6ComponentUiButton> |
| | 17320 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17321 | | , pb::IBufferMessage |
| | 17322 | | #endif |
| | 17323 | | { |
| | 17324 | | private static readonly pb::MessageParser<ECS6ComponentUiButton> _parser = new pb::MessageParser<ECS6ComponentUiButt |
| | 17325 | | private pb::UnknownFieldSet _unknownFields; |
| | 17326 | | private int _hasBits0; |
| | 17327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17329 | | public static pb::MessageParser<ECS6ComponentUiButton> Parser { get { return _parser; } } |
| | 17330 | |
|
| | 17331 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17332 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17333 | | public static pbr::MessageDescriptor Descriptor { |
| | 17334 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[36]; } |
| | 17335 | | } |
| | 17336 | |
|
| | 17337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17339 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 17340 | | get { return Descriptor; } |
| | 17341 | | } |
| | 17342 | |
|
| | 17343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17345 | | public ECS6ComponentUiButton() { |
| | 17346 | | OnConstruction(); |
| | 17347 | | } |
| | 17348 | |
|
| | 17349 | | partial void OnConstruction(); |
| | 17350 | |
|
| | 17351 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17352 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17353 | | public ECS6ComponentUiButton(ECS6ComponentUiButton other) : this() { |
| | 17354 | | _hasBits0 = other._hasBits0; |
| | 17355 | | name_ = other.name_; |
| | 17356 | | visible_ = other.visible_; |
| | 17357 | | opacity_ = other.opacity_; |
| | 17358 | | hAlign_ = other.hAlign_; |
| | 17359 | | vAlign_ = other.vAlign_; |
| | 17360 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 17361 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 17362 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 17363 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 17364 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 17365 | | parentComponent_ = other.parentComponent_; |
| | 17366 | | fontSize_ = other.fontSize_; |
| | 17367 | | fontWeight_ = other.fontWeight_; |
| | 17368 | | thickness_ = other.thickness_; |
| | 17369 | | cornerRadius_ = other.cornerRadius_; |
| | 17370 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 17371 | | background_ = other.background_ != null ? other.background_.Clone() : null; |
| | 17372 | | paddingTop_ = other.paddingTop_; |
| | 17373 | | paddingRight_ = other.paddingRight_; |
| | 17374 | | paddingBottom_ = other.paddingBottom_; |
| | 17375 | | paddingLeft_ = other.paddingLeft_; |
| | 17376 | | shadowBlur_ = other.shadowBlur_; |
| | 17377 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 17378 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 17379 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 17380 | | text_ = other.text_; |
| | 17381 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 17382 | | } |
| | 17383 | |
|
| | 17384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17386 | | public ECS6ComponentUiButton Clone() { |
| | 17387 | | return new ECS6ComponentUiButton(this); |
| | 17388 | | } |
| | 17389 | |
|
| | 17390 | | /// <summary>Field number for the "name" field.</summary> |
| | 17391 | | public const int NameFieldNumber = 1; |
| | 17392 | | private string name_; |
| | 17393 | | /// <summary> |
| | 17394 | | /// UiShape |
| | 17395 | | /// </summary> |
| | 17396 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17397 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17398 | | public string Name { |
| | 17399 | | get { return name_ ?? ""; } |
| | 17400 | | set { |
| | 17401 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17402 | | } |
| | 17403 | | } |
| | 17404 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 17405 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17406 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17407 | | public bool HasName { |
| | 17408 | | get { return name_ != null; } |
| | 17409 | | } |
| | 17410 | | /// <summary>Clears the value of the "name" field</summary> |
| | 17411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17413 | | public void ClearName() { |
| | 17414 | | name_ = null; |
| | 17415 | | } |
| | 17416 | |
|
| | 17417 | | /// <summary>Field number for the "visible" field.</summary> |
| | 17418 | | public const int VisibleFieldNumber = 2; |
| | 17419 | | private bool visible_; |
| | 17420 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17421 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17422 | | public bool Visible { |
| | 17423 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 17424 | | set { |
| | 17425 | | _hasBits0 |= 1; |
| | 17426 | | visible_ = value; |
| | 17427 | | } |
| | 17428 | | } |
| | 17429 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 17430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17432 | | public bool HasVisible { |
| | 17433 | | get { return (_hasBits0 & 1) != 0; } |
| | 17434 | | } |
| | 17435 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 17436 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17437 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17438 | | public void ClearVisible() { |
| | 17439 | | _hasBits0 &= ~1; |
| | 17440 | | } |
| | 17441 | |
|
| | 17442 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 17443 | | public const int OpacityFieldNumber = 3; |
| | 17444 | | private float opacity_; |
| | 17445 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17446 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17447 | | public float Opacity { |
| | 17448 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 17449 | | set { |
| | 17450 | | _hasBits0 |= 2; |
| | 17451 | | opacity_ = value; |
| | 17452 | | } |
| | 17453 | | } |
| | 17454 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 17455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17457 | | public bool HasOpacity { |
| | 17458 | | get { return (_hasBits0 & 2) != 0; } |
| | 17459 | | } |
| | 17460 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 17461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17463 | | public void ClearOpacity() { |
| | 17464 | | _hasBits0 &= ~2; |
| | 17465 | | } |
| | 17466 | |
|
| | 17467 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 17468 | | public const int HAlignFieldNumber = 4; |
| | 17469 | | private string hAlign_; |
| | 17470 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17471 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17472 | | public string HAlign { |
| | 17473 | | get { return hAlign_ ?? ""; } |
| | 17474 | | set { |
| | 17475 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17476 | | } |
| | 17477 | | } |
| | 17478 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 17479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17481 | | public bool HasHAlign { |
| | 17482 | | get { return hAlign_ != null; } |
| | 17483 | | } |
| | 17484 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 17485 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17486 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17487 | | public void ClearHAlign() { |
| | 17488 | | hAlign_ = null; |
| | 17489 | | } |
| | 17490 | |
|
| | 17491 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 17492 | | public const int VAlignFieldNumber = 5; |
| | 17493 | | private string vAlign_; |
| | 17494 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17495 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17496 | | public string VAlign { |
| | 17497 | | get { return vAlign_ ?? ""; } |
| | 17498 | | set { |
| | 17499 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17500 | | } |
| | 17501 | | } |
| | 17502 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 17503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17505 | | public bool HasVAlign { |
| | 17506 | | get { return vAlign_ != null; } |
| | 17507 | | } |
| | 17508 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 17509 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17510 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17511 | | public void ClearVAlign() { |
| | 17512 | | vAlign_ = null; |
| | 17513 | | } |
| | 17514 | |
|
| | 17515 | | /// <summary>Field number for the "width" field.</summary> |
| | 17516 | | public const int WidthFieldNumber = 6; |
| | 17517 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 17518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17520 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 17521 | | get { return width_; } |
| | 17522 | | set { |
| | 17523 | | width_ = value; |
| | 17524 | | } |
| | 17525 | | } |
| | 17526 | |
|
| | 17527 | | /// <summary>Field number for the "height" field.</summary> |
| | 17528 | | public const int HeightFieldNumber = 7; |
| | 17529 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 17530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17532 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 17533 | | get { return height_; } |
| | 17534 | | set { |
| | 17535 | | height_ = value; |
| | 17536 | | } |
| | 17537 | | } |
| | 17538 | |
|
| | 17539 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 17540 | | public const int PositionXFieldNumber = 8; |
| | 17541 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 17542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17544 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 17545 | | get { return positionX_; } |
| | 17546 | | set { |
| | 17547 | | positionX_ = value; |
| | 17548 | | } |
| | 17549 | | } |
| | 17550 | |
|
| | 17551 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 17552 | | public const int PositionYFieldNumber = 9; |
| | 17553 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 17554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17556 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 17557 | | get { return positionY_; } |
| | 17558 | | set { |
| | 17559 | | positionY_ = value; |
| | 17560 | | } |
| | 17561 | | } |
| | 17562 | |
|
| | 17563 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 17564 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 17565 | | private bool isPointerBlocker_; |
| | 17566 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17567 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17568 | | public bool IsPointerBlocker { |
| | 17569 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 17570 | | set { |
| | 17571 | | _hasBits0 |= 4; |
| | 17572 | | isPointerBlocker_ = value; |
| | 17573 | | } |
| | 17574 | | } |
| | 17575 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 17576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17578 | | public bool HasIsPointerBlocker { |
| | 17579 | | get { return (_hasBits0 & 4) != 0; } |
| | 17580 | | } |
| | 17581 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 17582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17584 | | public void ClearIsPointerBlocker() { |
| | 17585 | | _hasBits0 &= ~4; |
| | 17586 | | } |
| | 17587 | |
|
| | 17588 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 17589 | | public const int ParentComponentFieldNumber = 26; |
| | 17590 | | private string parentComponent_; |
| | 17591 | | /// <summary> |
| | 17592 | | /// UiShape |
| | 17593 | | /// </summary> |
| | 17594 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17595 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17596 | | public string ParentComponent { |
| | 17597 | | get { return parentComponent_ ?? ""; } |
| | 17598 | | set { |
| | 17599 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17600 | | } |
| | 17601 | | } |
| | 17602 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 17603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17605 | | public bool HasParentComponent { |
| | 17606 | | get { return parentComponent_ != null; } |
| | 17607 | | } |
| | 17608 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 17609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17611 | | public void ClearParentComponent() { |
| | 17612 | | parentComponent_ = null; |
| | 17613 | | } |
| | 17614 | |
|
| | 17615 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 17616 | | public const int FontSizeFieldNumber = 11; |
| | 17617 | | private float fontSize_; |
| | 17618 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17619 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17620 | | public float FontSize { |
| | 17621 | | get { if ((_hasBits0 & 8) != 0) { return fontSize_; } else { return 0F; } } |
| | 17622 | | set { |
| | 17623 | | _hasBits0 |= 8; |
| | 17624 | | fontSize_ = value; |
| | 17625 | | } |
| | 17626 | | } |
| | 17627 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 17628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17630 | | public bool HasFontSize { |
| | 17631 | | get { return (_hasBits0 & 8) != 0; } |
| | 17632 | | } |
| | 17633 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 17634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17636 | | public void ClearFontSize() { |
| | 17637 | | _hasBits0 &= ~8; |
| | 17638 | | } |
| | 17639 | |
|
| | 17640 | | /// <summary>Field number for the "font_weight" field.</summary> |
| | 17641 | | public const int FontWeightFieldNumber = 12; |
| | 17642 | | private string fontWeight_; |
| | 17643 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17644 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17645 | | public string FontWeight { |
| | 17646 | | get { return fontWeight_ ?? ""; } |
| | 17647 | | set { |
| | 17648 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17649 | | } |
| | 17650 | | } |
| | 17651 | | /// <summary>Gets whether the "font_weight" field is set</summary> |
| | 17652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17654 | | public bool HasFontWeight { |
| | 17655 | | get { return fontWeight_ != null; } |
| | 17656 | | } |
| | 17657 | | /// <summary>Clears the value of the "font_weight" field</summary> |
| | 17658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17660 | | public void ClearFontWeight() { |
| | 17661 | | fontWeight_ = null; |
| | 17662 | | } |
| | 17663 | |
|
| | 17664 | | /// <summary>Field number for the "thickness" field.</summary> |
| | 17665 | | public const int ThicknessFieldNumber = 13; |
| | 17666 | | private float thickness_; |
| | 17667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17669 | | public float Thickness { |
| | 17670 | | get { if ((_hasBits0 & 16) != 0) { return thickness_; } else { return 0F; } } |
| | 17671 | | set { |
| | 17672 | | _hasBits0 |= 16; |
| | 17673 | | thickness_ = value; |
| | 17674 | | } |
| | 17675 | | } |
| | 17676 | | /// <summary>Gets whether the "thickness" field is set</summary> |
| | 17677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17679 | | public bool HasThickness { |
| | 17680 | | get { return (_hasBits0 & 16) != 0; } |
| | 17681 | | } |
| | 17682 | | /// <summary>Clears the value of the "thickness" field</summary> |
| | 17683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17685 | | public void ClearThickness() { |
| | 17686 | | _hasBits0 &= ~16; |
| | 17687 | | } |
| | 17688 | |
|
| | 17689 | | /// <summary>Field number for the "corner_radius" field.</summary> |
| | 17690 | | public const int CornerRadiusFieldNumber = 14; |
| | 17691 | | private float cornerRadius_; |
| | 17692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17694 | | public float CornerRadius { |
| | 17695 | | get { if ((_hasBits0 & 32) != 0) { return cornerRadius_; } else { return 0F; } } |
| | 17696 | | set { |
| | 17697 | | _hasBits0 |= 32; |
| | 17698 | | cornerRadius_ = value; |
| | 17699 | | } |
| | 17700 | | } |
| | 17701 | | /// <summary>Gets whether the "corner_radius" field is set</summary> |
| | 17702 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17703 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17704 | | public bool HasCornerRadius { |
| | 17705 | | get { return (_hasBits0 & 32) != 0; } |
| | 17706 | | } |
| | 17707 | | /// <summary>Clears the value of the "corner_radius" field</summary> |
| | 17708 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17709 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17710 | | public void ClearCornerRadius() { |
| | 17711 | | _hasBits0 &= ~32; |
| | 17712 | | } |
| | 17713 | |
|
| | 17714 | | /// <summary>Field number for the "color" field.</summary> |
| | 17715 | | public const int ColorFieldNumber = 15; |
| | 17716 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 color_; |
| | 17717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17719 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Color { |
| | 17720 | | get { return color_; } |
| | 17721 | | set { |
| | 17722 | | color_ = value; |
| | 17723 | | } |
| | 17724 | | } |
| | 17725 | |
|
| | 17726 | | /// <summary>Field number for the "background" field.</summary> |
| | 17727 | | public const int BackgroundFieldNumber = 16; |
| | 17728 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 background_; |
| | 17729 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17730 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17731 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Background { |
| | 17732 | | get { return background_; } |
| | 17733 | | set { |
| | 17734 | | background_ = value; |
| | 17735 | | } |
| | 17736 | | } |
| | 17737 | |
|
| | 17738 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 17739 | | public const int PaddingTopFieldNumber = 17; |
| | 17740 | | private float paddingTop_; |
| | 17741 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17742 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17743 | | public float PaddingTop { |
| | 17744 | | get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } } |
| | 17745 | | set { |
| | 17746 | | _hasBits0 |= 64; |
| | 17747 | | paddingTop_ = value; |
| | 17748 | | } |
| | 17749 | | } |
| | 17750 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 17751 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17752 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17753 | | public bool HasPaddingTop { |
| | 17754 | | get { return (_hasBits0 & 64) != 0; } |
| | 17755 | | } |
| | 17756 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 17757 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17758 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17759 | | public void ClearPaddingTop() { |
| | 17760 | | _hasBits0 &= ~64; |
| | 17761 | | } |
| | 17762 | |
|
| | 17763 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 17764 | | public const int PaddingRightFieldNumber = 18; |
| | 17765 | | private float paddingRight_; |
| | 17766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17768 | | public float PaddingRight { |
| | 17769 | | get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } } |
| | 17770 | | set { |
| | 17771 | | _hasBits0 |= 128; |
| | 17772 | | paddingRight_ = value; |
| | 17773 | | } |
| | 17774 | | } |
| | 17775 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 17776 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17777 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17778 | | public bool HasPaddingRight { |
| | 17779 | | get { return (_hasBits0 & 128) != 0; } |
| | 17780 | | } |
| | 17781 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 17782 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17783 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17784 | | public void ClearPaddingRight() { |
| | 17785 | | _hasBits0 &= ~128; |
| | 17786 | | } |
| | 17787 | |
|
| | 17788 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 17789 | | public const int PaddingBottomFieldNumber = 19; |
| | 17790 | | private float paddingBottom_; |
| | 17791 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17792 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17793 | | public float PaddingBottom { |
| | 17794 | | get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 17795 | | set { |
| | 17796 | | _hasBits0 |= 256; |
| | 17797 | | paddingBottom_ = value; |
| | 17798 | | } |
| | 17799 | | } |
| | 17800 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 17801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17803 | | public bool HasPaddingBottom { |
| | 17804 | | get { return (_hasBits0 & 256) != 0; } |
| | 17805 | | } |
| | 17806 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 17807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17809 | | public void ClearPaddingBottom() { |
| | 17810 | | _hasBits0 &= ~256; |
| | 17811 | | } |
| | 17812 | |
|
| | 17813 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 17814 | | public const int PaddingLeftFieldNumber = 20; |
| | 17815 | | private float paddingLeft_; |
| | 17816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17818 | | public float PaddingLeft { |
| | 17819 | | get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 17820 | | set { |
| | 17821 | | _hasBits0 |= 512; |
| | 17822 | | paddingLeft_ = value; |
| | 17823 | | } |
| | 17824 | | } |
| | 17825 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 17826 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17827 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17828 | | public bool HasPaddingLeft { |
| | 17829 | | get { return (_hasBits0 & 512) != 0; } |
| | 17830 | | } |
| | 17831 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 17832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17834 | | public void ClearPaddingLeft() { |
| | 17835 | | _hasBits0 &= ~512; |
| | 17836 | | } |
| | 17837 | |
|
| | 17838 | | /// <summary>Field number for the "shadow_blur" field.</summary> |
| | 17839 | | public const int ShadowBlurFieldNumber = 21; |
| | 17840 | | private float shadowBlur_; |
| | 17841 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17842 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17843 | | public float ShadowBlur { |
| | 17844 | | get { if ((_hasBits0 & 1024) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 17845 | | set { |
| | 17846 | | _hasBits0 |= 1024; |
| | 17847 | | shadowBlur_ = value; |
| | 17848 | | } |
| | 17849 | | } |
| | 17850 | | /// <summary>Gets whether the "shadow_blur" field is set</summary> |
| | 17851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17853 | | public bool HasShadowBlur { |
| | 17854 | | get { return (_hasBits0 & 1024) != 0; } |
| | 17855 | | } |
| | 17856 | | /// <summary>Clears the value of the "shadow_blur" field</summary> |
| | 17857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17859 | | public void ClearShadowBlur() { |
| | 17860 | | _hasBits0 &= ~1024; |
| | 17861 | | } |
| | 17862 | |
|
| | 17863 | | /// <summary>Field number for the "shadow_offset_x" field.</summary> |
| | 17864 | | public const int ShadowOffsetXFieldNumber = 22; |
| | 17865 | | private float shadowOffsetX_; |
| | 17866 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17867 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17868 | | public float ShadowOffsetX { |
| | 17869 | | get { if ((_hasBits0 & 2048) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 17870 | | set { |
| | 17871 | | _hasBits0 |= 2048; |
| | 17872 | | shadowOffsetX_ = value; |
| | 17873 | | } |
| | 17874 | | } |
| | 17875 | | /// <summary>Gets whether the "shadow_offset_x" field is set</summary> |
| | 17876 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17877 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17878 | | public bool HasShadowOffsetX { |
| | 17879 | | get { return (_hasBits0 & 2048) != 0; } |
| | 17880 | | } |
| | 17881 | | /// <summary>Clears the value of the "shadow_offset_x" field</summary> |
| | 17882 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17883 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17884 | | public void ClearShadowOffsetX() { |
| | 17885 | | _hasBits0 &= ~2048; |
| | 17886 | | } |
| | 17887 | |
|
| | 17888 | | /// <summary>Field number for the "shadow_offset_y" field.</summary> |
| | 17889 | | public const int ShadowOffsetYFieldNumber = 23; |
| | 17890 | | private float shadowOffsetY_; |
| | 17891 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17892 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17893 | | public float ShadowOffsetY { |
| | 17894 | | get { if ((_hasBits0 & 4096) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 17895 | | set { |
| | 17896 | | _hasBits0 |= 4096; |
| | 17897 | | shadowOffsetY_ = value; |
| | 17898 | | } |
| | 17899 | | } |
| | 17900 | | /// <summary>Gets whether the "shadow_offset_y" field is set</summary> |
| | 17901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17903 | | public bool HasShadowOffsetY { |
| | 17904 | | get { return (_hasBits0 & 4096) != 0; } |
| | 17905 | | } |
| | 17906 | | /// <summary>Clears the value of the "shadow_offset_y" field</summary> |
| | 17907 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17908 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17909 | | public void ClearShadowOffsetY() { |
| | 17910 | | _hasBits0 &= ~4096; |
| | 17911 | | } |
| | 17912 | |
|
| | 17913 | | /// <summary>Field number for the "shadow_color" field.</summary> |
| | 17914 | | public const int ShadowColorFieldNumber = 24; |
| | 17915 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 shadowColor_; |
| | 17916 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17917 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17918 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 ShadowColor { |
| | 17919 | | get { return shadowColor_; } |
| | 17920 | | set { |
| | 17921 | | shadowColor_ = value; |
| | 17922 | | } |
| | 17923 | | } |
| | 17924 | |
|
| | 17925 | | /// <summary>Field number for the "text" field.</summary> |
| | 17926 | | public const int TextFieldNumber = 25; |
| | 17927 | | private string text_; |
| | 17928 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17929 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17930 | | public string Text { |
| | 17931 | | get { return text_ ?? ""; } |
| | 17932 | | set { |
| | 17933 | | text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17934 | | } |
| | 17935 | | } |
| | 17936 | | /// <summary>Gets whether the "text" field is set</summary> |
| | 17937 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17938 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17939 | | public bool HasText { |
| | 17940 | | get { return text_ != null; } |
| | 17941 | | } |
| | 17942 | | /// <summary>Clears the value of the "text" field</summary> |
| | 17943 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17944 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17945 | | public void ClearText() { |
| | 17946 | | text_ = null; |
| | 17947 | | } |
| | 17948 | |
|
| | 17949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17951 | | public override bool Equals(object other) { |
| | 17952 | | return Equals(other as ECS6ComponentUiButton); |
| | 17953 | | } |
| | 17954 | |
|
| | 17955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17957 | | public bool Equals(ECS6ComponentUiButton other) { |
| | 17958 | | if (ReferenceEquals(other, null)) { |
| | 17959 | | return false; |
| | 17960 | | } |
| | 17961 | | if (ReferenceEquals(other, this)) { |
| | 17962 | | return true; |
| | 17963 | | } |
| | 17964 | | if (Name != other.Name) return false; |
| | 17965 | | if (Visible != other.Visible) return false; |
| | 17966 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 17967 | | if (HAlign != other.HAlign) return false; |
| | 17968 | | if (VAlign != other.VAlign) return false; |
| | 17969 | | if (!object.Equals(Width, other.Width)) return false; |
| | 17970 | | if (!object.Equals(Height, other.Height)) return false; |
| | 17971 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 17972 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 17973 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 17974 | | if (ParentComponent != other.ParentComponent) return false; |
| | 17975 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 17976 | | if (FontWeight != other.FontWeight) return false; |
| | 17977 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Thickness, other.Thickness)) return false |
| | 17978 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CornerRadius, other.CornerRadius)) return |
| | 17979 | | if (!object.Equals(Color, other.Color)) return false; |
| | 17980 | | if (!object.Equals(Background, other.Background)) return false; |
| | 17981 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 17982 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 17983 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 17984 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 17985 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 17986 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 17987 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 17988 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 17989 | | if (Text != other.Text) return false; |
| | 17990 | | return Equals(_unknownFields, other._unknownFields); |
| | 17991 | | } |
| | 17992 | |
|
| | 17993 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17994 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17995 | | public override int GetHashCode() { |
| | 17996 | | int hash = 1; |
| | 17997 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 17998 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 17999 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 18000 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 18001 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 18002 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 18003 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 18004 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 18005 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 18006 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 18007 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 18008 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 18009 | | if (HasFontWeight) hash ^= FontWeight.GetHashCode(); |
| | 18010 | | if (HasThickness) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Thickness); |
| | 18011 | | if (HasCornerRadius) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CornerRadius |
| | 18012 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 18013 | | if (background_ != null) hash ^= Background.GetHashCode(); |
| | 18014 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 18015 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 18016 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 18017 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 18018 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| | 18019 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 18020 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 18021 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 18022 | | if (HasText) hash ^= Text.GetHashCode(); |
| | 18023 | | if (_unknownFields != null) { |
| | 18024 | | hash ^= _unknownFields.GetHashCode(); |
| | 18025 | | } |
| | 18026 | | return hash; |
| | 18027 | | } |
| | 18028 | |
|
| | 18029 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18030 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18031 | | public override string ToString() { |
| | 18032 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 18033 | | } |
| | 18034 | |
|
| | 18035 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18036 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18037 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 18038 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18039 | | output.WriteRawMessage(this); |
| | 18040 | | #else |
| | 18041 | | if (HasName) { |
| | 18042 | | output.WriteRawTag(10); |
| | 18043 | | output.WriteString(Name); |
| | 18044 | | } |
| | 18045 | | if (HasVisible) { |
| | 18046 | | output.WriteRawTag(16); |
| | 18047 | | output.WriteBool(Visible); |
| | 18048 | | } |
| | 18049 | | if (HasOpacity) { |
| | 18050 | | output.WriteRawTag(29); |
| | 18051 | | output.WriteFloat(Opacity); |
| | 18052 | | } |
| | 18053 | | if (HasHAlign) { |
| | 18054 | | output.WriteRawTag(34); |
| | 18055 | | output.WriteString(HAlign); |
| | 18056 | | } |
| | 18057 | | if (HasVAlign) { |
| | 18058 | | output.WriteRawTag(42); |
| | 18059 | | output.WriteString(VAlign); |
| | 18060 | | } |
| | 18061 | | if (width_ != null) { |
| | 18062 | | output.WriteRawTag(50); |
| | 18063 | | output.WriteMessage(Width); |
| | 18064 | | } |
| | 18065 | | if (height_ != null) { |
| | 18066 | | output.WriteRawTag(58); |
| | 18067 | | output.WriteMessage(Height); |
| | 18068 | | } |
| | 18069 | | if (positionX_ != null) { |
| | 18070 | | output.WriteRawTag(66); |
| | 18071 | | output.WriteMessage(PositionX); |
| | 18072 | | } |
| | 18073 | | if (positionY_ != null) { |
| | 18074 | | output.WriteRawTag(74); |
| | 18075 | | output.WriteMessage(PositionY); |
| | 18076 | | } |
| | 18077 | | if (HasIsPointerBlocker) { |
| | 18078 | | output.WriteRawTag(80); |
| | 18079 | | output.WriteBool(IsPointerBlocker); |
| | 18080 | | } |
| | 18081 | | if (HasFontSize) { |
| | 18082 | | output.WriteRawTag(93); |
| | 18083 | | output.WriteFloat(FontSize); |
| | 18084 | | } |
| | 18085 | | if (HasFontWeight) { |
| | 18086 | | output.WriteRawTag(98); |
| | 18087 | | output.WriteString(FontWeight); |
| | 18088 | | } |
| | 18089 | | if (HasThickness) { |
| | 18090 | | output.WriteRawTag(109); |
| | 18091 | | output.WriteFloat(Thickness); |
| | 18092 | | } |
| | 18093 | | if (HasCornerRadius) { |
| | 18094 | | output.WriteRawTag(117); |
| | 18095 | | output.WriteFloat(CornerRadius); |
| | 18096 | | } |
| | 18097 | | if (color_ != null) { |
| | 18098 | | output.WriteRawTag(122); |
| | 18099 | | output.WriteMessage(Color); |
| | 18100 | | } |
| | 18101 | | if (background_ != null) { |
| | 18102 | | output.WriteRawTag(130, 1); |
| | 18103 | | output.WriteMessage(Background); |
| | 18104 | | } |
| | 18105 | | if (HasPaddingTop) { |
| | 18106 | | output.WriteRawTag(141, 1); |
| | 18107 | | output.WriteFloat(PaddingTop); |
| | 18108 | | } |
| | 18109 | | if (HasPaddingRight) { |
| | 18110 | | output.WriteRawTag(149, 1); |
| | 18111 | | output.WriteFloat(PaddingRight); |
| | 18112 | | } |
| | 18113 | | if (HasPaddingBottom) { |
| | 18114 | | output.WriteRawTag(157, 1); |
| | 18115 | | output.WriteFloat(PaddingBottom); |
| | 18116 | | } |
| | 18117 | | if (HasPaddingLeft) { |
| | 18118 | | output.WriteRawTag(165, 1); |
| | 18119 | | output.WriteFloat(PaddingLeft); |
| | 18120 | | } |
| | 18121 | | if (HasShadowBlur) { |
| | 18122 | | output.WriteRawTag(173, 1); |
| | 18123 | | output.WriteFloat(ShadowBlur); |
| | 18124 | | } |
| | 18125 | | if (HasShadowOffsetX) { |
| | 18126 | | output.WriteRawTag(181, 1); |
| | 18127 | | output.WriteFloat(ShadowOffsetX); |
| | 18128 | | } |
| | 18129 | | if (HasShadowOffsetY) { |
| | 18130 | | output.WriteRawTag(189, 1); |
| | 18131 | | output.WriteFloat(ShadowOffsetY); |
| | 18132 | | } |
| | 18133 | | if (shadowColor_ != null) { |
| | 18134 | | output.WriteRawTag(194, 1); |
| | 18135 | | output.WriteMessage(ShadowColor); |
| | 18136 | | } |
| | 18137 | | if (HasText) { |
| | 18138 | | output.WriteRawTag(202, 1); |
| | 18139 | | output.WriteString(Text); |
| | 18140 | | } |
| | 18141 | | if (HasParentComponent) { |
| | 18142 | | output.WriteRawTag(210, 1); |
| | 18143 | | output.WriteString(ParentComponent); |
| | 18144 | | } |
| | 18145 | | if (_unknownFields != null) { |
| | 18146 | | _unknownFields.WriteTo(output); |
| | 18147 | | } |
| | 18148 | | #endif |
| | 18149 | | } |
| | 18150 | |
|
| | 18151 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18152 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18153 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18154 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 18155 | | if (HasName) { |
| | 18156 | | output.WriteRawTag(10); |
| | 18157 | | output.WriteString(Name); |
| | 18158 | | } |
| | 18159 | | if (HasVisible) { |
| | 18160 | | output.WriteRawTag(16); |
| | 18161 | | output.WriteBool(Visible); |
| | 18162 | | } |
| | 18163 | | if (HasOpacity) { |
| | 18164 | | output.WriteRawTag(29); |
| | 18165 | | output.WriteFloat(Opacity); |
| | 18166 | | } |
| | 18167 | | if (HasHAlign) { |
| | 18168 | | output.WriteRawTag(34); |
| | 18169 | | output.WriteString(HAlign); |
| | 18170 | | } |
| | 18171 | | if (HasVAlign) { |
| | 18172 | | output.WriteRawTag(42); |
| | 18173 | | output.WriteString(VAlign); |
| | 18174 | | } |
| | 18175 | | if (width_ != null) { |
| | 18176 | | output.WriteRawTag(50); |
| | 18177 | | output.WriteMessage(Width); |
| | 18178 | | } |
| | 18179 | | if (height_ != null) { |
| | 18180 | | output.WriteRawTag(58); |
| | 18181 | | output.WriteMessage(Height); |
| | 18182 | | } |
| | 18183 | | if (positionX_ != null) { |
| | 18184 | | output.WriteRawTag(66); |
| | 18185 | | output.WriteMessage(PositionX); |
| | 18186 | | } |
| | 18187 | | if (positionY_ != null) { |
| | 18188 | | output.WriteRawTag(74); |
| | 18189 | | output.WriteMessage(PositionY); |
| | 18190 | | } |
| | 18191 | | if (HasIsPointerBlocker) { |
| | 18192 | | output.WriteRawTag(80); |
| | 18193 | | output.WriteBool(IsPointerBlocker); |
| | 18194 | | } |
| | 18195 | | if (HasFontSize) { |
| | 18196 | | output.WriteRawTag(93); |
| | 18197 | | output.WriteFloat(FontSize); |
| | 18198 | | } |
| | 18199 | | if (HasFontWeight) { |
| | 18200 | | output.WriteRawTag(98); |
| | 18201 | | output.WriteString(FontWeight); |
| | 18202 | | } |
| | 18203 | | if (HasThickness) { |
| | 18204 | | output.WriteRawTag(109); |
| | 18205 | | output.WriteFloat(Thickness); |
| | 18206 | | } |
| | 18207 | | if (HasCornerRadius) { |
| | 18208 | | output.WriteRawTag(117); |
| | 18209 | | output.WriteFloat(CornerRadius); |
| | 18210 | | } |
| | 18211 | | if (color_ != null) { |
| | 18212 | | output.WriteRawTag(122); |
| | 18213 | | output.WriteMessage(Color); |
| | 18214 | | } |
| | 18215 | | if (background_ != null) { |
| | 18216 | | output.WriteRawTag(130, 1); |
| | 18217 | | output.WriteMessage(Background); |
| | 18218 | | } |
| | 18219 | | if (HasPaddingTop) { |
| | 18220 | | output.WriteRawTag(141, 1); |
| | 18221 | | output.WriteFloat(PaddingTop); |
| | 18222 | | } |
| | 18223 | | if (HasPaddingRight) { |
| | 18224 | | output.WriteRawTag(149, 1); |
| | 18225 | | output.WriteFloat(PaddingRight); |
| | 18226 | | } |
| | 18227 | | if (HasPaddingBottom) { |
| | 18228 | | output.WriteRawTag(157, 1); |
| | 18229 | | output.WriteFloat(PaddingBottom); |
| | 18230 | | } |
| | 18231 | | if (HasPaddingLeft) { |
| | 18232 | | output.WriteRawTag(165, 1); |
| | 18233 | | output.WriteFloat(PaddingLeft); |
| | 18234 | | } |
| | 18235 | | if (HasShadowBlur) { |
| | 18236 | | output.WriteRawTag(173, 1); |
| | 18237 | | output.WriteFloat(ShadowBlur); |
| | 18238 | | } |
| | 18239 | | if (HasShadowOffsetX) { |
| | 18240 | | output.WriteRawTag(181, 1); |
| | 18241 | | output.WriteFloat(ShadowOffsetX); |
| | 18242 | | } |
| | 18243 | | if (HasShadowOffsetY) { |
| | 18244 | | output.WriteRawTag(189, 1); |
| | 18245 | | output.WriteFloat(ShadowOffsetY); |
| | 18246 | | } |
| | 18247 | | if (shadowColor_ != null) { |
| | 18248 | | output.WriteRawTag(194, 1); |
| | 18249 | | output.WriteMessage(ShadowColor); |
| | 18250 | | } |
| | 18251 | | if (HasText) { |
| | 18252 | | output.WriteRawTag(202, 1); |
| | 18253 | | output.WriteString(Text); |
| | 18254 | | } |
| | 18255 | | if (HasParentComponent) { |
| | 18256 | | output.WriteRawTag(210, 1); |
| | 18257 | | output.WriteString(ParentComponent); |
| | 18258 | | } |
| | 18259 | | if (_unknownFields != null) { |
| | 18260 | | _unknownFields.WriteTo(ref output); |
| | 18261 | | } |
| | 18262 | | } |
| | 18263 | | #endif |
| | 18264 | |
|
| | 18265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18267 | | public int CalculateSize() { |
| | 18268 | | int size = 0; |
| | 18269 | | if (HasName) { |
| | 18270 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 18271 | | } |
| | 18272 | | if (HasVisible) { |
| | 18273 | | size += 1 + 1; |
| | 18274 | | } |
| | 18275 | | if (HasOpacity) { |
| | 18276 | | size += 1 + 4; |
| | 18277 | | } |
| | 18278 | | if (HasHAlign) { |
| | 18279 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 18280 | | } |
| | 18281 | | if (HasVAlign) { |
| | 18282 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 18283 | | } |
| | 18284 | | if (width_ != null) { |
| | 18285 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 18286 | | } |
| | 18287 | | if (height_ != null) { |
| | 18288 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 18289 | | } |
| | 18290 | | if (positionX_ != null) { |
| | 18291 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 18292 | | } |
| | 18293 | | if (positionY_ != null) { |
| | 18294 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 18295 | | } |
| | 18296 | | if (HasIsPointerBlocker) { |
| | 18297 | | size += 1 + 1; |
| | 18298 | | } |
| | 18299 | | if (HasParentComponent) { |
| | 18300 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 18301 | | } |
| | 18302 | | if (HasFontSize) { |
| | 18303 | | size += 1 + 4; |
| | 18304 | | } |
| | 18305 | | if (HasFontWeight) { |
| | 18306 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 18307 | | } |
| | 18308 | | if (HasThickness) { |
| | 18309 | | size += 1 + 4; |
| | 18310 | | } |
| | 18311 | | if (HasCornerRadius) { |
| | 18312 | | size += 1 + 4; |
| | 18313 | | } |
| | 18314 | | if (color_ != null) { |
| | 18315 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 18316 | | } |
| | 18317 | | if (background_ != null) { |
| | 18318 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Background); |
| | 18319 | | } |
| | 18320 | | if (HasPaddingTop) { |
| | 18321 | | size += 2 + 4; |
| | 18322 | | } |
| | 18323 | | if (HasPaddingRight) { |
| | 18324 | | size += 2 + 4; |
| | 18325 | | } |
| | 18326 | | if (HasPaddingBottom) { |
| | 18327 | | size += 2 + 4; |
| | 18328 | | } |
| | 18329 | | if (HasPaddingLeft) { |
| | 18330 | | size += 2 + 4; |
| | 18331 | | } |
| | 18332 | | if (HasShadowBlur) { |
| | 18333 | | size += 2 + 4; |
| | 18334 | | } |
| | 18335 | | if (HasShadowOffsetX) { |
| | 18336 | | size += 2 + 4; |
| | 18337 | | } |
| | 18338 | | if (HasShadowOffsetY) { |
| | 18339 | | size += 2 + 4; |
| | 18340 | | } |
| | 18341 | | if (shadowColor_ != null) { |
| | 18342 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 18343 | | } |
| | 18344 | | if (HasText) { |
| | 18345 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Text); |
| | 18346 | | } |
| | 18347 | | if (_unknownFields != null) { |
| | 18348 | | size += _unknownFields.CalculateSize(); |
| | 18349 | | } |
| | 18350 | | return size; |
| | 18351 | | } |
| | 18352 | |
|
| | 18353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18355 | | public void MergeFrom(ECS6ComponentUiButton other) { |
| | 18356 | | if (other == null) { |
| | 18357 | | return; |
| | 18358 | | } |
| | 18359 | | if (other.HasName) { |
| | 18360 | | Name = other.Name; |
| | 18361 | | } |
| | 18362 | | if (other.HasVisible) { |
| | 18363 | | Visible = other.Visible; |
| | 18364 | | } |
| | 18365 | | if (other.HasOpacity) { |
| | 18366 | | Opacity = other.Opacity; |
| | 18367 | | } |
| | 18368 | | if (other.HasHAlign) { |
| | 18369 | | HAlign = other.HAlign; |
| | 18370 | | } |
| | 18371 | | if (other.HasVAlign) { |
| | 18372 | | VAlign = other.VAlign; |
| | 18373 | | } |
| | 18374 | | if (other.width_ != null) { |
| | 18375 | | if (width_ == null) { |
| | 18376 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18377 | | } |
| | 18378 | | Width.MergeFrom(other.Width); |
| | 18379 | | } |
| | 18380 | | if (other.height_ != null) { |
| | 18381 | | if (height_ == null) { |
| | 18382 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18383 | | } |
| | 18384 | | Height.MergeFrom(other.Height); |
| | 18385 | | } |
| | 18386 | | if (other.positionX_ != null) { |
| | 18387 | | if (positionX_ == null) { |
| | 18388 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18389 | | } |
| | 18390 | | PositionX.MergeFrom(other.PositionX); |
| | 18391 | | } |
| | 18392 | | if (other.positionY_ != null) { |
| | 18393 | | if (positionY_ == null) { |
| | 18394 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18395 | | } |
| | 18396 | | PositionY.MergeFrom(other.PositionY); |
| | 18397 | | } |
| | 18398 | | if (other.HasIsPointerBlocker) { |
| | 18399 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 18400 | | } |
| | 18401 | | if (other.HasParentComponent) { |
| | 18402 | | ParentComponent = other.ParentComponent; |
| | 18403 | | } |
| | 18404 | | if (other.HasFontSize) { |
| | 18405 | | FontSize = other.FontSize; |
| | 18406 | | } |
| | 18407 | | if (other.HasFontWeight) { |
| | 18408 | | FontWeight = other.FontWeight; |
| | 18409 | | } |
| | 18410 | | if (other.HasThickness) { |
| | 18411 | | Thickness = other.Thickness; |
| | 18412 | | } |
| | 18413 | | if (other.HasCornerRadius) { |
| | 18414 | | CornerRadius = other.CornerRadius; |
| | 18415 | | } |
| | 18416 | | if (other.color_ != null) { |
| | 18417 | | if (color_ == null) { |
| | 18418 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18419 | | } |
| | 18420 | | Color.MergeFrom(other.Color); |
| | 18421 | | } |
| | 18422 | | if (other.background_ != null) { |
| | 18423 | | if (background_ == null) { |
| | 18424 | | Background = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18425 | | } |
| | 18426 | | Background.MergeFrom(other.Background); |
| | 18427 | | } |
| | 18428 | | if (other.HasPaddingTop) { |
| | 18429 | | PaddingTop = other.PaddingTop; |
| | 18430 | | } |
| | 18431 | | if (other.HasPaddingRight) { |
| | 18432 | | PaddingRight = other.PaddingRight; |
| | 18433 | | } |
| | 18434 | | if (other.HasPaddingBottom) { |
| | 18435 | | PaddingBottom = other.PaddingBottom; |
| | 18436 | | } |
| | 18437 | | if (other.HasPaddingLeft) { |
| | 18438 | | PaddingLeft = other.PaddingLeft; |
| | 18439 | | } |
| | 18440 | | if (other.HasShadowBlur) { |
| | 18441 | | ShadowBlur = other.ShadowBlur; |
| | 18442 | | } |
| | 18443 | | if (other.HasShadowOffsetX) { |
| | 18444 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 18445 | | } |
| | 18446 | | if (other.HasShadowOffsetY) { |
| | 18447 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 18448 | | } |
| | 18449 | | if (other.shadowColor_ != null) { |
| | 18450 | | if (shadowColor_ == null) { |
| | 18451 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18452 | | } |
| | 18453 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 18454 | | } |
| | 18455 | | if (other.HasText) { |
| | 18456 | | Text = other.Text; |
| | 18457 | | } |
| | 18458 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 18459 | | } |
| | 18460 | |
|
| | 18461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18463 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 18464 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18465 | | input.ReadRawMessage(this); |
| | 18466 | | #else |
| | 18467 | | uint tag; |
| | 18468 | | while ((tag = input.ReadTag()) != 0) { |
| | 18469 | | switch(tag) { |
| | 18470 | | default: |
| | 18471 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 18472 | | break; |
| | 18473 | | case 10: { |
| | 18474 | | Name = input.ReadString(); |
| | 18475 | | break; |
| | 18476 | | } |
| | 18477 | | case 16: { |
| | 18478 | | Visible = input.ReadBool(); |
| | 18479 | | break; |
| | 18480 | | } |
| | 18481 | | case 29: { |
| | 18482 | | Opacity = input.ReadFloat(); |
| | 18483 | | break; |
| | 18484 | | } |
| | 18485 | | case 34: { |
| | 18486 | | HAlign = input.ReadString(); |
| | 18487 | | break; |
| | 18488 | | } |
| | 18489 | | case 42: { |
| | 18490 | | VAlign = input.ReadString(); |
| | 18491 | | break; |
| | 18492 | | } |
| | 18493 | | case 50: { |
| | 18494 | | if (width_ == null) { |
| | 18495 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18496 | | } |
| | 18497 | | input.ReadMessage(Width); |
| | 18498 | | break; |
| | 18499 | | } |
| | 18500 | | case 58: { |
| | 18501 | | if (height_ == null) { |
| | 18502 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18503 | | } |
| | 18504 | | input.ReadMessage(Height); |
| | 18505 | | break; |
| | 18506 | | } |
| | 18507 | | case 66: { |
| | 18508 | | if (positionX_ == null) { |
| | 18509 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18510 | | } |
| | 18511 | | input.ReadMessage(PositionX); |
| | 18512 | | break; |
| | 18513 | | } |
| | 18514 | | case 74: { |
| | 18515 | | if (positionY_ == null) { |
| | 18516 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18517 | | } |
| | 18518 | | input.ReadMessage(PositionY); |
| | 18519 | | break; |
| | 18520 | | } |
| | 18521 | | case 80: { |
| | 18522 | | IsPointerBlocker = input.ReadBool(); |
| | 18523 | | break; |
| | 18524 | | } |
| | 18525 | | case 93: { |
| | 18526 | | FontSize = input.ReadFloat(); |
| | 18527 | | break; |
| | 18528 | | } |
| | 18529 | | case 98: { |
| | 18530 | | FontWeight = input.ReadString(); |
| | 18531 | | break; |
| | 18532 | | } |
| | 18533 | | case 109: { |
| | 18534 | | Thickness = input.ReadFloat(); |
| | 18535 | | break; |
| | 18536 | | } |
| | 18537 | | case 117: { |
| | 18538 | | CornerRadius = input.ReadFloat(); |
| | 18539 | | break; |
| | 18540 | | } |
| | 18541 | | case 122: { |
| | 18542 | | if (color_ == null) { |
| | 18543 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18544 | | } |
| | 18545 | | input.ReadMessage(Color); |
| | 18546 | | break; |
| | 18547 | | } |
| | 18548 | | case 130: { |
| | 18549 | | if (background_ == null) { |
| | 18550 | | Background = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18551 | | } |
| | 18552 | | input.ReadMessage(Background); |
| | 18553 | | break; |
| | 18554 | | } |
| | 18555 | | case 141: { |
| | 18556 | | PaddingTop = input.ReadFloat(); |
| | 18557 | | break; |
| | 18558 | | } |
| | 18559 | | case 149: { |
| | 18560 | | PaddingRight = input.ReadFloat(); |
| | 18561 | | break; |
| | 18562 | | } |
| | 18563 | | case 157: { |
| | 18564 | | PaddingBottom = input.ReadFloat(); |
| | 18565 | | break; |
| | 18566 | | } |
| | 18567 | | case 165: { |
| | 18568 | | PaddingLeft = input.ReadFloat(); |
| | 18569 | | break; |
| | 18570 | | } |
| | 18571 | | case 173: { |
| | 18572 | | ShadowBlur = input.ReadFloat(); |
| | 18573 | | break; |
| | 18574 | | } |
| | 18575 | | case 181: { |
| | 18576 | | ShadowOffsetX = input.ReadFloat(); |
| | 18577 | | break; |
| | 18578 | | } |
| | 18579 | | case 189: { |
| | 18580 | | ShadowOffsetY = input.ReadFloat(); |
| | 18581 | | break; |
| | 18582 | | } |
| | 18583 | | case 194: { |
| | 18584 | | if (shadowColor_ == null) { |
| | 18585 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18586 | | } |
| | 18587 | | input.ReadMessage(ShadowColor); |
| | 18588 | | break; |
| | 18589 | | } |
| | 18590 | | case 202: { |
| | 18591 | | Text = input.ReadString(); |
| | 18592 | | break; |
| | 18593 | | } |
| | 18594 | | case 210: { |
| | 18595 | | ParentComponent = input.ReadString(); |
| | 18596 | | break; |
| | 18597 | | } |
| | 18598 | | } |
| | 18599 | | } |
| | 18600 | | #endif |
| | 18601 | | } |
| | 18602 | |
|
| | 18603 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18604 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18605 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18606 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 18607 | | uint tag; |
| | 18608 | | while ((tag = input.ReadTag()) != 0) { |
| | 18609 | | switch(tag) { |
| | 18610 | | default: |
| | 18611 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 18612 | | break; |
| | 18613 | | case 10: { |
| | 18614 | | Name = input.ReadString(); |
| | 18615 | | break; |
| | 18616 | | } |
| | 18617 | | case 16: { |
| | 18618 | | Visible = input.ReadBool(); |
| | 18619 | | break; |
| | 18620 | | } |
| | 18621 | | case 29: { |
| | 18622 | | Opacity = input.ReadFloat(); |
| | 18623 | | break; |
| | 18624 | | } |
| | 18625 | | case 34: { |
| | 18626 | | HAlign = input.ReadString(); |
| | 18627 | | break; |
| | 18628 | | } |
| | 18629 | | case 42: { |
| | 18630 | | VAlign = input.ReadString(); |
| | 18631 | | break; |
| | 18632 | | } |
| | 18633 | | case 50: { |
| | 18634 | | if (width_ == null) { |
| | 18635 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18636 | | } |
| | 18637 | | input.ReadMessage(Width); |
| | 18638 | | break; |
| | 18639 | | } |
| | 18640 | | case 58: { |
| | 18641 | | if (height_ == null) { |
| | 18642 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18643 | | } |
| | 18644 | | input.ReadMessage(Height); |
| | 18645 | | break; |
| | 18646 | | } |
| | 18647 | | case 66: { |
| | 18648 | | if (positionX_ == null) { |
| | 18649 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18650 | | } |
| | 18651 | | input.ReadMessage(PositionX); |
| | 18652 | | break; |
| | 18653 | | } |
| | 18654 | | case 74: { |
| | 18655 | | if (positionY_ == null) { |
| | 18656 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 18657 | | } |
| | 18658 | | input.ReadMessage(PositionY); |
| | 18659 | | break; |
| | 18660 | | } |
| | 18661 | | case 80: { |
| | 18662 | | IsPointerBlocker = input.ReadBool(); |
| | 18663 | | break; |
| | 18664 | | } |
| | 18665 | | case 93: { |
| | 18666 | | FontSize = input.ReadFloat(); |
| | 18667 | | break; |
| | 18668 | | } |
| | 18669 | | case 98: { |
| | 18670 | | FontWeight = input.ReadString(); |
| | 18671 | | break; |
| | 18672 | | } |
| | 18673 | | case 109: { |
| | 18674 | | Thickness = input.ReadFloat(); |
| | 18675 | | break; |
| | 18676 | | } |
| | 18677 | | case 117: { |
| | 18678 | | CornerRadius = input.ReadFloat(); |
| | 18679 | | break; |
| | 18680 | | } |
| | 18681 | | case 122: { |
| | 18682 | | if (color_ == null) { |
| | 18683 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18684 | | } |
| | 18685 | | input.ReadMessage(Color); |
| | 18686 | | break; |
| | 18687 | | } |
| | 18688 | | case 130: { |
| | 18689 | | if (background_ == null) { |
| | 18690 | | Background = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18691 | | } |
| | 18692 | | input.ReadMessage(Background); |
| | 18693 | | break; |
| | 18694 | | } |
| | 18695 | | case 141: { |
| | 18696 | | PaddingTop = input.ReadFloat(); |
| | 18697 | | break; |
| | 18698 | | } |
| | 18699 | | case 149: { |
| | 18700 | | PaddingRight = input.ReadFloat(); |
| | 18701 | | break; |
| | 18702 | | } |
| | 18703 | | case 157: { |
| | 18704 | | PaddingBottom = input.ReadFloat(); |
| | 18705 | | break; |
| | 18706 | | } |
| | 18707 | | case 165: { |
| | 18708 | | PaddingLeft = input.ReadFloat(); |
| | 18709 | | break; |
| | 18710 | | } |
| | 18711 | | case 173: { |
| | 18712 | | ShadowBlur = input.ReadFloat(); |
| | 18713 | | break; |
| | 18714 | | } |
| | 18715 | | case 181: { |
| | 18716 | | ShadowOffsetX = input.ReadFloat(); |
| | 18717 | | break; |
| | 18718 | | } |
| | 18719 | | case 189: { |
| | 18720 | | ShadowOffsetY = input.ReadFloat(); |
| | 18721 | | break; |
| | 18722 | | } |
| | 18723 | | case 194: { |
| | 18724 | | if (shadowColor_ == null) { |
| | 18725 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 18726 | | } |
| | 18727 | | input.ReadMessage(ShadowColor); |
| | 18728 | | break; |
| | 18729 | | } |
| | 18730 | | case 202: { |
| | 18731 | | Text = input.ReadString(); |
| | 18732 | | break; |
| | 18733 | | } |
| | 18734 | | case 210: { |
| | 18735 | | ParentComponent = input.ReadString(); |
| | 18736 | | break; |
| | 18737 | | } |
| | 18738 | | } |
| | 18739 | | } |
| | 18740 | | } |
| | 18741 | | #endif |
| | 18742 | |
|
| | 18743 | | } |
| | 18744 | |
|
| | 18745 | | /// <summary> |
| | 18746 | | /// CLASS_ID.UI_TEXT_SHAPE |
| | 18747 | | /// </summary> |
| | 18748 | | public sealed partial class ECS6ComponentUiText : pb::IMessage<ECS6ComponentUiText> |
| | 18749 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18750 | | , pb::IBufferMessage |
| | 18751 | | #endif |
| | 18752 | | { |
| | 18753 | | private static readonly pb::MessageParser<ECS6ComponentUiText> _parser = new pb::MessageParser<ECS6ComponentUiText>( |
| | 18754 | | private pb::UnknownFieldSet _unknownFields; |
| | 18755 | | private int _hasBits0; |
| | 18756 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18757 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18758 | | public static pb::MessageParser<ECS6ComponentUiText> Parser { get { return _parser; } } |
| | 18759 | |
|
| | 18760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18762 | | public static pbr::MessageDescriptor Descriptor { |
| | 18763 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[37]; } |
| | 18764 | | } |
| | 18765 | |
|
| | 18766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18768 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 18769 | | get { return Descriptor; } |
| | 18770 | | } |
| | 18771 | |
|
| | 18772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18774 | | public ECS6ComponentUiText() { |
| | 18775 | | OnConstruction(); |
| | 18776 | | } |
| | 18777 | |
|
| | 18778 | | partial void OnConstruction(); |
| | 18779 | |
|
| | 18780 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18781 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18782 | | public ECS6ComponentUiText(ECS6ComponentUiText other) : this() { |
| | 18783 | | _hasBits0 = other._hasBits0; |
| | 18784 | | name_ = other.name_; |
| | 18785 | | visible_ = other.visible_; |
| | 18786 | | opacity_ = other.opacity_; |
| | 18787 | | hAlign_ = other.hAlign_; |
| | 18788 | | vAlign_ = other.vAlign_; |
| | 18789 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 18790 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 18791 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 18792 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 18793 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 18794 | | parentComponent_ = other.parentComponent_; |
| | 18795 | | outlineWidth_ = other.outlineWidth_; |
| | 18796 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 18797 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 18798 | | fontSize_ = other.fontSize_; |
| | 18799 | | fontAutoSize_ = other.fontAutoSize_; |
| | 18800 | | font_ = other.font_; |
| | 18801 | | value_ = other.value_; |
| | 18802 | | lineSpacing_ = other.lineSpacing_; |
| | 18803 | | lineCount_ = other.lineCount_; |
| | 18804 | | adaptWidth_ = other.adaptWidth_; |
| | 18805 | | adaptHeight_ = other.adaptHeight_; |
| | 18806 | | textWrapping_ = other.textWrapping_; |
| | 18807 | | shadowBlur_ = other.shadowBlur_; |
| | 18808 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 18809 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 18810 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 18811 | | hTextAlign_ = other.hTextAlign_; |
| | 18812 | | vTextAlign_ = other.vTextAlign_; |
| | 18813 | | paddingTop_ = other.paddingTop_; |
| | 18814 | | paddingRight_ = other.paddingRight_; |
| | 18815 | | paddingBottom_ = other.paddingBottom_; |
| | 18816 | | paddingLeft_ = other.paddingLeft_; |
| | 18817 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 18818 | | } |
| | 18819 | |
|
| | 18820 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18821 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18822 | | public ECS6ComponentUiText Clone() { |
| | 18823 | | return new ECS6ComponentUiText(this); |
| | 18824 | | } |
| | 18825 | |
|
| | 18826 | | /// <summary>Field number for the "name" field.</summary> |
| | 18827 | | public const int NameFieldNumber = 1; |
| | 18828 | | private string name_; |
| | 18829 | | /// <summary> |
| | 18830 | | /// UiShape |
| | 18831 | | /// </summary> |
| | 18832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18834 | | public string Name { |
| | 18835 | | get { return name_ ?? ""; } |
| | 18836 | | set { |
| | 18837 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18838 | | } |
| | 18839 | | } |
| | 18840 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 18841 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18842 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18843 | | public bool HasName { |
| | 18844 | | get { return name_ != null; } |
| | 18845 | | } |
| | 18846 | | /// <summary>Clears the value of the "name" field</summary> |
| | 18847 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18848 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18849 | | public void ClearName() { |
| | 18850 | | name_ = null; |
| | 18851 | | } |
| | 18852 | |
|
| | 18853 | | /// <summary>Field number for the "visible" field.</summary> |
| | 18854 | | public const int VisibleFieldNumber = 2; |
| | 18855 | | private bool visible_; |
| | 18856 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18857 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18858 | | public bool Visible { |
| | 18859 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 18860 | | set { |
| | 18861 | | _hasBits0 |= 1; |
| | 18862 | | visible_ = value; |
| | 18863 | | } |
| | 18864 | | } |
| | 18865 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 18866 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18867 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18868 | | public bool HasVisible { |
| | 18869 | | get { return (_hasBits0 & 1) != 0; } |
| | 18870 | | } |
| | 18871 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 18872 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18873 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18874 | | public void ClearVisible() { |
| | 18875 | | _hasBits0 &= ~1; |
| | 18876 | | } |
| | 18877 | |
|
| | 18878 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 18879 | | public const int OpacityFieldNumber = 3; |
| | 18880 | | private float opacity_; |
| | 18881 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18882 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18883 | | public float Opacity { |
| | 18884 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 18885 | | set { |
| | 18886 | | _hasBits0 |= 2; |
| | 18887 | | opacity_ = value; |
| | 18888 | | } |
| | 18889 | | } |
| | 18890 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 18891 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18892 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18893 | | public bool HasOpacity { |
| | 18894 | | get { return (_hasBits0 & 2) != 0; } |
| | 18895 | | } |
| | 18896 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 18897 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18898 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18899 | | public void ClearOpacity() { |
| | 18900 | | _hasBits0 &= ~2; |
| | 18901 | | } |
| | 18902 | |
|
| | 18903 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 18904 | | public const int HAlignFieldNumber = 4; |
| | 18905 | | private string hAlign_; |
| | 18906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18908 | | public string HAlign { |
| | 18909 | | get { return hAlign_ ?? ""; } |
| | 18910 | | set { |
| | 18911 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18912 | | } |
| | 18913 | | } |
| | 18914 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 18915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18917 | | public bool HasHAlign { |
| | 18918 | | get { return hAlign_ != null; } |
| | 18919 | | } |
| | 18920 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 18921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18923 | | public void ClearHAlign() { |
| | 18924 | | hAlign_ = null; |
| | 18925 | | } |
| | 18926 | |
|
| | 18927 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 18928 | | public const int VAlignFieldNumber = 5; |
| | 18929 | | private string vAlign_; |
| | 18930 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18931 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18932 | | public string VAlign { |
| | 18933 | | get { return vAlign_ ?? ""; } |
| | 18934 | | set { |
| | 18935 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18936 | | } |
| | 18937 | | } |
| | 18938 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 18939 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18940 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18941 | | public bool HasVAlign { |
| | 18942 | | get { return vAlign_ != null; } |
| | 18943 | | } |
| | 18944 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 18945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18947 | | public void ClearVAlign() { |
| | 18948 | | vAlign_ = null; |
| | 18949 | | } |
| | 18950 | |
|
| | 18951 | | /// <summary>Field number for the "width" field.</summary> |
| | 18952 | | public const int WidthFieldNumber = 6; |
| | 18953 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 18954 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18955 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18956 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 18957 | | get { return width_; } |
| | 18958 | | set { |
| | 18959 | | width_ = value; |
| | 18960 | | } |
| | 18961 | | } |
| | 18962 | |
|
| | 18963 | | /// <summary>Field number for the "height" field.</summary> |
| | 18964 | | public const int HeightFieldNumber = 7; |
| | 18965 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 18966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18968 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 18969 | | get { return height_; } |
| | 18970 | | set { |
| | 18971 | | height_ = value; |
| | 18972 | | } |
| | 18973 | | } |
| | 18974 | |
|
| | 18975 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 18976 | | public const int PositionXFieldNumber = 8; |
| | 18977 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 18978 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18979 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18980 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 18981 | | get { return positionX_; } |
| | 18982 | | set { |
| | 18983 | | positionX_ = value; |
| | 18984 | | } |
| | 18985 | | } |
| | 18986 | |
|
| | 18987 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 18988 | | public const int PositionYFieldNumber = 9; |
| | 18989 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 18990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18992 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 18993 | | get { return positionY_; } |
| | 18994 | | set { |
| | 18995 | | positionY_ = value; |
| | 18996 | | } |
| | 18997 | | } |
| | 18998 | |
|
| | 18999 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 19000 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 19001 | | private bool isPointerBlocker_; |
| | 19002 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19003 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19004 | | public bool IsPointerBlocker { |
| | 19005 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 19006 | | set { |
| | 19007 | | _hasBits0 |= 4; |
| | 19008 | | isPointerBlocker_ = value; |
| | 19009 | | } |
| | 19010 | | } |
| | 19011 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 19012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19014 | | public bool HasIsPointerBlocker { |
| | 19015 | | get { return (_hasBits0 & 4) != 0; } |
| | 19016 | | } |
| | 19017 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 19018 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19019 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19020 | | public void ClearIsPointerBlocker() { |
| | 19021 | | _hasBits0 &= ~4; |
| | 19022 | | } |
| | 19023 | |
|
| | 19024 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 19025 | | public const int ParentComponentFieldNumber = 33; |
| | 19026 | | private string parentComponent_; |
| | 19027 | | /// <summary> |
| | 19028 | | /// UiShape |
| | 19029 | | /// </summary> |
| | 19030 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19031 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19032 | | public string ParentComponent { |
| | 19033 | | get { return parentComponent_ ?? ""; } |
| | 19034 | | set { |
| | 19035 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19036 | | } |
| | 19037 | | } |
| | 19038 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 19039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19041 | | public bool HasParentComponent { |
| | 19042 | | get { return parentComponent_ != null; } |
| | 19043 | | } |
| | 19044 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 19045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19047 | | public void ClearParentComponent() { |
| | 19048 | | parentComponent_ = null; |
| | 19049 | | } |
| | 19050 | |
|
| | 19051 | | /// <summary>Field number for the "outline_width" field.</summary> |
| | 19052 | | public const int OutlineWidthFieldNumber = 11; |
| | 19053 | | private float outlineWidth_; |
| | 19054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19056 | | public float OutlineWidth { |
| | 19057 | | get { if ((_hasBits0 & 8) != 0) { return outlineWidth_; } else { return 0F; } } |
| | 19058 | | set { |
| | 19059 | | _hasBits0 |= 8; |
| | 19060 | | outlineWidth_ = value; |
| | 19061 | | } |
| | 19062 | | } |
| | 19063 | | /// <summary>Gets whether the "outline_width" field is set</summary> |
| | 19064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19066 | | public bool HasOutlineWidth { |
| | 19067 | | get { return (_hasBits0 & 8) != 0; } |
| | 19068 | | } |
| | 19069 | | /// <summary>Clears the value of the "outline_width" field</summary> |
| | 19070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19072 | | public void ClearOutlineWidth() { |
| | 19073 | | _hasBits0 &= ~8; |
| | 19074 | | } |
| | 19075 | |
|
| | 19076 | | /// <summary>Field number for the "outline_color" field.</summary> |
| | 19077 | | public const int OutlineColorFieldNumber = 12; |
| | 19078 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 outlineColor_; |
| | 19079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19081 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 OutlineColor { |
| | 19082 | | get { return outlineColor_; } |
| | 19083 | | set { |
| | 19084 | | outlineColor_ = value; |
| | 19085 | | } |
| | 19086 | | } |
| | 19087 | |
|
| | 19088 | | /// <summary>Field number for the "color" field.</summary> |
| | 19089 | | public const int ColorFieldNumber = 13; |
| | 19090 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 color_; |
| | 19091 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19092 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19093 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Color { |
| | 19094 | | get { return color_; } |
| | 19095 | | set { |
| | 19096 | | color_ = value; |
| | 19097 | | } |
| | 19098 | | } |
| | 19099 | |
|
| | 19100 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 19101 | | public const int FontSizeFieldNumber = 14; |
| | 19102 | | private float fontSize_; |
| | 19103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19105 | | public float FontSize { |
| | 19106 | | get { if ((_hasBits0 & 16) != 0) { return fontSize_; } else { return 0F; } } |
| | 19107 | | set { |
| | 19108 | | _hasBits0 |= 16; |
| | 19109 | | fontSize_ = value; |
| | 19110 | | } |
| | 19111 | | } |
| | 19112 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 19113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19115 | | public bool HasFontSize { |
| | 19116 | | get { return (_hasBits0 & 16) != 0; } |
| | 19117 | | } |
| | 19118 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 19119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19121 | | public void ClearFontSize() { |
| | 19122 | | _hasBits0 &= ~16; |
| | 19123 | | } |
| | 19124 | |
|
| | 19125 | | /// <summary>Field number for the "font_auto_size" field.</summary> |
| | 19126 | | public const int FontAutoSizeFieldNumber = 15; |
| | 19127 | | private bool fontAutoSize_; |
| | 19128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19130 | | public bool FontAutoSize { |
| | 19131 | | get { if ((_hasBits0 & 32) != 0) { return fontAutoSize_; } else { return false; } } |
| | 19132 | | set { |
| | 19133 | | _hasBits0 |= 32; |
| | 19134 | | fontAutoSize_ = value; |
| | 19135 | | } |
| | 19136 | | } |
| | 19137 | | /// <summary>Gets whether the "font_auto_size" field is set</summary> |
| | 19138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19140 | | public bool HasFontAutoSize { |
| | 19141 | | get { return (_hasBits0 & 32) != 0; } |
| | 19142 | | } |
| | 19143 | | /// <summary>Clears the value of the "font_auto_size" field</summary> |
| | 19144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19146 | | public void ClearFontAutoSize() { |
| | 19147 | | _hasBits0 &= ~32; |
| | 19148 | | } |
| | 19149 | |
|
| | 19150 | | /// <summary>Field number for the "font" field.</summary> |
| | 19151 | | public const int FontFieldNumber = 16; |
| | 19152 | | private string font_; |
| | 19153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19155 | | public string Font { |
| | 19156 | | get { return font_ ?? ""; } |
| | 19157 | | set { |
| | 19158 | | font_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19159 | | } |
| | 19160 | | } |
| | 19161 | | /// <summary>Gets whether the "font" field is set</summary> |
| | 19162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19164 | | public bool HasFont { |
| | 19165 | | get { return font_ != null; } |
| | 19166 | | } |
| | 19167 | | /// <summary>Clears the value of the "font" field</summary> |
| | 19168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19170 | | public void ClearFont() { |
| | 19171 | | font_ = null; |
| | 19172 | | } |
| | 19173 | |
|
| | 19174 | | /// <summary>Field number for the "value" field.</summary> |
| | 19175 | | public const int ValueFieldNumber = 17; |
| | 19176 | | private string value_; |
| | 19177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19179 | | public string Value { |
| | 19180 | | get { return value_ ?? ""; } |
| | 19181 | | set { |
| | 19182 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19183 | | } |
| | 19184 | | } |
| | 19185 | | /// <summary>Gets whether the "value" field is set</summary> |
| | 19186 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19187 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19188 | | public bool HasValue { |
| | 19189 | | get { return value_ != null; } |
| | 19190 | | } |
| | 19191 | | /// <summary>Clears the value of the "value" field</summary> |
| | 19192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19194 | | public void ClearValue() { |
| | 19195 | | value_ = null; |
| | 19196 | | } |
| | 19197 | |
|
| | 19198 | | /// <summary>Field number for the "line_spacing" field.</summary> |
| | 19199 | | public const int LineSpacingFieldNumber = 18; |
| | 19200 | | private float lineSpacing_; |
| | 19201 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19202 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19203 | | public float LineSpacing { |
| | 19204 | | get { if ((_hasBits0 & 64) != 0) { return lineSpacing_; } else { return 0F; } } |
| | 19205 | | set { |
| | 19206 | | _hasBits0 |= 64; |
| | 19207 | | lineSpacing_ = value; |
| | 19208 | | } |
| | 19209 | | } |
| | 19210 | | /// <summary>Gets whether the "line_spacing" field is set</summary> |
| | 19211 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19212 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19213 | | public bool HasLineSpacing { |
| | 19214 | | get { return (_hasBits0 & 64) != 0; } |
| | 19215 | | } |
| | 19216 | | /// <summary>Clears the value of the "line_spacing" field</summary> |
| | 19217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19219 | | public void ClearLineSpacing() { |
| | 19220 | | _hasBits0 &= ~64; |
| | 19221 | | } |
| | 19222 | |
|
| | 19223 | | /// <summary>Field number for the "line_count" field.</summary> |
| | 19224 | | public const int LineCountFieldNumber = 19; |
| | 19225 | | private int lineCount_; |
| | 19226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19228 | | public int LineCount { |
| | 19229 | | get { if ((_hasBits0 & 128) != 0) { return lineCount_; } else { return 0; } } |
| | 19230 | | set { |
| | 19231 | | _hasBits0 |= 128; |
| | 19232 | | lineCount_ = value; |
| | 19233 | | } |
| | 19234 | | } |
| | 19235 | | /// <summary>Gets whether the "line_count" field is set</summary> |
| | 19236 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19237 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19238 | | public bool HasLineCount { |
| | 19239 | | get { return (_hasBits0 & 128) != 0; } |
| | 19240 | | } |
| | 19241 | | /// <summary>Clears the value of the "line_count" field</summary> |
| | 19242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19244 | | public void ClearLineCount() { |
| | 19245 | | _hasBits0 &= ~128; |
| | 19246 | | } |
| | 19247 | |
|
| | 19248 | | /// <summary>Field number for the "adapt_width" field.</summary> |
| | 19249 | | public const int AdaptWidthFieldNumber = 20; |
| | 19250 | | private bool adaptWidth_; |
| | 19251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19253 | | public bool AdaptWidth { |
| | 19254 | | get { if ((_hasBits0 & 256) != 0) { return adaptWidth_; } else { return false; } } |
| | 19255 | | set { |
| | 19256 | | _hasBits0 |= 256; |
| | 19257 | | adaptWidth_ = value; |
| | 19258 | | } |
| | 19259 | | } |
| | 19260 | | /// <summary>Gets whether the "adapt_width" field is set</summary> |
| | 19261 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19262 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19263 | | public bool HasAdaptWidth { |
| | 19264 | | get { return (_hasBits0 & 256) != 0; } |
| | 19265 | | } |
| | 19266 | | /// <summary>Clears the value of the "adapt_width" field</summary> |
| | 19267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19269 | | public void ClearAdaptWidth() { |
| | 19270 | | _hasBits0 &= ~256; |
| | 19271 | | } |
| | 19272 | |
|
| | 19273 | | /// <summary>Field number for the "adapt_height" field.</summary> |
| | 19274 | | public const int AdaptHeightFieldNumber = 21; |
| | 19275 | | private bool adaptHeight_; |
| | 19276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19278 | | public bool AdaptHeight { |
| | 19279 | | get { if ((_hasBits0 & 512) != 0) { return adaptHeight_; } else { return false; } } |
| | 19280 | | set { |
| | 19281 | | _hasBits0 |= 512; |
| | 19282 | | adaptHeight_ = value; |
| | 19283 | | } |
| | 19284 | | } |
| | 19285 | | /// <summary>Gets whether the "adapt_height" field is set</summary> |
| | 19286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19288 | | public bool HasAdaptHeight { |
| | 19289 | | get { return (_hasBits0 & 512) != 0; } |
| | 19290 | | } |
| | 19291 | | /// <summary>Clears the value of the "adapt_height" field</summary> |
| | 19292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19294 | | public void ClearAdaptHeight() { |
| | 19295 | | _hasBits0 &= ~512; |
| | 19296 | | } |
| | 19297 | |
|
| | 19298 | | /// <summary>Field number for the "text_wrapping" field.</summary> |
| | 19299 | | public const int TextWrappingFieldNumber = 22; |
| | 19300 | | private bool textWrapping_; |
| | 19301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19303 | | public bool TextWrapping { |
| | 19304 | | get { if ((_hasBits0 & 1024) != 0) { return textWrapping_; } else { return false; } } |
| | 19305 | | set { |
| | 19306 | | _hasBits0 |= 1024; |
| | 19307 | | textWrapping_ = value; |
| | 19308 | | } |
| | 19309 | | } |
| | 19310 | | /// <summary>Gets whether the "text_wrapping" field is set</summary> |
| | 19311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19313 | | public bool HasTextWrapping { |
| | 19314 | | get { return (_hasBits0 & 1024) != 0; } |
| | 19315 | | } |
| | 19316 | | /// <summary>Clears the value of the "text_wrapping" field</summary> |
| | 19317 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19318 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19319 | | public void ClearTextWrapping() { |
| | 19320 | | _hasBits0 &= ~1024; |
| | 19321 | | } |
| | 19322 | |
|
| | 19323 | | /// <summary>Field number for the "shadow_blur" field.</summary> |
| | 19324 | | public const int ShadowBlurFieldNumber = 23; |
| | 19325 | | private float shadowBlur_; |
| | 19326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19328 | | public float ShadowBlur { |
| | 19329 | | get { if ((_hasBits0 & 2048) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 19330 | | set { |
| | 19331 | | _hasBits0 |= 2048; |
| | 19332 | | shadowBlur_ = value; |
| | 19333 | | } |
| | 19334 | | } |
| | 19335 | | /// <summary>Gets whether the "shadow_blur" field is set</summary> |
| | 19336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19338 | | public bool HasShadowBlur { |
| | 19339 | | get { return (_hasBits0 & 2048) != 0; } |
| | 19340 | | } |
| | 19341 | | /// <summary>Clears the value of the "shadow_blur" field</summary> |
| | 19342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19344 | | public void ClearShadowBlur() { |
| | 19345 | | _hasBits0 &= ~2048; |
| | 19346 | | } |
| | 19347 | |
|
| | 19348 | | /// <summary>Field number for the "shadow_offset_x" field.</summary> |
| | 19349 | | public const int ShadowOffsetXFieldNumber = 24; |
| | 19350 | | private float shadowOffsetX_; |
| | 19351 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19352 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19353 | | public float ShadowOffsetX { |
| | 19354 | | get { if ((_hasBits0 & 4096) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 19355 | | set { |
| | 19356 | | _hasBits0 |= 4096; |
| | 19357 | | shadowOffsetX_ = value; |
| | 19358 | | } |
| | 19359 | | } |
| | 19360 | | /// <summary>Gets whether the "shadow_offset_x" field is set</summary> |
| | 19361 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19362 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19363 | | public bool HasShadowOffsetX { |
| | 19364 | | get { return (_hasBits0 & 4096) != 0; } |
| | 19365 | | } |
| | 19366 | | /// <summary>Clears the value of the "shadow_offset_x" field</summary> |
| | 19367 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19368 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19369 | | public void ClearShadowOffsetX() { |
| | 19370 | | _hasBits0 &= ~4096; |
| | 19371 | | } |
| | 19372 | |
|
| | 19373 | | /// <summary>Field number for the "shadow_offset_y" field.</summary> |
| | 19374 | | public const int ShadowOffsetYFieldNumber = 25; |
| | 19375 | | private float shadowOffsetY_; |
| | 19376 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19377 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19378 | | public float ShadowOffsetY { |
| | 19379 | | get { if ((_hasBits0 & 8192) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 19380 | | set { |
| | 19381 | | _hasBits0 |= 8192; |
| | 19382 | | shadowOffsetY_ = value; |
| | 19383 | | } |
| | 19384 | | } |
| | 19385 | | /// <summary>Gets whether the "shadow_offset_y" field is set</summary> |
| | 19386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19388 | | public bool HasShadowOffsetY { |
| | 19389 | | get { return (_hasBits0 & 8192) != 0; } |
| | 19390 | | } |
| | 19391 | | /// <summary>Clears the value of the "shadow_offset_y" field</summary> |
| | 19392 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19393 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19394 | | public void ClearShadowOffsetY() { |
| | 19395 | | _hasBits0 &= ~8192; |
| | 19396 | | } |
| | 19397 | |
|
| | 19398 | | /// <summary>Field number for the "shadow_color" field.</summary> |
| | 19399 | | public const int ShadowColorFieldNumber = 26; |
| | 19400 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 shadowColor_; |
| | 19401 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19402 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19403 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 ShadowColor { |
| | 19404 | | get { return shadowColor_; } |
| | 19405 | | set { |
| | 19406 | | shadowColor_ = value; |
| | 19407 | | } |
| | 19408 | | } |
| | 19409 | |
|
| | 19410 | | /// <summary>Field number for the "h_text_align" field.</summary> |
| | 19411 | | public const int HTextAlignFieldNumber = 27; |
| | 19412 | | private string hTextAlign_; |
| | 19413 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19414 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19415 | | public string HTextAlign { |
| | 19416 | | get { return hTextAlign_ ?? ""; } |
| | 19417 | | set { |
| | 19418 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19419 | | } |
| | 19420 | | } |
| | 19421 | | /// <summary>Gets whether the "h_text_align" field is set</summary> |
| | 19422 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19423 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19424 | | public bool HasHTextAlign { |
| | 19425 | | get { return hTextAlign_ != null; } |
| | 19426 | | } |
| | 19427 | | /// <summary>Clears the value of the "h_text_align" field</summary> |
| | 19428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19430 | | public void ClearHTextAlign() { |
| | 19431 | | hTextAlign_ = null; |
| | 19432 | | } |
| | 19433 | |
|
| | 19434 | | /// <summary>Field number for the "v_text_align" field.</summary> |
| | 19435 | | public const int VTextAlignFieldNumber = 28; |
| | 19436 | | private string vTextAlign_; |
| | 19437 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19438 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19439 | | public string VTextAlign { |
| | 19440 | | get { return vTextAlign_ ?? ""; } |
| | 19441 | | set { |
| | 19442 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19443 | | } |
| | 19444 | | } |
| | 19445 | | /// <summary>Gets whether the "v_text_align" field is set</summary> |
| | 19446 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19447 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19448 | | public bool HasVTextAlign { |
| | 19449 | | get { return vTextAlign_ != null; } |
| | 19450 | | } |
| | 19451 | | /// <summary>Clears the value of the "v_text_align" field</summary> |
| | 19452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19454 | | public void ClearVTextAlign() { |
| | 19455 | | vTextAlign_ = null; |
| | 19456 | | } |
| | 19457 | |
|
| | 19458 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 19459 | | public const int PaddingTopFieldNumber = 29; |
| | 19460 | | private float paddingTop_; |
| | 19461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19463 | | public float PaddingTop { |
| | 19464 | | get { if ((_hasBits0 & 16384) != 0) { return paddingTop_; } else { return 0F; } } |
| | 19465 | | set { |
| | 19466 | | _hasBits0 |= 16384; |
| | 19467 | | paddingTop_ = value; |
| | 19468 | | } |
| | 19469 | | } |
| | 19470 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 19471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19473 | | public bool HasPaddingTop { |
| | 19474 | | get { return (_hasBits0 & 16384) != 0; } |
| | 19475 | | } |
| | 19476 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 19477 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19478 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19479 | | public void ClearPaddingTop() { |
| | 19480 | | _hasBits0 &= ~16384; |
| | 19481 | | } |
| | 19482 | |
|
| | 19483 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 19484 | | public const int PaddingRightFieldNumber = 30; |
| | 19485 | | private float paddingRight_; |
| | 19486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19488 | | public float PaddingRight { |
| | 19489 | | get { if ((_hasBits0 & 32768) != 0) { return paddingRight_; } else { return 0F; } } |
| | 19490 | | set { |
| | 19491 | | _hasBits0 |= 32768; |
| | 19492 | | paddingRight_ = value; |
| | 19493 | | } |
| | 19494 | | } |
| | 19495 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 19496 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19497 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19498 | | public bool HasPaddingRight { |
| | 19499 | | get { return (_hasBits0 & 32768) != 0; } |
| | 19500 | | } |
| | 19501 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 19502 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19503 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19504 | | public void ClearPaddingRight() { |
| | 19505 | | _hasBits0 &= ~32768; |
| | 19506 | | } |
| | 19507 | |
|
| | 19508 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 19509 | | public const int PaddingBottomFieldNumber = 31; |
| | 19510 | | private float paddingBottom_; |
| | 19511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19513 | | public float PaddingBottom { |
| | 19514 | | get { if ((_hasBits0 & 65536) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 19515 | | set { |
| | 19516 | | _hasBits0 |= 65536; |
| | 19517 | | paddingBottom_ = value; |
| | 19518 | | } |
| | 19519 | | } |
| | 19520 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 19521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19523 | | public bool HasPaddingBottom { |
| | 19524 | | get { return (_hasBits0 & 65536) != 0; } |
| | 19525 | | } |
| | 19526 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 19527 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19528 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19529 | | public void ClearPaddingBottom() { |
| | 19530 | | _hasBits0 &= ~65536; |
| | 19531 | | } |
| | 19532 | |
|
| | 19533 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 19534 | | public const int PaddingLeftFieldNumber = 32; |
| | 19535 | | private float paddingLeft_; |
| | 19536 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19537 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19538 | | public float PaddingLeft { |
| | 19539 | | get { if ((_hasBits0 & 131072) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 19540 | | set { |
| | 19541 | | _hasBits0 |= 131072; |
| | 19542 | | paddingLeft_ = value; |
| | 19543 | | } |
| | 19544 | | } |
| | 19545 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 19546 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19547 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19548 | | public bool HasPaddingLeft { |
| | 19549 | | get { return (_hasBits0 & 131072) != 0; } |
| | 19550 | | } |
| | 19551 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 19552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19554 | | public void ClearPaddingLeft() { |
| | 19555 | | _hasBits0 &= ~131072; |
| | 19556 | | } |
| | 19557 | |
|
| | 19558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19560 | | public override bool Equals(object other) { |
| | 19561 | | return Equals(other as ECS6ComponentUiText); |
| | 19562 | | } |
| | 19563 | |
|
| | 19564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19566 | | public bool Equals(ECS6ComponentUiText other) { |
| | 19567 | | if (ReferenceEquals(other, null)) { |
| | 19568 | | return false; |
| | 19569 | | } |
| | 19570 | | if (ReferenceEquals(other, this)) { |
| | 19571 | | return true; |
| | 19572 | | } |
| | 19573 | | if (Name != other.Name) return false; |
| | 19574 | | if (Visible != other.Visible) return false; |
| | 19575 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 19576 | | if (HAlign != other.HAlign) return false; |
| | 19577 | | if (VAlign != other.VAlign) return false; |
| | 19578 | | if (!object.Equals(Width, other.Width)) return false; |
| | 19579 | | if (!object.Equals(Height, other.Height)) return false; |
| | 19580 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 19581 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 19582 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 19583 | | if (ParentComponent != other.ParentComponent) return false; |
| | 19584 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 19585 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 19586 | | if (!object.Equals(Color, other.Color)) return false; |
| | 19587 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 19588 | | if (FontAutoSize != other.FontAutoSize) return false; |
| | 19589 | | if (Font != other.Font) return false; |
| | 19590 | | if (Value != other.Value) return false; |
| | 19591 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f |
| | 19592 | | if (LineCount != other.LineCount) return false; |
| | 19593 | | if (AdaptWidth != other.AdaptWidth) return false; |
| | 19594 | | if (AdaptHeight != other.AdaptHeight) return false; |
| | 19595 | | if (TextWrapping != other.TextWrapping) return false; |
| | 19596 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 19597 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 19598 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 19599 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 19600 | | if (HTextAlign != other.HTextAlign) return false; |
| | 19601 | | if (VTextAlign != other.VTextAlign) return false; |
| | 19602 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 19603 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 19604 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 19605 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 19606 | | return Equals(_unknownFields, other._unknownFields); |
| | 19607 | | } |
| | 19608 | |
|
| | 19609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19611 | | public override int GetHashCode() { |
| | 19612 | | int hash = 1; |
| | 19613 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 19614 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 19615 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 19616 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 19617 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 19618 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 19619 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 19620 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 19621 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 19622 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 19623 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 19624 | | if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth |
| | 19625 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 19626 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 19627 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 19628 | | if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode(); |
| | 19629 | | if (HasFont) hash ^= Font.GetHashCode(); |
| | 19630 | | if (HasValue) hash ^= Value.GetHashCode(); |
| | 19631 | | if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing); |
| | 19632 | | if (HasLineCount) hash ^= LineCount.GetHashCode(); |
| | 19633 | | if (HasAdaptWidth) hash ^= AdaptWidth.GetHashCode(); |
| | 19634 | | if (HasAdaptHeight) hash ^= AdaptHeight.GetHashCode(); |
| | 19635 | | if (HasTextWrapping) hash ^= TextWrapping.GetHashCode(); |
| | 19636 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| | 19637 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 19638 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 19639 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 19640 | | if (HasHTextAlign) hash ^= HTextAlign.GetHashCode(); |
| | 19641 | | if (HasVTextAlign) hash ^= VTextAlign.GetHashCode(); |
| | 19642 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 19643 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 19644 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 19645 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 19646 | | if (_unknownFields != null) { |
| | 19647 | | hash ^= _unknownFields.GetHashCode(); |
| | 19648 | | } |
| | 19649 | | return hash; |
| | 19650 | | } |
| | 19651 | |
|
| | 19652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19654 | | public override string ToString() { |
| | 19655 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 19656 | | } |
| | 19657 | |
|
| | 19658 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19659 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19660 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 19661 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19662 | | output.WriteRawMessage(this); |
| | 19663 | | #else |
| | 19664 | | if (HasName) { |
| | 19665 | | output.WriteRawTag(10); |
| | 19666 | | output.WriteString(Name); |
| | 19667 | | } |
| | 19668 | | if (HasVisible) { |
| | 19669 | | output.WriteRawTag(16); |
| | 19670 | | output.WriteBool(Visible); |
| | 19671 | | } |
| | 19672 | | if (HasOpacity) { |
| | 19673 | | output.WriteRawTag(29); |
| | 19674 | | output.WriteFloat(Opacity); |
| | 19675 | | } |
| | 19676 | | if (HasHAlign) { |
| | 19677 | | output.WriteRawTag(34); |
| | 19678 | | output.WriteString(HAlign); |
| | 19679 | | } |
| | 19680 | | if (HasVAlign) { |
| | 19681 | | output.WriteRawTag(42); |
| | 19682 | | output.WriteString(VAlign); |
| | 19683 | | } |
| | 19684 | | if (width_ != null) { |
| | 19685 | | output.WriteRawTag(50); |
| | 19686 | | output.WriteMessage(Width); |
| | 19687 | | } |
| | 19688 | | if (height_ != null) { |
| | 19689 | | output.WriteRawTag(58); |
| | 19690 | | output.WriteMessage(Height); |
| | 19691 | | } |
| | 19692 | | if (positionX_ != null) { |
| | 19693 | | output.WriteRawTag(66); |
| | 19694 | | output.WriteMessage(PositionX); |
| | 19695 | | } |
| | 19696 | | if (positionY_ != null) { |
| | 19697 | | output.WriteRawTag(74); |
| | 19698 | | output.WriteMessage(PositionY); |
| | 19699 | | } |
| | 19700 | | if (HasIsPointerBlocker) { |
| | 19701 | | output.WriteRawTag(80); |
| | 19702 | | output.WriteBool(IsPointerBlocker); |
| | 19703 | | } |
| | 19704 | | if (HasOutlineWidth) { |
| | 19705 | | output.WriteRawTag(93); |
| | 19706 | | output.WriteFloat(OutlineWidth); |
| | 19707 | | } |
| | 19708 | | if (outlineColor_ != null) { |
| | 19709 | | output.WriteRawTag(98); |
| | 19710 | | output.WriteMessage(OutlineColor); |
| | 19711 | | } |
| | 19712 | | if (color_ != null) { |
| | 19713 | | output.WriteRawTag(106); |
| | 19714 | | output.WriteMessage(Color); |
| | 19715 | | } |
| | 19716 | | if (HasFontSize) { |
| | 19717 | | output.WriteRawTag(117); |
| | 19718 | | output.WriteFloat(FontSize); |
| | 19719 | | } |
| | 19720 | | if (HasFontAutoSize) { |
| | 19721 | | output.WriteRawTag(120); |
| | 19722 | | output.WriteBool(FontAutoSize); |
| | 19723 | | } |
| | 19724 | | if (HasFont) { |
| | 19725 | | output.WriteRawTag(130, 1); |
| | 19726 | | output.WriteString(Font); |
| | 19727 | | } |
| | 19728 | | if (HasValue) { |
| | 19729 | | output.WriteRawTag(138, 1); |
| | 19730 | | output.WriteString(Value); |
| | 19731 | | } |
| | 19732 | | if (HasLineSpacing) { |
| | 19733 | | output.WriteRawTag(149, 1); |
| | 19734 | | output.WriteFloat(LineSpacing); |
| | 19735 | | } |
| | 19736 | | if (HasLineCount) { |
| | 19737 | | output.WriteRawTag(152, 1); |
| | 19738 | | output.WriteInt32(LineCount); |
| | 19739 | | } |
| | 19740 | | if (HasAdaptWidth) { |
| | 19741 | | output.WriteRawTag(160, 1); |
| | 19742 | | output.WriteBool(AdaptWidth); |
| | 19743 | | } |
| | 19744 | | if (HasAdaptHeight) { |
| | 19745 | | output.WriteRawTag(168, 1); |
| | 19746 | | output.WriteBool(AdaptHeight); |
| | 19747 | | } |
| | 19748 | | if (HasTextWrapping) { |
| | 19749 | | output.WriteRawTag(176, 1); |
| | 19750 | | output.WriteBool(TextWrapping); |
| | 19751 | | } |
| | 19752 | | if (HasShadowBlur) { |
| | 19753 | | output.WriteRawTag(189, 1); |
| | 19754 | | output.WriteFloat(ShadowBlur); |
| | 19755 | | } |
| | 19756 | | if (HasShadowOffsetX) { |
| | 19757 | | output.WriteRawTag(197, 1); |
| | 19758 | | output.WriteFloat(ShadowOffsetX); |
| | 19759 | | } |
| | 19760 | | if (HasShadowOffsetY) { |
| | 19761 | | output.WriteRawTag(205, 1); |
| | 19762 | | output.WriteFloat(ShadowOffsetY); |
| | 19763 | | } |
| | 19764 | | if (shadowColor_ != null) { |
| | 19765 | | output.WriteRawTag(210, 1); |
| | 19766 | | output.WriteMessage(ShadowColor); |
| | 19767 | | } |
| | 19768 | | if (HasHTextAlign) { |
| | 19769 | | output.WriteRawTag(218, 1); |
| | 19770 | | output.WriteString(HTextAlign); |
| | 19771 | | } |
| | 19772 | | if (HasVTextAlign) { |
| | 19773 | | output.WriteRawTag(226, 1); |
| | 19774 | | output.WriteString(VTextAlign); |
| | 19775 | | } |
| | 19776 | | if (HasPaddingTop) { |
| | 19777 | | output.WriteRawTag(237, 1); |
| | 19778 | | output.WriteFloat(PaddingTop); |
| | 19779 | | } |
| | 19780 | | if (HasPaddingRight) { |
| | 19781 | | output.WriteRawTag(245, 1); |
| | 19782 | | output.WriteFloat(PaddingRight); |
| | 19783 | | } |
| | 19784 | | if (HasPaddingBottom) { |
| | 19785 | | output.WriteRawTag(253, 1); |
| | 19786 | | output.WriteFloat(PaddingBottom); |
| | 19787 | | } |
| | 19788 | | if (HasPaddingLeft) { |
| | 19789 | | output.WriteRawTag(133, 2); |
| | 19790 | | output.WriteFloat(PaddingLeft); |
| | 19791 | | } |
| | 19792 | | if (HasParentComponent) { |
| | 19793 | | output.WriteRawTag(138, 2); |
| | 19794 | | output.WriteString(ParentComponent); |
| | 19795 | | } |
| | 19796 | | if (_unknownFields != null) { |
| | 19797 | | _unknownFields.WriteTo(output); |
| | 19798 | | } |
| | 19799 | | #endif |
| | 19800 | | } |
| | 19801 | |
|
| | 19802 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19803 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19804 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19805 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 19806 | | if (HasName) { |
| | 19807 | | output.WriteRawTag(10); |
| | 19808 | | output.WriteString(Name); |
| | 19809 | | } |
| | 19810 | | if (HasVisible) { |
| | 19811 | | output.WriteRawTag(16); |
| | 19812 | | output.WriteBool(Visible); |
| | 19813 | | } |
| | 19814 | | if (HasOpacity) { |
| | 19815 | | output.WriteRawTag(29); |
| | 19816 | | output.WriteFloat(Opacity); |
| | 19817 | | } |
| | 19818 | | if (HasHAlign) { |
| | 19819 | | output.WriteRawTag(34); |
| | 19820 | | output.WriteString(HAlign); |
| | 19821 | | } |
| | 19822 | | if (HasVAlign) { |
| | 19823 | | output.WriteRawTag(42); |
| | 19824 | | output.WriteString(VAlign); |
| | 19825 | | } |
| | 19826 | | if (width_ != null) { |
| | 19827 | | output.WriteRawTag(50); |
| | 19828 | | output.WriteMessage(Width); |
| | 19829 | | } |
| | 19830 | | if (height_ != null) { |
| | 19831 | | output.WriteRawTag(58); |
| | 19832 | | output.WriteMessage(Height); |
| | 19833 | | } |
| | 19834 | | if (positionX_ != null) { |
| | 19835 | | output.WriteRawTag(66); |
| | 19836 | | output.WriteMessage(PositionX); |
| | 19837 | | } |
| | 19838 | | if (positionY_ != null) { |
| | 19839 | | output.WriteRawTag(74); |
| | 19840 | | output.WriteMessage(PositionY); |
| | 19841 | | } |
| | 19842 | | if (HasIsPointerBlocker) { |
| | 19843 | | output.WriteRawTag(80); |
| | 19844 | | output.WriteBool(IsPointerBlocker); |
| | 19845 | | } |
| | 19846 | | if (HasOutlineWidth) { |
| | 19847 | | output.WriteRawTag(93); |
| | 19848 | | output.WriteFloat(OutlineWidth); |
| | 19849 | | } |
| | 19850 | | if (outlineColor_ != null) { |
| | 19851 | | output.WriteRawTag(98); |
| | 19852 | | output.WriteMessage(OutlineColor); |
| | 19853 | | } |
| | 19854 | | if (color_ != null) { |
| | 19855 | | output.WriteRawTag(106); |
| | 19856 | | output.WriteMessage(Color); |
| | 19857 | | } |
| | 19858 | | if (HasFontSize) { |
| | 19859 | | output.WriteRawTag(117); |
| | 19860 | | output.WriteFloat(FontSize); |
| | 19861 | | } |
| | 19862 | | if (HasFontAutoSize) { |
| | 19863 | | output.WriteRawTag(120); |
| | 19864 | | output.WriteBool(FontAutoSize); |
| | 19865 | | } |
| | 19866 | | if (HasFont) { |
| | 19867 | | output.WriteRawTag(130, 1); |
| | 19868 | | output.WriteString(Font); |
| | 19869 | | } |
| | 19870 | | if (HasValue) { |
| | 19871 | | output.WriteRawTag(138, 1); |
| | 19872 | | output.WriteString(Value); |
| | 19873 | | } |
| | 19874 | | if (HasLineSpacing) { |
| | 19875 | | output.WriteRawTag(149, 1); |
| | 19876 | | output.WriteFloat(LineSpacing); |
| | 19877 | | } |
| | 19878 | | if (HasLineCount) { |
| | 19879 | | output.WriteRawTag(152, 1); |
| | 19880 | | output.WriteInt32(LineCount); |
| | 19881 | | } |
| | 19882 | | if (HasAdaptWidth) { |
| | 19883 | | output.WriteRawTag(160, 1); |
| | 19884 | | output.WriteBool(AdaptWidth); |
| | 19885 | | } |
| | 19886 | | if (HasAdaptHeight) { |
| | 19887 | | output.WriteRawTag(168, 1); |
| | 19888 | | output.WriteBool(AdaptHeight); |
| | 19889 | | } |
| | 19890 | | if (HasTextWrapping) { |
| | 19891 | | output.WriteRawTag(176, 1); |
| | 19892 | | output.WriteBool(TextWrapping); |
| | 19893 | | } |
| | 19894 | | if (HasShadowBlur) { |
| | 19895 | | output.WriteRawTag(189, 1); |
| | 19896 | | output.WriteFloat(ShadowBlur); |
| | 19897 | | } |
| | 19898 | | if (HasShadowOffsetX) { |
| | 19899 | | output.WriteRawTag(197, 1); |
| | 19900 | | output.WriteFloat(ShadowOffsetX); |
| | 19901 | | } |
| | 19902 | | if (HasShadowOffsetY) { |
| | 19903 | | output.WriteRawTag(205, 1); |
| | 19904 | | output.WriteFloat(ShadowOffsetY); |
| | 19905 | | } |
| | 19906 | | if (shadowColor_ != null) { |
| | 19907 | | output.WriteRawTag(210, 1); |
| | 19908 | | output.WriteMessage(ShadowColor); |
| | 19909 | | } |
| | 19910 | | if (HasHTextAlign) { |
| | 19911 | | output.WriteRawTag(218, 1); |
| | 19912 | | output.WriteString(HTextAlign); |
| | 19913 | | } |
| | 19914 | | if (HasVTextAlign) { |
| | 19915 | | output.WriteRawTag(226, 1); |
| | 19916 | | output.WriteString(VTextAlign); |
| | 19917 | | } |
| | 19918 | | if (HasPaddingTop) { |
| | 19919 | | output.WriteRawTag(237, 1); |
| | 19920 | | output.WriteFloat(PaddingTop); |
| | 19921 | | } |
| | 19922 | | if (HasPaddingRight) { |
| | 19923 | | output.WriteRawTag(245, 1); |
| | 19924 | | output.WriteFloat(PaddingRight); |
| | 19925 | | } |
| | 19926 | | if (HasPaddingBottom) { |
| | 19927 | | output.WriteRawTag(253, 1); |
| | 19928 | | output.WriteFloat(PaddingBottom); |
| | 19929 | | } |
| | 19930 | | if (HasPaddingLeft) { |
| | 19931 | | output.WriteRawTag(133, 2); |
| | 19932 | | output.WriteFloat(PaddingLeft); |
| | 19933 | | } |
| | 19934 | | if (HasParentComponent) { |
| | 19935 | | output.WriteRawTag(138, 2); |
| | 19936 | | output.WriteString(ParentComponent); |
| | 19937 | | } |
| | 19938 | | if (_unknownFields != null) { |
| | 19939 | | _unknownFields.WriteTo(ref output); |
| | 19940 | | } |
| | 19941 | | } |
| | 19942 | | #endif |
| | 19943 | |
|
| | 19944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19946 | | public int CalculateSize() { |
| | 19947 | | int size = 0; |
| | 19948 | | if (HasName) { |
| | 19949 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 19950 | | } |
| | 19951 | | if (HasVisible) { |
| | 19952 | | size += 1 + 1; |
| | 19953 | | } |
| | 19954 | | if (HasOpacity) { |
| | 19955 | | size += 1 + 4; |
| | 19956 | | } |
| | 19957 | | if (HasHAlign) { |
| | 19958 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 19959 | | } |
| | 19960 | | if (HasVAlign) { |
| | 19961 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 19962 | | } |
| | 19963 | | if (width_ != null) { |
| | 19964 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 19965 | | } |
| | 19966 | | if (height_ != null) { |
| | 19967 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 19968 | | } |
| | 19969 | | if (positionX_ != null) { |
| | 19970 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 19971 | | } |
| | 19972 | | if (positionY_ != null) { |
| | 19973 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 19974 | | } |
| | 19975 | | if (HasIsPointerBlocker) { |
| | 19976 | | size += 1 + 1; |
| | 19977 | | } |
| | 19978 | | if (HasParentComponent) { |
| | 19979 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 19980 | | } |
| | 19981 | | if (HasOutlineWidth) { |
| | 19982 | | size += 1 + 4; |
| | 19983 | | } |
| | 19984 | | if (outlineColor_ != null) { |
| | 19985 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 19986 | | } |
| | 19987 | | if (color_ != null) { |
| | 19988 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 19989 | | } |
| | 19990 | | if (HasFontSize) { |
| | 19991 | | size += 1 + 4; |
| | 19992 | | } |
| | 19993 | | if (HasFontAutoSize) { |
| | 19994 | | size += 1 + 1; |
| | 19995 | | } |
| | 19996 | | if (HasFont) { |
| | 19997 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Font); |
| | 19998 | | } |
| | 19999 | | if (HasValue) { |
| | 20000 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 20001 | | } |
| | 20002 | | if (HasLineSpacing) { |
| | 20003 | | size += 2 + 4; |
| | 20004 | | } |
| | 20005 | | if (HasLineCount) { |
| | 20006 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount); |
| | 20007 | | } |
| | 20008 | | if (HasAdaptWidth) { |
| | 20009 | | size += 2 + 1; |
| | 20010 | | } |
| | 20011 | | if (HasAdaptHeight) { |
| | 20012 | | size += 2 + 1; |
| | 20013 | | } |
| | 20014 | | if (HasTextWrapping) { |
| | 20015 | | size += 2 + 1; |
| | 20016 | | } |
| | 20017 | | if (HasShadowBlur) { |
| | 20018 | | size += 2 + 4; |
| | 20019 | | } |
| | 20020 | | if (HasShadowOffsetX) { |
| | 20021 | | size += 2 + 4; |
| | 20022 | | } |
| | 20023 | | if (HasShadowOffsetY) { |
| | 20024 | | size += 2 + 4; |
| | 20025 | | } |
| | 20026 | | if (shadowColor_ != null) { |
| | 20027 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 20028 | | } |
| | 20029 | | if (HasHTextAlign) { |
| | 20030 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 20031 | | } |
| | 20032 | | if (HasVTextAlign) { |
| | 20033 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 20034 | | } |
| | 20035 | | if (HasPaddingTop) { |
| | 20036 | | size += 2 + 4; |
| | 20037 | | } |
| | 20038 | | if (HasPaddingRight) { |
| | 20039 | | size += 2 + 4; |
| | 20040 | | } |
| | 20041 | | if (HasPaddingBottom) { |
| | 20042 | | size += 2 + 4; |
| | 20043 | | } |
| | 20044 | | if (HasPaddingLeft) { |
| | 20045 | | size += 2 + 4; |
| | 20046 | | } |
| | 20047 | | if (_unknownFields != null) { |
| | 20048 | | size += _unknownFields.CalculateSize(); |
| | 20049 | | } |
| | 20050 | | return size; |
| | 20051 | | } |
| | 20052 | |
|
| | 20053 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20054 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20055 | | public void MergeFrom(ECS6ComponentUiText other) { |
| | 20056 | | if (other == null) { |
| | 20057 | | return; |
| | 20058 | | } |
| | 20059 | | if (other.HasName) { |
| | 20060 | | Name = other.Name; |
| | 20061 | | } |
| | 20062 | | if (other.HasVisible) { |
| | 20063 | | Visible = other.Visible; |
| | 20064 | | } |
| | 20065 | | if (other.HasOpacity) { |
| | 20066 | | Opacity = other.Opacity; |
| | 20067 | | } |
| | 20068 | | if (other.HasHAlign) { |
| | 20069 | | HAlign = other.HAlign; |
| | 20070 | | } |
| | 20071 | | if (other.HasVAlign) { |
| | 20072 | | VAlign = other.VAlign; |
| | 20073 | | } |
| | 20074 | | if (other.width_ != null) { |
| | 20075 | | if (width_ == null) { |
| | 20076 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20077 | | } |
| | 20078 | | Width.MergeFrom(other.Width); |
| | 20079 | | } |
| | 20080 | | if (other.height_ != null) { |
| | 20081 | | if (height_ == null) { |
| | 20082 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20083 | | } |
| | 20084 | | Height.MergeFrom(other.Height); |
| | 20085 | | } |
| | 20086 | | if (other.positionX_ != null) { |
| | 20087 | | if (positionX_ == null) { |
| | 20088 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20089 | | } |
| | 20090 | | PositionX.MergeFrom(other.PositionX); |
| | 20091 | | } |
| | 20092 | | if (other.positionY_ != null) { |
| | 20093 | | if (positionY_ == null) { |
| | 20094 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20095 | | } |
| | 20096 | | PositionY.MergeFrom(other.PositionY); |
| | 20097 | | } |
| | 20098 | | if (other.HasIsPointerBlocker) { |
| | 20099 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 20100 | | } |
| | 20101 | | if (other.HasParentComponent) { |
| | 20102 | | ParentComponent = other.ParentComponent; |
| | 20103 | | } |
| | 20104 | | if (other.HasOutlineWidth) { |
| | 20105 | | OutlineWidth = other.OutlineWidth; |
| | 20106 | | } |
| | 20107 | | if (other.outlineColor_ != null) { |
| | 20108 | | if (outlineColor_ == null) { |
| | 20109 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20110 | | } |
| | 20111 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 20112 | | } |
| | 20113 | | if (other.color_ != null) { |
| | 20114 | | if (color_ == null) { |
| | 20115 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20116 | | } |
| | 20117 | | Color.MergeFrom(other.Color); |
| | 20118 | | } |
| | 20119 | | if (other.HasFontSize) { |
| | 20120 | | FontSize = other.FontSize; |
| | 20121 | | } |
| | 20122 | | if (other.HasFontAutoSize) { |
| | 20123 | | FontAutoSize = other.FontAutoSize; |
| | 20124 | | } |
| | 20125 | | if (other.HasFont) { |
| | 20126 | | Font = other.Font; |
| | 20127 | | } |
| | 20128 | | if (other.HasValue) { |
| | 20129 | | Value = other.Value; |
| | 20130 | | } |
| | 20131 | | if (other.HasLineSpacing) { |
| | 20132 | | LineSpacing = other.LineSpacing; |
| | 20133 | | } |
| | 20134 | | if (other.HasLineCount) { |
| | 20135 | | LineCount = other.LineCount; |
| | 20136 | | } |
| | 20137 | | if (other.HasAdaptWidth) { |
| | 20138 | | AdaptWidth = other.AdaptWidth; |
| | 20139 | | } |
| | 20140 | | if (other.HasAdaptHeight) { |
| | 20141 | | AdaptHeight = other.AdaptHeight; |
| | 20142 | | } |
| | 20143 | | if (other.HasTextWrapping) { |
| | 20144 | | TextWrapping = other.TextWrapping; |
| | 20145 | | } |
| | 20146 | | if (other.HasShadowBlur) { |
| | 20147 | | ShadowBlur = other.ShadowBlur; |
| | 20148 | | } |
| | 20149 | | if (other.HasShadowOffsetX) { |
| | 20150 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 20151 | | } |
| | 20152 | | if (other.HasShadowOffsetY) { |
| | 20153 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 20154 | | } |
| | 20155 | | if (other.shadowColor_ != null) { |
| | 20156 | | if (shadowColor_ == null) { |
| | 20157 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20158 | | } |
| | 20159 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 20160 | | } |
| | 20161 | | if (other.HasHTextAlign) { |
| | 20162 | | HTextAlign = other.HTextAlign; |
| | 20163 | | } |
| | 20164 | | if (other.HasVTextAlign) { |
| | 20165 | | VTextAlign = other.VTextAlign; |
| | 20166 | | } |
| | 20167 | | if (other.HasPaddingTop) { |
| | 20168 | | PaddingTop = other.PaddingTop; |
| | 20169 | | } |
| | 20170 | | if (other.HasPaddingRight) { |
| | 20171 | | PaddingRight = other.PaddingRight; |
| | 20172 | | } |
| | 20173 | | if (other.HasPaddingBottom) { |
| | 20174 | | PaddingBottom = other.PaddingBottom; |
| | 20175 | | } |
| | 20176 | | if (other.HasPaddingLeft) { |
| | 20177 | | PaddingLeft = other.PaddingLeft; |
| | 20178 | | } |
| | 20179 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 20180 | | } |
| | 20181 | |
|
| | 20182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20184 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 20185 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20186 | | input.ReadRawMessage(this); |
| | 20187 | | #else |
| | 20188 | | uint tag; |
| | 20189 | | while ((tag = input.ReadTag()) != 0) { |
| | 20190 | | switch(tag) { |
| | 20191 | | default: |
| | 20192 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 20193 | | break; |
| | 20194 | | case 10: { |
| | 20195 | | Name = input.ReadString(); |
| | 20196 | | break; |
| | 20197 | | } |
| | 20198 | | case 16: { |
| | 20199 | | Visible = input.ReadBool(); |
| | 20200 | | break; |
| | 20201 | | } |
| | 20202 | | case 29: { |
| | 20203 | | Opacity = input.ReadFloat(); |
| | 20204 | | break; |
| | 20205 | | } |
| | 20206 | | case 34: { |
| | 20207 | | HAlign = input.ReadString(); |
| | 20208 | | break; |
| | 20209 | | } |
| | 20210 | | case 42: { |
| | 20211 | | VAlign = input.ReadString(); |
| | 20212 | | break; |
| | 20213 | | } |
| | 20214 | | case 50: { |
| | 20215 | | if (width_ == null) { |
| | 20216 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20217 | | } |
| | 20218 | | input.ReadMessage(Width); |
| | 20219 | | break; |
| | 20220 | | } |
| | 20221 | | case 58: { |
| | 20222 | | if (height_ == null) { |
| | 20223 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20224 | | } |
| | 20225 | | input.ReadMessage(Height); |
| | 20226 | | break; |
| | 20227 | | } |
| | 20228 | | case 66: { |
| | 20229 | | if (positionX_ == null) { |
| | 20230 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20231 | | } |
| | 20232 | | input.ReadMessage(PositionX); |
| | 20233 | | break; |
| | 20234 | | } |
| | 20235 | | case 74: { |
| | 20236 | | if (positionY_ == null) { |
| | 20237 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20238 | | } |
| | 20239 | | input.ReadMessage(PositionY); |
| | 20240 | | break; |
| | 20241 | | } |
| | 20242 | | case 80: { |
| | 20243 | | IsPointerBlocker = input.ReadBool(); |
| | 20244 | | break; |
| | 20245 | | } |
| | 20246 | | case 93: { |
| | 20247 | | OutlineWidth = input.ReadFloat(); |
| | 20248 | | break; |
| | 20249 | | } |
| | 20250 | | case 98: { |
| | 20251 | | if (outlineColor_ == null) { |
| | 20252 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20253 | | } |
| | 20254 | | input.ReadMessage(OutlineColor); |
| | 20255 | | break; |
| | 20256 | | } |
| | 20257 | | case 106: { |
| | 20258 | | if (color_ == null) { |
| | 20259 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20260 | | } |
| | 20261 | | input.ReadMessage(Color); |
| | 20262 | | break; |
| | 20263 | | } |
| | 20264 | | case 117: { |
| | 20265 | | FontSize = input.ReadFloat(); |
| | 20266 | | break; |
| | 20267 | | } |
| | 20268 | | case 120: { |
| | 20269 | | FontAutoSize = input.ReadBool(); |
| | 20270 | | break; |
| | 20271 | | } |
| | 20272 | | case 130: { |
| | 20273 | | Font = input.ReadString(); |
| | 20274 | | break; |
| | 20275 | | } |
| | 20276 | | case 138: { |
| | 20277 | | Value = input.ReadString(); |
| | 20278 | | break; |
| | 20279 | | } |
| | 20280 | | case 149: { |
| | 20281 | | LineSpacing = input.ReadFloat(); |
| | 20282 | | break; |
| | 20283 | | } |
| | 20284 | | case 152: { |
| | 20285 | | LineCount = input.ReadInt32(); |
| | 20286 | | break; |
| | 20287 | | } |
| | 20288 | | case 160: { |
| | 20289 | | AdaptWidth = input.ReadBool(); |
| | 20290 | | break; |
| | 20291 | | } |
| | 20292 | | case 168: { |
| | 20293 | | AdaptHeight = input.ReadBool(); |
| | 20294 | | break; |
| | 20295 | | } |
| | 20296 | | case 176: { |
| | 20297 | | TextWrapping = input.ReadBool(); |
| | 20298 | | break; |
| | 20299 | | } |
| | 20300 | | case 189: { |
| | 20301 | | ShadowBlur = input.ReadFloat(); |
| | 20302 | | break; |
| | 20303 | | } |
| | 20304 | | case 197: { |
| | 20305 | | ShadowOffsetX = input.ReadFloat(); |
| | 20306 | | break; |
| | 20307 | | } |
| | 20308 | | case 205: { |
| | 20309 | | ShadowOffsetY = input.ReadFloat(); |
| | 20310 | | break; |
| | 20311 | | } |
| | 20312 | | case 210: { |
| | 20313 | | if (shadowColor_ == null) { |
| | 20314 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20315 | | } |
| | 20316 | | input.ReadMessage(ShadowColor); |
| | 20317 | | break; |
| | 20318 | | } |
| | 20319 | | case 218: { |
| | 20320 | | HTextAlign = input.ReadString(); |
| | 20321 | | break; |
| | 20322 | | } |
| | 20323 | | case 226: { |
| | 20324 | | VTextAlign = input.ReadString(); |
| | 20325 | | break; |
| | 20326 | | } |
| | 20327 | | case 237: { |
| | 20328 | | PaddingTop = input.ReadFloat(); |
| | 20329 | | break; |
| | 20330 | | } |
| | 20331 | | case 245: { |
| | 20332 | | PaddingRight = input.ReadFloat(); |
| | 20333 | | break; |
| | 20334 | | } |
| | 20335 | | case 253: { |
| | 20336 | | PaddingBottom = input.ReadFloat(); |
| | 20337 | | break; |
| | 20338 | | } |
| | 20339 | | case 261: { |
| | 20340 | | PaddingLeft = input.ReadFloat(); |
| | 20341 | | break; |
| | 20342 | | } |
| | 20343 | | case 266: { |
| | 20344 | | ParentComponent = input.ReadString(); |
| | 20345 | | break; |
| | 20346 | | } |
| | 20347 | | } |
| | 20348 | | } |
| | 20349 | | #endif |
| | 20350 | | } |
| | 20351 | |
|
| | 20352 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20355 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 20356 | | uint tag; |
| | 20357 | | while ((tag = input.ReadTag()) != 0) { |
| | 20358 | | switch(tag) { |
| | 20359 | | default: |
| | 20360 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 20361 | | break; |
| | 20362 | | case 10: { |
| | 20363 | | Name = input.ReadString(); |
| | 20364 | | break; |
| | 20365 | | } |
| | 20366 | | case 16: { |
| | 20367 | | Visible = input.ReadBool(); |
| | 20368 | | break; |
| | 20369 | | } |
| | 20370 | | case 29: { |
| | 20371 | | Opacity = input.ReadFloat(); |
| | 20372 | | break; |
| | 20373 | | } |
| | 20374 | | case 34: { |
| | 20375 | | HAlign = input.ReadString(); |
| | 20376 | | break; |
| | 20377 | | } |
| | 20378 | | case 42: { |
| | 20379 | | VAlign = input.ReadString(); |
| | 20380 | | break; |
| | 20381 | | } |
| | 20382 | | case 50: { |
| | 20383 | | if (width_ == null) { |
| | 20384 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20385 | | } |
| | 20386 | | input.ReadMessage(Width); |
| | 20387 | | break; |
| | 20388 | | } |
| | 20389 | | case 58: { |
| | 20390 | | if (height_ == null) { |
| | 20391 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20392 | | } |
| | 20393 | | input.ReadMessage(Height); |
| | 20394 | | break; |
| | 20395 | | } |
| | 20396 | | case 66: { |
| | 20397 | | if (positionX_ == null) { |
| | 20398 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20399 | | } |
| | 20400 | | input.ReadMessage(PositionX); |
| | 20401 | | break; |
| | 20402 | | } |
| | 20403 | | case 74: { |
| | 20404 | | if (positionY_ == null) { |
| | 20405 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 20406 | | } |
| | 20407 | | input.ReadMessage(PositionY); |
| | 20408 | | break; |
| | 20409 | | } |
| | 20410 | | case 80: { |
| | 20411 | | IsPointerBlocker = input.ReadBool(); |
| | 20412 | | break; |
| | 20413 | | } |
| | 20414 | | case 93: { |
| | 20415 | | OutlineWidth = input.ReadFloat(); |
| | 20416 | | break; |
| | 20417 | | } |
| | 20418 | | case 98: { |
| | 20419 | | if (outlineColor_ == null) { |
| | 20420 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20421 | | } |
| | 20422 | | input.ReadMessage(OutlineColor); |
| | 20423 | | break; |
| | 20424 | | } |
| | 20425 | | case 106: { |
| | 20426 | | if (color_ == null) { |
| | 20427 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20428 | | } |
| | 20429 | | input.ReadMessage(Color); |
| | 20430 | | break; |
| | 20431 | | } |
| | 20432 | | case 117: { |
| | 20433 | | FontSize = input.ReadFloat(); |
| | 20434 | | break; |
| | 20435 | | } |
| | 20436 | | case 120: { |
| | 20437 | | FontAutoSize = input.ReadBool(); |
| | 20438 | | break; |
| | 20439 | | } |
| | 20440 | | case 130: { |
| | 20441 | | Font = input.ReadString(); |
| | 20442 | | break; |
| | 20443 | | } |
| | 20444 | | case 138: { |
| | 20445 | | Value = input.ReadString(); |
| | 20446 | | break; |
| | 20447 | | } |
| | 20448 | | case 149: { |
| | 20449 | | LineSpacing = input.ReadFloat(); |
| | 20450 | | break; |
| | 20451 | | } |
| | 20452 | | case 152: { |
| | 20453 | | LineCount = input.ReadInt32(); |
| | 20454 | | break; |
| | 20455 | | } |
| | 20456 | | case 160: { |
| | 20457 | | AdaptWidth = input.ReadBool(); |
| | 20458 | | break; |
| | 20459 | | } |
| | 20460 | | case 168: { |
| | 20461 | | AdaptHeight = input.ReadBool(); |
| | 20462 | | break; |
| | 20463 | | } |
| | 20464 | | case 176: { |
| | 20465 | | TextWrapping = input.ReadBool(); |
| | 20466 | | break; |
| | 20467 | | } |
| | 20468 | | case 189: { |
| | 20469 | | ShadowBlur = input.ReadFloat(); |
| | 20470 | | break; |
| | 20471 | | } |
| | 20472 | | case 197: { |
| | 20473 | | ShadowOffsetX = input.ReadFloat(); |
| | 20474 | | break; |
| | 20475 | | } |
| | 20476 | | case 205: { |
| | 20477 | | ShadowOffsetY = input.ReadFloat(); |
| | 20478 | | break; |
| | 20479 | | } |
| | 20480 | | case 210: { |
| | 20481 | | if (shadowColor_ == null) { |
| | 20482 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 20483 | | } |
| | 20484 | | input.ReadMessage(ShadowColor); |
| | 20485 | | break; |
| | 20486 | | } |
| | 20487 | | case 218: { |
| | 20488 | | HTextAlign = input.ReadString(); |
| | 20489 | | break; |
| | 20490 | | } |
| | 20491 | | case 226: { |
| | 20492 | | VTextAlign = input.ReadString(); |
| | 20493 | | break; |
| | 20494 | | } |
| | 20495 | | case 237: { |
| | 20496 | | PaddingTop = input.ReadFloat(); |
| | 20497 | | break; |
| | 20498 | | } |
| | 20499 | | case 245: { |
| | 20500 | | PaddingRight = input.ReadFloat(); |
| | 20501 | | break; |
| | 20502 | | } |
| | 20503 | | case 253: { |
| | 20504 | | PaddingBottom = input.ReadFloat(); |
| | 20505 | | break; |
| | 20506 | | } |
| | 20507 | | case 261: { |
| | 20508 | | PaddingLeft = input.ReadFloat(); |
| | 20509 | | break; |
| | 20510 | | } |
| | 20511 | | case 266: { |
| | 20512 | | ParentComponent = input.ReadString(); |
| | 20513 | | break; |
| | 20514 | | } |
| | 20515 | | } |
| | 20516 | | } |
| | 20517 | | } |
| | 20518 | | #endif |
| | 20519 | |
|
| | 20520 | | } |
| | 20521 | |
|
| | 20522 | | /// <summary> |
| | 20523 | | /// CLASS_ID.UI_INPUT_TEXT_SHAPE |
| | 20524 | | /// </summary> |
| | 20525 | | public sealed partial class ECS6ComponentUiInputText : pb::IMessage<ECS6ComponentUiInputText> |
| | 20526 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20527 | | , pb::IBufferMessage |
| | 20528 | | #endif |
| | 20529 | | { |
| | 20530 | | private static readonly pb::MessageParser<ECS6ComponentUiInputText> _parser = new pb::MessageParser<ECS6ComponentUiI |
| | 20531 | | private pb::UnknownFieldSet _unknownFields; |
| | 20532 | | private int _hasBits0; |
| | 20533 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20534 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20535 | | public static pb::MessageParser<ECS6ComponentUiInputText> Parser { get { return _parser; } } |
| | 20536 | |
|
| | 20537 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20538 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20539 | | public static pbr::MessageDescriptor Descriptor { |
| | 20540 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[38]; } |
| | 20541 | | } |
| | 20542 | |
|
| | 20543 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20544 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20545 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 20546 | | get { return Descriptor; } |
| | 20547 | | } |
| | 20548 | |
|
| | 20549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20551 | | public ECS6ComponentUiInputText() { |
| | 20552 | | OnConstruction(); |
| | 20553 | | } |
| | 20554 | |
|
| | 20555 | | partial void OnConstruction(); |
| | 20556 | |
|
| | 20557 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20558 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20559 | | public ECS6ComponentUiInputText(ECS6ComponentUiInputText other) : this() { |
| | 20560 | | _hasBits0 = other._hasBits0; |
| | 20561 | | name_ = other.name_; |
| | 20562 | | visible_ = other.visible_; |
| | 20563 | | opacity_ = other.opacity_; |
| | 20564 | | hAlign_ = other.hAlign_; |
| | 20565 | | vAlign_ = other.vAlign_; |
| | 20566 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 20567 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 20568 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 20569 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 20570 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 20571 | | parentComponent_ = other.parentComponent_; |
| | 20572 | | outlineWidth_ = other.outlineWidth_; |
| | 20573 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 20574 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 20575 | | fontSize_ = other.fontSize_; |
| | 20576 | | font_ = other.font_; |
| | 20577 | | value_ = other.value_; |
| | 20578 | | placeholder_ = other.placeholder_; |
| | 20579 | | margin_ = other.margin_; |
| | 20580 | | focusedBackground_ = other.focusedBackground_ != null ? other.focusedBackground_.Clone() : null; |
| | 20581 | | textWrapping_ = other.textWrapping_; |
| | 20582 | | shadowBlur_ = other.shadowBlur_; |
| | 20583 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 20584 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 20585 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 20586 | | hTextAlign_ = other.hTextAlign_; |
| | 20587 | | vTextAlign_ = other.vTextAlign_; |
| | 20588 | | paddingTop_ = other.paddingTop_; |
| | 20589 | | paddingRight_ = other.paddingRight_; |
| | 20590 | | paddingBottom_ = other.paddingBottom_; |
| | 20591 | | paddingLeft_ = other.paddingLeft_; |
| | 20592 | | onTextChanged_ = other.onTextChanged_; |
| | 20593 | | onFocus_ = other.onFocus_; |
| | 20594 | | onBlur_ = other.onBlur_; |
| | 20595 | | onTextSubmit_ = other.onTextSubmit_; |
| | 20596 | | onChanged_ = other.onChanged_; |
| | 20597 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 20598 | | } |
| | 20599 | |
|
| | 20600 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20601 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20602 | | public ECS6ComponentUiInputText Clone() { |
| | 20603 | | return new ECS6ComponentUiInputText(this); |
| | 20604 | | } |
| | 20605 | |
|
| | 20606 | | /// <summary>Field number for the "name" field.</summary> |
| | 20607 | | public const int NameFieldNumber = 1; |
| | 20608 | | private string name_; |
| | 20609 | | /// <summary> |
| | 20610 | | /// UiShape |
| | 20611 | | /// </summary> |
| | 20612 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20613 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20614 | | public string Name { |
| | 20615 | | get { return name_ ?? ""; } |
| | 20616 | | set { |
| | 20617 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20618 | | } |
| | 20619 | | } |
| | 20620 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 20621 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20622 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20623 | | public bool HasName { |
| | 20624 | | get { return name_ != null; } |
| | 20625 | | } |
| | 20626 | | /// <summary>Clears the value of the "name" field</summary> |
| | 20627 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20628 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20629 | | public void ClearName() { |
| | 20630 | | name_ = null; |
| | 20631 | | } |
| | 20632 | |
|
| | 20633 | | /// <summary>Field number for the "visible" field.</summary> |
| | 20634 | | public const int VisibleFieldNumber = 2; |
| | 20635 | | private bool visible_; |
| | 20636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20638 | | public bool Visible { |
| | 20639 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 20640 | | set { |
| | 20641 | | _hasBits0 |= 1; |
| | 20642 | | visible_ = value; |
| | 20643 | | } |
| | 20644 | | } |
| | 20645 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 20646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20648 | | public bool HasVisible { |
| | 20649 | | get { return (_hasBits0 & 1) != 0; } |
| | 20650 | | } |
| | 20651 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 20652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20654 | | public void ClearVisible() { |
| | 20655 | | _hasBits0 &= ~1; |
| | 20656 | | } |
| | 20657 | |
|
| | 20658 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 20659 | | public const int OpacityFieldNumber = 3; |
| | 20660 | | private float opacity_; |
| | 20661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20663 | | public float Opacity { |
| | 20664 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 20665 | | set { |
| | 20666 | | _hasBits0 |= 2; |
| | 20667 | | opacity_ = value; |
| | 20668 | | } |
| | 20669 | | } |
| | 20670 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 20671 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20672 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20673 | | public bool HasOpacity { |
| | 20674 | | get { return (_hasBits0 & 2) != 0; } |
| | 20675 | | } |
| | 20676 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 20677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20679 | | public void ClearOpacity() { |
| | 20680 | | _hasBits0 &= ~2; |
| | 20681 | | } |
| | 20682 | |
|
| | 20683 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 20684 | | public const int HAlignFieldNumber = 4; |
| | 20685 | | private string hAlign_; |
| | 20686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20688 | | public string HAlign { |
| | 20689 | | get { return hAlign_ ?? ""; } |
| | 20690 | | set { |
| | 20691 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20692 | | } |
| | 20693 | | } |
| | 20694 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 20695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20697 | | public bool HasHAlign { |
| | 20698 | | get { return hAlign_ != null; } |
| | 20699 | | } |
| | 20700 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 20701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20703 | | public void ClearHAlign() { |
| | 20704 | | hAlign_ = null; |
| | 20705 | | } |
| | 20706 | |
|
| | 20707 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 20708 | | public const int VAlignFieldNumber = 5; |
| | 20709 | | private string vAlign_; |
| | 20710 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20711 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20712 | | public string VAlign { |
| | 20713 | | get { return vAlign_ ?? ""; } |
| | 20714 | | set { |
| | 20715 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20716 | | } |
| | 20717 | | } |
| | 20718 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 20719 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20720 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20721 | | public bool HasVAlign { |
| | 20722 | | get { return vAlign_ != null; } |
| | 20723 | | } |
| | 20724 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 20725 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20726 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20727 | | public void ClearVAlign() { |
| | 20728 | | vAlign_ = null; |
| | 20729 | | } |
| | 20730 | |
|
| | 20731 | | /// <summary>Field number for the "width" field.</summary> |
| | 20732 | | public const int WidthFieldNumber = 6; |
| | 20733 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 20734 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20735 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20736 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 20737 | | get { return width_; } |
| | 20738 | | set { |
| | 20739 | | width_ = value; |
| | 20740 | | } |
| | 20741 | | } |
| | 20742 | |
|
| | 20743 | | /// <summary>Field number for the "height" field.</summary> |
| | 20744 | | public const int HeightFieldNumber = 7; |
| | 20745 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 20746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20748 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 20749 | | get { return height_; } |
| | 20750 | | set { |
| | 20751 | | height_ = value; |
| | 20752 | | } |
| | 20753 | | } |
| | 20754 | |
|
| | 20755 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 20756 | | public const int PositionXFieldNumber = 8; |
| | 20757 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 20758 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20759 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20760 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 20761 | | get { return positionX_; } |
| | 20762 | | set { |
| | 20763 | | positionX_ = value; |
| | 20764 | | } |
| | 20765 | | } |
| | 20766 | |
|
| | 20767 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 20768 | | public const int PositionYFieldNumber = 9; |
| | 20769 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 20770 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20771 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20772 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 20773 | | get { return positionY_; } |
| | 20774 | | set { |
| | 20775 | | positionY_ = value; |
| | 20776 | | } |
| | 20777 | | } |
| | 20778 | |
|
| | 20779 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 20780 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 20781 | | private bool isPointerBlocker_; |
| | 20782 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20783 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20784 | | public bool IsPointerBlocker { |
| | 20785 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 20786 | | set { |
| | 20787 | | _hasBits0 |= 4; |
| | 20788 | | isPointerBlocker_ = value; |
| | 20789 | | } |
| | 20790 | | } |
| | 20791 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 20792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20794 | | public bool HasIsPointerBlocker { |
| | 20795 | | get { return (_hasBits0 & 4) != 0; } |
| | 20796 | | } |
| | 20797 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 20798 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20799 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20800 | | public void ClearIsPointerBlocker() { |
| | 20801 | | _hasBits0 &= ~4; |
| | 20802 | | } |
| | 20803 | |
|
| | 20804 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 20805 | | public const int ParentComponentFieldNumber = 39; |
| | 20806 | | private string parentComponent_; |
| | 20807 | | /// <summary> |
| | 20808 | | /// UiShape |
| | 20809 | | /// </summary> |
| | 20810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20812 | | public string ParentComponent { |
| | 20813 | | get { return parentComponent_ ?? ""; } |
| | 20814 | | set { |
| | 20815 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20816 | | } |
| | 20817 | | } |
| | 20818 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 20819 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20820 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20821 | | public bool HasParentComponent { |
| | 20822 | | get { return parentComponent_ != null; } |
| | 20823 | | } |
| | 20824 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 20825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20827 | | public void ClearParentComponent() { |
| | 20828 | | parentComponent_ = null; |
| | 20829 | | } |
| | 20830 | |
|
| | 20831 | | /// <summary>Field number for the "outline_width" field.</summary> |
| | 20832 | | public const int OutlineWidthFieldNumber = 11; |
| | 20833 | | private float outlineWidth_; |
| | 20834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20836 | | public float OutlineWidth { |
| | 20837 | | get { if ((_hasBits0 & 8) != 0) { return outlineWidth_; } else { return 0F; } } |
| | 20838 | | set { |
| | 20839 | | _hasBits0 |= 8; |
| | 20840 | | outlineWidth_ = value; |
| | 20841 | | } |
| | 20842 | | } |
| | 20843 | | /// <summary>Gets whether the "outline_width" field is set</summary> |
| | 20844 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20845 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20846 | | public bool HasOutlineWidth { |
| | 20847 | | get { return (_hasBits0 & 8) != 0; } |
| | 20848 | | } |
| | 20849 | | /// <summary>Clears the value of the "outline_width" field</summary> |
| | 20850 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20851 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20852 | | public void ClearOutlineWidth() { |
| | 20853 | | _hasBits0 &= ~8; |
| | 20854 | | } |
| | 20855 | |
|
| | 20856 | | /// <summary>Field number for the "outline_color" field.</summary> |
| | 20857 | | public const int OutlineColorFieldNumber = 12; |
| | 20858 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 outlineColor_; |
| | 20859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20861 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 OutlineColor { |
| | 20862 | | get { return outlineColor_; } |
| | 20863 | | set { |
| | 20864 | | outlineColor_ = value; |
| | 20865 | | } |
| | 20866 | | } |
| | 20867 | |
|
| | 20868 | | /// <summary>Field number for the "color" field.</summary> |
| | 20869 | | public const int ColorFieldNumber = 13; |
| | 20870 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 color_; |
| | 20871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20873 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 Color { |
| | 20874 | | get { return color_; } |
| | 20875 | | set { |
| | 20876 | | color_ = value; |
| | 20877 | | } |
| | 20878 | | } |
| | 20879 | |
|
| | 20880 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 20881 | | public const int FontSizeFieldNumber = 14; |
| | 20882 | | private float fontSize_; |
| | 20883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20885 | | public float FontSize { |
| | 20886 | | get { if ((_hasBits0 & 16) != 0) { return fontSize_; } else { return 0F; } } |
| | 20887 | | set { |
| | 20888 | | _hasBits0 |= 16; |
| | 20889 | | fontSize_ = value; |
| | 20890 | | } |
| | 20891 | | } |
| | 20892 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 20893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20895 | | public bool HasFontSize { |
| | 20896 | | get { return (_hasBits0 & 16) != 0; } |
| | 20897 | | } |
| | 20898 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 20899 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20900 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20901 | | public void ClearFontSize() { |
| | 20902 | | _hasBits0 &= ~16; |
| | 20903 | | } |
| | 20904 | |
|
| | 20905 | | /// <summary>Field number for the "font" field.</summary> |
| | 20906 | | public const int FontFieldNumber = 16; |
| | 20907 | | private string font_; |
| | 20908 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20909 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20910 | | public string Font { |
| | 20911 | | get { return font_ ?? ""; } |
| | 20912 | | set { |
| | 20913 | | font_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20914 | | } |
| | 20915 | | } |
| | 20916 | | /// <summary>Gets whether the "font" field is set</summary> |
| | 20917 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20918 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20919 | | public bool HasFont { |
| | 20920 | | get { return font_ != null; } |
| | 20921 | | } |
| | 20922 | | /// <summary>Clears the value of the "font" field</summary> |
| | 20923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20925 | | public void ClearFont() { |
| | 20926 | | font_ = null; |
| | 20927 | | } |
| | 20928 | |
|
| | 20929 | | /// <summary>Field number for the "value" field.</summary> |
| | 20930 | | public const int ValueFieldNumber = 17; |
| | 20931 | | private string value_; |
| | 20932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20934 | | public string Value { |
| | 20935 | | get { return value_ ?? ""; } |
| | 20936 | | set { |
| | 20937 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20938 | | } |
| | 20939 | | } |
| | 20940 | | /// <summary>Gets whether the "value" field is set</summary> |
| | 20941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20943 | | public bool HasValue { |
| | 20944 | | get { return value_ != null; } |
| | 20945 | | } |
| | 20946 | | /// <summary>Clears the value of the "value" field</summary> |
| | 20947 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20948 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20949 | | public void ClearValue() { |
| | 20950 | | value_ = null; |
| | 20951 | | } |
| | 20952 | |
|
| | 20953 | | /// <summary>Field number for the "placeholder" field.</summary> |
| | 20954 | | public const int PlaceholderFieldNumber = 33; |
| | 20955 | | private string placeholder_; |
| | 20956 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20957 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20958 | | public string Placeholder { |
| | 20959 | | get { return placeholder_ ?? ""; } |
| | 20960 | | set { |
| | 20961 | | placeholder_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20962 | | } |
| | 20963 | | } |
| | 20964 | | /// <summary>Gets whether the "placeholder" field is set</summary> |
| | 20965 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20966 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20967 | | public bool HasPlaceholder { |
| | 20968 | | get { return placeholder_ != null; } |
| | 20969 | | } |
| | 20970 | | /// <summary>Clears the value of the "placeholder" field</summary> |
| | 20971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20973 | | public void ClearPlaceholder() { |
| | 20974 | | placeholder_ = null; |
| | 20975 | | } |
| | 20976 | |
|
| | 20977 | | /// <summary>Field number for the "margin" field.</summary> |
| | 20978 | | public const int MarginFieldNumber = 34; |
| | 20979 | | private float margin_; |
| | 20980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20982 | | public float Margin { |
| | 20983 | | get { if ((_hasBits0 & 8192) != 0) { return margin_; } else { return 0F; } } |
| | 20984 | | set { |
| | 20985 | | _hasBits0 |= 8192; |
| | 20986 | | margin_ = value; |
| | 20987 | | } |
| | 20988 | | } |
| | 20989 | | /// <summary>Gets whether the "margin" field is set</summary> |
| | 20990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20992 | | public bool HasMargin { |
| | 20993 | | get { return (_hasBits0 & 8192) != 0; } |
| | 20994 | | } |
| | 20995 | | /// <summary>Clears the value of the "margin" field</summary> |
| | 20996 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20997 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20998 | | public void ClearMargin() { |
| | 20999 | | _hasBits0 &= ~8192; |
| | 21000 | | } |
| | 21001 | |
|
| | 21002 | | /// <summary>Field number for the "focused_background" field.</summary> |
| | 21003 | | public const int FocusedBackgroundFieldNumber = 35; |
| | 21004 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 focusedBackground_; |
| | 21005 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21006 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21007 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 FocusedBackground { |
| | 21008 | | get { return focusedBackground_; } |
| | 21009 | | set { |
| | 21010 | | focusedBackground_ = value; |
| | 21011 | | } |
| | 21012 | | } |
| | 21013 | |
|
| | 21014 | | /// <summary>Field number for the "text_wrapping" field.</summary> |
| | 21015 | | public const int TextWrappingFieldNumber = 22; |
| | 21016 | | private bool textWrapping_; |
| | 21017 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21018 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21019 | | public bool TextWrapping { |
| | 21020 | | get { if ((_hasBits0 & 32) != 0) { return textWrapping_; } else { return false; } } |
| | 21021 | | set { |
| | 21022 | | _hasBits0 |= 32; |
| | 21023 | | textWrapping_ = value; |
| | 21024 | | } |
| | 21025 | | } |
| | 21026 | | /// <summary>Gets whether the "text_wrapping" field is set</summary> |
| | 21027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21029 | | public bool HasTextWrapping { |
| | 21030 | | get { return (_hasBits0 & 32) != 0; } |
| | 21031 | | } |
| | 21032 | | /// <summary>Clears the value of the "text_wrapping" field</summary> |
| | 21033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21035 | | public void ClearTextWrapping() { |
| | 21036 | | _hasBits0 &= ~32; |
| | 21037 | | } |
| | 21038 | |
|
| | 21039 | | /// <summary>Field number for the "shadow_blur" field.</summary> |
| | 21040 | | public const int ShadowBlurFieldNumber = 23; |
| | 21041 | | private float shadowBlur_; |
| | 21042 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21043 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21044 | | public float ShadowBlur { |
| | 21045 | | get { if ((_hasBits0 & 64) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 21046 | | set { |
| | 21047 | | _hasBits0 |= 64; |
| | 21048 | | shadowBlur_ = value; |
| | 21049 | | } |
| | 21050 | | } |
| | 21051 | | /// <summary>Gets whether the "shadow_blur" field is set</summary> |
| | 21052 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21053 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21054 | | public bool HasShadowBlur { |
| | 21055 | | get { return (_hasBits0 & 64) != 0; } |
| | 21056 | | } |
| | 21057 | | /// <summary>Clears the value of the "shadow_blur" field</summary> |
| | 21058 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21059 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21060 | | public void ClearShadowBlur() { |
| | 21061 | | _hasBits0 &= ~64; |
| | 21062 | | } |
| | 21063 | |
|
| | 21064 | | /// <summary>Field number for the "shadow_offset_x" field.</summary> |
| | 21065 | | public const int ShadowOffsetXFieldNumber = 24; |
| | 21066 | | private float shadowOffsetX_; |
| | 21067 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21068 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21069 | | public float ShadowOffsetX { |
| | 21070 | | get { if ((_hasBits0 & 128) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 21071 | | set { |
| | 21072 | | _hasBits0 |= 128; |
| | 21073 | | shadowOffsetX_ = value; |
| | 21074 | | } |
| | 21075 | | } |
| | 21076 | | /// <summary>Gets whether the "shadow_offset_x" field is set</summary> |
| | 21077 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21078 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21079 | | public bool HasShadowOffsetX { |
| | 21080 | | get { return (_hasBits0 & 128) != 0; } |
| | 21081 | | } |
| | 21082 | | /// <summary>Clears the value of the "shadow_offset_x" field</summary> |
| | 21083 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21084 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21085 | | public void ClearShadowOffsetX() { |
| | 21086 | | _hasBits0 &= ~128; |
| | 21087 | | } |
| | 21088 | |
|
| | 21089 | | /// <summary>Field number for the "shadow_offset_y" field.</summary> |
| | 21090 | | public const int ShadowOffsetYFieldNumber = 25; |
| | 21091 | | private float shadowOffsetY_; |
| | 21092 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21093 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21094 | | public float ShadowOffsetY { |
| | 21095 | | get { if ((_hasBits0 & 256) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 21096 | | set { |
| | 21097 | | _hasBits0 |= 256; |
| | 21098 | | shadowOffsetY_ = value; |
| | 21099 | | } |
| | 21100 | | } |
| | 21101 | | /// <summary>Gets whether the "shadow_offset_y" field is set</summary> |
| | 21102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21103 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21104 | | public bool HasShadowOffsetY { |
| | 21105 | | get { return (_hasBits0 & 256) != 0; } |
| | 21106 | | } |
| | 21107 | | /// <summary>Clears the value of the "shadow_offset_y" field</summary> |
| | 21108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21110 | | public void ClearShadowOffsetY() { |
| | 21111 | | _hasBits0 &= ~256; |
| | 21112 | | } |
| | 21113 | |
|
| | 21114 | | /// <summary>Field number for the "shadow_color" field.</summary> |
| | 21115 | | public const int ShadowColorFieldNumber = 26; |
| | 21116 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 shadowColor_; |
| | 21117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21119 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 ShadowColor { |
| | 21120 | | get { return shadowColor_; } |
| | 21121 | | set { |
| | 21122 | | shadowColor_ = value; |
| | 21123 | | } |
| | 21124 | | } |
| | 21125 | |
|
| | 21126 | | /// <summary>Field number for the "h_text_align" field.</summary> |
| | 21127 | | public const int HTextAlignFieldNumber = 27; |
| | 21128 | | private string hTextAlign_; |
| | 21129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21131 | | public string HTextAlign { |
| | 21132 | | get { return hTextAlign_ ?? ""; } |
| | 21133 | | set { |
| | 21134 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21135 | | } |
| | 21136 | | } |
| | 21137 | | /// <summary>Gets whether the "h_text_align" field is set</summary> |
| | 21138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21139 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21140 | | public bool HasHTextAlign { |
| | 21141 | | get { return hTextAlign_ != null; } |
| | 21142 | | } |
| | 21143 | | /// <summary>Clears the value of the "h_text_align" field</summary> |
| | 21144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21146 | | public void ClearHTextAlign() { |
| | 21147 | | hTextAlign_ = null; |
| | 21148 | | } |
| | 21149 | |
|
| | 21150 | | /// <summary>Field number for the "v_text_align" field.</summary> |
| | 21151 | | public const int VTextAlignFieldNumber = 28; |
| | 21152 | | private string vTextAlign_; |
| | 21153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21155 | | public string VTextAlign { |
| | 21156 | | get { return vTextAlign_ ?? ""; } |
| | 21157 | | set { |
| | 21158 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21159 | | } |
| | 21160 | | } |
| | 21161 | | /// <summary>Gets whether the "v_text_align" field is set</summary> |
| | 21162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21164 | | public bool HasVTextAlign { |
| | 21165 | | get { return vTextAlign_ != null; } |
| | 21166 | | } |
| | 21167 | | /// <summary>Clears the value of the "v_text_align" field</summary> |
| | 21168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21170 | | public void ClearVTextAlign() { |
| | 21171 | | vTextAlign_ = null; |
| | 21172 | | } |
| | 21173 | |
|
| | 21174 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 21175 | | public const int PaddingTopFieldNumber = 29; |
| | 21176 | | private float paddingTop_; |
| | 21177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21179 | | public float PaddingTop { |
| | 21180 | | get { if ((_hasBits0 & 512) != 0) { return paddingTop_; } else { return 0F; } } |
| | 21181 | | set { |
| | 21182 | | _hasBits0 |= 512; |
| | 21183 | | paddingTop_ = value; |
| | 21184 | | } |
| | 21185 | | } |
| | 21186 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 21187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21189 | | public bool HasPaddingTop { |
| | 21190 | | get { return (_hasBits0 & 512) != 0; } |
| | 21191 | | } |
| | 21192 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 21193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21195 | | public void ClearPaddingTop() { |
| | 21196 | | _hasBits0 &= ~512; |
| | 21197 | | } |
| | 21198 | |
|
| | 21199 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 21200 | | public const int PaddingRightFieldNumber = 30; |
| | 21201 | | private float paddingRight_; |
| | 21202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21204 | | public float PaddingRight { |
| | 21205 | | get { if ((_hasBits0 & 1024) != 0) { return paddingRight_; } else { return 0F; } } |
| | 21206 | | set { |
| | 21207 | | _hasBits0 |= 1024; |
| | 21208 | | paddingRight_ = value; |
| | 21209 | | } |
| | 21210 | | } |
| | 21211 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 21212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21214 | | public bool HasPaddingRight { |
| | 21215 | | get { return (_hasBits0 & 1024) != 0; } |
| | 21216 | | } |
| | 21217 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 21218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21220 | | public void ClearPaddingRight() { |
| | 21221 | | _hasBits0 &= ~1024; |
| | 21222 | | } |
| | 21223 | |
|
| | 21224 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 21225 | | public const int PaddingBottomFieldNumber = 31; |
| | 21226 | | private float paddingBottom_; |
| | 21227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21229 | | public float PaddingBottom { |
| | 21230 | | get { if ((_hasBits0 & 2048) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 21231 | | set { |
| | 21232 | | _hasBits0 |= 2048; |
| | 21233 | | paddingBottom_ = value; |
| | 21234 | | } |
| | 21235 | | } |
| | 21236 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 21237 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21238 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21239 | | public bool HasPaddingBottom { |
| | 21240 | | get { return (_hasBits0 & 2048) != 0; } |
| | 21241 | | } |
| | 21242 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 21243 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21244 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21245 | | public void ClearPaddingBottom() { |
| | 21246 | | _hasBits0 &= ~2048; |
| | 21247 | | } |
| | 21248 | |
|
| | 21249 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 21250 | | public const int PaddingLeftFieldNumber = 32; |
| | 21251 | | private float paddingLeft_; |
| | 21252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21254 | | public float PaddingLeft { |
| | 21255 | | get { if ((_hasBits0 & 4096) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 21256 | | set { |
| | 21257 | | _hasBits0 |= 4096; |
| | 21258 | | paddingLeft_ = value; |
| | 21259 | | } |
| | 21260 | | } |
| | 21261 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 21262 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21263 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21264 | | public bool HasPaddingLeft { |
| | 21265 | | get { return (_hasBits0 & 4096) != 0; } |
| | 21266 | | } |
| | 21267 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 21268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21270 | | public void ClearPaddingLeft() { |
| | 21271 | | _hasBits0 &= ~4096; |
| | 21272 | | } |
| | 21273 | |
|
| | 21274 | | /// <summary>Field number for the "on_text_changed" field.</summary> |
| | 21275 | | public const int OnTextChangedFieldNumber = 36; |
| | 21276 | | private string onTextChanged_; |
| | 21277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21278 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21279 | | public string OnTextChanged { |
| | 21280 | | get { return onTextChanged_ ?? ""; } |
| | 21281 | | set { |
| | 21282 | | onTextChanged_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21283 | | } |
| | 21284 | | } |
| | 21285 | | /// <summary>Gets whether the "on_text_changed" field is set</summary> |
| | 21286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21288 | | public bool HasOnTextChanged { |
| | 21289 | | get { return onTextChanged_ != null; } |
| | 21290 | | } |
| | 21291 | | /// <summary>Clears the value of the "on_text_changed" field</summary> |
| | 21292 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21293 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21294 | | public void ClearOnTextChanged() { |
| | 21295 | | onTextChanged_ = null; |
| | 21296 | | } |
| | 21297 | |
|
| | 21298 | | /// <summary>Field number for the "on_focus" field.</summary> |
| | 21299 | | public const int OnFocusFieldNumber = 37; |
| | 21300 | | private string onFocus_; |
| | 21301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21303 | | public string OnFocus { |
| | 21304 | | get { return onFocus_ ?? ""; } |
| | 21305 | | set { |
| | 21306 | | onFocus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21307 | | } |
| | 21308 | | } |
| | 21309 | | /// <summary>Gets whether the "on_focus" field is set</summary> |
| | 21310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21312 | | public bool HasOnFocus { |
| | 21313 | | get { return onFocus_ != null; } |
| | 21314 | | } |
| | 21315 | | /// <summary>Clears the value of the "on_focus" field</summary> |
| | 21316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21318 | | public void ClearOnFocus() { |
| | 21319 | | onFocus_ = null; |
| | 21320 | | } |
| | 21321 | |
|
| | 21322 | | /// <summary>Field number for the "on_blur" field.</summary> |
| | 21323 | | public const int OnBlurFieldNumber = 38; |
| | 21324 | | private string onBlur_; |
| | 21325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21327 | | public string OnBlur { |
| | 21328 | | get { return onBlur_ ?? ""; } |
| | 21329 | | set { |
| | 21330 | | onBlur_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21331 | | } |
| | 21332 | | } |
| | 21333 | | /// <summary>Gets whether the "on_blur" field is set</summary> |
| | 21334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21336 | | public bool HasOnBlur { |
| | 21337 | | get { return onBlur_ != null; } |
| | 21338 | | } |
| | 21339 | | /// <summary>Clears the value of the "on_blur" field</summary> |
| | 21340 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21341 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21342 | | public void ClearOnBlur() { |
| | 21343 | | onBlur_ = null; |
| | 21344 | | } |
| | 21345 | |
|
| | 21346 | | /// <summary>Field number for the "on_text_submit" field.</summary> |
| | 21347 | | public const int OnTextSubmitFieldNumber = 40; |
| | 21348 | | private string onTextSubmit_; |
| | 21349 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21350 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21351 | | public string OnTextSubmit { |
| | 21352 | | get { return onTextSubmit_ ?? ""; } |
| | 21353 | | set { |
| | 21354 | | onTextSubmit_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21355 | | } |
| | 21356 | | } |
| | 21357 | | /// <summary>Gets whether the "on_text_submit" field is set</summary> |
| | 21358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21360 | | public bool HasOnTextSubmit { |
| | 21361 | | get { return onTextSubmit_ != null; } |
| | 21362 | | } |
| | 21363 | | /// <summary>Clears the value of the "on_text_submit" field</summary> |
| | 21364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21366 | | public void ClearOnTextSubmit() { |
| | 21367 | | onTextSubmit_ = null; |
| | 21368 | | } |
| | 21369 | |
|
| | 21370 | | /// <summary>Field number for the "on_changed" field.</summary> |
| | 21371 | | public const int OnChangedFieldNumber = 41; |
| | 21372 | | private string onChanged_; |
| | 21373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21375 | | public string OnChanged { |
| | 21376 | | get { return onChanged_ ?? ""; } |
| | 21377 | | set { |
| | 21378 | | onChanged_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21379 | | } |
| | 21380 | | } |
| | 21381 | | /// <summary>Gets whether the "on_changed" field is set</summary> |
| | 21382 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21383 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21384 | | public bool HasOnChanged { |
| | 21385 | | get { return onChanged_ != null; } |
| | 21386 | | } |
| | 21387 | | /// <summary>Clears the value of the "on_changed" field</summary> |
| | 21388 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21389 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21390 | | public void ClearOnChanged() { |
| | 21391 | | onChanged_ = null; |
| | 21392 | | } |
| | 21393 | |
|
| | 21394 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21395 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21396 | | public override bool Equals(object other) { |
| | 21397 | | return Equals(other as ECS6ComponentUiInputText); |
| | 21398 | | } |
| | 21399 | |
|
| | 21400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21402 | | public bool Equals(ECS6ComponentUiInputText other) { |
| | 21403 | | if (ReferenceEquals(other, null)) { |
| | 21404 | | return false; |
| | 21405 | | } |
| | 21406 | | if (ReferenceEquals(other, this)) { |
| | 21407 | | return true; |
| | 21408 | | } |
| | 21409 | | if (Name != other.Name) return false; |
| | 21410 | | if (Visible != other.Visible) return false; |
| | 21411 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 21412 | | if (HAlign != other.HAlign) return false; |
| | 21413 | | if (VAlign != other.VAlign) return false; |
| | 21414 | | if (!object.Equals(Width, other.Width)) return false; |
| | 21415 | | if (!object.Equals(Height, other.Height)) return false; |
| | 21416 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 21417 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 21418 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 21419 | | if (ParentComponent != other.ParentComponent) return false; |
| | 21420 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 21421 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 21422 | | if (!object.Equals(Color, other.Color)) return false; |
| | 21423 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 21424 | | if (Font != other.Font) return false; |
| | 21425 | | if (Value != other.Value) return false; |
| | 21426 | | if (Placeholder != other.Placeholder) return false; |
| | 21427 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Margin, other.Margin)) return false; |
| | 21428 | | if (!object.Equals(FocusedBackground, other.FocusedBackground)) return false; |
| | 21429 | | if (TextWrapping != other.TextWrapping) return false; |
| | 21430 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 21431 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 21432 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 21433 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 21434 | | if (HTextAlign != other.HTextAlign) return false; |
| | 21435 | | if (VTextAlign != other.VTextAlign) return false; |
| | 21436 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 21437 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 21438 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 21439 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 21440 | | if (OnTextChanged != other.OnTextChanged) return false; |
| | 21441 | | if (OnFocus != other.OnFocus) return false; |
| | 21442 | | if (OnBlur != other.OnBlur) return false; |
| | 21443 | | if (OnTextSubmit != other.OnTextSubmit) return false; |
| | 21444 | | if (OnChanged != other.OnChanged) return false; |
| | 21445 | | return Equals(_unknownFields, other._unknownFields); |
| | 21446 | | } |
| | 21447 | |
|
| | 21448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21450 | | public override int GetHashCode() { |
| | 21451 | | int hash = 1; |
| | 21452 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 21453 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 21454 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 21455 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 21456 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 21457 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 21458 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 21459 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 21460 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 21461 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 21462 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 21463 | | if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth |
| | 21464 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 21465 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 21466 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 21467 | | if (HasFont) hash ^= Font.GetHashCode(); |
| | 21468 | | if (HasValue) hash ^= Value.GetHashCode(); |
| | 21469 | | if (HasPlaceholder) hash ^= Placeholder.GetHashCode(); |
| | 21470 | | if (HasMargin) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Margin); |
| | 21471 | | if (focusedBackground_ != null) hash ^= FocusedBackground.GetHashCode(); |
| | 21472 | | if (HasTextWrapping) hash ^= TextWrapping.GetHashCode(); |
| | 21473 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| | 21474 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 21475 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 21476 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 21477 | | if (HasHTextAlign) hash ^= HTextAlign.GetHashCode(); |
| | 21478 | | if (HasVTextAlign) hash ^= VTextAlign.GetHashCode(); |
| | 21479 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 21480 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 21481 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 21482 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 21483 | | if (HasOnTextChanged) hash ^= OnTextChanged.GetHashCode(); |
| | 21484 | | if (HasOnFocus) hash ^= OnFocus.GetHashCode(); |
| | 21485 | | if (HasOnBlur) hash ^= OnBlur.GetHashCode(); |
| | 21486 | | if (HasOnTextSubmit) hash ^= OnTextSubmit.GetHashCode(); |
| | 21487 | | if (HasOnChanged) hash ^= OnChanged.GetHashCode(); |
| | 21488 | | if (_unknownFields != null) { |
| | 21489 | | hash ^= _unknownFields.GetHashCode(); |
| | 21490 | | } |
| | 21491 | | return hash; |
| | 21492 | | } |
| | 21493 | |
|
| | 21494 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21495 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21496 | | public override string ToString() { |
| | 21497 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 21498 | | } |
| | 21499 | |
|
| | 21500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21502 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 21503 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21504 | | output.WriteRawMessage(this); |
| | 21505 | | #else |
| | 21506 | | if (HasName) { |
| | 21507 | | output.WriteRawTag(10); |
| | 21508 | | output.WriteString(Name); |
| | 21509 | | } |
| | 21510 | | if (HasVisible) { |
| | 21511 | | output.WriteRawTag(16); |
| | 21512 | | output.WriteBool(Visible); |
| | 21513 | | } |
| | 21514 | | if (HasOpacity) { |
| | 21515 | | output.WriteRawTag(29); |
| | 21516 | | output.WriteFloat(Opacity); |
| | 21517 | | } |
| | 21518 | | if (HasHAlign) { |
| | 21519 | | output.WriteRawTag(34); |
| | 21520 | | output.WriteString(HAlign); |
| | 21521 | | } |
| | 21522 | | if (HasVAlign) { |
| | 21523 | | output.WriteRawTag(42); |
| | 21524 | | output.WriteString(VAlign); |
| | 21525 | | } |
| | 21526 | | if (width_ != null) { |
| | 21527 | | output.WriteRawTag(50); |
| | 21528 | | output.WriteMessage(Width); |
| | 21529 | | } |
| | 21530 | | if (height_ != null) { |
| | 21531 | | output.WriteRawTag(58); |
| | 21532 | | output.WriteMessage(Height); |
| | 21533 | | } |
| | 21534 | | if (positionX_ != null) { |
| | 21535 | | output.WriteRawTag(66); |
| | 21536 | | output.WriteMessage(PositionX); |
| | 21537 | | } |
| | 21538 | | if (positionY_ != null) { |
| | 21539 | | output.WriteRawTag(74); |
| | 21540 | | output.WriteMessage(PositionY); |
| | 21541 | | } |
| | 21542 | | if (HasIsPointerBlocker) { |
| | 21543 | | output.WriteRawTag(80); |
| | 21544 | | output.WriteBool(IsPointerBlocker); |
| | 21545 | | } |
| | 21546 | | if (HasOutlineWidth) { |
| | 21547 | | output.WriteRawTag(93); |
| | 21548 | | output.WriteFloat(OutlineWidth); |
| | 21549 | | } |
| | 21550 | | if (outlineColor_ != null) { |
| | 21551 | | output.WriteRawTag(98); |
| | 21552 | | output.WriteMessage(OutlineColor); |
| | 21553 | | } |
| | 21554 | | if (color_ != null) { |
| | 21555 | | output.WriteRawTag(106); |
| | 21556 | | output.WriteMessage(Color); |
| | 21557 | | } |
| | 21558 | | if (HasFontSize) { |
| | 21559 | | output.WriteRawTag(117); |
| | 21560 | | output.WriteFloat(FontSize); |
| | 21561 | | } |
| | 21562 | | if (HasFont) { |
| | 21563 | | output.WriteRawTag(130, 1); |
| | 21564 | | output.WriteString(Font); |
| | 21565 | | } |
| | 21566 | | if (HasValue) { |
| | 21567 | | output.WriteRawTag(138, 1); |
| | 21568 | | output.WriteString(Value); |
| | 21569 | | } |
| | 21570 | | if (HasTextWrapping) { |
| | 21571 | | output.WriteRawTag(176, 1); |
| | 21572 | | output.WriteBool(TextWrapping); |
| | 21573 | | } |
| | 21574 | | if (HasShadowBlur) { |
| | 21575 | | output.WriteRawTag(189, 1); |
| | 21576 | | output.WriteFloat(ShadowBlur); |
| | 21577 | | } |
| | 21578 | | if (HasShadowOffsetX) { |
| | 21579 | | output.WriteRawTag(197, 1); |
| | 21580 | | output.WriteFloat(ShadowOffsetX); |
| | 21581 | | } |
| | 21582 | | if (HasShadowOffsetY) { |
| | 21583 | | output.WriteRawTag(205, 1); |
| | 21584 | | output.WriteFloat(ShadowOffsetY); |
| | 21585 | | } |
| | 21586 | | if (shadowColor_ != null) { |
| | 21587 | | output.WriteRawTag(210, 1); |
| | 21588 | | output.WriteMessage(ShadowColor); |
| | 21589 | | } |
| | 21590 | | if (HasHTextAlign) { |
| | 21591 | | output.WriteRawTag(218, 1); |
| | 21592 | | output.WriteString(HTextAlign); |
| | 21593 | | } |
| | 21594 | | if (HasVTextAlign) { |
| | 21595 | | output.WriteRawTag(226, 1); |
| | 21596 | | output.WriteString(VTextAlign); |
| | 21597 | | } |
| | 21598 | | if (HasPaddingTop) { |
| | 21599 | | output.WriteRawTag(237, 1); |
| | 21600 | | output.WriteFloat(PaddingTop); |
| | 21601 | | } |
| | 21602 | | if (HasPaddingRight) { |
| | 21603 | | output.WriteRawTag(245, 1); |
| | 21604 | | output.WriteFloat(PaddingRight); |
| | 21605 | | } |
| | 21606 | | if (HasPaddingBottom) { |
| | 21607 | | output.WriteRawTag(253, 1); |
| | 21608 | | output.WriteFloat(PaddingBottom); |
| | 21609 | | } |
| | 21610 | | if (HasPaddingLeft) { |
| | 21611 | | output.WriteRawTag(133, 2); |
| | 21612 | | output.WriteFloat(PaddingLeft); |
| | 21613 | | } |
| | 21614 | | if (HasPlaceholder) { |
| | 21615 | | output.WriteRawTag(138, 2); |
| | 21616 | | output.WriteString(Placeholder); |
| | 21617 | | } |
| | 21618 | | if (HasMargin) { |
| | 21619 | | output.WriteRawTag(149, 2); |
| | 21620 | | output.WriteFloat(Margin); |
| | 21621 | | } |
| | 21622 | | if (focusedBackground_ != null) { |
| | 21623 | | output.WriteRawTag(154, 2); |
| | 21624 | | output.WriteMessage(FocusedBackground); |
| | 21625 | | } |
| | 21626 | | if (HasOnTextChanged) { |
| | 21627 | | output.WriteRawTag(162, 2); |
| | 21628 | | output.WriteString(OnTextChanged); |
| | 21629 | | } |
| | 21630 | | if (HasOnFocus) { |
| | 21631 | | output.WriteRawTag(170, 2); |
| | 21632 | | output.WriteString(OnFocus); |
| | 21633 | | } |
| | 21634 | | if (HasOnBlur) { |
| | 21635 | | output.WriteRawTag(178, 2); |
| | 21636 | | output.WriteString(OnBlur); |
| | 21637 | | } |
| | 21638 | | if (HasParentComponent) { |
| | 21639 | | output.WriteRawTag(186, 2); |
| | 21640 | | output.WriteString(ParentComponent); |
| | 21641 | | } |
| | 21642 | | if (HasOnTextSubmit) { |
| | 21643 | | output.WriteRawTag(194, 2); |
| | 21644 | | output.WriteString(OnTextSubmit); |
| | 21645 | | } |
| | 21646 | | if (HasOnChanged) { |
| | 21647 | | output.WriteRawTag(202, 2); |
| | 21648 | | output.WriteString(OnChanged); |
| | 21649 | | } |
| | 21650 | | if (_unknownFields != null) { |
| | 21651 | | _unknownFields.WriteTo(output); |
| | 21652 | | } |
| | 21653 | | #endif |
| | 21654 | | } |
| | 21655 | |
|
| | 21656 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21657 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21658 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21659 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 21660 | | if (HasName) { |
| | 21661 | | output.WriteRawTag(10); |
| | 21662 | | output.WriteString(Name); |
| | 21663 | | } |
| | 21664 | | if (HasVisible) { |
| | 21665 | | output.WriteRawTag(16); |
| | 21666 | | output.WriteBool(Visible); |
| | 21667 | | } |
| | 21668 | | if (HasOpacity) { |
| | 21669 | | output.WriteRawTag(29); |
| | 21670 | | output.WriteFloat(Opacity); |
| | 21671 | | } |
| | 21672 | | if (HasHAlign) { |
| | 21673 | | output.WriteRawTag(34); |
| | 21674 | | output.WriteString(HAlign); |
| | 21675 | | } |
| | 21676 | | if (HasVAlign) { |
| | 21677 | | output.WriteRawTag(42); |
| | 21678 | | output.WriteString(VAlign); |
| | 21679 | | } |
| | 21680 | | if (width_ != null) { |
| | 21681 | | output.WriteRawTag(50); |
| | 21682 | | output.WriteMessage(Width); |
| | 21683 | | } |
| | 21684 | | if (height_ != null) { |
| | 21685 | | output.WriteRawTag(58); |
| | 21686 | | output.WriteMessage(Height); |
| | 21687 | | } |
| | 21688 | | if (positionX_ != null) { |
| | 21689 | | output.WriteRawTag(66); |
| | 21690 | | output.WriteMessage(PositionX); |
| | 21691 | | } |
| | 21692 | | if (positionY_ != null) { |
| | 21693 | | output.WriteRawTag(74); |
| | 21694 | | output.WriteMessage(PositionY); |
| | 21695 | | } |
| | 21696 | | if (HasIsPointerBlocker) { |
| | 21697 | | output.WriteRawTag(80); |
| | 21698 | | output.WriteBool(IsPointerBlocker); |
| | 21699 | | } |
| | 21700 | | if (HasOutlineWidth) { |
| | 21701 | | output.WriteRawTag(93); |
| | 21702 | | output.WriteFloat(OutlineWidth); |
| | 21703 | | } |
| | 21704 | | if (outlineColor_ != null) { |
| | 21705 | | output.WriteRawTag(98); |
| | 21706 | | output.WriteMessage(OutlineColor); |
| | 21707 | | } |
| | 21708 | | if (color_ != null) { |
| | 21709 | | output.WriteRawTag(106); |
| | 21710 | | output.WriteMessage(Color); |
| | 21711 | | } |
| | 21712 | | if (HasFontSize) { |
| | 21713 | | output.WriteRawTag(117); |
| | 21714 | | output.WriteFloat(FontSize); |
| | 21715 | | } |
| | 21716 | | if (HasFont) { |
| | 21717 | | output.WriteRawTag(130, 1); |
| | 21718 | | output.WriteString(Font); |
| | 21719 | | } |
| | 21720 | | if (HasValue) { |
| | 21721 | | output.WriteRawTag(138, 1); |
| | 21722 | | output.WriteString(Value); |
| | 21723 | | } |
| | 21724 | | if (HasTextWrapping) { |
| | 21725 | | output.WriteRawTag(176, 1); |
| | 21726 | | output.WriteBool(TextWrapping); |
| | 21727 | | } |
| | 21728 | | if (HasShadowBlur) { |
| | 21729 | | output.WriteRawTag(189, 1); |
| | 21730 | | output.WriteFloat(ShadowBlur); |
| | 21731 | | } |
| | 21732 | | if (HasShadowOffsetX) { |
| | 21733 | | output.WriteRawTag(197, 1); |
| | 21734 | | output.WriteFloat(ShadowOffsetX); |
| | 21735 | | } |
| | 21736 | | if (HasShadowOffsetY) { |
| | 21737 | | output.WriteRawTag(205, 1); |
| | 21738 | | output.WriteFloat(ShadowOffsetY); |
| | 21739 | | } |
| | 21740 | | if (shadowColor_ != null) { |
| | 21741 | | output.WriteRawTag(210, 1); |
| | 21742 | | output.WriteMessage(ShadowColor); |
| | 21743 | | } |
| | 21744 | | if (HasHTextAlign) { |
| | 21745 | | output.WriteRawTag(218, 1); |
| | 21746 | | output.WriteString(HTextAlign); |
| | 21747 | | } |
| | 21748 | | if (HasVTextAlign) { |
| | 21749 | | output.WriteRawTag(226, 1); |
| | 21750 | | output.WriteString(VTextAlign); |
| | 21751 | | } |
| | 21752 | | if (HasPaddingTop) { |
| | 21753 | | output.WriteRawTag(237, 1); |
| | 21754 | | output.WriteFloat(PaddingTop); |
| | 21755 | | } |
| | 21756 | | if (HasPaddingRight) { |
| | 21757 | | output.WriteRawTag(245, 1); |
| | 21758 | | output.WriteFloat(PaddingRight); |
| | 21759 | | } |
| | 21760 | | if (HasPaddingBottom) { |
| | 21761 | | output.WriteRawTag(253, 1); |
| | 21762 | | output.WriteFloat(PaddingBottom); |
| | 21763 | | } |
| | 21764 | | if (HasPaddingLeft) { |
| | 21765 | | output.WriteRawTag(133, 2); |
| | 21766 | | output.WriteFloat(PaddingLeft); |
| | 21767 | | } |
| | 21768 | | if (HasPlaceholder) { |
| | 21769 | | output.WriteRawTag(138, 2); |
| | 21770 | | output.WriteString(Placeholder); |
| | 21771 | | } |
| | 21772 | | if (HasMargin) { |
| | 21773 | | output.WriteRawTag(149, 2); |
| | 21774 | | output.WriteFloat(Margin); |
| | 21775 | | } |
| | 21776 | | if (focusedBackground_ != null) { |
| | 21777 | | output.WriteRawTag(154, 2); |
| | 21778 | | output.WriteMessage(FocusedBackground); |
| | 21779 | | } |
| | 21780 | | if (HasOnTextChanged) { |
| | 21781 | | output.WriteRawTag(162, 2); |
| | 21782 | | output.WriteString(OnTextChanged); |
| | 21783 | | } |
| | 21784 | | if (HasOnFocus) { |
| | 21785 | | output.WriteRawTag(170, 2); |
| | 21786 | | output.WriteString(OnFocus); |
| | 21787 | | } |
| | 21788 | | if (HasOnBlur) { |
| | 21789 | | output.WriteRawTag(178, 2); |
| | 21790 | | output.WriteString(OnBlur); |
| | 21791 | | } |
| | 21792 | | if (HasParentComponent) { |
| | 21793 | | output.WriteRawTag(186, 2); |
| | 21794 | | output.WriteString(ParentComponent); |
| | 21795 | | } |
| | 21796 | | if (HasOnTextSubmit) { |
| | 21797 | | output.WriteRawTag(194, 2); |
| | 21798 | | output.WriteString(OnTextSubmit); |
| | 21799 | | } |
| | 21800 | | if (HasOnChanged) { |
| | 21801 | | output.WriteRawTag(202, 2); |
| | 21802 | | output.WriteString(OnChanged); |
| | 21803 | | } |
| | 21804 | | if (_unknownFields != null) { |
| | 21805 | | _unknownFields.WriteTo(ref output); |
| | 21806 | | } |
| | 21807 | | } |
| | 21808 | | #endif |
| | 21809 | |
|
| | 21810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21812 | | public int CalculateSize() { |
| | 21813 | | int size = 0; |
| | 21814 | | if (HasName) { |
| | 21815 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 21816 | | } |
| | 21817 | | if (HasVisible) { |
| | 21818 | | size += 1 + 1; |
| | 21819 | | } |
| | 21820 | | if (HasOpacity) { |
| | 21821 | | size += 1 + 4; |
| | 21822 | | } |
| | 21823 | | if (HasHAlign) { |
| | 21824 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 21825 | | } |
| | 21826 | | if (HasVAlign) { |
| | 21827 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 21828 | | } |
| | 21829 | | if (width_ != null) { |
| | 21830 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 21831 | | } |
| | 21832 | | if (height_ != null) { |
| | 21833 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 21834 | | } |
| | 21835 | | if (positionX_ != null) { |
| | 21836 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 21837 | | } |
| | 21838 | | if (positionY_ != null) { |
| | 21839 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 21840 | | } |
| | 21841 | | if (HasIsPointerBlocker) { |
| | 21842 | | size += 1 + 1; |
| | 21843 | | } |
| | 21844 | | if (HasParentComponent) { |
| | 21845 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 21846 | | } |
| | 21847 | | if (HasOutlineWidth) { |
| | 21848 | | size += 1 + 4; |
| | 21849 | | } |
| | 21850 | | if (outlineColor_ != null) { |
| | 21851 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 21852 | | } |
| | 21853 | | if (color_ != null) { |
| | 21854 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 21855 | | } |
| | 21856 | | if (HasFontSize) { |
| | 21857 | | size += 1 + 4; |
| | 21858 | | } |
| | 21859 | | if (HasFont) { |
| | 21860 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Font); |
| | 21861 | | } |
| | 21862 | | if (HasValue) { |
| | 21863 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 21864 | | } |
| | 21865 | | if (HasPlaceholder) { |
| | 21866 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Placeholder); |
| | 21867 | | } |
| | 21868 | | if (HasMargin) { |
| | 21869 | | size += 2 + 4; |
| | 21870 | | } |
| | 21871 | | if (focusedBackground_ != null) { |
| | 21872 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(FocusedBackground); |
| | 21873 | | } |
| | 21874 | | if (HasTextWrapping) { |
| | 21875 | | size += 2 + 1; |
| | 21876 | | } |
| | 21877 | | if (HasShadowBlur) { |
| | 21878 | | size += 2 + 4; |
| | 21879 | | } |
| | 21880 | | if (HasShadowOffsetX) { |
| | 21881 | | size += 2 + 4; |
| | 21882 | | } |
| | 21883 | | if (HasShadowOffsetY) { |
| | 21884 | | size += 2 + 4; |
| | 21885 | | } |
| | 21886 | | if (shadowColor_ != null) { |
| | 21887 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 21888 | | } |
| | 21889 | | if (HasHTextAlign) { |
| | 21890 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 21891 | | } |
| | 21892 | | if (HasVTextAlign) { |
| | 21893 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 21894 | | } |
| | 21895 | | if (HasPaddingTop) { |
| | 21896 | | size += 2 + 4; |
| | 21897 | | } |
| | 21898 | | if (HasPaddingRight) { |
| | 21899 | | size += 2 + 4; |
| | 21900 | | } |
| | 21901 | | if (HasPaddingBottom) { |
| | 21902 | | size += 2 + 4; |
| | 21903 | | } |
| | 21904 | | if (HasPaddingLeft) { |
| | 21905 | | size += 2 + 4; |
| | 21906 | | } |
| | 21907 | | if (HasOnTextChanged) { |
| | 21908 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnTextChanged); |
| | 21909 | | } |
| | 21910 | | if (HasOnFocus) { |
| | 21911 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnFocus); |
| | 21912 | | } |
| | 21913 | | if (HasOnBlur) { |
| | 21914 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnBlur); |
| | 21915 | | } |
| | 21916 | | if (HasOnTextSubmit) { |
| | 21917 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnTextSubmit); |
| | 21918 | | } |
| | 21919 | | if (HasOnChanged) { |
| | 21920 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnChanged); |
| | 21921 | | } |
| | 21922 | | if (_unknownFields != null) { |
| | 21923 | | size += _unknownFields.CalculateSize(); |
| | 21924 | | } |
| | 21925 | | return size; |
| | 21926 | | } |
| | 21927 | |
|
| | 21928 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21929 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21930 | | public void MergeFrom(ECS6ComponentUiInputText other) { |
| | 21931 | | if (other == null) { |
| | 21932 | | return; |
| | 21933 | | } |
| | 21934 | | if (other.HasName) { |
| | 21935 | | Name = other.Name; |
| | 21936 | | } |
| | 21937 | | if (other.HasVisible) { |
| | 21938 | | Visible = other.Visible; |
| | 21939 | | } |
| | 21940 | | if (other.HasOpacity) { |
| | 21941 | | Opacity = other.Opacity; |
| | 21942 | | } |
| | 21943 | | if (other.HasHAlign) { |
| | 21944 | | HAlign = other.HAlign; |
| | 21945 | | } |
| | 21946 | | if (other.HasVAlign) { |
| | 21947 | | VAlign = other.VAlign; |
| | 21948 | | } |
| | 21949 | | if (other.width_ != null) { |
| | 21950 | | if (width_ == null) { |
| | 21951 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 21952 | | } |
| | 21953 | | Width.MergeFrom(other.Width); |
| | 21954 | | } |
| | 21955 | | if (other.height_ != null) { |
| | 21956 | | if (height_ == null) { |
| | 21957 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 21958 | | } |
| | 21959 | | Height.MergeFrom(other.Height); |
| | 21960 | | } |
| | 21961 | | if (other.positionX_ != null) { |
| | 21962 | | if (positionX_ == null) { |
| | 21963 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 21964 | | } |
| | 21965 | | PositionX.MergeFrom(other.PositionX); |
| | 21966 | | } |
| | 21967 | | if (other.positionY_ != null) { |
| | 21968 | | if (positionY_ == null) { |
| | 21969 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 21970 | | } |
| | 21971 | | PositionY.MergeFrom(other.PositionY); |
| | 21972 | | } |
| | 21973 | | if (other.HasIsPointerBlocker) { |
| | 21974 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 21975 | | } |
| | 21976 | | if (other.HasParentComponent) { |
| | 21977 | | ParentComponent = other.ParentComponent; |
| | 21978 | | } |
| | 21979 | | if (other.HasOutlineWidth) { |
| | 21980 | | OutlineWidth = other.OutlineWidth; |
| | 21981 | | } |
| | 21982 | | if (other.outlineColor_ != null) { |
| | 21983 | | if (outlineColor_ == null) { |
| | 21984 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 21985 | | } |
| | 21986 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 21987 | | } |
| | 21988 | | if (other.color_ != null) { |
| | 21989 | | if (color_ == null) { |
| | 21990 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 21991 | | } |
| | 21992 | | Color.MergeFrom(other.Color); |
| | 21993 | | } |
| | 21994 | | if (other.HasFontSize) { |
| | 21995 | | FontSize = other.FontSize; |
| | 21996 | | } |
| | 21997 | | if (other.HasFont) { |
| | 21998 | | Font = other.Font; |
| | 21999 | | } |
| | 22000 | | if (other.HasValue) { |
| | 22001 | | Value = other.Value; |
| | 22002 | | } |
| | 22003 | | if (other.HasPlaceholder) { |
| | 22004 | | Placeholder = other.Placeholder; |
| | 22005 | | } |
| | 22006 | | if (other.HasMargin) { |
| | 22007 | | Margin = other.Margin; |
| | 22008 | | } |
| | 22009 | | if (other.focusedBackground_ != null) { |
| | 22010 | | if (focusedBackground_ == null) { |
| | 22011 | | FocusedBackground = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22012 | | } |
| | 22013 | | FocusedBackground.MergeFrom(other.FocusedBackground); |
| | 22014 | | } |
| | 22015 | | if (other.HasTextWrapping) { |
| | 22016 | | TextWrapping = other.TextWrapping; |
| | 22017 | | } |
| | 22018 | | if (other.HasShadowBlur) { |
| | 22019 | | ShadowBlur = other.ShadowBlur; |
| | 22020 | | } |
| | 22021 | | if (other.HasShadowOffsetX) { |
| | 22022 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 22023 | | } |
| | 22024 | | if (other.HasShadowOffsetY) { |
| | 22025 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 22026 | | } |
| | 22027 | | if (other.shadowColor_ != null) { |
| | 22028 | | if (shadowColor_ == null) { |
| | 22029 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22030 | | } |
| | 22031 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 22032 | | } |
| | 22033 | | if (other.HasHTextAlign) { |
| | 22034 | | HTextAlign = other.HTextAlign; |
| | 22035 | | } |
| | 22036 | | if (other.HasVTextAlign) { |
| | 22037 | | VTextAlign = other.VTextAlign; |
| | 22038 | | } |
| | 22039 | | if (other.HasPaddingTop) { |
| | 22040 | | PaddingTop = other.PaddingTop; |
| | 22041 | | } |
| | 22042 | | if (other.HasPaddingRight) { |
| | 22043 | | PaddingRight = other.PaddingRight; |
| | 22044 | | } |
| | 22045 | | if (other.HasPaddingBottom) { |
| | 22046 | | PaddingBottom = other.PaddingBottom; |
| | 22047 | | } |
| | 22048 | | if (other.HasPaddingLeft) { |
| | 22049 | | PaddingLeft = other.PaddingLeft; |
| | 22050 | | } |
| | 22051 | | if (other.HasOnTextChanged) { |
| | 22052 | | OnTextChanged = other.OnTextChanged; |
| | 22053 | | } |
| | 22054 | | if (other.HasOnFocus) { |
| | 22055 | | OnFocus = other.OnFocus; |
| | 22056 | | } |
| | 22057 | | if (other.HasOnBlur) { |
| | 22058 | | OnBlur = other.OnBlur; |
| | 22059 | | } |
| | 22060 | | if (other.HasOnTextSubmit) { |
| | 22061 | | OnTextSubmit = other.OnTextSubmit; |
| | 22062 | | } |
| | 22063 | | if (other.HasOnChanged) { |
| | 22064 | | OnChanged = other.OnChanged; |
| | 22065 | | } |
| | 22066 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 22067 | | } |
| | 22068 | |
|
| | 22069 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22070 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22071 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 22072 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22073 | | input.ReadRawMessage(this); |
| | 22074 | | #else |
| | 22075 | | uint tag; |
| | 22076 | | while ((tag = input.ReadTag()) != 0) { |
| | 22077 | | switch(tag) { |
| | 22078 | | default: |
| | 22079 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 22080 | | break; |
| | 22081 | | case 10: { |
| | 22082 | | Name = input.ReadString(); |
| | 22083 | | break; |
| | 22084 | | } |
| | 22085 | | case 16: { |
| | 22086 | | Visible = input.ReadBool(); |
| | 22087 | | break; |
| | 22088 | | } |
| | 22089 | | case 29: { |
| | 22090 | | Opacity = input.ReadFloat(); |
| | 22091 | | break; |
| | 22092 | | } |
| | 22093 | | case 34: { |
| | 22094 | | HAlign = input.ReadString(); |
| | 22095 | | break; |
| | 22096 | | } |
| | 22097 | | case 42: { |
| | 22098 | | VAlign = input.ReadString(); |
| | 22099 | | break; |
| | 22100 | | } |
| | 22101 | | case 50: { |
| | 22102 | | if (width_ == null) { |
| | 22103 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22104 | | } |
| | 22105 | | input.ReadMessage(Width); |
| | 22106 | | break; |
| | 22107 | | } |
| | 22108 | | case 58: { |
| | 22109 | | if (height_ == null) { |
| | 22110 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22111 | | } |
| | 22112 | | input.ReadMessage(Height); |
| | 22113 | | break; |
| | 22114 | | } |
| | 22115 | | case 66: { |
| | 22116 | | if (positionX_ == null) { |
| | 22117 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22118 | | } |
| | 22119 | | input.ReadMessage(PositionX); |
| | 22120 | | break; |
| | 22121 | | } |
| | 22122 | | case 74: { |
| | 22123 | | if (positionY_ == null) { |
| | 22124 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22125 | | } |
| | 22126 | | input.ReadMessage(PositionY); |
| | 22127 | | break; |
| | 22128 | | } |
| | 22129 | | case 80: { |
| | 22130 | | IsPointerBlocker = input.ReadBool(); |
| | 22131 | | break; |
| | 22132 | | } |
| | 22133 | | case 93: { |
| | 22134 | | OutlineWidth = input.ReadFloat(); |
| | 22135 | | break; |
| | 22136 | | } |
| | 22137 | | case 98: { |
| | 22138 | | if (outlineColor_ == null) { |
| | 22139 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22140 | | } |
| | 22141 | | input.ReadMessage(OutlineColor); |
| | 22142 | | break; |
| | 22143 | | } |
| | 22144 | | case 106: { |
| | 22145 | | if (color_ == null) { |
| | 22146 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22147 | | } |
| | 22148 | | input.ReadMessage(Color); |
| | 22149 | | break; |
| | 22150 | | } |
| | 22151 | | case 117: { |
| | 22152 | | FontSize = input.ReadFloat(); |
| | 22153 | | break; |
| | 22154 | | } |
| | 22155 | | case 130: { |
| | 22156 | | Font = input.ReadString(); |
| | 22157 | | break; |
| | 22158 | | } |
| | 22159 | | case 138: { |
| | 22160 | | Value = input.ReadString(); |
| | 22161 | | break; |
| | 22162 | | } |
| | 22163 | | case 176: { |
| | 22164 | | TextWrapping = input.ReadBool(); |
| | 22165 | | break; |
| | 22166 | | } |
| | 22167 | | case 189: { |
| | 22168 | | ShadowBlur = input.ReadFloat(); |
| | 22169 | | break; |
| | 22170 | | } |
| | 22171 | | case 197: { |
| | 22172 | | ShadowOffsetX = input.ReadFloat(); |
| | 22173 | | break; |
| | 22174 | | } |
| | 22175 | | case 205: { |
| | 22176 | | ShadowOffsetY = input.ReadFloat(); |
| | 22177 | | break; |
| | 22178 | | } |
| | 22179 | | case 210: { |
| | 22180 | | if (shadowColor_ == null) { |
| | 22181 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22182 | | } |
| | 22183 | | input.ReadMessage(ShadowColor); |
| | 22184 | | break; |
| | 22185 | | } |
| | 22186 | | case 218: { |
| | 22187 | | HTextAlign = input.ReadString(); |
| | 22188 | | break; |
| | 22189 | | } |
| | 22190 | | case 226: { |
| | 22191 | | VTextAlign = input.ReadString(); |
| | 22192 | | break; |
| | 22193 | | } |
| | 22194 | | case 237: { |
| | 22195 | | PaddingTop = input.ReadFloat(); |
| | 22196 | | break; |
| | 22197 | | } |
| | 22198 | | case 245: { |
| | 22199 | | PaddingRight = input.ReadFloat(); |
| | 22200 | | break; |
| | 22201 | | } |
| | 22202 | | case 253: { |
| | 22203 | | PaddingBottom = input.ReadFloat(); |
| | 22204 | | break; |
| | 22205 | | } |
| | 22206 | | case 261: { |
| | 22207 | | PaddingLeft = input.ReadFloat(); |
| | 22208 | | break; |
| | 22209 | | } |
| | 22210 | | case 266: { |
| | 22211 | | Placeholder = input.ReadString(); |
| | 22212 | | break; |
| | 22213 | | } |
| | 22214 | | case 277: { |
| | 22215 | | Margin = input.ReadFloat(); |
| | 22216 | | break; |
| | 22217 | | } |
| | 22218 | | case 282: { |
| | 22219 | | if (focusedBackground_ == null) { |
| | 22220 | | FocusedBackground = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22221 | | } |
| | 22222 | | input.ReadMessage(FocusedBackground); |
| | 22223 | | break; |
| | 22224 | | } |
| | 22225 | | case 290: { |
| | 22226 | | OnTextChanged = input.ReadString(); |
| | 22227 | | break; |
| | 22228 | | } |
| | 22229 | | case 298: { |
| | 22230 | | OnFocus = input.ReadString(); |
| | 22231 | | break; |
| | 22232 | | } |
| | 22233 | | case 306: { |
| | 22234 | | OnBlur = input.ReadString(); |
| | 22235 | | break; |
| | 22236 | | } |
| | 22237 | | case 314: { |
| | 22238 | | ParentComponent = input.ReadString(); |
| | 22239 | | break; |
| | 22240 | | } |
| | 22241 | | case 322: { |
| | 22242 | | OnTextSubmit = input.ReadString(); |
| | 22243 | | break; |
| | 22244 | | } |
| | 22245 | | case 330: { |
| | 22246 | | OnChanged = input.ReadString(); |
| | 22247 | | break; |
| | 22248 | | } |
| | 22249 | | } |
| | 22250 | | } |
| | 22251 | | #endif |
| | 22252 | | } |
| | 22253 | |
|
| | 22254 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22257 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 22258 | | uint tag; |
| | 22259 | | while ((tag = input.ReadTag()) != 0) { |
| | 22260 | | switch(tag) { |
| | 22261 | | default: |
| | 22262 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 22263 | | break; |
| | 22264 | | case 10: { |
| | 22265 | | Name = input.ReadString(); |
| | 22266 | | break; |
| | 22267 | | } |
| | 22268 | | case 16: { |
| | 22269 | | Visible = input.ReadBool(); |
| | 22270 | | break; |
| | 22271 | | } |
| | 22272 | | case 29: { |
| | 22273 | | Opacity = input.ReadFloat(); |
| | 22274 | | break; |
| | 22275 | | } |
| | 22276 | | case 34: { |
| | 22277 | | HAlign = input.ReadString(); |
| | 22278 | | break; |
| | 22279 | | } |
| | 22280 | | case 42: { |
| | 22281 | | VAlign = input.ReadString(); |
| | 22282 | | break; |
| | 22283 | | } |
| | 22284 | | case 50: { |
| | 22285 | | if (width_ == null) { |
| | 22286 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22287 | | } |
| | 22288 | | input.ReadMessage(Width); |
| | 22289 | | break; |
| | 22290 | | } |
| | 22291 | | case 58: { |
| | 22292 | | if (height_ == null) { |
| | 22293 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22294 | | } |
| | 22295 | | input.ReadMessage(Height); |
| | 22296 | | break; |
| | 22297 | | } |
| | 22298 | | case 66: { |
| | 22299 | | if (positionX_ == null) { |
| | 22300 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22301 | | } |
| | 22302 | | input.ReadMessage(PositionX); |
| | 22303 | | break; |
| | 22304 | | } |
| | 22305 | | case 74: { |
| | 22306 | | if (positionY_ == null) { |
| | 22307 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 22308 | | } |
| | 22309 | | input.ReadMessage(PositionY); |
| | 22310 | | break; |
| | 22311 | | } |
| | 22312 | | case 80: { |
| | 22313 | | IsPointerBlocker = input.ReadBool(); |
| | 22314 | | break; |
| | 22315 | | } |
| | 22316 | | case 93: { |
| | 22317 | | OutlineWidth = input.ReadFloat(); |
| | 22318 | | break; |
| | 22319 | | } |
| | 22320 | | case 98: { |
| | 22321 | | if (outlineColor_ == null) { |
| | 22322 | | OutlineColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22323 | | } |
| | 22324 | | input.ReadMessage(OutlineColor); |
| | 22325 | | break; |
| | 22326 | | } |
| | 22327 | | case 106: { |
| | 22328 | | if (color_ == null) { |
| | 22329 | | Color = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22330 | | } |
| | 22331 | | input.ReadMessage(Color); |
| | 22332 | | break; |
| | 22333 | | } |
| | 22334 | | case 117: { |
| | 22335 | | FontSize = input.ReadFloat(); |
| | 22336 | | break; |
| | 22337 | | } |
| | 22338 | | case 130: { |
| | 22339 | | Font = input.ReadString(); |
| | 22340 | | break; |
| | 22341 | | } |
| | 22342 | | case 138: { |
| | 22343 | | Value = input.ReadString(); |
| | 22344 | | break; |
| | 22345 | | } |
| | 22346 | | case 176: { |
| | 22347 | | TextWrapping = input.ReadBool(); |
| | 22348 | | break; |
| | 22349 | | } |
| | 22350 | | case 189: { |
| | 22351 | | ShadowBlur = input.ReadFloat(); |
| | 22352 | | break; |
| | 22353 | | } |
| | 22354 | | case 197: { |
| | 22355 | | ShadowOffsetX = input.ReadFloat(); |
| | 22356 | | break; |
| | 22357 | | } |
| | 22358 | | case 205: { |
| | 22359 | | ShadowOffsetY = input.ReadFloat(); |
| | 22360 | | break; |
| | 22361 | | } |
| | 22362 | | case 210: { |
| | 22363 | | if (shadowColor_ == null) { |
| | 22364 | | ShadowColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22365 | | } |
| | 22366 | | input.ReadMessage(ShadowColor); |
| | 22367 | | break; |
| | 22368 | | } |
| | 22369 | | case 218: { |
| | 22370 | | HTextAlign = input.ReadString(); |
| | 22371 | | break; |
| | 22372 | | } |
| | 22373 | | case 226: { |
| | 22374 | | VTextAlign = input.ReadString(); |
| | 22375 | | break; |
| | 22376 | | } |
| | 22377 | | case 237: { |
| | 22378 | | PaddingTop = input.ReadFloat(); |
| | 22379 | | break; |
| | 22380 | | } |
| | 22381 | | case 245: { |
| | 22382 | | PaddingRight = input.ReadFloat(); |
| | 22383 | | break; |
| | 22384 | | } |
| | 22385 | | case 253: { |
| | 22386 | | PaddingBottom = input.ReadFloat(); |
| | 22387 | | break; |
| | 22388 | | } |
| | 22389 | | case 261: { |
| | 22390 | | PaddingLeft = input.ReadFloat(); |
| | 22391 | | break; |
| | 22392 | | } |
| | 22393 | | case 266: { |
| | 22394 | | Placeholder = input.ReadString(); |
| | 22395 | | break; |
| | 22396 | | } |
| | 22397 | | case 277: { |
| | 22398 | | Margin = input.ReadFloat(); |
| | 22399 | | break; |
| | 22400 | | } |
| | 22401 | | case 282: { |
| | 22402 | | if (focusedBackground_ == null) { |
| | 22403 | | FocusedBackground = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 22404 | | } |
| | 22405 | | input.ReadMessage(FocusedBackground); |
| | 22406 | | break; |
| | 22407 | | } |
| | 22408 | | case 290: { |
| | 22409 | | OnTextChanged = input.ReadString(); |
| | 22410 | | break; |
| | 22411 | | } |
| | 22412 | | case 298: { |
| | 22413 | | OnFocus = input.ReadString(); |
| | 22414 | | break; |
| | 22415 | | } |
| | 22416 | | case 306: { |
| | 22417 | | OnBlur = input.ReadString(); |
| | 22418 | | break; |
| | 22419 | | } |
| | 22420 | | case 314: { |
| | 22421 | | ParentComponent = input.ReadString(); |
| | 22422 | | break; |
| | 22423 | | } |
| | 22424 | | case 322: { |
| | 22425 | | OnTextSubmit = input.ReadString(); |
| | 22426 | | break; |
| | 22427 | | } |
| | 22428 | | case 330: { |
| | 22429 | | OnChanged = input.ReadString(); |
| | 22430 | | break; |
| | 22431 | | } |
| | 22432 | | } |
| | 22433 | | } |
| | 22434 | | } |
| | 22435 | | #endif |
| | 22436 | |
|
| | 22437 | | } |
| | 22438 | |
|
| | 22439 | | /// <summary> |
| | 22440 | | /// CLASS_ID.UI_IMAGE_SHAPE |
| | 22441 | | /// </summary> |
| | 22442 | | public sealed partial class ECS6ComponentUiImage : pb::IMessage<ECS6ComponentUiImage> |
| | 22443 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22444 | | , pb::IBufferMessage |
| | 22445 | | #endif |
| | 22446 | | { |
| | 22447 | | private static readonly pb::MessageParser<ECS6ComponentUiImage> _parser = new pb::MessageParser<ECS6ComponentUiImage |
| | 22448 | | private pb::UnknownFieldSet _unknownFields; |
| | 22449 | | private int _hasBits0; |
| | 22450 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22451 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22452 | | public static pb::MessageParser<ECS6ComponentUiImage> Parser { get { return _parser; } } |
| | 22453 | |
|
| | 22454 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22455 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22456 | | public static pbr::MessageDescriptor Descriptor { |
| | 22457 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[39]; } |
| | 22458 | | } |
| | 22459 | |
|
| | 22460 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22461 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22462 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 22463 | | get { return Descriptor; } |
| | 22464 | | } |
| | 22465 | |
|
| | 22466 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22467 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22468 | | public ECS6ComponentUiImage() { |
| | 22469 | | OnConstruction(); |
| | 22470 | | } |
| | 22471 | |
|
| | 22472 | | partial void OnConstruction(); |
| | 22473 | |
|
| | 22474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22476 | | public ECS6ComponentUiImage(ECS6ComponentUiImage other) : this() { |
| | 22477 | | _hasBits0 = other._hasBits0; |
| | 22478 | | name_ = other.name_; |
| | 22479 | | visible_ = other.visible_; |
| | 22480 | | opacity_ = other.opacity_; |
| | 22481 | | hAlign_ = other.hAlign_; |
| | 22482 | | vAlign_ = other.vAlign_; |
| | 22483 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 22484 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 22485 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 22486 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 22487 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 22488 | | parentComponent_ = other.parentComponent_; |
| | 22489 | | sourceLeft_ = other.sourceLeft_; |
| | 22490 | | sourceTop_ = other.sourceTop_; |
| | 22491 | | sourceWidth_ = other.sourceWidth_; |
| | 22492 | | sourceHeight_ = other.sourceHeight_; |
| | 22493 | | source_ = other.source_; |
| | 22494 | | paddingTop_ = other.paddingTop_; |
| | 22495 | | paddingRight_ = other.paddingRight_; |
| | 22496 | | paddingBottom_ = other.paddingBottom_; |
| | 22497 | | paddingLeft_ = other.paddingLeft_; |
| | 22498 | | sizeInPixels_ = other.sizeInPixels_; |
| | 22499 | | onClick_ = other.onClick_; |
| | 22500 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 22501 | | } |
| | 22502 | |
|
| | 22503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22505 | | public ECS6ComponentUiImage Clone() { |
| | 22506 | | return new ECS6ComponentUiImage(this); |
| | 22507 | | } |
| | 22508 | |
|
| | 22509 | | /// <summary>Field number for the "name" field.</summary> |
| | 22510 | | public const int NameFieldNumber = 1; |
| | 22511 | | private string name_; |
| | 22512 | | /// <summary> |
| | 22513 | | /// UiShape |
| | 22514 | | /// </summary> |
| | 22515 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22516 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22517 | | public string Name { |
| | 22518 | | get { return name_ ?? ""; } |
| | 22519 | | set { |
| | 22520 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22521 | | } |
| | 22522 | | } |
| | 22523 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 22524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22526 | | public bool HasName { |
| | 22527 | | get { return name_ != null; } |
| | 22528 | | } |
| | 22529 | | /// <summary>Clears the value of the "name" field</summary> |
| | 22530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22532 | | public void ClearName() { |
| | 22533 | | name_ = null; |
| | 22534 | | } |
| | 22535 | |
|
| | 22536 | | /// <summary>Field number for the "visible" field.</summary> |
| | 22537 | | public const int VisibleFieldNumber = 2; |
| | 22538 | | private bool visible_; |
| | 22539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22541 | | public bool Visible { |
| | 22542 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 22543 | | set { |
| | 22544 | | _hasBits0 |= 1; |
| | 22545 | | visible_ = value; |
| | 22546 | | } |
| | 22547 | | } |
| | 22548 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 22549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22551 | | public bool HasVisible { |
| | 22552 | | get { return (_hasBits0 & 1) != 0; } |
| | 22553 | | } |
| | 22554 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 22555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22557 | | public void ClearVisible() { |
| | 22558 | | _hasBits0 &= ~1; |
| | 22559 | | } |
| | 22560 | |
|
| | 22561 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 22562 | | public const int OpacityFieldNumber = 3; |
| | 22563 | | private float opacity_; |
| | 22564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22566 | | public float Opacity { |
| | 22567 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 22568 | | set { |
| | 22569 | | _hasBits0 |= 2; |
| | 22570 | | opacity_ = value; |
| | 22571 | | } |
| | 22572 | | } |
| | 22573 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 22574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22576 | | public bool HasOpacity { |
| | 22577 | | get { return (_hasBits0 & 2) != 0; } |
| | 22578 | | } |
| | 22579 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 22580 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22581 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22582 | | public void ClearOpacity() { |
| | 22583 | | _hasBits0 &= ~2; |
| | 22584 | | } |
| | 22585 | |
|
| | 22586 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 22587 | | public const int HAlignFieldNumber = 4; |
| | 22588 | | private string hAlign_; |
| | 22589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22591 | | public string HAlign { |
| | 22592 | | get { return hAlign_ ?? ""; } |
| | 22593 | | set { |
| | 22594 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22595 | | } |
| | 22596 | | } |
| | 22597 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 22598 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22599 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22600 | | public bool HasHAlign { |
| | 22601 | | get { return hAlign_ != null; } |
| | 22602 | | } |
| | 22603 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 22604 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22605 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22606 | | public void ClearHAlign() { |
| | 22607 | | hAlign_ = null; |
| | 22608 | | } |
| | 22609 | |
|
| | 22610 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 22611 | | public const int VAlignFieldNumber = 5; |
| | 22612 | | private string vAlign_; |
| | 22613 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22614 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22615 | | public string VAlign { |
| | 22616 | | get { return vAlign_ ?? ""; } |
| | 22617 | | set { |
| | 22618 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22619 | | } |
| | 22620 | | } |
| | 22621 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 22622 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22623 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22624 | | public bool HasVAlign { |
| | 22625 | | get { return vAlign_ != null; } |
| | 22626 | | } |
| | 22627 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 22628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22630 | | public void ClearVAlign() { |
| | 22631 | | vAlign_ = null; |
| | 22632 | | } |
| | 22633 | |
|
| | 22634 | | /// <summary>Field number for the "width" field.</summary> |
| | 22635 | | public const int WidthFieldNumber = 6; |
| | 22636 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 22637 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22638 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22639 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 22640 | | get { return width_; } |
| | 22641 | | set { |
| | 22642 | | width_ = value; |
| | 22643 | | } |
| | 22644 | | } |
| | 22645 | |
|
| | 22646 | | /// <summary>Field number for the "height" field.</summary> |
| | 22647 | | public const int HeightFieldNumber = 7; |
| | 22648 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 22649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22651 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 22652 | | get { return height_; } |
| | 22653 | | set { |
| | 22654 | | height_ = value; |
| | 22655 | | } |
| | 22656 | | } |
| | 22657 | |
|
| | 22658 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 22659 | | public const int PositionXFieldNumber = 8; |
| | 22660 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 22661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22663 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 22664 | | get { return positionX_; } |
| | 22665 | | set { |
| | 22666 | | positionX_ = value; |
| | 22667 | | } |
| | 22668 | | } |
| | 22669 | |
|
| | 22670 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 22671 | | public const int PositionYFieldNumber = 9; |
| | 22672 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 22673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22675 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 22676 | | get { return positionY_; } |
| | 22677 | | set { |
| | 22678 | | positionY_ = value; |
| | 22679 | | } |
| | 22680 | | } |
| | 22681 | |
|
| | 22682 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 22683 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 22684 | | private bool isPointerBlocker_; |
| | 22685 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22686 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22687 | | public bool IsPointerBlocker { |
| | 22688 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 22689 | | set { |
| | 22690 | | _hasBits0 |= 4; |
| | 22691 | | isPointerBlocker_ = value; |
| | 22692 | | } |
| | 22693 | | } |
| | 22694 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 22695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22697 | | public bool HasIsPointerBlocker { |
| | 22698 | | get { return (_hasBits0 & 4) != 0; } |
| | 22699 | | } |
| | 22700 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 22701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22703 | | public void ClearIsPointerBlocker() { |
| | 22704 | | _hasBits0 &= ~4; |
| | 22705 | | } |
| | 22706 | |
|
| | 22707 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 22708 | | public const int ParentComponentFieldNumber = 22; |
| | 22709 | | private string parentComponent_; |
| | 22710 | | /// <summary> |
| | 22711 | | /// UiShape |
| | 22712 | | /// </summary> |
| | 22713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22715 | | public string ParentComponent { |
| | 22716 | | get { return parentComponent_ ?? ""; } |
| | 22717 | | set { |
| | 22718 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22719 | | } |
| | 22720 | | } |
| | 22721 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 22722 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22723 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22724 | | public bool HasParentComponent { |
| | 22725 | | get { return parentComponent_ != null; } |
| | 22726 | | } |
| | 22727 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 22728 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22729 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22730 | | public void ClearParentComponent() { |
| | 22731 | | parentComponent_ = null; |
| | 22732 | | } |
| | 22733 | |
|
| | 22734 | | /// <summary>Field number for the "source_left" field.</summary> |
| | 22735 | | public const int SourceLeftFieldNumber = 11; |
| | 22736 | | private float sourceLeft_; |
| | 22737 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22738 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22739 | | public float SourceLeft { |
| | 22740 | | get { if ((_hasBits0 & 8) != 0) { return sourceLeft_; } else { return 0F; } } |
| | 22741 | | set { |
| | 22742 | | _hasBits0 |= 8; |
| | 22743 | | sourceLeft_ = value; |
| | 22744 | | } |
| | 22745 | | } |
| | 22746 | | /// <summary>Gets whether the "source_left" field is set</summary> |
| | 22747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22749 | | public bool HasSourceLeft { |
| | 22750 | | get { return (_hasBits0 & 8) != 0; } |
| | 22751 | | } |
| | 22752 | | /// <summary>Clears the value of the "source_left" field</summary> |
| | 22753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22755 | | public void ClearSourceLeft() { |
| | 22756 | | _hasBits0 &= ~8; |
| | 22757 | | } |
| | 22758 | |
|
| | 22759 | | /// <summary>Field number for the "source_top" field.</summary> |
| | 22760 | | public const int SourceTopFieldNumber = 12; |
| | 22761 | | private float sourceTop_; |
| | 22762 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22763 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22764 | | public float SourceTop { |
| | 22765 | | get { if ((_hasBits0 & 16) != 0) { return sourceTop_; } else { return 0F; } } |
| | 22766 | | set { |
| | 22767 | | _hasBits0 |= 16; |
| | 22768 | | sourceTop_ = value; |
| | 22769 | | } |
| | 22770 | | } |
| | 22771 | | /// <summary>Gets whether the "source_top" field is set</summary> |
| | 22772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22774 | | public bool HasSourceTop { |
| | 22775 | | get { return (_hasBits0 & 16) != 0; } |
| | 22776 | | } |
| | 22777 | | /// <summary>Clears the value of the "source_top" field</summary> |
| | 22778 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22779 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22780 | | public void ClearSourceTop() { |
| | 22781 | | _hasBits0 &= ~16; |
| | 22782 | | } |
| | 22783 | |
|
| | 22784 | | /// <summary>Field number for the "source_width" field.</summary> |
| | 22785 | | public const int SourceWidthFieldNumber = 13; |
| | 22786 | | private float sourceWidth_; |
| | 22787 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22788 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22789 | | public float SourceWidth { |
| | 22790 | | get { if ((_hasBits0 & 32) != 0) { return sourceWidth_; } else { return 0F; } } |
| | 22791 | | set { |
| | 22792 | | _hasBits0 |= 32; |
| | 22793 | | sourceWidth_ = value; |
| | 22794 | | } |
| | 22795 | | } |
| | 22796 | | /// <summary>Gets whether the "source_width" field is set</summary> |
| | 22797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22799 | | public bool HasSourceWidth { |
| | 22800 | | get { return (_hasBits0 & 32) != 0; } |
| | 22801 | | } |
| | 22802 | | /// <summary>Clears the value of the "source_width" field</summary> |
| | 22803 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22804 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22805 | | public void ClearSourceWidth() { |
| | 22806 | | _hasBits0 &= ~32; |
| | 22807 | | } |
| | 22808 | |
|
| | 22809 | | /// <summary>Field number for the "source_height" field.</summary> |
| | 22810 | | public const int SourceHeightFieldNumber = 14; |
| | 22811 | | private float sourceHeight_; |
| | 22812 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22813 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22814 | | public float SourceHeight { |
| | 22815 | | get { if ((_hasBits0 & 64) != 0) { return sourceHeight_; } else { return 0F; } } |
| | 22816 | | set { |
| | 22817 | | _hasBits0 |= 64; |
| | 22818 | | sourceHeight_ = value; |
| | 22819 | | } |
| | 22820 | | } |
| | 22821 | | /// <summary>Gets whether the "source_height" field is set</summary> |
| | 22822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22824 | | public bool HasSourceHeight { |
| | 22825 | | get { return (_hasBits0 & 64) != 0; } |
| | 22826 | | } |
| | 22827 | | /// <summary>Clears the value of the "source_height" field</summary> |
| | 22828 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22829 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22830 | | public void ClearSourceHeight() { |
| | 22831 | | _hasBits0 &= ~64; |
| | 22832 | | } |
| | 22833 | |
|
| | 22834 | | /// <summary>Field number for the "source" field.</summary> |
| | 22835 | | public const int SourceFieldNumber = 15; |
| | 22836 | | private string source_; |
| | 22837 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22838 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22839 | | public string Source { |
| | 22840 | | get { return source_ ?? ""; } |
| | 22841 | | set { |
| | 22842 | | source_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22843 | | } |
| | 22844 | | } |
| | 22845 | | /// <summary>Gets whether the "source" field is set</summary> |
| | 22846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22848 | | public bool HasSource { |
| | 22849 | | get { return source_ != null; } |
| | 22850 | | } |
| | 22851 | | /// <summary>Clears the value of the "source" field</summary> |
| | 22852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22854 | | public void ClearSource() { |
| | 22855 | | source_ = null; |
| | 22856 | | } |
| | 22857 | |
|
| | 22858 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 22859 | | public const int PaddingTopFieldNumber = 16; |
| | 22860 | | private float paddingTop_; |
| | 22861 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22862 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22863 | | public float PaddingTop { |
| | 22864 | | get { if ((_hasBits0 & 128) != 0) { return paddingTop_; } else { return 0F; } } |
| | 22865 | | set { |
| | 22866 | | _hasBits0 |= 128; |
| | 22867 | | paddingTop_ = value; |
| | 22868 | | } |
| | 22869 | | } |
| | 22870 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 22871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22873 | | public bool HasPaddingTop { |
| | 22874 | | get { return (_hasBits0 & 128) != 0; } |
| | 22875 | | } |
| | 22876 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 22877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22879 | | public void ClearPaddingTop() { |
| | 22880 | | _hasBits0 &= ~128; |
| | 22881 | | } |
| | 22882 | |
|
| | 22883 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 22884 | | public const int PaddingRightFieldNumber = 17; |
| | 22885 | | private float paddingRight_; |
| | 22886 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22887 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22888 | | public float PaddingRight { |
| | 22889 | | get { if ((_hasBits0 & 256) != 0) { return paddingRight_; } else { return 0F; } } |
| | 22890 | | set { |
| | 22891 | | _hasBits0 |= 256; |
| | 22892 | | paddingRight_ = value; |
| | 22893 | | } |
| | 22894 | | } |
| | 22895 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 22896 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22897 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22898 | | public bool HasPaddingRight { |
| | 22899 | | get { return (_hasBits0 & 256) != 0; } |
| | 22900 | | } |
| | 22901 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 22902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22904 | | public void ClearPaddingRight() { |
| | 22905 | | _hasBits0 &= ~256; |
| | 22906 | | } |
| | 22907 | |
|
| | 22908 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 22909 | | public const int PaddingBottomFieldNumber = 18; |
| | 22910 | | private float paddingBottom_; |
| | 22911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22913 | | public float PaddingBottom { |
| | 22914 | | get { if ((_hasBits0 & 512) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 22915 | | set { |
| | 22916 | | _hasBits0 |= 512; |
| | 22917 | | paddingBottom_ = value; |
| | 22918 | | } |
| | 22919 | | } |
| | 22920 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 22921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22923 | | public bool HasPaddingBottom { |
| | 22924 | | get { return (_hasBits0 & 512) != 0; } |
| | 22925 | | } |
| | 22926 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 22927 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22928 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22929 | | public void ClearPaddingBottom() { |
| | 22930 | | _hasBits0 &= ~512; |
| | 22931 | | } |
| | 22932 | |
|
| | 22933 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 22934 | | public const int PaddingLeftFieldNumber = 19; |
| | 22935 | | private float paddingLeft_; |
| | 22936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22938 | | public float PaddingLeft { |
| | 22939 | | get { if ((_hasBits0 & 1024) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 22940 | | set { |
| | 22941 | | _hasBits0 |= 1024; |
| | 22942 | | paddingLeft_ = value; |
| | 22943 | | } |
| | 22944 | | } |
| | 22945 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 22946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22948 | | public bool HasPaddingLeft { |
| | 22949 | | get { return (_hasBits0 & 1024) != 0; } |
| | 22950 | | } |
| | 22951 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 22952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22954 | | public void ClearPaddingLeft() { |
| | 22955 | | _hasBits0 &= ~1024; |
| | 22956 | | } |
| | 22957 | |
|
| | 22958 | | /// <summary>Field number for the "size_in_pixels" field.</summary> |
| | 22959 | | public const int SizeInPixelsFieldNumber = 20; |
| | 22960 | | private bool sizeInPixels_; |
| | 22961 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22962 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22963 | | public bool SizeInPixels { |
| | 22964 | | get { if ((_hasBits0 & 2048) != 0) { return sizeInPixels_; } else { return false; } } |
| | 22965 | | set { |
| | 22966 | | _hasBits0 |= 2048; |
| | 22967 | | sizeInPixels_ = value; |
| | 22968 | | } |
| | 22969 | | } |
| | 22970 | | /// <summary>Gets whether the "size_in_pixels" field is set</summary> |
| | 22971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22973 | | public bool HasSizeInPixels { |
| | 22974 | | get { return (_hasBits0 & 2048) != 0; } |
| | 22975 | | } |
| | 22976 | | /// <summary>Clears the value of the "size_in_pixels" field</summary> |
| | 22977 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22978 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22979 | | public void ClearSizeInPixels() { |
| | 22980 | | _hasBits0 &= ~2048; |
| | 22981 | | } |
| | 22982 | |
|
| | 22983 | | /// <summary>Field number for the "on_click" field.</summary> |
| | 22984 | | public const int OnClickFieldNumber = 21; |
| | 22985 | | private string onClick_; |
| | 22986 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22987 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22988 | | public string OnClick { |
| | 22989 | | get { return onClick_ ?? ""; } |
| | 22990 | | set { |
| | 22991 | | onClick_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22992 | | } |
| | 22993 | | } |
| | 22994 | | /// <summary>Gets whether the "on_click" field is set</summary> |
| | 22995 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22996 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22997 | | public bool HasOnClick { |
| | 22998 | | get { return onClick_ != null; } |
| | 22999 | | } |
| | 23000 | | /// <summary>Clears the value of the "on_click" field</summary> |
| | 23001 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23002 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23003 | | public void ClearOnClick() { |
| | 23004 | | onClick_ = null; |
| | 23005 | | } |
| | 23006 | |
|
| | 23007 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23008 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23009 | | public override bool Equals(object other) { |
| | 23010 | | return Equals(other as ECS6ComponentUiImage); |
| | 23011 | | } |
| | 23012 | |
|
| | 23013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23015 | | public bool Equals(ECS6ComponentUiImage other) { |
| | 23016 | | if (ReferenceEquals(other, null)) { |
| | 23017 | | return false; |
| | 23018 | | } |
| | 23019 | | if (ReferenceEquals(other, this)) { |
| | 23020 | | return true; |
| | 23021 | | } |
| | 23022 | | if (Name != other.Name) return false; |
| | 23023 | | if (Visible != other.Visible) return false; |
| | 23024 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 23025 | | if (HAlign != other.HAlign) return false; |
| | 23026 | | if (VAlign != other.VAlign) return false; |
| | 23027 | | if (!object.Equals(Width, other.Width)) return false; |
| | 23028 | | if (!object.Equals(Height, other.Height)) return false; |
| | 23029 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 23030 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 23031 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 23032 | | if (ParentComponent != other.ParentComponent) return false; |
| | 23033 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceLeft, other.SourceLeft)) return fal |
| | 23034 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceTop, other.SourceTop)) return false |
| | 23035 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceWidth, other.SourceWidth)) return f |
| | 23036 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceHeight, other.SourceHeight)) return |
| | 23037 | | if (Source != other.Source) return false; |
| | 23038 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 23039 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 23040 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 23041 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 23042 | | if (SizeInPixels != other.SizeInPixels) return false; |
| | 23043 | | if (OnClick != other.OnClick) return false; |
| | 23044 | | return Equals(_unknownFields, other._unknownFields); |
| | 23045 | | } |
| | 23046 | |
|
| | 23047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23049 | | public override int GetHashCode() { |
| | 23050 | | int hash = 1; |
| | 23051 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 23052 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 23053 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 23054 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 23055 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 23056 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 23057 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 23058 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 23059 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 23060 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 23061 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 23062 | | if (HasSourceLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceLeft); |
| | 23063 | | if (HasSourceTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceTop); |
| | 23064 | | if (HasSourceWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceWidth); |
| | 23065 | | if (HasSourceHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceHeight |
| | 23066 | | if (HasSource) hash ^= Source.GetHashCode(); |
| | 23067 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 23068 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 23069 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 23070 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 23071 | | if (HasSizeInPixels) hash ^= SizeInPixels.GetHashCode(); |
| | 23072 | | if (HasOnClick) hash ^= OnClick.GetHashCode(); |
| | 23073 | | if (_unknownFields != null) { |
| | 23074 | | hash ^= _unknownFields.GetHashCode(); |
| | 23075 | | } |
| | 23076 | | return hash; |
| | 23077 | | } |
| | 23078 | |
|
| | 23079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23081 | | public override string ToString() { |
| | 23082 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 23083 | | } |
| | 23084 | |
|
| | 23085 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23086 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23087 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 23088 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23089 | | output.WriteRawMessage(this); |
| | 23090 | | #else |
| | 23091 | | if (HasName) { |
| | 23092 | | output.WriteRawTag(10); |
| | 23093 | | output.WriteString(Name); |
| | 23094 | | } |
| | 23095 | | if (HasVisible) { |
| | 23096 | | output.WriteRawTag(16); |
| | 23097 | | output.WriteBool(Visible); |
| | 23098 | | } |
| | 23099 | | if (HasOpacity) { |
| | 23100 | | output.WriteRawTag(29); |
| | 23101 | | output.WriteFloat(Opacity); |
| | 23102 | | } |
| | 23103 | | if (HasHAlign) { |
| | 23104 | | output.WriteRawTag(34); |
| | 23105 | | output.WriteString(HAlign); |
| | 23106 | | } |
| | 23107 | | if (HasVAlign) { |
| | 23108 | | output.WriteRawTag(42); |
| | 23109 | | output.WriteString(VAlign); |
| | 23110 | | } |
| | 23111 | | if (width_ != null) { |
| | 23112 | | output.WriteRawTag(50); |
| | 23113 | | output.WriteMessage(Width); |
| | 23114 | | } |
| | 23115 | | if (height_ != null) { |
| | 23116 | | output.WriteRawTag(58); |
| | 23117 | | output.WriteMessage(Height); |
| | 23118 | | } |
| | 23119 | | if (positionX_ != null) { |
| | 23120 | | output.WriteRawTag(66); |
| | 23121 | | output.WriteMessage(PositionX); |
| | 23122 | | } |
| | 23123 | | if (positionY_ != null) { |
| | 23124 | | output.WriteRawTag(74); |
| | 23125 | | output.WriteMessage(PositionY); |
| | 23126 | | } |
| | 23127 | | if (HasIsPointerBlocker) { |
| | 23128 | | output.WriteRawTag(80); |
| | 23129 | | output.WriteBool(IsPointerBlocker); |
| | 23130 | | } |
| | 23131 | | if (HasSourceLeft) { |
| | 23132 | | output.WriteRawTag(93); |
| | 23133 | | output.WriteFloat(SourceLeft); |
| | 23134 | | } |
| | 23135 | | if (HasSourceTop) { |
| | 23136 | | output.WriteRawTag(101); |
| | 23137 | | output.WriteFloat(SourceTop); |
| | 23138 | | } |
| | 23139 | | if (HasSourceWidth) { |
| | 23140 | | output.WriteRawTag(109); |
| | 23141 | | output.WriteFloat(SourceWidth); |
| | 23142 | | } |
| | 23143 | | if (HasSourceHeight) { |
| | 23144 | | output.WriteRawTag(117); |
| | 23145 | | output.WriteFloat(SourceHeight); |
| | 23146 | | } |
| | 23147 | | if (HasSource) { |
| | 23148 | | output.WriteRawTag(122); |
| | 23149 | | output.WriteString(Source); |
| | 23150 | | } |
| | 23151 | | if (HasPaddingTop) { |
| | 23152 | | output.WriteRawTag(133, 1); |
| | 23153 | | output.WriteFloat(PaddingTop); |
| | 23154 | | } |
| | 23155 | | if (HasPaddingRight) { |
| | 23156 | | output.WriteRawTag(141, 1); |
| | 23157 | | output.WriteFloat(PaddingRight); |
| | 23158 | | } |
| | 23159 | | if (HasPaddingBottom) { |
| | 23160 | | output.WriteRawTag(149, 1); |
| | 23161 | | output.WriteFloat(PaddingBottom); |
| | 23162 | | } |
| | 23163 | | if (HasPaddingLeft) { |
| | 23164 | | output.WriteRawTag(157, 1); |
| | 23165 | | output.WriteFloat(PaddingLeft); |
| | 23166 | | } |
| | 23167 | | if (HasSizeInPixels) { |
| | 23168 | | output.WriteRawTag(160, 1); |
| | 23169 | | output.WriteBool(SizeInPixels); |
| | 23170 | | } |
| | 23171 | | if (HasOnClick) { |
| | 23172 | | output.WriteRawTag(170, 1); |
| | 23173 | | output.WriteString(OnClick); |
| | 23174 | | } |
| | 23175 | | if (HasParentComponent) { |
| | 23176 | | output.WriteRawTag(178, 1); |
| | 23177 | | output.WriteString(ParentComponent); |
| | 23178 | | } |
| | 23179 | | if (_unknownFields != null) { |
| | 23180 | | _unknownFields.WriteTo(output); |
| | 23181 | | } |
| | 23182 | | #endif |
| | 23183 | | } |
| | 23184 | |
|
| | 23185 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23186 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23187 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23188 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 23189 | | if (HasName) { |
| | 23190 | | output.WriteRawTag(10); |
| | 23191 | | output.WriteString(Name); |
| | 23192 | | } |
| | 23193 | | if (HasVisible) { |
| | 23194 | | output.WriteRawTag(16); |
| | 23195 | | output.WriteBool(Visible); |
| | 23196 | | } |
| | 23197 | | if (HasOpacity) { |
| | 23198 | | output.WriteRawTag(29); |
| | 23199 | | output.WriteFloat(Opacity); |
| | 23200 | | } |
| | 23201 | | if (HasHAlign) { |
| | 23202 | | output.WriteRawTag(34); |
| | 23203 | | output.WriteString(HAlign); |
| | 23204 | | } |
| | 23205 | | if (HasVAlign) { |
| | 23206 | | output.WriteRawTag(42); |
| | 23207 | | output.WriteString(VAlign); |
| | 23208 | | } |
| | 23209 | | if (width_ != null) { |
| | 23210 | | output.WriteRawTag(50); |
| | 23211 | | output.WriteMessage(Width); |
| | 23212 | | } |
| | 23213 | | if (height_ != null) { |
| | 23214 | | output.WriteRawTag(58); |
| | 23215 | | output.WriteMessage(Height); |
| | 23216 | | } |
| | 23217 | | if (positionX_ != null) { |
| | 23218 | | output.WriteRawTag(66); |
| | 23219 | | output.WriteMessage(PositionX); |
| | 23220 | | } |
| | 23221 | | if (positionY_ != null) { |
| | 23222 | | output.WriteRawTag(74); |
| | 23223 | | output.WriteMessage(PositionY); |
| | 23224 | | } |
| | 23225 | | if (HasIsPointerBlocker) { |
| | 23226 | | output.WriteRawTag(80); |
| | 23227 | | output.WriteBool(IsPointerBlocker); |
| | 23228 | | } |
| | 23229 | | if (HasSourceLeft) { |
| | 23230 | | output.WriteRawTag(93); |
| | 23231 | | output.WriteFloat(SourceLeft); |
| | 23232 | | } |
| | 23233 | | if (HasSourceTop) { |
| | 23234 | | output.WriteRawTag(101); |
| | 23235 | | output.WriteFloat(SourceTop); |
| | 23236 | | } |
| | 23237 | | if (HasSourceWidth) { |
| | 23238 | | output.WriteRawTag(109); |
| | 23239 | | output.WriteFloat(SourceWidth); |
| | 23240 | | } |
| | 23241 | | if (HasSourceHeight) { |
| | 23242 | | output.WriteRawTag(117); |
| | 23243 | | output.WriteFloat(SourceHeight); |
| | 23244 | | } |
| | 23245 | | if (HasSource) { |
| | 23246 | | output.WriteRawTag(122); |
| | 23247 | | output.WriteString(Source); |
| | 23248 | | } |
| | 23249 | | if (HasPaddingTop) { |
| | 23250 | | output.WriteRawTag(133, 1); |
| | 23251 | | output.WriteFloat(PaddingTop); |
| | 23252 | | } |
| | 23253 | | if (HasPaddingRight) { |
| | 23254 | | output.WriteRawTag(141, 1); |
| | 23255 | | output.WriteFloat(PaddingRight); |
| | 23256 | | } |
| | 23257 | | if (HasPaddingBottom) { |
| | 23258 | | output.WriteRawTag(149, 1); |
| | 23259 | | output.WriteFloat(PaddingBottom); |
| | 23260 | | } |
| | 23261 | | if (HasPaddingLeft) { |
| | 23262 | | output.WriteRawTag(157, 1); |
| | 23263 | | output.WriteFloat(PaddingLeft); |
| | 23264 | | } |
| | 23265 | | if (HasSizeInPixels) { |
| | 23266 | | output.WriteRawTag(160, 1); |
| | 23267 | | output.WriteBool(SizeInPixels); |
| | 23268 | | } |
| | 23269 | | if (HasOnClick) { |
| | 23270 | | output.WriteRawTag(170, 1); |
| | 23271 | | output.WriteString(OnClick); |
| | 23272 | | } |
| | 23273 | | if (HasParentComponent) { |
| | 23274 | | output.WriteRawTag(178, 1); |
| | 23275 | | output.WriteString(ParentComponent); |
| | 23276 | | } |
| | 23277 | | if (_unknownFields != null) { |
| | 23278 | | _unknownFields.WriteTo(ref output); |
| | 23279 | | } |
| | 23280 | | } |
| | 23281 | | #endif |
| | 23282 | |
|
| | 23283 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23284 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23285 | | public int CalculateSize() { |
| | 23286 | | int size = 0; |
| | 23287 | | if (HasName) { |
| | 23288 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 23289 | | } |
| | 23290 | | if (HasVisible) { |
| | 23291 | | size += 1 + 1; |
| | 23292 | | } |
| | 23293 | | if (HasOpacity) { |
| | 23294 | | size += 1 + 4; |
| | 23295 | | } |
| | 23296 | | if (HasHAlign) { |
| | 23297 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 23298 | | } |
| | 23299 | | if (HasVAlign) { |
| | 23300 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 23301 | | } |
| | 23302 | | if (width_ != null) { |
| | 23303 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 23304 | | } |
| | 23305 | | if (height_ != null) { |
| | 23306 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 23307 | | } |
| | 23308 | | if (positionX_ != null) { |
| | 23309 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 23310 | | } |
| | 23311 | | if (positionY_ != null) { |
| | 23312 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 23313 | | } |
| | 23314 | | if (HasIsPointerBlocker) { |
| | 23315 | | size += 1 + 1; |
| | 23316 | | } |
| | 23317 | | if (HasParentComponent) { |
| | 23318 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 23319 | | } |
| | 23320 | | if (HasSourceLeft) { |
| | 23321 | | size += 1 + 4; |
| | 23322 | | } |
| | 23323 | | if (HasSourceTop) { |
| | 23324 | | size += 1 + 4; |
| | 23325 | | } |
| | 23326 | | if (HasSourceWidth) { |
| | 23327 | | size += 1 + 4; |
| | 23328 | | } |
| | 23329 | | if (HasSourceHeight) { |
| | 23330 | | size += 1 + 4; |
| | 23331 | | } |
| | 23332 | | if (HasSource) { |
| | 23333 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); |
| | 23334 | | } |
| | 23335 | | if (HasPaddingTop) { |
| | 23336 | | size += 2 + 4; |
| | 23337 | | } |
| | 23338 | | if (HasPaddingRight) { |
| | 23339 | | size += 2 + 4; |
| | 23340 | | } |
| | 23341 | | if (HasPaddingBottom) { |
| | 23342 | | size += 2 + 4; |
| | 23343 | | } |
| | 23344 | | if (HasPaddingLeft) { |
| | 23345 | | size += 2 + 4; |
| | 23346 | | } |
| | 23347 | | if (HasSizeInPixels) { |
| | 23348 | | size += 2 + 1; |
| | 23349 | | } |
| | 23350 | | if (HasOnClick) { |
| | 23351 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(OnClick); |
| | 23352 | | } |
| | 23353 | | if (_unknownFields != null) { |
| | 23354 | | size += _unknownFields.CalculateSize(); |
| | 23355 | | } |
| | 23356 | | return size; |
| | 23357 | | } |
| | 23358 | |
|
| | 23359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23361 | | public void MergeFrom(ECS6ComponentUiImage other) { |
| | 23362 | | if (other == null) { |
| | 23363 | | return; |
| | 23364 | | } |
| | 23365 | | if (other.HasName) { |
| | 23366 | | Name = other.Name; |
| | 23367 | | } |
| | 23368 | | if (other.HasVisible) { |
| | 23369 | | Visible = other.Visible; |
| | 23370 | | } |
| | 23371 | | if (other.HasOpacity) { |
| | 23372 | | Opacity = other.Opacity; |
| | 23373 | | } |
| | 23374 | | if (other.HasHAlign) { |
| | 23375 | | HAlign = other.HAlign; |
| | 23376 | | } |
| | 23377 | | if (other.HasVAlign) { |
| | 23378 | | VAlign = other.VAlign; |
| | 23379 | | } |
| | 23380 | | if (other.width_ != null) { |
| | 23381 | | if (width_ == null) { |
| | 23382 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23383 | | } |
| | 23384 | | Width.MergeFrom(other.Width); |
| | 23385 | | } |
| | 23386 | | if (other.height_ != null) { |
| | 23387 | | if (height_ == null) { |
| | 23388 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23389 | | } |
| | 23390 | | Height.MergeFrom(other.Height); |
| | 23391 | | } |
| | 23392 | | if (other.positionX_ != null) { |
| | 23393 | | if (positionX_ == null) { |
| | 23394 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23395 | | } |
| | 23396 | | PositionX.MergeFrom(other.PositionX); |
| | 23397 | | } |
| | 23398 | | if (other.positionY_ != null) { |
| | 23399 | | if (positionY_ == null) { |
| | 23400 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23401 | | } |
| | 23402 | | PositionY.MergeFrom(other.PositionY); |
| | 23403 | | } |
| | 23404 | | if (other.HasIsPointerBlocker) { |
| | 23405 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 23406 | | } |
| | 23407 | | if (other.HasParentComponent) { |
| | 23408 | | ParentComponent = other.ParentComponent; |
| | 23409 | | } |
| | 23410 | | if (other.HasSourceLeft) { |
| | 23411 | | SourceLeft = other.SourceLeft; |
| | 23412 | | } |
| | 23413 | | if (other.HasSourceTop) { |
| | 23414 | | SourceTop = other.SourceTop; |
| | 23415 | | } |
| | 23416 | | if (other.HasSourceWidth) { |
| | 23417 | | SourceWidth = other.SourceWidth; |
| | 23418 | | } |
| | 23419 | | if (other.HasSourceHeight) { |
| | 23420 | | SourceHeight = other.SourceHeight; |
| | 23421 | | } |
| | 23422 | | if (other.HasSource) { |
| | 23423 | | Source = other.Source; |
| | 23424 | | } |
| | 23425 | | if (other.HasPaddingTop) { |
| | 23426 | | PaddingTop = other.PaddingTop; |
| | 23427 | | } |
| | 23428 | | if (other.HasPaddingRight) { |
| | 23429 | | PaddingRight = other.PaddingRight; |
| | 23430 | | } |
| | 23431 | | if (other.HasPaddingBottom) { |
| | 23432 | | PaddingBottom = other.PaddingBottom; |
| | 23433 | | } |
| | 23434 | | if (other.HasPaddingLeft) { |
| | 23435 | | PaddingLeft = other.PaddingLeft; |
| | 23436 | | } |
| | 23437 | | if (other.HasSizeInPixels) { |
| | 23438 | | SizeInPixels = other.SizeInPixels; |
| | 23439 | | } |
| | 23440 | | if (other.HasOnClick) { |
| | 23441 | | OnClick = other.OnClick; |
| | 23442 | | } |
| | 23443 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 23444 | | } |
| | 23445 | |
|
| | 23446 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23447 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23448 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 23449 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23450 | | input.ReadRawMessage(this); |
| | 23451 | | #else |
| | 23452 | | uint tag; |
| | 23453 | | while ((tag = input.ReadTag()) != 0) { |
| | 23454 | | switch(tag) { |
| | 23455 | | default: |
| | 23456 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 23457 | | break; |
| | 23458 | | case 10: { |
| | 23459 | | Name = input.ReadString(); |
| | 23460 | | break; |
| | 23461 | | } |
| | 23462 | | case 16: { |
| | 23463 | | Visible = input.ReadBool(); |
| | 23464 | | break; |
| | 23465 | | } |
| | 23466 | | case 29: { |
| | 23467 | | Opacity = input.ReadFloat(); |
| | 23468 | | break; |
| | 23469 | | } |
| | 23470 | | case 34: { |
| | 23471 | | HAlign = input.ReadString(); |
| | 23472 | | break; |
| | 23473 | | } |
| | 23474 | | case 42: { |
| | 23475 | | VAlign = input.ReadString(); |
| | 23476 | | break; |
| | 23477 | | } |
| | 23478 | | case 50: { |
| | 23479 | | if (width_ == null) { |
| | 23480 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23481 | | } |
| | 23482 | | input.ReadMessage(Width); |
| | 23483 | | break; |
| | 23484 | | } |
| | 23485 | | case 58: { |
| | 23486 | | if (height_ == null) { |
| | 23487 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23488 | | } |
| | 23489 | | input.ReadMessage(Height); |
| | 23490 | | break; |
| | 23491 | | } |
| | 23492 | | case 66: { |
| | 23493 | | if (positionX_ == null) { |
| | 23494 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23495 | | } |
| | 23496 | | input.ReadMessage(PositionX); |
| | 23497 | | break; |
| | 23498 | | } |
| | 23499 | | case 74: { |
| | 23500 | | if (positionY_ == null) { |
| | 23501 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23502 | | } |
| | 23503 | | input.ReadMessage(PositionY); |
| | 23504 | | break; |
| | 23505 | | } |
| | 23506 | | case 80: { |
| | 23507 | | IsPointerBlocker = input.ReadBool(); |
| | 23508 | | break; |
| | 23509 | | } |
| | 23510 | | case 93: { |
| | 23511 | | SourceLeft = input.ReadFloat(); |
| | 23512 | | break; |
| | 23513 | | } |
| | 23514 | | case 101: { |
| | 23515 | | SourceTop = input.ReadFloat(); |
| | 23516 | | break; |
| | 23517 | | } |
| | 23518 | | case 109: { |
| | 23519 | | SourceWidth = input.ReadFloat(); |
| | 23520 | | break; |
| | 23521 | | } |
| | 23522 | | case 117: { |
| | 23523 | | SourceHeight = input.ReadFloat(); |
| | 23524 | | break; |
| | 23525 | | } |
| | 23526 | | case 122: { |
| | 23527 | | Source = input.ReadString(); |
| | 23528 | | break; |
| | 23529 | | } |
| | 23530 | | case 133: { |
| | 23531 | | PaddingTop = input.ReadFloat(); |
| | 23532 | | break; |
| | 23533 | | } |
| | 23534 | | case 141: { |
| | 23535 | | PaddingRight = input.ReadFloat(); |
| | 23536 | | break; |
| | 23537 | | } |
| | 23538 | | case 149: { |
| | 23539 | | PaddingBottom = input.ReadFloat(); |
| | 23540 | | break; |
| | 23541 | | } |
| | 23542 | | case 157: { |
| | 23543 | | PaddingLeft = input.ReadFloat(); |
| | 23544 | | break; |
| | 23545 | | } |
| | 23546 | | case 160: { |
| | 23547 | | SizeInPixels = input.ReadBool(); |
| | 23548 | | break; |
| | 23549 | | } |
| | 23550 | | case 170: { |
| | 23551 | | OnClick = input.ReadString(); |
| | 23552 | | break; |
| | 23553 | | } |
| | 23554 | | case 178: { |
| | 23555 | | ParentComponent = input.ReadString(); |
| | 23556 | | break; |
| | 23557 | | } |
| | 23558 | | } |
| | 23559 | | } |
| | 23560 | | #endif |
| | 23561 | | } |
| | 23562 | |
|
| | 23563 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23566 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 23567 | | uint tag; |
| | 23568 | | while ((tag = input.ReadTag()) != 0) { |
| | 23569 | | switch(tag) { |
| | 23570 | | default: |
| | 23571 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 23572 | | break; |
| | 23573 | | case 10: { |
| | 23574 | | Name = input.ReadString(); |
| | 23575 | | break; |
| | 23576 | | } |
| | 23577 | | case 16: { |
| | 23578 | | Visible = input.ReadBool(); |
| | 23579 | | break; |
| | 23580 | | } |
| | 23581 | | case 29: { |
| | 23582 | | Opacity = input.ReadFloat(); |
| | 23583 | | break; |
| | 23584 | | } |
| | 23585 | | case 34: { |
| | 23586 | | HAlign = input.ReadString(); |
| | 23587 | | break; |
| | 23588 | | } |
| | 23589 | | case 42: { |
| | 23590 | | VAlign = input.ReadString(); |
| | 23591 | | break; |
| | 23592 | | } |
| | 23593 | | case 50: { |
| | 23594 | | if (width_ == null) { |
| | 23595 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23596 | | } |
| | 23597 | | input.ReadMessage(Width); |
| | 23598 | | break; |
| | 23599 | | } |
| | 23600 | | case 58: { |
| | 23601 | | if (height_ == null) { |
| | 23602 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23603 | | } |
| | 23604 | | input.ReadMessage(Height); |
| | 23605 | | break; |
| | 23606 | | } |
| | 23607 | | case 66: { |
| | 23608 | | if (positionX_ == null) { |
| | 23609 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23610 | | } |
| | 23611 | | input.ReadMessage(PositionX); |
| | 23612 | | break; |
| | 23613 | | } |
| | 23614 | | case 74: { |
| | 23615 | | if (positionY_ == null) { |
| | 23616 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 23617 | | } |
| | 23618 | | input.ReadMessage(PositionY); |
| | 23619 | | break; |
| | 23620 | | } |
| | 23621 | | case 80: { |
| | 23622 | | IsPointerBlocker = input.ReadBool(); |
| | 23623 | | break; |
| | 23624 | | } |
| | 23625 | | case 93: { |
| | 23626 | | SourceLeft = input.ReadFloat(); |
| | 23627 | | break; |
| | 23628 | | } |
| | 23629 | | case 101: { |
| | 23630 | | SourceTop = input.ReadFloat(); |
| | 23631 | | break; |
| | 23632 | | } |
| | 23633 | | case 109: { |
| | 23634 | | SourceWidth = input.ReadFloat(); |
| | 23635 | | break; |
| | 23636 | | } |
| | 23637 | | case 117: { |
| | 23638 | | SourceHeight = input.ReadFloat(); |
| | 23639 | | break; |
| | 23640 | | } |
| | 23641 | | case 122: { |
| | 23642 | | Source = input.ReadString(); |
| | 23643 | | break; |
| | 23644 | | } |
| | 23645 | | case 133: { |
| | 23646 | | PaddingTop = input.ReadFloat(); |
| | 23647 | | break; |
| | 23648 | | } |
| | 23649 | | case 141: { |
| | 23650 | | PaddingRight = input.ReadFloat(); |
| | 23651 | | break; |
| | 23652 | | } |
| | 23653 | | case 149: { |
| | 23654 | | PaddingBottom = input.ReadFloat(); |
| | 23655 | | break; |
| | 23656 | | } |
| | 23657 | | case 157: { |
| | 23658 | | PaddingLeft = input.ReadFloat(); |
| | 23659 | | break; |
| | 23660 | | } |
| | 23661 | | case 160: { |
| | 23662 | | SizeInPixels = input.ReadBool(); |
| | 23663 | | break; |
| | 23664 | | } |
| | 23665 | | case 170: { |
| | 23666 | | OnClick = input.ReadString(); |
| | 23667 | | break; |
| | 23668 | | } |
| | 23669 | | case 178: { |
| | 23670 | | ParentComponent = input.ReadString(); |
| | 23671 | | break; |
| | 23672 | | } |
| | 23673 | | } |
| | 23674 | | } |
| | 23675 | | } |
| | 23676 | | #endif |
| | 23677 | |
|
| | 23678 | | } |
| | 23679 | |
|
| | 23680 | | /// <summary> |
| | 23681 | | /// CLASS_ID.UI_SLIDER_SHAPE |
| | 23682 | | /// </summary> |
| | 23683 | | public sealed partial class ECS6ComponentUiScrollRect : pb::IMessage<ECS6ComponentUiScrollRect> |
| | 23684 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23685 | | , pb::IBufferMessage |
| | 23686 | | #endif |
| | 23687 | | { |
| | 23688 | | private static readonly pb::MessageParser<ECS6ComponentUiScrollRect> _parser = new pb::MessageParser<ECS6ComponentUi |
| | 23689 | | private pb::UnknownFieldSet _unknownFields; |
| | 23690 | | private int _hasBits0; |
| | 23691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23693 | | public static pb::MessageParser<ECS6ComponentUiScrollRect> Parser { get { return _parser; } } |
| | 23694 | |
|
| | 23695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23697 | | public static pbr::MessageDescriptor Descriptor { |
| | 23698 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[40]; } |
| | 23699 | | } |
| | 23700 | |
|
| | 23701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23703 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 23704 | | get { return Descriptor; } |
| | 23705 | | } |
| | 23706 | |
|
| | 23707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23709 | | public ECS6ComponentUiScrollRect() { |
| | 23710 | | OnConstruction(); |
| | 23711 | | } |
| | 23712 | |
|
| | 23713 | | partial void OnConstruction(); |
| | 23714 | |
|
| | 23715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23717 | | public ECS6ComponentUiScrollRect(ECS6ComponentUiScrollRect other) : this() { |
| | 23718 | | _hasBits0 = other._hasBits0; |
| | 23719 | | name_ = other.name_; |
| | 23720 | | visible_ = other.visible_; |
| | 23721 | | opacity_ = other.opacity_; |
| | 23722 | | hAlign_ = other.hAlign_; |
| | 23723 | | vAlign_ = other.vAlign_; |
| | 23724 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 23725 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 23726 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 23727 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 23728 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 23729 | | parentComponent_ = other.parentComponent_; |
| | 23730 | | valueX_ = other.valueX_; |
| | 23731 | | valueY_ = other.valueY_; |
| | 23732 | | backgroundColor_ = other.backgroundColor_ != null ? other.backgroundColor_.Clone() : null; |
| | 23733 | | isHorizontal_ = other.isHorizontal_; |
| | 23734 | | isVertical_ = other.isVertical_; |
| | 23735 | | paddingTop_ = other.paddingTop_; |
| | 23736 | | paddingRight_ = other.paddingRight_; |
| | 23737 | | paddingBottom_ = other.paddingBottom_; |
| | 23738 | | paddingLeft_ = other.paddingLeft_; |
| | 23739 | | onChanged_ = other.onChanged_; |
| | 23740 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 23741 | | } |
| | 23742 | |
|
| | 23743 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23744 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23745 | | public ECS6ComponentUiScrollRect Clone() { |
| | 23746 | | return new ECS6ComponentUiScrollRect(this); |
| | 23747 | | } |
| | 23748 | |
|
| | 23749 | | /// <summary>Field number for the "name" field.</summary> |
| | 23750 | | public const int NameFieldNumber = 11; |
| | 23751 | | private string name_; |
| | 23752 | | /// <summary> |
| | 23753 | | /// UiShape |
| | 23754 | | /// </summary> |
| | 23755 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23756 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23757 | | public string Name { |
| | 23758 | | get { return name_ ?? ""; } |
| | 23759 | | set { |
| | 23760 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23761 | | } |
| | 23762 | | } |
| | 23763 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 23764 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23765 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23766 | | public bool HasName { |
| | 23767 | | get { return name_ != null; } |
| | 23768 | | } |
| | 23769 | | /// <summary>Clears the value of the "name" field</summary> |
| | 23770 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23771 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23772 | | public void ClearName() { |
| | 23773 | | name_ = null; |
| | 23774 | | } |
| | 23775 | |
|
| | 23776 | | /// <summary>Field number for the "visible" field.</summary> |
| | 23777 | | public const int VisibleFieldNumber = 12; |
| | 23778 | | private bool visible_; |
| | 23779 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23780 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23781 | | public bool Visible { |
| | 23782 | | get { if ((_hasBits0 & 256) != 0) { return visible_; } else { return false; } } |
| | 23783 | | set { |
| | 23784 | | _hasBits0 |= 256; |
| | 23785 | | visible_ = value; |
| | 23786 | | } |
| | 23787 | | } |
| | 23788 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 23789 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23790 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23791 | | public bool HasVisible { |
| | 23792 | | get { return (_hasBits0 & 256) != 0; } |
| | 23793 | | } |
| | 23794 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 23795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23797 | | public void ClearVisible() { |
| | 23798 | | _hasBits0 &= ~256; |
| | 23799 | | } |
| | 23800 | |
|
| | 23801 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 23802 | | public const int OpacityFieldNumber = 13; |
| | 23803 | | private float opacity_; |
| | 23804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23806 | | public float Opacity { |
| | 23807 | | get { if ((_hasBits0 & 512) != 0) { return opacity_; } else { return 0F; } } |
| | 23808 | | set { |
| | 23809 | | _hasBits0 |= 512; |
| | 23810 | | opacity_ = value; |
| | 23811 | | } |
| | 23812 | | } |
| | 23813 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 23814 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23815 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23816 | | public bool HasOpacity { |
| | 23817 | | get { return (_hasBits0 & 512) != 0; } |
| | 23818 | | } |
| | 23819 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 23820 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23821 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23822 | | public void ClearOpacity() { |
| | 23823 | | _hasBits0 &= ~512; |
| | 23824 | | } |
| | 23825 | |
|
| | 23826 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 23827 | | public const int HAlignFieldNumber = 14; |
| | 23828 | | private string hAlign_; |
| | 23829 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23830 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23831 | | public string HAlign { |
| | 23832 | | get { return hAlign_ ?? ""; } |
| | 23833 | | set { |
| | 23834 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23835 | | } |
| | 23836 | | } |
| | 23837 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 23838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23840 | | public bool HasHAlign { |
| | 23841 | | get { return hAlign_ != null; } |
| | 23842 | | } |
| | 23843 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 23844 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23845 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23846 | | public void ClearHAlign() { |
| | 23847 | | hAlign_ = null; |
| | 23848 | | } |
| | 23849 | |
|
| | 23850 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 23851 | | public const int VAlignFieldNumber = 15; |
| | 23852 | | private string vAlign_; |
| | 23853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23855 | | public string VAlign { |
| | 23856 | | get { return vAlign_ ?? ""; } |
| | 23857 | | set { |
| | 23858 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23859 | | } |
| | 23860 | | } |
| | 23861 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 23862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23864 | | public bool HasVAlign { |
| | 23865 | | get { return vAlign_ != null; } |
| | 23866 | | } |
| | 23867 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 23868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23870 | | public void ClearVAlign() { |
| | 23871 | | vAlign_ = null; |
| | 23872 | | } |
| | 23873 | |
|
| | 23874 | | /// <summary>Field number for the "width" field.</summary> |
| | 23875 | | public const int WidthFieldNumber = 16; |
| | 23876 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 23877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23879 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 23880 | | get { return width_; } |
| | 23881 | | set { |
| | 23882 | | width_ = value; |
| | 23883 | | } |
| | 23884 | | } |
| | 23885 | |
|
| | 23886 | | /// <summary>Field number for the "height" field.</summary> |
| | 23887 | | public const int HeightFieldNumber = 17; |
| | 23888 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 23889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23891 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 23892 | | get { return height_; } |
| | 23893 | | set { |
| | 23894 | | height_ = value; |
| | 23895 | | } |
| | 23896 | | } |
| | 23897 | |
|
| | 23898 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 23899 | | public const int PositionXFieldNumber = 18; |
| | 23900 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 23901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23903 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 23904 | | get { return positionX_; } |
| | 23905 | | set { |
| | 23906 | | positionX_ = value; |
| | 23907 | | } |
| | 23908 | | } |
| | 23909 | |
|
| | 23910 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 23911 | | public const int PositionYFieldNumber = 19; |
| | 23912 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 23913 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23914 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23915 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 23916 | | get { return positionY_; } |
| | 23917 | | set { |
| | 23918 | | positionY_ = value; |
| | 23919 | | } |
| | 23920 | | } |
| | 23921 | |
|
| | 23922 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 23923 | | public const int IsPointerBlockerFieldNumber = 20; |
| | 23924 | | private bool isPointerBlocker_; |
| | 23925 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23926 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23927 | | public bool IsPointerBlocker { |
| | 23928 | | get { if ((_hasBits0 & 1024) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 23929 | | set { |
| | 23930 | | _hasBits0 |= 1024; |
| | 23931 | | isPointerBlocker_ = value; |
| | 23932 | | } |
| | 23933 | | } |
| | 23934 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 23935 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23936 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23937 | | public bool HasIsPointerBlocker { |
| | 23938 | | get { return (_hasBits0 & 1024) != 0; } |
| | 23939 | | } |
| | 23940 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 23941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23943 | | public void ClearIsPointerBlocker() { |
| | 23944 | | _hasBits0 &= ~1024; |
| | 23945 | | } |
| | 23946 | |
|
| | 23947 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 23948 | | public const int ParentComponentFieldNumber = 21; |
| | 23949 | | private string parentComponent_; |
| | 23950 | | /// <summary> |
| | 23951 | | /// UiShape |
| | 23952 | | /// </summary> |
| | 23953 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23954 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23955 | | public string ParentComponent { |
| | 23956 | | get { return parentComponent_ ?? ""; } |
| | 23957 | | set { |
| | 23958 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23959 | | } |
| | 23960 | | } |
| | 23961 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 23962 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23963 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23964 | | public bool HasParentComponent { |
| | 23965 | | get { return parentComponent_ != null; } |
| | 23966 | | } |
| | 23967 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 23968 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23969 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23970 | | public void ClearParentComponent() { |
| | 23971 | | parentComponent_ = null; |
| | 23972 | | } |
| | 23973 | |
|
| | 23974 | | /// <summary>Field number for the "value_x" field.</summary> |
| | 23975 | | public const int ValueXFieldNumber = 1; |
| | 23976 | | private float valueX_; |
| | 23977 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23978 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23979 | | public float ValueX { |
| | 23980 | | get { if ((_hasBits0 & 1) != 0) { return valueX_; } else { return 0F; } } |
| | 23981 | | set { |
| | 23982 | | _hasBits0 |= 1; |
| | 23983 | | valueX_ = value; |
| | 23984 | | } |
| | 23985 | | } |
| | 23986 | | /// <summary>Gets whether the "value_x" field is set</summary> |
| | 23987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23989 | | public bool HasValueX { |
| | 23990 | | get { return (_hasBits0 & 1) != 0; } |
| | 23991 | | } |
| | 23992 | | /// <summary>Clears the value of the "value_x" field</summary> |
| | 23993 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23994 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23995 | | public void ClearValueX() { |
| | 23996 | | _hasBits0 &= ~1; |
| | 23997 | | } |
| | 23998 | |
|
| | 23999 | | /// <summary>Field number for the "value_y" field.</summary> |
| | 24000 | | public const int ValueYFieldNumber = 2; |
| | 24001 | | private float valueY_; |
| | 24002 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24003 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24004 | | public float ValueY { |
| | 24005 | | get { if ((_hasBits0 & 2) != 0) { return valueY_; } else { return 0F; } } |
| | 24006 | | set { |
| | 24007 | | _hasBits0 |= 2; |
| | 24008 | | valueY_ = value; |
| | 24009 | | } |
| | 24010 | | } |
| | 24011 | | /// <summary>Gets whether the "value_y" field is set</summary> |
| | 24012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24014 | | public bool HasValueY { |
| | 24015 | | get { return (_hasBits0 & 2) != 0; } |
| | 24016 | | } |
| | 24017 | | /// <summary>Clears the value of the "value_y" field</summary> |
| | 24018 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24019 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24020 | | public void ClearValueY() { |
| | 24021 | | _hasBits0 &= ~2; |
| | 24022 | | } |
| | 24023 | |
|
| | 24024 | | /// <summary>Field number for the "background_color" field.</summary> |
| | 24025 | | public const int BackgroundColorFieldNumber = 3; |
| | 24026 | | private global::Decentraland.Sdk.Ecs6.ECS6Color4 backgroundColor_; |
| | 24027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24029 | | public global::Decentraland.Sdk.Ecs6.ECS6Color4 BackgroundColor { |
| | 24030 | | get { return backgroundColor_; } |
| | 24031 | | set { |
| | 24032 | | backgroundColor_ = value; |
| | 24033 | | } |
| | 24034 | | } |
| | 24035 | |
|
| | 24036 | | /// <summary>Field number for the "is_horizontal" field.</summary> |
| | 24037 | | public const int IsHorizontalFieldNumber = 4; |
| | 24038 | | private bool isHorizontal_; |
| | 24039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24041 | | public bool IsHorizontal { |
| | 24042 | | get { if ((_hasBits0 & 4) != 0) { return isHorizontal_; } else { return false; } } |
| | 24043 | | set { |
| | 24044 | | _hasBits0 |= 4; |
| | 24045 | | isHorizontal_ = value; |
| | 24046 | | } |
| | 24047 | | } |
| | 24048 | | /// <summary>Gets whether the "is_horizontal" field is set</summary> |
| | 24049 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24050 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24051 | | public bool HasIsHorizontal { |
| | 24052 | | get { return (_hasBits0 & 4) != 0; } |
| | 24053 | | } |
| | 24054 | | /// <summary>Clears the value of the "is_horizontal" field</summary> |
| | 24055 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24056 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24057 | | public void ClearIsHorizontal() { |
| | 24058 | | _hasBits0 &= ~4; |
| | 24059 | | } |
| | 24060 | |
|
| | 24061 | | /// <summary>Field number for the "is_vertical" field.</summary> |
| | 24062 | | public const int IsVerticalFieldNumber = 5; |
| | 24063 | | private bool isVertical_; |
| | 24064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24066 | | public bool IsVertical { |
| | 24067 | | get { if ((_hasBits0 & 8) != 0) { return isVertical_; } else { return false; } } |
| | 24068 | | set { |
| | 24069 | | _hasBits0 |= 8; |
| | 24070 | | isVertical_ = value; |
| | 24071 | | } |
| | 24072 | | } |
| | 24073 | | /// <summary>Gets whether the "is_vertical" field is set</summary> |
| | 24074 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24075 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24076 | | public bool HasIsVertical { |
| | 24077 | | get { return (_hasBits0 & 8) != 0; } |
| | 24078 | | } |
| | 24079 | | /// <summary>Clears the value of the "is_vertical" field</summary> |
| | 24080 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24081 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24082 | | public void ClearIsVertical() { |
| | 24083 | | _hasBits0 &= ~8; |
| | 24084 | | } |
| | 24085 | |
|
| | 24086 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 24087 | | public const int PaddingTopFieldNumber = 6; |
| | 24088 | | private float paddingTop_; |
| | 24089 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24090 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24091 | | public float PaddingTop { |
| | 24092 | | get { if ((_hasBits0 & 16) != 0) { return paddingTop_; } else { return 0F; } } |
| | 24093 | | set { |
| | 24094 | | _hasBits0 |= 16; |
| | 24095 | | paddingTop_ = value; |
| | 24096 | | } |
| | 24097 | | } |
| | 24098 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 24099 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24101 | | public bool HasPaddingTop { |
| | 24102 | | get { return (_hasBits0 & 16) != 0; } |
| | 24103 | | } |
| | 24104 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 24105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24107 | | public void ClearPaddingTop() { |
| | 24108 | | _hasBits0 &= ~16; |
| | 24109 | | } |
| | 24110 | |
|
| | 24111 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 24112 | | public const int PaddingRightFieldNumber = 7; |
| | 24113 | | private float paddingRight_; |
| | 24114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24116 | | public float PaddingRight { |
| | 24117 | | get { if ((_hasBits0 & 32) != 0) { return paddingRight_; } else { return 0F; } } |
| | 24118 | | set { |
| | 24119 | | _hasBits0 |= 32; |
| | 24120 | | paddingRight_ = value; |
| | 24121 | | } |
| | 24122 | | } |
| | 24123 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 24124 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24125 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24126 | | public bool HasPaddingRight { |
| | 24127 | | get { return (_hasBits0 & 32) != 0; } |
| | 24128 | | } |
| | 24129 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 24130 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24131 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24132 | | public void ClearPaddingRight() { |
| | 24133 | | _hasBits0 &= ~32; |
| | 24134 | | } |
| | 24135 | |
|
| | 24136 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 24137 | | public const int PaddingBottomFieldNumber = 8; |
| | 24138 | | private float paddingBottom_; |
| | 24139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24140 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24141 | | public float PaddingBottom { |
| | 24142 | | get { if ((_hasBits0 & 64) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 24143 | | set { |
| | 24144 | | _hasBits0 |= 64; |
| | 24145 | | paddingBottom_ = value; |
| | 24146 | | } |
| | 24147 | | } |
| | 24148 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 24149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24151 | | public bool HasPaddingBottom { |
| | 24152 | | get { return (_hasBits0 & 64) != 0; } |
| | 24153 | | } |
| | 24154 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 24155 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24156 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24157 | | public void ClearPaddingBottom() { |
| | 24158 | | _hasBits0 &= ~64; |
| | 24159 | | } |
| | 24160 | |
|
| | 24161 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 24162 | | public const int PaddingLeftFieldNumber = 9; |
| | 24163 | | private float paddingLeft_; |
| | 24164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24165 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24166 | | public float PaddingLeft { |
| | 24167 | | get { if ((_hasBits0 & 128) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 24168 | | set { |
| | 24169 | | _hasBits0 |= 128; |
| | 24170 | | paddingLeft_ = value; |
| | 24171 | | } |
| | 24172 | | } |
| | 24173 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 24174 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24175 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24176 | | public bool HasPaddingLeft { |
| | 24177 | | get { return (_hasBits0 & 128) != 0; } |
| | 24178 | | } |
| | 24179 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 24180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24182 | | public void ClearPaddingLeft() { |
| | 24183 | | _hasBits0 &= ~128; |
| | 24184 | | } |
| | 24185 | |
|
| | 24186 | | /// <summary>Field number for the "on_changed" field.</summary> |
| | 24187 | | public const int OnChangedFieldNumber = 10; |
| | 24188 | | private string onChanged_; |
| | 24189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24191 | | public string OnChanged { |
| | 24192 | | get { return onChanged_ ?? ""; } |
| | 24193 | | set { |
| | 24194 | | onChanged_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24195 | | } |
| | 24196 | | } |
| | 24197 | | /// <summary>Gets whether the "on_changed" field is set</summary> |
| | 24198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24200 | | public bool HasOnChanged { |
| | 24201 | | get { return onChanged_ != null; } |
| | 24202 | | } |
| | 24203 | | /// <summary>Clears the value of the "on_changed" field</summary> |
| | 24204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24206 | | public void ClearOnChanged() { |
| | 24207 | | onChanged_ = null; |
| | 24208 | | } |
| | 24209 | |
|
| | 24210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24212 | | public override bool Equals(object other) { |
| | 24213 | | return Equals(other as ECS6ComponentUiScrollRect); |
| | 24214 | | } |
| | 24215 | |
|
| | 24216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24218 | | public bool Equals(ECS6ComponentUiScrollRect other) { |
| | 24219 | | if (ReferenceEquals(other, null)) { |
| | 24220 | | return false; |
| | 24221 | | } |
| | 24222 | | if (ReferenceEquals(other, this)) { |
| | 24223 | | return true; |
| | 24224 | | } |
| | 24225 | | if (Name != other.Name) return false; |
| | 24226 | | if (Visible != other.Visible) return false; |
| | 24227 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 24228 | | if (HAlign != other.HAlign) return false; |
| | 24229 | | if (VAlign != other.VAlign) return false; |
| | 24230 | | if (!object.Equals(Width, other.Width)) return false; |
| | 24231 | | if (!object.Equals(Height, other.Height)) return false; |
| | 24232 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 24233 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 24234 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 24235 | | if (ParentComponent != other.ParentComponent) return false; |
| | 24236 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueX, other.ValueX)) return false; |
| | 24237 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueY, other.ValueY)) return false; |
| | 24238 | | if (!object.Equals(BackgroundColor, other.BackgroundColor)) return false; |
| | 24239 | | if (IsHorizontal != other.IsHorizontal) return false; |
| | 24240 | | if (IsVertical != other.IsVertical) return false; |
| | 24241 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 24242 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 24243 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 24244 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 24245 | | if (OnChanged != other.OnChanged) return false; |
| | 24246 | | return Equals(_unknownFields, other._unknownFields); |
| | 24247 | | } |
| | 24248 | |
|
| | 24249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24251 | | public override int GetHashCode() { |
| | 24252 | | int hash = 1; |
| | 24253 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 24254 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 24255 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 24256 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 24257 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 24258 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 24259 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 24260 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 24261 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 24262 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 24263 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 24264 | | if (HasValueX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueX); |
| | 24265 | | if (HasValueY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueY); |
| | 24266 | | if (backgroundColor_ != null) hash ^= BackgroundColor.GetHashCode(); |
| | 24267 | | if (HasIsHorizontal) hash ^= IsHorizontal.GetHashCode(); |
| | 24268 | | if (HasIsVertical) hash ^= IsVertical.GetHashCode(); |
| | 24269 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 24270 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 24271 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 24272 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 24273 | | if (HasOnChanged) hash ^= OnChanged.GetHashCode(); |
| | 24274 | | if (_unknownFields != null) { |
| | 24275 | | hash ^= _unknownFields.GetHashCode(); |
| | 24276 | | } |
| | 24277 | | return hash; |
| | 24278 | | } |
| | 24279 | |
|
| | 24280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24282 | | public override string ToString() { |
| | 24283 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 24284 | | } |
| | 24285 | |
|
| | 24286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24288 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 24289 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24290 | | output.WriteRawMessage(this); |
| | 24291 | | #else |
| | 24292 | | if (HasValueX) { |
| | 24293 | | output.WriteRawTag(13); |
| | 24294 | | output.WriteFloat(ValueX); |
| | 24295 | | } |
| | 24296 | | if (HasValueY) { |
| | 24297 | | output.WriteRawTag(21); |
| | 24298 | | output.WriteFloat(ValueY); |
| | 24299 | | } |
| | 24300 | | if (backgroundColor_ != null) { |
| | 24301 | | output.WriteRawTag(26); |
| | 24302 | | output.WriteMessage(BackgroundColor); |
| | 24303 | | } |
| | 24304 | | if (HasIsHorizontal) { |
| | 24305 | | output.WriteRawTag(32); |
| | 24306 | | output.WriteBool(IsHorizontal); |
| | 24307 | | } |
| | 24308 | | if (HasIsVertical) { |
| | 24309 | | output.WriteRawTag(40); |
| | 24310 | | output.WriteBool(IsVertical); |
| | 24311 | | } |
| | 24312 | | if (HasPaddingTop) { |
| | 24313 | | output.WriteRawTag(53); |
| | 24314 | | output.WriteFloat(PaddingTop); |
| | 24315 | | } |
| | 24316 | | if (HasPaddingRight) { |
| | 24317 | | output.WriteRawTag(61); |
| | 24318 | | output.WriteFloat(PaddingRight); |
| | 24319 | | } |
| | 24320 | | if (HasPaddingBottom) { |
| | 24321 | | output.WriteRawTag(69); |
| | 24322 | | output.WriteFloat(PaddingBottom); |
| | 24323 | | } |
| | 24324 | | if (HasPaddingLeft) { |
| | 24325 | | output.WriteRawTag(77); |
| | 24326 | | output.WriteFloat(PaddingLeft); |
| | 24327 | | } |
| | 24328 | | if (HasOnChanged) { |
| | 24329 | | output.WriteRawTag(82); |
| | 24330 | | output.WriteString(OnChanged); |
| | 24331 | | } |
| | 24332 | | if (HasName) { |
| | 24333 | | output.WriteRawTag(90); |
| | 24334 | | output.WriteString(Name); |
| | 24335 | | } |
| | 24336 | | if (HasVisible) { |
| | 24337 | | output.WriteRawTag(96); |
| | 24338 | | output.WriteBool(Visible); |
| | 24339 | | } |
| | 24340 | | if (HasOpacity) { |
| | 24341 | | output.WriteRawTag(109); |
| | 24342 | | output.WriteFloat(Opacity); |
| | 24343 | | } |
| | 24344 | | if (HasHAlign) { |
| | 24345 | | output.WriteRawTag(114); |
| | 24346 | | output.WriteString(HAlign); |
| | 24347 | | } |
| | 24348 | | if (HasVAlign) { |
| | 24349 | | output.WriteRawTag(122); |
| | 24350 | | output.WriteString(VAlign); |
| | 24351 | | } |
| | 24352 | | if (width_ != null) { |
| | 24353 | | output.WriteRawTag(130, 1); |
| | 24354 | | output.WriteMessage(Width); |
| | 24355 | | } |
| | 24356 | | if (height_ != null) { |
| | 24357 | | output.WriteRawTag(138, 1); |
| | 24358 | | output.WriteMessage(Height); |
| | 24359 | | } |
| | 24360 | | if (positionX_ != null) { |
| | 24361 | | output.WriteRawTag(146, 1); |
| | 24362 | | output.WriteMessage(PositionX); |
| | 24363 | | } |
| | 24364 | | if (positionY_ != null) { |
| | 24365 | | output.WriteRawTag(154, 1); |
| | 24366 | | output.WriteMessage(PositionY); |
| | 24367 | | } |
| | 24368 | | if (HasIsPointerBlocker) { |
| | 24369 | | output.WriteRawTag(160, 1); |
| | 24370 | | output.WriteBool(IsPointerBlocker); |
| | 24371 | | } |
| | 24372 | | if (HasParentComponent) { |
| | 24373 | | output.WriteRawTag(170, 1); |
| | 24374 | | output.WriteString(ParentComponent); |
| | 24375 | | } |
| | 24376 | | if (_unknownFields != null) { |
| | 24377 | | _unknownFields.WriteTo(output); |
| | 24378 | | } |
| | 24379 | | #endif |
| | 24380 | | } |
| | 24381 | |
|
| | 24382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24385 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 24386 | | if (HasValueX) { |
| | 24387 | | output.WriteRawTag(13); |
| | 24388 | | output.WriteFloat(ValueX); |
| | 24389 | | } |
| | 24390 | | if (HasValueY) { |
| | 24391 | | output.WriteRawTag(21); |
| | 24392 | | output.WriteFloat(ValueY); |
| | 24393 | | } |
| | 24394 | | if (backgroundColor_ != null) { |
| | 24395 | | output.WriteRawTag(26); |
| | 24396 | | output.WriteMessage(BackgroundColor); |
| | 24397 | | } |
| | 24398 | | if (HasIsHorizontal) { |
| | 24399 | | output.WriteRawTag(32); |
| | 24400 | | output.WriteBool(IsHorizontal); |
| | 24401 | | } |
| | 24402 | | if (HasIsVertical) { |
| | 24403 | | output.WriteRawTag(40); |
| | 24404 | | output.WriteBool(IsVertical); |
| | 24405 | | } |
| | 24406 | | if (HasPaddingTop) { |
| | 24407 | | output.WriteRawTag(53); |
| | 24408 | | output.WriteFloat(PaddingTop); |
| | 24409 | | } |
| | 24410 | | if (HasPaddingRight) { |
| | 24411 | | output.WriteRawTag(61); |
| | 24412 | | output.WriteFloat(PaddingRight); |
| | 24413 | | } |
| | 24414 | | if (HasPaddingBottom) { |
| | 24415 | | output.WriteRawTag(69); |
| | 24416 | | output.WriteFloat(PaddingBottom); |
| | 24417 | | } |
| | 24418 | | if (HasPaddingLeft) { |
| | 24419 | | output.WriteRawTag(77); |
| | 24420 | | output.WriteFloat(PaddingLeft); |
| | 24421 | | } |
| | 24422 | | if (HasOnChanged) { |
| | 24423 | | output.WriteRawTag(82); |
| | 24424 | | output.WriteString(OnChanged); |
| | 24425 | | } |
| | 24426 | | if (HasName) { |
| | 24427 | | output.WriteRawTag(90); |
| | 24428 | | output.WriteString(Name); |
| | 24429 | | } |
| | 24430 | | if (HasVisible) { |
| | 24431 | | output.WriteRawTag(96); |
| | 24432 | | output.WriteBool(Visible); |
| | 24433 | | } |
| | 24434 | | if (HasOpacity) { |
| | 24435 | | output.WriteRawTag(109); |
| | 24436 | | output.WriteFloat(Opacity); |
| | 24437 | | } |
| | 24438 | | if (HasHAlign) { |
| | 24439 | | output.WriteRawTag(114); |
| | 24440 | | output.WriteString(HAlign); |
| | 24441 | | } |
| | 24442 | | if (HasVAlign) { |
| | 24443 | | output.WriteRawTag(122); |
| | 24444 | | output.WriteString(VAlign); |
| | 24445 | | } |
| | 24446 | | if (width_ != null) { |
| | 24447 | | output.WriteRawTag(130, 1); |
| | 24448 | | output.WriteMessage(Width); |
| | 24449 | | } |
| | 24450 | | if (height_ != null) { |
| | 24451 | | output.WriteRawTag(138, 1); |
| | 24452 | | output.WriteMessage(Height); |
| | 24453 | | } |
| | 24454 | | if (positionX_ != null) { |
| | 24455 | | output.WriteRawTag(146, 1); |
| | 24456 | | output.WriteMessage(PositionX); |
| | 24457 | | } |
| | 24458 | | if (positionY_ != null) { |
| | 24459 | | output.WriteRawTag(154, 1); |
| | 24460 | | output.WriteMessage(PositionY); |
| | 24461 | | } |
| | 24462 | | if (HasIsPointerBlocker) { |
| | 24463 | | output.WriteRawTag(160, 1); |
| | 24464 | | output.WriteBool(IsPointerBlocker); |
| | 24465 | | } |
| | 24466 | | if (HasParentComponent) { |
| | 24467 | | output.WriteRawTag(170, 1); |
| | 24468 | | output.WriteString(ParentComponent); |
| | 24469 | | } |
| | 24470 | | if (_unknownFields != null) { |
| | 24471 | | _unknownFields.WriteTo(ref output); |
| | 24472 | | } |
| | 24473 | | } |
| | 24474 | | #endif |
| | 24475 | |
|
| | 24476 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24477 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24478 | | public int CalculateSize() { |
| | 24479 | | int size = 0; |
| | 24480 | | if (HasName) { |
| | 24481 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 24482 | | } |
| | 24483 | | if (HasVisible) { |
| | 24484 | | size += 1 + 1; |
| | 24485 | | } |
| | 24486 | | if (HasOpacity) { |
| | 24487 | | size += 1 + 4; |
| | 24488 | | } |
| | 24489 | | if (HasHAlign) { |
| | 24490 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 24491 | | } |
| | 24492 | | if (HasVAlign) { |
| | 24493 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 24494 | | } |
| | 24495 | | if (width_ != null) { |
| | 24496 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 24497 | | } |
| | 24498 | | if (height_ != null) { |
| | 24499 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 24500 | | } |
| | 24501 | | if (positionX_ != null) { |
| | 24502 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 24503 | | } |
| | 24504 | | if (positionY_ != null) { |
| | 24505 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 24506 | | } |
| | 24507 | | if (HasIsPointerBlocker) { |
| | 24508 | | size += 2 + 1; |
| | 24509 | | } |
| | 24510 | | if (HasParentComponent) { |
| | 24511 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 24512 | | } |
| | 24513 | | if (HasValueX) { |
| | 24514 | | size += 1 + 4; |
| | 24515 | | } |
| | 24516 | | if (HasValueY) { |
| | 24517 | | size += 1 + 4; |
| | 24518 | | } |
| | 24519 | | if (backgroundColor_ != null) { |
| | 24520 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BackgroundColor); |
| | 24521 | | } |
| | 24522 | | if (HasIsHorizontal) { |
| | 24523 | | size += 1 + 1; |
| | 24524 | | } |
| | 24525 | | if (HasIsVertical) { |
| | 24526 | | size += 1 + 1; |
| | 24527 | | } |
| | 24528 | | if (HasPaddingTop) { |
| | 24529 | | size += 1 + 4; |
| | 24530 | | } |
| | 24531 | | if (HasPaddingRight) { |
| | 24532 | | size += 1 + 4; |
| | 24533 | | } |
| | 24534 | | if (HasPaddingBottom) { |
| | 24535 | | size += 1 + 4; |
| | 24536 | | } |
| | 24537 | | if (HasPaddingLeft) { |
| | 24538 | | size += 1 + 4; |
| | 24539 | | } |
| | 24540 | | if (HasOnChanged) { |
| | 24541 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(OnChanged); |
| | 24542 | | } |
| | 24543 | | if (_unknownFields != null) { |
| | 24544 | | size += _unknownFields.CalculateSize(); |
| | 24545 | | } |
| | 24546 | | return size; |
| | 24547 | | } |
| | 24548 | |
|
| | 24549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24551 | | public void MergeFrom(ECS6ComponentUiScrollRect other) { |
| | 24552 | | if (other == null) { |
| | 24553 | | return; |
| | 24554 | | } |
| | 24555 | | if (other.HasName) { |
| | 24556 | | Name = other.Name; |
| | 24557 | | } |
| | 24558 | | if (other.HasVisible) { |
| | 24559 | | Visible = other.Visible; |
| | 24560 | | } |
| | 24561 | | if (other.HasOpacity) { |
| | 24562 | | Opacity = other.Opacity; |
| | 24563 | | } |
| | 24564 | | if (other.HasHAlign) { |
| | 24565 | | HAlign = other.HAlign; |
| | 24566 | | } |
| | 24567 | | if (other.HasVAlign) { |
| | 24568 | | VAlign = other.VAlign; |
| | 24569 | | } |
| | 24570 | | if (other.width_ != null) { |
| | 24571 | | if (width_ == null) { |
| | 24572 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24573 | | } |
| | 24574 | | Width.MergeFrom(other.Width); |
| | 24575 | | } |
| | 24576 | | if (other.height_ != null) { |
| | 24577 | | if (height_ == null) { |
| | 24578 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24579 | | } |
| | 24580 | | Height.MergeFrom(other.Height); |
| | 24581 | | } |
| | 24582 | | if (other.positionX_ != null) { |
| | 24583 | | if (positionX_ == null) { |
| | 24584 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24585 | | } |
| | 24586 | | PositionX.MergeFrom(other.PositionX); |
| | 24587 | | } |
| | 24588 | | if (other.positionY_ != null) { |
| | 24589 | | if (positionY_ == null) { |
| | 24590 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24591 | | } |
| | 24592 | | PositionY.MergeFrom(other.PositionY); |
| | 24593 | | } |
| | 24594 | | if (other.HasIsPointerBlocker) { |
| | 24595 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 24596 | | } |
| | 24597 | | if (other.HasParentComponent) { |
| | 24598 | | ParentComponent = other.ParentComponent; |
| | 24599 | | } |
| | 24600 | | if (other.HasValueX) { |
| | 24601 | | ValueX = other.ValueX; |
| | 24602 | | } |
| | 24603 | | if (other.HasValueY) { |
| | 24604 | | ValueY = other.ValueY; |
| | 24605 | | } |
| | 24606 | | if (other.backgroundColor_ != null) { |
| | 24607 | | if (backgroundColor_ == null) { |
| | 24608 | | BackgroundColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 24609 | | } |
| | 24610 | | BackgroundColor.MergeFrom(other.BackgroundColor); |
| | 24611 | | } |
| | 24612 | | if (other.HasIsHorizontal) { |
| | 24613 | | IsHorizontal = other.IsHorizontal; |
| | 24614 | | } |
| | 24615 | | if (other.HasIsVertical) { |
| | 24616 | | IsVertical = other.IsVertical; |
| | 24617 | | } |
| | 24618 | | if (other.HasPaddingTop) { |
| | 24619 | | PaddingTop = other.PaddingTop; |
| | 24620 | | } |
| | 24621 | | if (other.HasPaddingRight) { |
| | 24622 | | PaddingRight = other.PaddingRight; |
| | 24623 | | } |
| | 24624 | | if (other.HasPaddingBottom) { |
| | 24625 | | PaddingBottom = other.PaddingBottom; |
| | 24626 | | } |
| | 24627 | | if (other.HasPaddingLeft) { |
| | 24628 | | PaddingLeft = other.PaddingLeft; |
| | 24629 | | } |
| | 24630 | | if (other.HasOnChanged) { |
| | 24631 | | OnChanged = other.OnChanged; |
| | 24632 | | } |
| | 24633 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 24634 | | } |
| | 24635 | |
|
| | 24636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24638 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 24639 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24640 | | input.ReadRawMessage(this); |
| | 24641 | | #else |
| | 24642 | | uint tag; |
| | 24643 | | while ((tag = input.ReadTag()) != 0) { |
| | 24644 | | switch(tag) { |
| | 24645 | | default: |
| | 24646 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 24647 | | break; |
| | 24648 | | case 13: { |
| | 24649 | | ValueX = input.ReadFloat(); |
| | 24650 | | break; |
| | 24651 | | } |
| | 24652 | | case 21: { |
| | 24653 | | ValueY = input.ReadFloat(); |
| | 24654 | | break; |
| | 24655 | | } |
| | 24656 | | case 26: { |
| | 24657 | | if (backgroundColor_ == null) { |
| | 24658 | | BackgroundColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 24659 | | } |
| | 24660 | | input.ReadMessage(BackgroundColor); |
| | 24661 | | break; |
| | 24662 | | } |
| | 24663 | | case 32: { |
| | 24664 | | IsHorizontal = input.ReadBool(); |
| | 24665 | | break; |
| | 24666 | | } |
| | 24667 | | case 40: { |
| | 24668 | | IsVertical = input.ReadBool(); |
| | 24669 | | break; |
| | 24670 | | } |
| | 24671 | | case 53: { |
| | 24672 | | PaddingTop = input.ReadFloat(); |
| | 24673 | | break; |
| | 24674 | | } |
| | 24675 | | case 61: { |
| | 24676 | | PaddingRight = input.ReadFloat(); |
| | 24677 | | break; |
| | 24678 | | } |
| | 24679 | | case 69: { |
| | 24680 | | PaddingBottom = input.ReadFloat(); |
| | 24681 | | break; |
| | 24682 | | } |
| | 24683 | | case 77: { |
| | 24684 | | PaddingLeft = input.ReadFloat(); |
| | 24685 | | break; |
| | 24686 | | } |
| | 24687 | | case 82: { |
| | 24688 | | OnChanged = input.ReadString(); |
| | 24689 | | break; |
| | 24690 | | } |
| | 24691 | | case 90: { |
| | 24692 | | Name = input.ReadString(); |
| | 24693 | | break; |
| | 24694 | | } |
| | 24695 | | case 96: { |
| | 24696 | | Visible = input.ReadBool(); |
| | 24697 | | break; |
| | 24698 | | } |
| | 24699 | | case 109: { |
| | 24700 | | Opacity = input.ReadFloat(); |
| | 24701 | | break; |
| | 24702 | | } |
| | 24703 | | case 114: { |
| | 24704 | | HAlign = input.ReadString(); |
| | 24705 | | break; |
| | 24706 | | } |
| | 24707 | | case 122: { |
| | 24708 | | VAlign = input.ReadString(); |
| | 24709 | | break; |
| | 24710 | | } |
| | 24711 | | case 130: { |
| | 24712 | | if (width_ == null) { |
| | 24713 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24714 | | } |
| | 24715 | | input.ReadMessage(Width); |
| | 24716 | | break; |
| | 24717 | | } |
| | 24718 | | case 138: { |
| | 24719 | | if (height_ == null) { |
| | 24720 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24721 | | } |
| | 24722 | | input.ReadMessage(Height); |
| | 24723 | | break; |
| | 24724 | | } |
| | 24725 | | case 146: { |
| | 24726 | | if (positionX_ == null) { |
| | 24727 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24728 | | } |
| | 24729 | | input.ReadMessage(PositionX); |
| | 24730 | | break; |
| | 24731 | | } |
| | 24732 | | case 154: { |
| | 24733 | | if (positionY_ == null) { |
| | 24734 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24735 | | } |
| | 24736 | | input.ReadMessage(PositionY); |
| | 24737 | | break; |
| | 24738 | | } |
| | 24739 | | case 160: { |
| | 24740 | | IsPointerBlocker = input.ReadBool(); |
| | 24741 | | break; |
| | 24742 | | } |
| | 24743 | | case 170: { |
| | 24744 | | ParentComponent = input.ReadString(); |
| | 24745 | | break; |
| | 24746 | | } |
| | 24747 | | } |
| | 24748 | | } |
| | 24749 | | #endif |
| | 24750 | | } |
| | 24751 | |
|
| | 24752 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24755 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 24756 | | uint tag; |
| | 24757 | | while ((tag = input.ReadTag()) != 0) { |
| | 24758 | | switch(tag) { |
| | 24759 | | default: |
| | 24760 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 24761 | | break; |
| | 24762 | | case 13: { |
| | 24763 | | ValueX = input.ReadFloat(); |
| | 24764 | | break; |
| | 24765 | | } |
| | 24766 | | case 21: { |
| | 24767 | | ValueY = input.ReadFloat(); |
| | 24768 | | break; |
| | 24769 | | } |
| | 24770 | | case 26: { |
| | 24771 | | if (backgroundColor_ == null) { |
| | 24772 | | BackgroundColor = new global::Decentraland.Sdk.Ecs6.ECS6Color4(); |
| | 24773 | | } |
| | 24774 | | input.ReadMessage(BackgroundColor); |
| | 24775 | | break; |
| | 24776 | | } |
| | 24777 | | case 32: { |
| | 24778 | | IsHorizontal = input.ReadBool(); |
| | 24779 | | break; |
| | 24780 | | } |
| | 24781 | | case 40: { |
| | 24782 | | IsVertical = input.ReadBool(); |
| | 24783 | | break; |
| | 24784 | | } |
| | 24785 | | case 53: { |
| | 24786 | | PaddingTop = input.ReadFloat(); |
| | 24787 | | break; |
| | 24788 | | } |
| | 24789 | | case 61: { |
| | 24790 | | PaddingRight = input.ReadFloat(); |
| | 24791 | | break; |
| | 24792 | | } |
| | 24793 | | case 69: { |
| | 24794 | | PaddingBottom = input.ReadFloat(); |
| | 24795 | | break; |
| | 24796 | | } |
| | 24797 | | case 77: { |
| | 24798 | | PaddingLeft = input.ReadFloat(); |
| | 24799 | | break; |
| | 24800 | | } |
| | 24801 | | case 82: { |
| | 24802 | | OnChanged = input.ReadString(); |
| | 24803 | | break; |
| | 24804 | | } |
| | 24805 | | case 90: { |
| | 24806 | | Name = input.ReadString(); |
| | 24807 | | break; |
| | 24808 | | } |
| | 24809 | | case 96: { |
| | 24810 | | Visible = input.ReadBool(); |
| | 24811 | | break; |
| | 24812 | | } |
| | 24813 | | case 109: { |
| | 24814 | | Opacity = input.ReadFloat(); |
| | 24815 | | break; |
| | 24816 | | } |
| | 24817 | | case 114: { |
| | 24818 | | HAlign = input.ReadString(); |
| | 24819 | | break; |
| | 24820 | | } |
| | 24821 | | case 122: { |
| | 24822 | | VAlign = input.ReadString(); |
| | 24823 | | break; |
| | 24824 | | } |
| | 24825 | | case 130: { |
| | 24826 | | if (width_ == null) { |
| | 24827 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24828 | | } |
| | 24829 | | input.ReadMessage(Width); |
| | 24830 | | break; |
| | 24831 | | } |
| | 24832 | | case 138: { |
| | 24833 | | if (height_ == null) { |
| | 24834 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24835 | | } |
| | 24836 | | input.ReadMessage(Height); |
| | 24837 | | break; |
| | 24838 | | } |
| | 24839 | | case 146: { |
| | 24840 | | if (positionX_ == null) { |
| | 24841 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24842 | | } |
| | 24843 | | input.ReadMessage(PositionX); |
| | 24844 | | break; |
| | 24845 | | } |
| | 24846 | | case 154: { |
| | 24847 | | if (positionY_ == null) { |
| | 24848 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 24849 | | } |
| | 24850 | | input.ReadMessage(PositionY); |
| | 24851 | | break; |
| | 24852 | | } |
| | 24853 | | case 160: { |
| | 24854 | | IsPointerBlocker = input.ReadBool(); |
| | 24855 | | break; |
| | 24856 | | } |
| | 24857 | | case 170: { |
| | 24858 | | ParentComponent = input.ReadString(); |
| | 24859 | | break; |
| | 24860 | | } |
| | 24861 | | } |
| | 24862 | | } |
| | 24863 | | } |
| | 24864 | | #endif |
| | 24865 | |
|
| | 24866 | | } |
| | 24867 | |
|
| | 24868 | | /// <summary> |
| | 24869 | | /// CLASS_ID.UI_WORLD_SPACE_SHAPE |
| | 24870 | | /// </summary> |
| | 24871 | | public sealed partial class ECS6ComponentUiWorldSpaceShape : pb::IMessage<ECS6ComponentUiWorldSpaceShape> |
| | 24872 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24873 | | , pb::IBufferMessage |
| | 24874 | | #endif |
| | 24875 | | { |
| | 24876 | | private static readonly pb::MessageParser<ECS6ComponentUiWorldSpaceShape> _parser = new pb::MessageParser<ECS6Compon |
| | 24877 | | private pb::UnknownFieldSet _unknownFields; |
| | 24878 | | private int _hasBits0; |
| | 24879 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24880 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24881 | | public static pb::MessageParser<ECS6ComponentUiWorldSpaceShape> Parser { get { return _parser; } } |
| | 24882 | |
|
| | 24883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24885 | | public static pbr::MessageDescriptor Descriptor { |
| | 24886 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[41]; } |
| | 24887 | | } |
| | 24888 | |
|
| | 24889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24891 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 24892 | | get { return Descriptor; } |
| | 24893 | | } |
| | 24894 | |
|
| | 24895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24897 | | public ECS6ComponentUiWorldSpaceShape() { |
| | 24898 | | OnConstruction(); |
| | 24899 | | } |
| | 24900 | |
|
| | 24901 | | partial void OnConstruction(); |
| | 24902 | |
|
| | 24903 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24904 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24905 | | public ECS6ComponentUiWorldSpaceShape(ECS6ComponentUiWorldSpaceShape other) : this() { |
| | 24906 | | _hasBits0 = other._hasBits0; |
| | 24907 | | name_ = other.name_; |
| | 24908 | | visible_ = other.visible_; |
| | 24909 | | opacity_ = other.opacity_; |
| | 24910 | | hAlign_ = other.hAlign_; |
| | 24911 | | vAlign_ = other.vAlign_; |
| | 24912 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 24913 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 24914 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 24915 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 24916 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 24917 | | parentComponent_ = other.parentComponent_; |
| | 24918 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 24919 | | } |
| | 24920 | |
|
| | 24921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24923 | | public ECS6ComponentUiWorldSpaceShape Clone() { |
| | 24924 | | return new ECS6ComponentUiWorldSpaceShape(this); |
| | 24925 | | } |
| | 24926 | |
|
| | 24927 | | /// <summary>Field number for the "name" field.</summary> |
| | 24928 | | public const int NameFieldNumber = 1; |
| | 24929 | | private string name_; |
| | 24930 | | /// <summary> |
| | 24931 | | /// UiShape |
| | 24932 | | /// </summary> |
| | 24933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24935 | | public string Name { |
| | 24936 | | get { return name_ ?? ""; } |
| | 24937 | | set { |
| | 24938 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24939 | | } |
| | 24940 | | } |
| | 24941 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 24942 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24943 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24944 | | public bool HasName { |
| | 24945 | | get { return name_ != null; } |
| | 24946 | | } |
| | 24947 | | /// <summary>Clears the value of the "name" field</summary> |
| | 24948 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24949 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24950 | | public void ClearName() { |
| | 24951 | | name_ = null; |
| | 24952 | | } |
| | 24953 | |
|
| | 24954 | | /// <summary>Field number for the "visible" field.</summary> |
| | 24955 | | public const int VisibleFieldNumber = 2; |
| | 24956 | | private bool visible_; |
| | 24957 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24958 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24959 | | public bool Visible { |
| | 24960 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 24961 | | set { |
| | 24962 | | _hasBits0 |= 1; |
| | 24963 | | visible_ = value; |
| | 24964 | | } |
| | 24965 | | } |
| | 24966 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 24967 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24968 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24969 | | public bool HasVisible { |
| | 24970 | | get { return (_hasBits0 & 1) != 0; } |
| | 24971 | | } |
| | 24972 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 24973 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24974 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24975 | | public void ClearVisible() { |
| | 24976 | | _hasBits0 &= ~1; |
| | 24977 | | } |
| | 24978 | |
|
| | 24979 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 24980 | | public const int OpacityFieldNumber = 3; |
| | 24981 | | private float opacity_; |
| | 24982 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24983 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24984 | | public float Opacity { |
| | 24985 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 24986 | | set { |
| | 24987 | | _hasBits0 |= 2; |
| | 24988 | | opacity_ = value; |
| | 24989 | | } |
| | 24990 | | } |
| | 24991 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 24992 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24993 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24994 | | public bool HasOpacity { |
| | 24995 | | get { return (_hasBits0 & 2) != 0; } |
| | 24996 | | } |
| | 24997 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 24998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25000 | | public void ClearOpacity() { |
| | 25001 | | _hasBits0 &= ~2; |
| | 25002 | | } |
| | 25003 | |
|
| | 25004 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 25005 | | public const int HAlignFieldNumber = 4; |
| | 25006 | | private string hAlign_; |
| | 25007 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25008 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25009 | | public string HAlign { |
| | 25010 | | get { return hAlign_ ?? ""; } |
| | 25011 | | set { |
| | 25012 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25013 | | } |
| | 25014 | | } |
| | 25015 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 25016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25018 | | public bool HasHAlign { |
| | 25019 | | get { return hAlign_ != null; } |
| | 25020 | | } |
| | 25021 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 25022 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25023 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25024 | | public void ClearHAlign() { |
| | 25025 | | hAlign_ = null; |
| | 25026 | | } |
| | 25027 | |
|
| | 25028 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 25029 | | public const int VAlignFieldNumber = 5; |
| | 25030 | | private string vAlign_; |
| | 25031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25033 | | public string VAlign { |
| | 25034 | | get { return vAlign_ ?? ""; } |
| | 25035 | | set { |
| | 25036 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25037 | | } |
| | 25038 | | } |
| | 25039 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 25040 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25041 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25042 | | public bool HasVAlign { |
| | 25043 | | get { return vAlign_ != null; } |
| | 25044 | | } |
| | 25045 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 25046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25048 | | public void ClearVAlign() { |
| | 25049 | | vAlign_ = null; |
| | 25050 | | } |
| | 25051 | |
|
| | 25052 | | /// <summary>Field number for the "width" field.</summary> |
| | 25053 | | public const int WidthFieldNumber = 6; |
| | 25054 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 25055 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25056 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25057 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 25058 | | get { return width_; } |
| | 25059 | | set { |
| | 25060 | | width_ = value; |
| | 25061 | | } |
| | 25062 | | } |
| | 25063 | |
|
| | 25064 | | /// <summary>Field number for the "height" field.</summary> |
| | 25065 | | public const int HeightFieldNumber = 7; |
| | 25066 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 25067 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25068 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25069 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 25070 | | get { return height_; } |
| | 25071 | | set { |
| | 25072 | | height_ = value; |
| | 25073 | | } |
| | 25074 | | } |
| | 25075 | |
|
| | 25076 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 25077 | | public const int PositionXFieldNumber = 8; |
| | 25078 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 25079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25081 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 25082 | | get { return positionX_; } |
| | 25083 | | set { |
| | 25084 | | positionX_ = value; |
| | 25085 | | } |
| | 25086 | | } |
| | 25087 | |
|
| | 25088 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 25089 | | public const int PositionYFieldNumber = 9; |
| | 25090 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 25091 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25092 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25093 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 25094 | | get { return positionY_; } |
| | 25095 | | set { |
| | 25096 | | positionY_ = value; |
| | 25097 | | } |
| | 25098 | | } |
| | 25099 | |
|
| | 25100 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 25101 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 25102 | | private bool isPointerBlocker_; |
| | 25103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25105 | | public bool IsPointerBlocker { |
| | 25106 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 25107 | | set { |
| | 25108 | | _hasBits0 |= 4; |
| | 25109 | | isPointerBlocker_ = value; |
| | 25110 | | } |
| | 25111 | | } |
| | 25112 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 25113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25115 | | public bool HasIsPointerBlocker { |
| | 25116 | | get { return (_hasBits0 & 4) != 0; } |
| | 25117 | | } |
| | 25118 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 25119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25121 | | public void ClearIsPointerBlocker() { |
| | 25122 | | _hasBits0 &= ~4; |
| | 25123 | | } |
| | 25124 | |
|
| | 25125 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 25126 | | public const int ParentComponentFieldNumber = 11; |
| | 25127 | | private string parentComponent_; |
| | 25128 | | /// <summary> |
| | 25129 | | /// UiShape |
| | 25130 | | /// </summary> |
| | 25131 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25132 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25133 | | public string ParentComponent { |
| | 25134 | | get { return parentComponent_ ?? ""; } |
| | 25135 | | set { |
| | 25136 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25137 | | } |
| | 25138 | | } |
| | 25139 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 25140 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25141 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25142 | | public bool HasParentComponent { |
| | 25143 | | get { return parentComponent_ != null; } |
| | 25144 | | } |
| | 25145 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 25146 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25147 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25148 | | public void ClearParentComponent() { |
| | 25149 | | parentComponent_ = null; |
| | 25150 | | } |
| | 25151 | |
|
| | 25152 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25153 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25154 | | public override bool Equals(object other) { |
| | 25155 | | return Equals(other as ECS6ComponentUiWorldSpaceShape); |
| | 25156 | | } |
| | 25157 | |
|
| | 25158 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25159 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25160 | | public bool Equals(ECS6ComponentUiWorldSpaceShape other) { |
| | 25161 | | if (ReferenceEquals(other, null)) { |
| | 25162 | | return false; |
| | 25163 | | } |
| | 25164 | | if (ReferenceEquals(other, this)) { |
| | 25165 | | return true; |
| | 25166 | | } |
| | 25167 | | if (Name != other.Name) return false; |
| | 25168 | | if (Visible != other.Visible) return false; |
| | 25169 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 25170 | | if (HAlign != other.HAlign) return false; |
| | 25171 | | if (VAlign != other.VAlign) return false; |
| | 25172 | | if (!object.Equals(Width, other.Width)) return false; |
| | 25173 | | if (!object.Equals(Height, other.Height)) return false; |
| | 25174 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 25175 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 25176 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 25177 | | if (ParentComponent != other.ParentComponent) return false; |
| | 25178 | | return Equals(_unknownFields, other._unknownFields); |
| | 25179 | | } |
| | 25180 | |
|
| | 25181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25183 | | public override int GetHashCode() { |
| | 25184 | | int hash = 1; |
| | 25185 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 25186 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 25187 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 25188 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 25189 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 25190 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 25191 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 25192 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 25193 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 25194 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 25195 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 25196 | | if (_unknownFields != null) { |
| | 25197 | | hash ^= _unknownFields.GetHashCode(); |
| | 25198 | | } |
| | 25199 | | return hash; |
| | 25200 | | } |
| | 25201 | |
|
| | 25202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25204 | | public override string ToString() { |
| | 25205 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 25206 | | } |
| | 25207 | |
|
| | 25208 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25209 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25210 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 25211 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25212 | | output.WriteRawMessage(this); |
| | 25213 | | #else |
| | 25214 | | if (HasName) { |
| | 25215 | | output.WriteRawTag(10); |
| | 25216 | | output.WriteString(Name); |
| | 25217 | | } |
| | 25218 | | if (HasVisible) { |
| | 25219 | | output.WriteRawTag(16); |
| | 25220 | | output.WriteBool(Visible); |
| | 25221 | | } |
| | 25222 | | if (HasOpacity) { |
| | 25223 | | output.WriteRawTag(29); |
| | 25224 | | output.WriteFloat(Opacity); |
| | 25225 | | } |
| | 25226 | | if (HasHAlign) { |
| | 25227 | | output.WriteRawTag(34); |
| | 25228 | | output.WriteString(HAlign); |
| | 25229 | | } |
| | 25230 | | if (HasVAlign) { |
| | 25231 | | output.WriteRawTag(42); |
| | 25232 | | output.WriteString(VAlign); |
| | 25233 | | } |
| | 25234 | | if (width_ != null) { |
| | 25235 | | output.WriteRawTag(50); |
| | 25236 | | output.WriteMessage(Width); |
| | 25237 | | } |
| | 25238 | | if (height_ != null) { |
| | 25239 | | output.WriteRawTag(58); |
| | 25240 | | output.WriteMessage(Height); |
| | 25241 | | } |
| | 25242 | | if (positionX_ != null) { |
| | 25243 | | output.WriteRawTag(66); |
| | 25244 | | output.WriteMessage(PositionX); |
| | 25245 | | } |
| | 25246 | | if (positionY_ != null) { |
| | 25247 | | output.WriteRawTag(74); |
| | 25248 | | output.WriteMessage(PositionY); |
| | 25249 | | } |
| | 25250 | | if (HasIsPointerBlocker) { |
| | 25251 | | output.WriteRawTag(80); |
| | 25252 | | output.WriteBool(IsPointerBlocker); |
| | 25253 | | } |
| | 25254 | | if (HasParentComponent) { |
| | 25255 | | output.WriteRawTag(90); |
| | 25256 | | output.WriteString(ParentComponent); |
| | 25257 | | } |
| | 25258 | | if (_unknownFields != null) { |
| | 25259 | | _unknownFields.WriteTo(output); |
| | 25260 | | } |
| | 25261 | | #endif |
| | 25262 | | } |
| | 25263 | |
|
| | 25264 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25267 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 25268 | | if (HasName) { |
| | 25269 | | output.WriteRawTag(10); |
| | 25270 | | output.WriteString(Name); |
| | 25271 | | } |
| | 25272 | | if (HasVisible) { |
| | 25273 | | output.WriteRawTag(16); |
| | 25274 | | output.WriteBool(Visible); |
| | 25275 | | } |
| | 25276 | | if (HasOpacity) { |
| | 25277 | | output.WriteRawTag(29); |
| | 25278 | | output.WriteFloat(Opacity); |
| | 25279 | | } |
| | 25280 | | if (HasHAlign) { |
| | 25281 | | output.WriteRawTag(34); |
| | 25282 | | output.WriteString(HAlign); |
| | 25283 | | } |
| | 25284 | | if (HasVAlign) { |
| | 25285 | | output.WriteRawTag(42); |
| | 25286 | | output.WriteString(VAlign); |
| | 25287 | | } |
| | 25288 | | if (width_ != null) { |
| | 25289 | | output.WriteRawTag(50); |
| | 25290 | | output.WriteMessage(Width); |
| | 25291 | | } |
| | 25292 | | if (height_ != null) { |
| | 25293 | | output.WriteRawTag(58); |
| | 25294 | | output.WriteMessage(Height); |
| | 25295 | | } |
| | 25296 | | if (positionX_ != null) { |
| | 25297 | | output.WriteRawTag(66); |
| | 25298 | | output.WriteMessage(PositionX); |
| | 25299 | | } |
| | 25300 | | if (positionY_ != null) { |
| | 25301 | | output.WriteRawTag(74); |
| | 25302 | | output.WriteMessage(PositionY); |
| | 25303 | | } |
| | 25304 | | if (HasIsPointerBlocker) { |
| | 25305 | | output.WriteRawTag(80); |
| | 25306 | | output.WriteBool(IsPointerBlocker); |
| | 25307 | | } |
| | 25308 | | if (HasParentComponent) { |
| | 25309 | | output.WriteRawTag(90); |
| | 25310 | | output.WriteString(ParentComponent); |
| | 25311 | | } |
| | 25312 | | if (_unknownFields != null) { |
| | 25313 | | _unknownFields.WriteTo(ref output); |
| | 25314 | | } |
| | 25315 | | } |
| | 25316 | | #endif |
| | 25317 | |
|
| | 25318 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25319 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25320 | | public int CalculateSize() { |
| | 25321 | | int size = 0; |
| | 25322 | | if (HasName) { |
| | 25323 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 25324 | | } |
| | 25325 | | if (HasVisible) { |
| | 25326 | | size += 1 + 1; |
| | 25327 | | } |
| | 25328 | | if (HasOpacity) { |
| | 25329 | | size += 1 + 4; |
| | 25330 | | } |
| | 25331 | | if (HasHAlign) { |
| | 25332 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 25333 | | } |
| | 25334 | | if (HasVAlign) { |
| | 25335 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 25336 | | } |
| | 25337 | | if (width_ != null) { |
| | 25338 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 25339 | | } |
| | 25340 | | if (height_ != null) { |
| | 25341 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 25342 | | } |
| | 25343 | | if (positionX_ != null) { |
| | 25344 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 25345 | | } |
| | 25346 | | if (positionY_ != null) { |
| | 25347 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 25348 | | } |
| | 25349 | | if (HasIsPointerBlocker) { |
| | 25350 | | size += 1 + 1; |
| | 25351 | | } |
| | 25352 | | if (HasParentComponent) { |
| | 25353 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 25354 | | } |
| | 25355 | | if (_unknownFields != null) { |
| | 25356 | | size += _unknownFields.CalculateSize(); |
| | 25357 | | } |
| | 25358 | | return size; |
| | 25359 | | } |
| | 25360 | |
|
| | 25361 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25362 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25363 | | public void MergeFrom(ECS6ComponentUiWorldSpaceShape other) { |
| | 25364 | | if (other == null) { |
| | 25365 | | return; |
| | 25366 | | } |
| | 25367 | | if (other.HasName) { |
| | 25368 | | Name = other.Name; |
| | 25369 | | } |
| | 25370 | | if (other.HasVisible) { |
| | 25371 | | Visible = other.Visible; |
| | 25372 | | } |
| | 25373 | | if (other.HasOpacity) { |
| | 25374 | | Opacity = other.Opacity; |
| | 25375 | | } |
| | 25376 | | if (other.HasHAlign) { |
| | 25377 | | HAlign = other.HAlign; |
| | 25378 | | } |
| | 25379 | | if (other.HasVAlign) { |
| | 25380 | | VAlign = other.VAlign; |
| | 25381 | | } |
| | 25382 | | if (other.width_ != null) { |
| | 25383 | | if (width_ == null) { |
| | 25384 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25385 | | } |
| | 25386 | | Width.MergeFrom(other.Width); |
| | 25387 | | } |
| | 25388 | | if (other.height_ != null) { |
| | 25389 | | if (height_ == null) { |
| | 25390 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25391 | | } |
| | 25392 | | Height.MergeFrom(other.Height); |
| | 25393 | | } |
| | 25394 | | if (other.positionX_ != null) { |
| | 25395 | | if (positionX_ == null) { |
| | 25396 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25397 | | } |
| | 25398 | | PositionX.MergeFrom(other.PositionX); |
| | 25399 | | } |
| | 25400 | | if (other.positionY_ != null) { |
| | 25401 | | if (positionY_ == null) { |
| | 25402 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25403 | | } |
| | 25404 | | PositionY.MergeFrom(other.PositionY); |
| | 25405 | | } |
| | 25406 | | if (other.HasIsPointerBlocker) { |
| | 25407 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 25408 | | } |
| | 25409 | | if (other.HasParentComponent) { |
| | 25410 | | ParentComponent = other.ParentComponent; |
| | 25411 | | } |
| | 25412 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 25413 | | } |
| | 25414 | |
|
| | 25415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25417 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 25418 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25419 | | input.ReadRawMessage(this); |
| | 25420 | | #else |
| | 25421 | | uint tag; |
| | 25422 | | while ((tag = input.ReadTag()) != 0) { |
| | 25423 | | switch(tag) { |
| | 25424 | | default: |
| | 25425 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 25426 | | break; |
| | 25427 | | case 10: { |
| | 25428 | | Name = input.ReadString(); |
| | 25429 | | break; |
| | 25430 | | } |
| | 25431 | | case 16: { |
| | 25432 | | Visible = input.ReadBool(); |
| | 25433 | | break; |
| | 25434 | | } |
| | 25435 | | case 29: { |
| | 25436 | | Opacity = input.ReadFloat(); |
| | 25437 | | break; |
| | 25438 | | } |
| | 25439 | | case 34: { |
| | 25440 | | HAlign = input.ReadString(); |
| | 25441 | | break; |
| | 25442 | | } |
| | 25443 | | case 42: { |
| | 25444 | | VAlign = input.ReadString(); |
| | 25445 | | break; |
| | 25446 | | } |
| | 25447 | | case 50: { |
| | 25448 | | if (width_ == null) { |
| | 25449 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25450 | | } |
| | 25451 | | input.ReadMessage(Width); |
| | 25452 | | break; |
| | 25453 | | } |
| | 25454 | | case 58: { |
| | 25455 | | if (height_ == null) { |
| | 25456 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25457 | | } |
| | 25458 | | input.ReadMessage(Height); |
| | 25459 | | break; |
| | 25460 | | } |
| | 25461 | | case 66: { |
| | 25462 | | if (positionX_ == null) { |
| | 25463 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25464 | | } |
| | 25465 | | input.ReadMessage(PositionX); |
| | 25466 | | break; |
| | 25467 | | } |
| | 25468 | | case 74: { |
| | 25469 | | if (positionY_ == null) { |
| | 25470 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25471 | | } |
| | 25472 | | input.ReadMessage(PositionY); |
| | 25473 | | break; |
| | 25474 | | } |
| | 25475 | | case 80: { |
| | 25476 | | IsPointerBlocker = input.ReadBool(); |
| | 25477 | | break; |
| | 25478 | | } |
| | 25479 | | case 90: { |
| | 25480 | | ParentComponent = input.ReadString(); |
| | 25481 | | break; |
| | 25482 | | } |
| | 25483 | | } |
| | 25484 | | } |
| | 25485 | | #endif |
| | 25486 | | } |
| | 25487 | |
|
| | 25488 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25491 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 25492 | | uint tag; |
| | 25493 | | while ((tag = input.ReadTag()) != 0) { |
| | 25494 | | switch(tag) { |
| | 25495 | | default: |
| | 25496 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 25497 | | break; |
| | 25498 | | case 10: { |
| | 25499 | | Name = input.ReadString(); |
| | 25500 | | break; |
| | 25501 | | } |
| | 25502 | | case 16: { |
| | 25503 | | Visible = input.ReadBool(); |
| | 25504 | | break; |
| | 25505 | | } |
| | 25506 | | case 29: { |
| | 25507 | | Opacity = input.ReadFloat(); |
| | 25508 | | break; |
| | 25509 | | } |
| | 25510 | | case 34: { |
| | 25511 | | HAlign = input.ReadString(); |
| | 25512 | | break; |
| | 25513 | | } |
| | 25514 | | case 42: { |
| | 25515 | | VAlign = input.ReadString(); |
| | 25516 | | break; |
| | 25517 | | } |
| | 25518 | | case 50: { |
| | 25519 | | if (width_ == null) { |
| | 25520 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25521 | | } |
| | 25522 | | input.ReadMessage(Width); |
| | 25523 | | break; |
| | 25524 | | } |
| | 25525 | | case 58: { |
| | 25526 | | if (height_ == null) { |
| | 25527 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25528 | | } |
| | 25529 | | input.ReadMessage(Height); |
| | 25530 | | break; |
| | 25531 | | } |
| | 25532 | | case 66: { |
| | 25533 | | if (positionX_ == null) { |
| | 25534 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25535 | | } |
| | 25536 | | input.ReadMessage(PositionX); |
| | 25537 | | break; |
| | 25538 | | } |
| | 25539 | | case 74: { |
| | 25540 | | if (positionY_ == null) { |
| | 25541 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 25542 | | } |
| | 25543 | | input.ReadMessage(PositionY); |
| | 25544 | | break; |
| | 25545 | | } |
| | 25546 | | case 80: { |
| | 25547 | | IsPointerBlocker = input.ReadBool(); |
| | 25548 | | break; |
| | 25549 | | } |
| | 25550 | | case 90: { |
| | 25551 | | ParentComponent = input.ReadString(); |
| | 25552 | | break; |
| | 25553 | | } |
| | 25554 | | } |
| | 25555 | | } |
| | 25556 | | } |
| | 25557 | | #endif |
| | 25558 | |
|
| | 25559 | | } |
| | 25560 | |
|
| | 25561 | | /// <summary> |
| | 25562 | | /// CLASS_ID.UI_SCREEN_SPACE_SHAPE |
| | 25563 | | /// </summary> |
| | 25564 | | public sealed partial class ECS6ComponentUiScreenSpaceShape : pb::IMessage<ECS6ComponentUiScreenSpaceShape> |
| | 25565 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25566 | | , pb::IBufferMessage |
| | 25567 | | #endif |
| | 25568 | | { |
| | 25569 | | private static readonly pb::MessageParser<ECS6ComponentUiScreenSpaceShape> _parser = new pb::MessageParser<ECS6Compo |
| | 25570 | | private pb::UnknownFieldSet _unknownFields; |
| | 25571 | | private int _hasBits0; |
| | 25572 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25573 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25574 | | public static pb::MessageParser<ECS6ComponentUiScreenSpaceShape> Parser { get { return _parser; } } |
| | 25575 | |
|
| | 25576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25578 | | public static pbr::MessageDescriptor Descriptor { |
| | 25579 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[42]; } |
| | 25580 | | } |
| | 25581 | |
|
| | 25582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25584 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 25585 | | get { return Descriptor; } |
| | 25586 | | } |
| | 25587 | |
|
| | 25588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25590 | | public ECS6ComponentUiScreenSpaceShape() { |
| | 25591 | | OnConstruction(); |
| | 25592 | | } |
| | 25593 | |
|
| | 25594 | | partial void OnConstruction(); |
| | 25595 | |
|
| | 25596 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25597 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25598 | | public ECS6ComponentUiScreenSpaceShape(ECS6ComponentUiScreenSpaceShape other) : this() { |
| | 25599 | | _hasBits0 = other._hasBits0; |
| | 25600 | | name_ = other.name_; |
| | 25601 | | visible_ = other.visible_; |
| | 25602 | | opacity_ = other.opacity_; |
| | 25603 | | hAlign_ = other.hAlign_; |
| | 25604 | | vAlign_ = other.vAlign_; |
| | 25605 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 25606 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 25607 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 25608 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 25609 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 25610 | | parentComponent_ = other.parentComponent_; |
| | 25611 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 25612 | | } |
| | 25613 | |
|
| | 25614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25616 | | public ECS6ComponentUiScreenSpaceShape Clone() { |
| | 25617 | | return new ECS6ComponentUiScreenSpaceShape(this); |
| | 25618 | | } |
| | 25619 | |
|
| | 25620 | | /// <summary>Field number for the "name" field.</summary> |
| | 25621 | | public const int NameFieldNumber = 1; |
| | 25622 | | private string name_; |
| | 25623 | | /// <summary> |
| | 25624 | | /// UiShape |
| | 25625 | | /// </summary> |
| | 25626 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25627 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25628 | | public string Name { |
| | 25629 | | get { return name_ ?? ""; } |
| | 25630 | | set { |
| | 25631 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25632 | | } |
| | 25633 | | } |
| | 25634 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 25635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25637 | | public bool HasName { |
| | 25638 | | get { return name_ != null; } |
| | 25639 | | } |
| | 25640 | | /// <summary>Clears the value of the "name" field</summary> |
| | 25641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25643 | | public void ClearName() { |
| | 25644 | | name_ = null; |
| | 25645 | | } |
| | 25646 | |
|
| | 25647 | | /// <summary>Field number for the "visible" field.</summary> |
| | 25648 | | public const int VisibleFieldNumber = 2; |
| | 25649 | | private bool visible_; |
| | 25650 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25651 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25652 | | public bool Visible { |
| | 25653 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 25654 | | set { |
| | 25655 | | _hasBits0 |= 1; |
| | 25656 | | visible_ = value; |
| | 25657 | | } |
| | 25658 | | } |
| | 25659 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 25660 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25661 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25662 | | public bool HasVisible { |
| | 25663 | | get { return (_hasBits0 & 1) != 0; } |
| | 25664 | | } |
| | 25665 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 25666 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25667 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25668 | | public void ClearVisible() { |
| | 25669 | | _hasBits0 &= ~1; |
| | 25670 | | } |
| | 25671 | |
|
| | 25672 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 25673 | | public const int OpacityFieldNumber = 3; |
| | 25674 | | private float opacity_; |
| | 25675 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25676 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25677 | | public float Opacity { |
| | 25678 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 25679 | | set { |
| | 25680 | | _hasBits0 |= 2; |
| | 25681 | | opacity_ = value; |
| | 25682 | | } |
| | 25683 | | } |
| | 25684 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 25685 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25686 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25687 | | public bool HasOpacity { |
| | 25688 | | get { return (_hasBits0 & 2) != 0; } |
| | 25689 | | } |
| | 25690 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 25691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25693 | | public void ClearOpacity() { |
| | 25694 | | _hasBits0 &= ~2; |
| | 25695 | | } |
| | 25696 | |
|
| | 25697 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 25698 | | public const int HAlignFieldNumber = 4; |
| | 25699 | | private string hAlign_; |
| | 25700 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25701 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25702 | | public string HAlign { |
| | 25703 | | get { return hAlign_ ?? ""; } |
| | 25704 | | set { |
| | 25705 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25706 | | } |
| | 25707 | | } |
| | 25708 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 25709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25711 | | public bool HasHAlign { |
| | 25712 | | get { return hAlign_ != null; } |
| | 25713 | | } |
| | 25714 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 25715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25717 | | public void ClearHAlign() { |
| | 25718 | | hAlign_ = null; |
| | 25719 | | } |
| | 25720 | |
|
| | 25721 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 25722 | | public const int VAlignFieldNumber = 5; |
| | 25723 | | private string vAlign_; |
| | 25724 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25725 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25726 | | public string VAlign { |
| | 25727 | | get { return vAlign_ ?? ""; } |
| | 25728 | | set { |
| | 25729 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25730 | | } |
| | 25731 | | } |
| | 25732 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 25733 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25734 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25735 | | public bool HasVAlign { |
| | 25736 | | get { return vAlign_ != null; } |
| | 25737 | | } |
| | 25738 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 25739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25741 | | public void ClearVAlign() { |
| | 25742 | | vAlign_ = null; |
| | 25743 | | } |
| | 25744 | |
|
| | 25745 | | /// <summary>Field number for the "width" field.</summary> |
| | 25746 | | public const int WidthFieldNumber = 6; |
| | 25747 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 25748 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25749 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25750 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 25751 | | get { return width_; } |
| | 25752 | | set { |
| | 25753 | | width_ = value; |
| | 25754 | | } |
| | 25755 | | } |
| | 25756 | |
|
| | 25757 | | /// <summary>Field number for the "height" field.</summary> |
| | 25758 | | public const int HeightFieldNumber = 7; |
| | 25759 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 25760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25762 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 25763 | | get { return height_; } |
| | 25764 | | set { |
| | 25765 | | height_ = value; |
| | 25766 | | } |
| | 25767 | | } |
| | 25768 | |
|
| | 25769 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 25770 | | public const int PositionXFieldNumber = 8; |
| | 25771 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 25772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25774 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 25775 | | get { return positionX_; } |
| | 25776 | | set { |
| | 25777 | | positionX_ = value; |
| | 25778 | | } |
| | 25779 | | } |
| | 25780 | |
|
| | 25781 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 25782 | | public const int PositionYFieldNumber = 9; |
| | 25783 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 25784 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25785 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25786 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 25787 | | get { return positionY_; } |
| | 25788 | | set { |
| | 25789 | | positionY_ = value; |
| | 25790 | | } |
| | 25791 | | } |
| | 25792 | |
|
| | 25793 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 25794 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 25795 | | private bool isPointerBlocker_; |
| | 25796 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25797 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25798 | | public bool IsPointerBlocker { |
| | 25799 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 25800 | | set { |
| | 25801 | | _hasBits0 |= 4; |
| | 25802 | | isPointerBlocker_ = value; |
| | 25803 | | } |
| | 25804 | | } |
| | 25805 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 25806 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25807 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25808 | | public bool HasIsPointerBlocker { |
| | 25809 | | get { return (_hasBits0 & 4) != 0; } |
| | 25810 | | } |
| | 25811 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 25812 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25813 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25814 | | public void ClearIsPointerBlocker() { |
| | 25815 | | _hasBits0 &= ~4; |
| | 25816 | | } |
| | 25817 | |
|
| | 25818 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 25819 | | public const int ParentComponentFieldNumber = 11; |
| | 25820 | | private string parentComponent_; |
| | 25821 | | /// <summary> |
| | 25822 | | /// UiShape |
| | 25823 | | /// </summary> |
| | 25824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25826 | | public string ParentComponent { |
| | 25827 | | get { return parentComponent_ ?? ""; } |
| | 25828 | | set { |
| | 25829 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 25830 | | } |
| | 25831 | | } |
| | 25832 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 25833 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25834 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25835 | | public bool HasParentComponent { |
| | 25836 | | get { return parentComponent_ != null; } |
| | 25837 | | } |
| | 25838 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 25839 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25840 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25841 | | public void ClearParentComponent() { |
| | 25842 | | parentComponent_ = null; |
| | 25843 | | } |
| | 25844 | |
|
| | 25845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25847 | | public override bool Equals(object other) { |
| | 25848 | | return Equals(other as ECS6ComponentUiScreenSpaceShape); |
| | 25849 | | } |
| | 25850 | |
|
| | 25851 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25852 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25853 | | public bool Equals(ECS6ComponentUiScreenSpaceShape other) { |
| | 25854 | | if (ReferenceEquals(other, null)) { |
| | 25855 | | return false; |
| | 25856 | | } |
| | 25857 | | if (ReferenceEquals(other, this)) { |
| | 25858 | | return true; |
| | 25859 | | } |
| | 25860 | | if (Name != other.Name) return false; |
| | 25861 | | if (Visible != other.Visible) return false; |
| | 25862 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 25863 | | if (HAlign != other.HAlign) return false; |
| | 25864 | | if (VAlign != other.VAlign) return false; |
| | 25865 | | if (!object.Equals(Width, other.Width)) return false; |
| | 25866 | | if (!object.Equals(Height, other.Height)) return false; |
| | 25867 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 25868 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 25869 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 25870 | | if (ParentComponent != other.ParentComponent) return false; |
| | 25871 | | return Equals(_unknownFields, other._unknownFields); |
| | 25872 | | } |
| | 25873 | |
|
| | 25874 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25875 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25876 | | public override int GetHashCode() { |
| | 25877 | | int hash = 1; |
| | 25878 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 25879 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 25880 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 25881 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 25882 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 25883 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 25884 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 25885 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 25886 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 25887 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 25888 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 25889 | | if (_unknownFields != null) { |
| | 25890 | | hash ^= _unknownFields.GetHashCode(); |
| | 25891 | | } |
| | 25892 | | return hash; |
| | 25893 | | } |
| | 25894 | |
|
| | 25895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25897 | | public override string ToString() { |
| | 25898 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 25899 | | } |
| | 25900 | |
|
| | 25901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25903 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 25904 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25905 | | output.WriteRawMessage(this); |
| | 25906 | | #else |
| | 25907 | | if (HasName) { |
| | 25908 | | output.WriteRawTag(10); |
| | 25909 | | output.WriteString(Name); |
| | 25910 | | } |
| | 25911 | | if (HasVisible) { |
| | 25912 | | output.WriteRawTag(16); |
| | 25913 | | output.WriteBool(Visible); |
| | 25914 | | } |
| | 25915 | | if (HasOpacity) { |
| | 25916 | | output.WriteRawTag(29); |
| | 25917 | | output.WriteFloat(Opacity); |
| | 25918 | | } |
| | 25919 | | if (HasHAlign) { |
| | 25920 | | output.WriteRawTag(34); |
| | 25921 | | output.WriteString(HAlign); |
| | 25922 | | } |
| | 25923 | | if (HasVAlign) { |
| | 25924 | | output.WriteRawTag(42); |
| | 25925 | | output.WriteString(VAlign); |
| | 25926 | | } |
| | 25927 | | if (width_ != null) { |
| | 25928 | | output.WriteRawTag(50); |
| | 25929 | | output.WriteMessage(Width); |
| | 25930 | | } |
| | 25931 | | if (height_ != null) { |
| | 25932 | | output.WriteRawTag(58); |
| | 25933 | | output.WriteMessage(Height); |
| | 25934 | | } |
| | 25935 | | if (positionX_ != null) { |
| | 25936 | | output.WriteRawTag(66); |
| | 25937 | | output.WriteMessage(PositionX); |
| | 25938 | | } |
| | 25939 | | if (positionY_ != null) { |
| | 25940 | | output.WriteRawTag(74); |
| | 25941 | | output.WriteMessage(PositionY); |
| | 25942 | | } |
| | 25943 | | if (HasIsPointerBlocker) { |
| | 25944 | | output.WriteRawTag(80); |
| | 25945 | | output.WriteBool(IsPointerBlocker); |
| | 25946 | | } |
| | 25947 | | if (HasParentComponent) { |
| | 25948 | | output.WriteRawTag(90); |
| | 25949 | | output.WriteString(ParentComponent); |
| | 25950 | | } |
| | 25951 | | if (_unknownFields != null) { |
| | 25952 | | _unknownFields.WriteTo(output); |
| | 25953 | | } |
| | 25954 | | #endif |
| | 25955 | | } |
| | 25956 | |
|
| | 25957 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25960 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 25961 | | if (HasName) { |
| | 25962 | | output.WriteRawTag(10); |
| | 25963 | | output.WriteString(Name); |
| | 25964 | | } |
| | 25965 | | if (HasVisible) { |
| | 25966 | | output.WriteRawTag(16); |
| | 25967 | | output.WriteBool(Visible); |
| | 25968 | | } |
| | 25969 | | if (HasOpacity) { |
| | 25970 | | output.WriteRawTag(29); |
| | 25971 | | output.WriteFloat(Opacity); |
| | 25972 | | } |
| | 25973 | | if (HasHAlign) { |
| | 25974 | | output.WriteRawTag(34); |
| | 25975 | | output.WriteString(HAlign); |
| | 25976 | | } |
| | 25977 | | if (HasVAlign) { |
| | 25978 | | output.WriteRawTag(42); |
| | 25979 | | output.WriteString(VAlign); |
| | 25980 | | } |
| | 25981 | | if (width_ != null) { |
| | 25982 | | output.WriteRawTag(50); |
| | 25983 | | output.WriteMessage(Width); |
| | 25984 | | } |
| | 25985 | | if (height_ != null) { |
| | 25986 | | output.WriteRawTag(58); |
| | 25987 | | output.WriteMessage(Height); |
| | 25988 | | } |
| | 25989 | | if (positionX_ != null) { |
| | 25990 | | output.WriteRawTag(66); |
| | 25991 | | output.WriteMessage(PositionX); |
| | 25992 | | } |
| | 25993 | | if (positionY_ != null) { |
| | 25994 | | output.WriteRawTag(74); |
| | 25995 | | output.WriteMessage(PositionY); |
| | 25996 | | } |
| | 25997 | | if (HasIsPointerBlocker) { |
| | 25998 | | output.WriteRawTag(80); |
| | 25999 | | output.WriteBool(IsPointerBlocker); |
| | 26000 | | } |
| | 26001 | | if (HasParentComponent) { |
| | 26002 | | output.WriteRawTag(90); |
| | 26003 | | output.WriteString(ParentComponent); |
| | 26004 | | } |
| | 26005 | | if (_unknownFields != null) { |
| | 26006 | | _unknownFields.WriteTo(ref output); |
| | 26007 | | } |
| | 26008 | | } |
| | 26009 | | #endif |
| | 26010 | |
|
| | 26011 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26012 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26013 | | public int CalculateSize() { |
| | 26014 | | int size = 0; |
| | 26015 | | if (HasName) { |
| | 26016 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 26017 | | } |
| | 26018 | | if (HasVisible) { |
| | 26019 | | size += 1 + 1; |
| | 26020 | | } |
| | 26021 | | if (HasOpacity) { |
| | 26022 | | size += 1 + 4; |
| | 26023 | | } |
| | 26024 | | if (HasHAlign) { |
| | 26025 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 26026 | | } |
| | 26027 | | if (HasVAlign) { |
| | 26028 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 26029 | | } |
| | 26030 | | if (width_ != null) { |
| | 26031 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 26032 | | } |
| | 26033 | | if (height_ != null) { |
| | 26034 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 26035 | | } |
| | 26036 | | if (positionX_ != null) { |
| | 26037 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 26038 | | } |
| | 26039 | | if (positionY_ != null) { |
| | 26040 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 26041 | | } |
| | 26042 | | if (HasIsPointerBlocker) { |
| | 26043 | | size += 1 + 1; |
| | 26044 | | } |
| | 26045 | | if (HasParentComponent) { |
| | 26046 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 26047 | | } |
| | 26048 | | if (_unknownFields != null) { |
| | 26049 | | size += _unknownFields.CalculateSize(); |
| | 26050 | | } |
| | 26051 | | return size; |
| | 26052 | | } |
| | 26053 | |
|
| | 26054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26056 | | public void MergeFrom(ECS6ComponentUiScreenSpaceShape other) { |
| | 26057 | | if (other == null) { |
| | 26058 | | return; |
| | 26059 | | } |
| | 26060 | | if (other.HasName) { |
| | 26061 | | Name = other.Name; |
| | 26062 | | } |
| | 26063 | | if (other.HasVisible) { |
| | 26064 | | Visible = other.Visible; |
| | 26065 | | } |
| | 26066 | | if (other.HasOpacity) { |
| | 26067 | | Opacity = other.Opacity; |
| | 26068 | | } |
| | 26069 | | if (other.HasHAlign) { |
| | 26070 | | HAlign = other.HAlign; |
| | 26071 | | } |
| | 26072 | | if (other.HasVAlign) { |
| | 26073 | | VAlign = other.VAlign; |
| | 26074 | | } |
| | 26075 | | if (other.width_ != null) { |
| | 26076 | | if (width_ == null) { |
| | 26077 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26078 | | } |
| | 26079 | | Width.MergeFrom(other.Width); |
| | 26080 | | } |
| | 26081 | | if (other.height_ != null) { |
| | 26082 | | if (height_ == null) { |
| | 26083 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26084 | | } |
| | 26085 | | Height.MergeFrom(other.Height); |
| | 26086 | | } |
| | 26087 | | if (other.positionX_ != null) { |
| | 26088 | | if (positionX_ == null) { |
| | 26089 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26090 | | } |
| | 26091 | | PositionX.MergeFrom(other.PositionX); |
| | 26092 | | } |
| | 26093 | | if (other.positionY_ != null) { |
| | 26094 | | if (positionY_ == null) { |
| | 26095 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26096 | | } |
| | 26097 | | PositionY.MergeFrom(other.PositionY); |
| | 26098 | | } |
| | 26099 | | if (other.HasIsPointerBlocker) { |
| | 26100 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 26101 | | } |
| | 26102 | | if (other.HasParentComponent) { |
| | 26103 | | ParentComponent = other.ParentComponent; |
| | 26104 | | } |
| | 26105 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 26106 | | } |
| | 26107 | |
|
| | 26108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26110 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 26111 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26112 | | input.ReadRawMessage(this); |
| | 26113 | | #else |
| | 26114 | | uint tag; |
| | 26115 | | while ((tag = input.ReadTag()) != 0) { |
| | 26116 | | switch(tag) { |
| | 26117 | | default: |
| | 26118 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 26119 | | break; |
| | 26120 | | case 10: { |
| | 26121 | | Name = input.ReadString(); |
| | 26122 | | break; |
| | 26123 | | } |
| | 26124 | | case 16: { |
| | 26125 | | Visible = input.ReadBool(); |
| | 26126 | | break; |
| | 26127 | | } |
| | 26128 | | case 29: { |
| | 26129 | | Opacity = input.ReadFloat(); |
| | 26130 | | break; |
| | 26131 | | } |
| | 26132 | | case 34: { |
| | 26133 | | HAlign = input.ReadString(); |
| | 26134 | | break; |
| | 26135 | | } |
| | 26136 | | case 42: { |
| | 26137 | | VAlign = input.ReadString(); |
| | 26138 | | break; |
| | 26139 | | } |
| | 26140 | | case 50: { |
| | 26141 | | if (width_ == null) { |
| | 26142 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26143 | | } |
| | 26144 | | input.ReadMessage(Width); |
| | 26145 | | break; |
| | 26146 | | } |
| | 26147 | | case 58: { |
| | 26148 | | if (height_ == null) { |
| | 26149 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26150 | | } |
| | 26151 | | input.ReadMessage(Height); |
| | 26152 | | break; |
| | 26153 | | } |
| | 26154 | | case 66: { |
| | 26155 | | if (positionX_ == null) { |
| | 26156 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26157 | | } |
| | 26158 | | input.ReadMessage(PositionX); |
| | 26159 | | break; |
| | 26160 | | } |
| | 26161 | | case 74: { |
| | 26162 | | if (positionY_ == null) { |
| | 26163 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26164 | | } |
| | 26165 | | input.ReadMessage(PositionY); |
| | 26166 | | break; |
| | 26167 | | } |
| | 26168 | | case 80: { |
| | 26169 | | IsPointerBlocker = input.ReadBool(); |
| | 26170 | | break; |
| | 26171 | | } |
| | 26172 | | case 90: { |
| | 26173 | | ParentComponent = input.ReadString(); |
| | 26174 | | break; |
| | 26175 | | } |
| | 26176 | | } |
| | 26177 | | } |
| | 26178 | | #endif |
| | 26179 | | } |
| | 26180 | |
|
| | 26181 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26184 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 26185 | | uint tag; |
| | 26186 | | while ((tag = input.ReadTag()) != 0) { |
| | 26187 | | switch(tag) { |
| | 26188 | | default: |
| | 26189 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 26190 | | break; |
| | 26191 | | case 10: { |
| | 26192 | | Name = input.ReadString(); |
| | 26193 | | break; |
| | 26194 | | } |
| | 26195 | | case 16: { |
| | 26196 | | Visible = input.ReadBool(); |
| | 26197 | | break; |
| | 26198 | | } |
| | 26199 | | case 29: { |
| | 26200 | | Opacity = input.ReadFloat(); |
| | 26201 | | break; |
| | 26202 | | } |
| | 26203 | | case 34: { |
| | 26204 | | HAlign = input.ReadString(); |
| | 26205 | | break; |
| | 26206 | | } |
| | 26207 | | case 42: { |
| | 26208 | | VAlign = input.ReadString(); |
| | 26209 | | break; |
| | 26210 | | } |
| | 26211 | | case 50: { |
| | 26212 | | if (width_ == null) { |
| | 26213 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26214 | | } |
| | 26215 | | input.ReadMessage(Width); |
| | 26216 | | break; |
| | 26217 | | } |
| | 26218 | | case 58: { |
| | 26219 | | if (height_ == null) { |
| | 26220 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26221 | | } |
| | 26222 | | input.ReadMessage(Height); |
| | 26223 | | break; |
| | 26224 | | } |
| | 26225 | | case 66: { |
| | 26226 | | if (positionX_ == null) { |
| | 26227 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26228 | | } |
| | 26229 | | input.ReadMessage(PositionX); |
| | 26230 | | break; |
| | 26231 | | } |
| | 26232 | | case 74: { |
| | 26233 | | if (positionY_ == null) { |
| | 26234 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26235 | | } |
| | 26236 | | input.ReadMessage(PositionY); |
| | 26237 | | break; |
| | 26238 | | } |
| | 26239 | | case 80: { |
| | 26240 | | IsPointerBlocker = input.ReadBool(); |
| | 26241 | | break; |
| | 26242 | | } |
| | 26243 | | case 90: { |
| | 26244 | | ParentComponent = input.ReadString(); |
| | 26245 | | break; |
| | 26246 | | } |
| | 26247 | | } |
| | 26248 | | } |
| | 26249 | | } |
| | 26250 | | #endif |
| | 26251 | |
|
| | 26252 | | } |
| | 26253 | |
|
| | 26254 | | /// <summary> |
| | 26255 | | /// CLASS_ID.UI_FULLSCREEN_SHAPE |
| | 26256 | | /// </summary> |
| | 26257 | | public sealed partial class ECS6ComponentUiFullScreenShape : pb::IMessage<ECS6ComponentUiFullScreenShape> |
| | 26258 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26259 | | , pb::IBufferMessage |
| | 26260 | | #endif |
| | 26261 | | { |
| | 26262 | | private static readonly pb::MessageParser<ECS6ComponentUiFullScreenShape> _parser = new pb::MessageParser<ECS6Compon |
| | 26263 | | private pb::UnknownFieldSet _unknownFields; |
| | 26264 | | private int _hasBits0; |
| | 26265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26267 | | public static pb::MessageParser<ECS6ComponentUiFullScreenShape> Parser { get { return _parser; } } |
| | 26268 | |
|
| | 26269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26271 | | public static pbr::MessageDescriptor Descriptor { |
| | 26272 | | get { return global::Decentraland.Sdk.Ecs6.ComponentsEcs6Reflection.Descriptor.MessageTypes[43]; } |
| | 26273 | | } |
| | 26274 | |
|
| | 26275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26277 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 26278 | | get { return Descriptor; } |
| | 26279 | | } |
| | 26280 | |
|
| | 26281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26283 | | public ECS6ComponentUiFullScreenShape() { |
| | 26284 | | OnConstruction(); |
| | 26285 | | } |
| | 26286 | |
|
| | 26287 | | partial void OnConstruction(); |
| | 26288 | |
|
| | 26289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26291 | | public ECS6ComponentUiFullScreenShape(ECS6ComponentUiFullScreenShape other) : this() { |
| | 26292 | | _hasBits0 = other._hasBits0; |
| | 26293 | | name_ = other.name_; |
| | 26294 | | visible_ = other.visible_; |
| | 26295 | | opacity_ = other.opacity_; |
| | 26296 | | hAlign_ = other.hAlign_; |
| | 26297 | | vAlign_ = other.vAlign_; |
| | 26298 | | width_ = other.width_ != null ? other.width_.Clone() : null; |
| | 26299 | | height_ = other.height_ != null ? other.height_.Clone() : null; |
| | 26300 | | positionX_ = other.positionX_ != null ? other.positionX_.Clone() : null; |
| | 26301 | | positionY_ = other.positionY_ != null ? other.positionY_.Clone() : null; |
| | 26302 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 26303 | | parentComponent_ = other.parentComponent_; |
| | 26304 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 26305 | | } |
| | 26306 | |
|
| | 26307 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26308 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26309 | | public ECS6ComponentUiFullScreenShape Clone() { |
| | 26310 | | return new ECS6ComponentUiFullScreenShape(this); |
| | 26311 | | } |
| | 26312 | |
|
| | 26313 | | /// <summary>Field number for the "name" field.</summary> |
| | 26314 | | public const int NameFieldNumber = 1; |
| | 26315 | | private string name_; |
| | 26316 | | /// <summary> |
| | 26317 | | /// UiShape |
| | 26318 | | /// </summary> |
| | 26319 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26320 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26321 | | public string Name { |
| | 26322 | | get { return name_ ?? ""; } |
| | 26323 | | set { |
| | 26324 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26325 | | } |
| | 26326 | | } |
| | 26327 | | /// <summary>Gets whether the "name" field is set</summary> |
| | 26328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26330 | | public bool HasName { |
| | 26331 | | get { return name_ != null; } |
| | 26332 | | } |
| | 26333 | | /// <summary>Clears the value of the "name" field</summary> |
| | 26334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26336 | | public void ClearName() { |
| | 26337 | | name_ = null; |
| | 26338 | | } |
| | 26339 | |
|
| | 26340 | | /// <summary>Field number for the "visible" field.</summary> |
| | 26341 | | public const int VisibleFieldNumber = 2; |
| | 26342 | | private bool visible_; |
| | 26343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26345 | | public bool Visible { |
| | 26346 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 26347 | | set { |
| | 26348 | | _hasBits0 |= 1; |
| | 26349 | | visible_ = value; |
| | 26350 | | } |
| | 26351 | | } |
| | 26352 | | /// <summary>Gets whether the "visible" field is set</summary> |
| | 26353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26355 | | public bool HasVisible { |
| | 26356 | | get { return (_hasBits0 & 1) != 0; } |
| | 26357 | | } |
| | 26358 | | /// <summary>Clears the value of the "visible" field</summary> |
| | 26359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26361 | | public void ClearVisible() { |
| | 26362 | | _hasBits0 &= ~1; |
| | 26363 | | } |
| | 26364 | |
|
| | 26365 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 26366 | | public const int OpacityFieldNumber = 3; |
| | 26367 | | private float opacity_; |
| | 26368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26370 | | public float Opacity { |
| | 26371 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 26372 | | set { |
| | 26373 | | _hasBits0 |= 2; |
| | 26374 | | opacity_ = value; |
| | 26375 | | } |
| | 26376 | | } |
| | 26377 | | /// <summary>Gets whether the "opacity" field is set</summary> |
| | 26378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26380 | | public bool HasOpacity { |
| | 26381 | | get { return (_hasBits0 & 2) != 0; } |
| | 26382 | | } |
| | 26383 | | /// <summary>Clears the value of the "opacity" field</summary> |
| | 26384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26386 | | public void ClearOpacity() { |
| | 26387 | | _hasBits0 &= ~2; |
| | 26388 | | } |
| | 26389 | |
|
| | 26390 | | /// <summary>Field number for the "h_align" field.</summary> |
| | 26391 | | public const int HAlignFieldNumber = 4; |
| | 26392 | | private string hAlign_; |
| | 26393 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26394 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26395 | | public string HAlign { |
| | 26396 | | get { return hAlign_ ?? ""; } |
| | 26397 | | set { |
| | 26398 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26399 | | } |
| | 26400 | | } |
| | 26401 | | /// <summary>Gets whether the "h_align" field is set</summary> |
| | 26402 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26403 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26404 | | public bool HasHAlign { |
| | 26405 | | get { return hAlign_ != null; } |
| | 26406 | | } |
| | 26407 | | /// <summary>Clears the value of the "h_align" field</summary> |
| | 26408 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26409 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26410 | | public void ClearHAlign() { |
| | 26411 | | hAlign_ = null; |
| | 26412 | | } |
| | 26413 | |
|
| | 26414 | | /// <summary>Field number for the "v_align" field.</summary> |
| | 26415 | | public const int VAlignFieldNumber = 5; |
| | 26416 | | private string vAlign_; |
| | 26417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26419 | | public string VAlign { |
| | 26420 | | get { return vAlign_ ?? ""; } |
| | 26421 | | set { |
| | 26422 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26423 | | } |
| | 26424 | | } |
| | 26425 | | /// <summary>Gets whether the "v_align" field is set</summary> |
| | 26426 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26427 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26428 | | public bool HasVAlign { |
| | 26429 | | get { return vAlign_ != null; } |
| | 26430 | | } |
| | 26431 | | /// <summary>Clears the value of the "v_align" field</summary> |
| | 26432 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26433 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26434 | | public void ClearVAlign() { |
| | 26435 | | vAlign_ = null; |
| | 26436 | | } |
| | 26437 | |
|
| | 26438 | | /// <summary>Field number for the "width" field.</summary> |
| | 26439 | | public const int WidthFieldNumber = 6; |
| | 26440 | | private global::Decentraland.Sdk.Ecs6.UiValue width_; |
| | 26441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26443 | | public global::Decentraland.Sdk.Ecs6.UiValue Width { |
| | 26444 | | get { return width_; } |
| | 26445 | | set { |
| | 26446 | | width_ = value; |
| | 26447 | | } |
| | 26448 | | } |
| | 26449 | |
|
| | 26450 | | /// <summary>Field number for the "height" field.</summary> |
| | 26451 | | public const int HeightFieldNumber = 7; |
| | 26452 | | private global::Decentraland.Sdk.Ecs6.UiValue height_; |
| | 26453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26455 | | public global::Decentraland.Sdk.Ecs6.UiValue Height { |
| | 26456 | | get { return height_; } |
| | 26457 | | set { |
| | 26458 | | height_ = value; |
| | 26459 | | } |
| | 26460 | | } |
| | 26461 | |
|
| | 26462 | | /// <summary>Field number for the "position_x" field.</summary> |
| | 26463 | | public const int PositionXFieldNumber = 8; |
| | 26464 | | private global::Decentraland.Sdk.Ecs6.UiValue positionX_; |
| | 26465 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26466 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26467 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionX { |
| | 26468 | | get { return positionX_; } |
| | 26469 | | set { |
| | 26470 | | positionX_ = value; |
| | 26471 | | } |
| | 26472 | | } |
| | 26473 | |
|
| | 26474 | | /// <summary>Field number for the "position_y" field.</summary> |
| | 26475 | | public const int PositionYFieldNumber = 9; |
| | 26476 | | private global::Decentraland.Sdk.Ecs6.UiValue positionY_; |
| | 26477 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26478 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26479 | | public global::Decentraland.Sdk.Ecs6.UiValue PositionY { |
| | 26480 | | get { return positionY_; } |
| | 26481 | | set { |
| | 26482 | | positionY_ = value; |
| | 26483 | | } |
| | 26484 | | } |
| | 26485 | |
|
| | 26486 | | /// <summary>Field number for the "is_pointer_blocker" field.</summary> |
| | 26487 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 26488 | | private bool isPointerBlocker_; |
| | 26489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26491 | | public bool IsPointerBlocker { |
| | 26492 | | get { if ((_hasBits0 & 4) != 0) { return isPointerBlocker_; } else { return false; } } |
| | 26493 | | set { |
| | 26494 | | _hasBits0 |= 4; |
| | 26495 | | isPointerBlocker_ = value; |
| | 26496 | | } |
| | 26497 | | } |
| | 26498 | | /// <summary>Gets whether the "is_pointer_blocker" field is set</summary> |
| | 26499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26501 | | public bool HasIsPointerBlocker { |
| | 26502 | | get { return (_hasBits0 & 4) != 0; } |
| | 26503 | | } |
| | 26504 | | /// <summary>Clears the value of the "is_pointer_blocker" field</summary> |
| | 26505 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26506 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26507 | | public void ClearIsPointerBlocker() { |
| | 26508 | | _hasBits0 &= ~4; |
| | 26509 | | } |
| | 26510 | |
|
| | 26511 | | /// <summary>Field number for the "parent_component" field.</summary> |
| | 26512 | | public const int ParentComponentFieldNumber = 11; |
| | 26513 | | private string parentComponent_; |
| | 26514 | | /// <summary> |
| | 26515 | | /// UiShape |
| | 26516 | | /// </summary> |
| | 26517 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26518 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26519 | | public string ParentComponent { |
| | 26520 | | get { return parentComponent_ ?? ""; } |
| | 26521 | | set { |
| | 26522 | | parentComponent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26523 | | } |
| | 26524 | | } |
| | 26525 | | /// <summary>Gets whether the "parent_component" field is set</summary> |
| | 26526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26528 | | public bool HasParentComponent { |
| | 26529 | | get { return parentComponent_ != null; } |
| | 26530 | | } |
| | 26531 | | /// <summary>Clears the value of the "parent_component" field</summary> |
| | 26532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26534 | | public void ClearParentComponent() { |
| | 26535 | | parentComponent_ = null; |
| | 26536 | | } |
| | 26537 | |
|
| | 26538 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26539 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26540 | | public override bool Equals(object other) { |
| | 26541 | | return Equals(other as ECS6ComponentUiFullScreenShape); |
| | 26542 | | } |
| | 26543 | |
|
| | 26544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26546 | | public bool Equals(ECS6ComponentUiFullScreenShape other) { |
| | 26547 | | if (ReferenceEquals(other, null)) { |
| | 26548 | | return false; |
| | 26549 | | } |
| | 26550 | | if (ReferenceEquals(other, this)) { |
| | 26551 | | return true; |
| | 26552 | | } |
| | 26553 | | if (Name != other.Name) return false; |
| | 26554 | | if (Visible != other.Visible) return false; |
| | 26555 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 26556 | | if (HAlign != other.HAlign) return false; |
| | 26557 | | if (VAlign != other.VAlign) return false; |
| | 26558 | | if (!object.Equals(Width, other.Width)) return false; |
| | 26559 | | if (!object.Equals(Height, other.Height)) return false; |
| | 26560 | | if (!object.Equals(PositionX, other.PositionX)) return false; |
| | 26561 | | if (!object.Equals(PositionY, other.PositionY)) return false; |
| | 26562 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 26563 | | if (ParentComponent != other.ParentComponent) return false; |
| | 26564 | | return Equals(_unknownFields, other._unknownFields); |
| | 26565 | | } |
| | 26566 | |
|
| | 26567 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26568 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26569 | | public override int GetHashCode() { |
| | 26570 | | int hash = 1; |
| | 26571 | | if (HasName) hash ^= Name.GetHashCode(); |
| | 26572 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 26573 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 26574 | | if (HasHAlign) hash ^= HAlign.GetHashCode(); |
| | 26575 | | if (HasVAlign) hash ^= VAlign.GetHashCode(); |
| | 26576 | | if (width_ != null) hash ^= Width.GetHashCode(); |
| | 26577 | | if (height_ != null) hash ^= Height.GetHashCode(); |
| | 26578 | | if (positionX_ != null) hash ^= PositionX.GetHashCode(); |
| | 26579 | | if (positionY_ != null) hash ^= PositionY.GetHashCode(); |
| | 26580 | | if (HasIsPointerBlocker) hash ^= IsPointerBlocker.GetHashCode(); |
| | 26581 | | if (HasParentComponent) hash ^= ParentComponent.GetHashCode(); |
| | 26582 | | if (_unknownFields != null) { |
| | 26583 | | hash ^= _unknownFields.GetHashCode(); |
| | 26584 | | } |
| | 26585 | | return hash; |
| | 26586 | | } |
| | 26587 | |
|
| | 26588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26590 | | public override string ToString() { |
| | 26591 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 26592 | | } |
| | 26593 | |
|
| | 26594 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26595 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26596 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 26597 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26598 | | output.WriteRawMessage(this); |
| | 26599 | | #else |
| | 26600 | | if (HasName) { |
| | 26601 | | output.WriteRawTag(10); |
| | 26602 | | output.WriteString(Name); |
| | 26603 | | } |
| | 26604 | | if (HasVisible) { |
| | 26605 | | output.WriteRawTag(16); |
| | 26606 | | output.WriteBool(Visible); |
| | 26607 | | } |
| | 26608 | | if (HasOpacity) { |
| | 26609 | | output.WriteRawTag(29); |
| | 26610 | | output.WriteFloat(Opacity); |
| | 26611 | | } |
| | 26612 | | if (HasHAlign) { |
| | 26613 | | output.WriteRawTag(34); |
| | 26614 | | output.WriteString(HAlign); |
| | 26615 | | } |
| | 26616 | | if (HasVAlign) { |
| | 26617 | | output.WriteRawTag(42); |
| | 26618 | | output.WriteString(VAlign); |
| | 26619 | | } |
| | 26620 | | if (width_ != null) { |
| | 26621 | | output.WriteRawTag(50); |
| | 26622 | | output.WriteMessage(Width); |
| | 26623 | | } |
| | 26624 | | if (height_ != null) { |
| | 26625 | | output.WriteRawTag(58); |
| | 26626 | | output.WriteMessage(Height); |
| | 26627 | | } |
| | 26628 | | if (positionX_ != null) { |
| | 26629 | | output.WriteRawTag(66); |
| | 26630 | | output.WriteMessage(PositionX); |
| | 26631 | | } |
| | 26632 | | if (positionY_ != null) { |
| | 26633 | | output.WriteRawTag(74); |
| | 26634 | | output.WriteMessage(PositionY); |
| | 26635 | | } |
| | 26636 | | if (HasIsPointerBlocker) { |
| | 26637 | | output.WriteRawTag(80); |
| | 26638 | | output.WriteBool(IsPointerBlocker); |
| | 26639 | | } |
| | 26640 | | if (HasParentComponent) { |
| | 26641 | | output.WriteRawTag(90); |
| | 26642 | | output.WriteString(ParentComponent); |
| | 26643 | | } |
| | 26644 | | if (_unknownFields != null) { |
| | 26645 | | _unknownFields.WriteTo(output); |
| | 26646 | | } |
| | 26647 | | #endif |
| | 26648 | | } |
| | 26649 | |
|
| | 26650 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26653 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 26654 | | if (HasName) { |
| | 26655 | | output.WriteRawTag(10); |
| | 26656 | | output.WriteString(Name); |
| | 26657 | | } |
| | 26658 | | if (HasVisible) { |
| | 26659 | | output.WriteRawTag(16); |
| | 26660 | | output.WriteBool(Visible); |
| | 26661 | | } |
| | 26662 | | if (HasOpacity) { |
| | 26663 | | output.WriteRawTag(29); |
| | 26664 | | output.WriteFloat(Opacity); |
| | 26665 | | } |
| | 26666 | | if (HasHAlign) { |
| | 26667 | | output.WriteRawTag(34); |
| | 26668 | | output.WriteString(HAlign); |
| | 26669 | | } |
| | 26670 | | if (HasVAlign) { |
| | 26671 | | output.WriteRawTag(42); |
| | 26672 | | output.WriteString(VAlign); |
| | 26673 | | } |
| | 26674 | | if (width_ != null) { |
| | 26675 | | output.WriteRawTag(50); |
| | 26676 | | output.WriteMessage(Width); |
| | 26677 | | } |
| | 26678 | | if (height_ != null) { |
| | 26679 | | output.WriteRawTag(58); |
| | 26680 | | output.WriteMessage(Height); |
| | 26681 | | } |
| | 26682 | | if (positionX_ != null) { |
| | 26683 | | output.WriteRawTag(66); |
| | 26684 | | output.WriteMessage(PositionX); |
| | 26685 | | } |
| | 26686 | | if (positionY_ != null) { |
| | 26687 | | output.WriteRawTag(74); |
| | 26688 | | output.WriteMessage(PositionY); |
| | 26689 | | } |
| | 26690 | | if (HasIsPointerBlocker) { |
| | 26691 | | output.WriteRawTag(80); |
| | 26692 | | output.WriteBool(IsPointerBlocker); |
| | 26693 | | } |
| | 26694 | | if (HasParentComponent) { |
| | 26695 | | output.WriteRawTag(90); |
| | 26696 | | output.WriteString(ParentComponent); |
| | 26697 | | } |
| | 26698 | | if (_unknownFields != null) { |
| | 26699 | | _unknownFields.WriteTo(ref output); |
| | 26700 | | } |
| | 26701 | | } |
| | 26702 | | #endif |
| | 26703 | |
|
| | 26704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26706 | | public int CalculateSize() { |
| | 26707 | | int size = 0; |
| | 26708 | | if (HasName) { |
| | 26709 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 26710 | | } |
| | 26711 | | if (HasVisible) { |
| | 26712 | | size += 1 + 1; |
| | 26713 | | } |
| | 26714 | | if (HasOpacity) { |
| | 26715 | | size += 1 + 4; |
| | 26716 | | } |
| | 26717 | | if (HasHAlign) { |
| | 26718 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 26719 | | } |
| | 26720 | | if (HasVAlign) { |
| | 26721 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 26722 | | } |
| | 26723 | | if (width_ != null) { |
| | 26724 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Width); |
| | 26725 | | } |
| | 26726 | | if (height_ != null) { |
| | 26727 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Height); |
| | 26728 | | } |
| | 26729 | | if (positionX_ != null) { |
| | 26730 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionX); |
| | 26731 | | } |
| | 26732 | | if (positionY_ != null) { |
| | 26733 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(PositionY); |
| | 26734 | | } |
| | 26735 | | if (HasIsPointerBlocker) { |
| | 26736 | | size += 1 + 1; |
| | 26737 | | } |
| | 26738 | | if (HasParentComponent) { |
| | 26739 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentComponent); |
| | 26740 | | } |
| | 26741 | | if (_unknownFields != null) { |
| | 26742 | | size += _unknownFields.CalculateSize(); |
| | 26743 | | } |
| | 26744 | | return size; |
| | 26745 | | } |
| | 26746 | |
|
| | 26747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26749 | | public void MergeFrom(ECS6ComponentUiFullScreenShape other) { |
| | 26750 | | if (other == null) { |
| | 26751 | | return; |
| | 26752 | | } |
| | 26753 | | if (other.HasName) { |
| | 26754 | | Name = other.Name; |
| | 26755 | | } |
| | 26756 | | if (other.HasVisible) { |
| | 26757 | | Visible = other.Visible; |
| | 26758 | | } |
| | 26759 | | if (other.HasOpacity) { |
| | 26760 | | Opacity = other.Opacity; |
| | 26761 | | } |
| | 26762 | | if (other.HasHAlign) { |
| | 26763 | | HAlign = other.HAlign; |
| | 26764 | | } |
| | 26765 | | if (other.HasVAlign) { |
| | 26766 | | VAlign = other.VAlign; |
| | 26767 | | } |
| | 26768 | | if (other.width_ != null) { |
| | 26769 | | if (width_ == null) { |
| | 26770 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26771 | | } |
| | 26772 | | Width.MergeFrom(other.Width); |
| | 26773 | | } |
| | 26774 | | if (other.height_ != null) { |
| | 26775 | | if (height_ == null) { |
| | 26776 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26777 | | } |
| | 26778 | | Height.MergeFrom(other.Height); |
| | 26779 | | } |
| | 26780 | | if (other.positionX_ != null) { |
| | 26781 | | if (positionX_ == null) { |
| | 26782 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26783 | | } |
| | 26784 | | PositionX.MergeFrom(other.PositionX); |
| | 26785 | | } |
| | 26786 | | if (other.positionY_ != null) { |
| | 26787 | | if (positionY_ == null) { |
| | 26788 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26789 | | } |
| | 26790 | | PositionY.MergeFrom(other.PositionY); |
| | 26791 | | } |
| | 26792 | | if (other.HasIsPointerBlocker) { |
| | 26793 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 26794 | | } |
| | 26795 | | if (other.HasParentComponent) { |
| | 26796 | | ParentComponent = other.ParentComponent; |
| | 26797 | | } |
| | 26798 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 26799 | | } |
| | 26800 | |
|
| | 26801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26803 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 26804 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26805 | | input.ReadRawMessage(this); |
| | 26806 | | #else |
| | 26807 | | uint tag; |
| | 26808 | | while ((tag = input.ReadTag()) != 0) { |
| | 26809 | | switch(tag) { |
| | 26810 | | default: |
| | 26811 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 26812 | | break; |
| | 26813 | | case 10: { |
| | 26814 | | Name = input.ReadString(); |
| | 26815 | | break; |
| | 26816 | | } |
| | 26817 | | case 16: { |
| | 26818 | | Visible = input.ReadBool(); |
| | 26819 | | break; |
| | 26820 | | } |
| | 26821 | | case 29: { |
| | 26822 | | Opacity = input.ReadFloat(); |
| | 26823 | | break; |
| | 26824 | | } |
| | 26825 | | case 34: { |
| | 26826 | | HAlign = input.ReadString(); |
| | 26827 | | break; |
| | 26828 | | } |
| | 26829 | | case 42: { |
| | 26830 | | VAlign = input.ReadString(); |
| | 26831 | | break; |
| | 26832 | | } |
| | 26833 | | case 50: { |
| | 26834 | | if (width_ == null) { |
| | 26835 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26836 | | } |
| | 26837 | | input.ReadMessage(Width); |
| | 26838 | | break; |
| | 26839 | | } |
| | 26840 | | case 58: { |
| | 26841 | | if (height_ == null) { |
| | 26842 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26843 | | } |
| | 26844 | | input.ReadMessage(Height); |
| | 26845 | | break; |
| | 26846 | | } |
| | 26847 | | case 66: { |
| | 26848 | | if (positionX_ == null) { |
| | 26849 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26850 | | } |
| | 26851 | | input.ReadMessage(PositionX); |
| | 26852 | | break; |
| | 26853 | | } |
| | 26854 | | case 74: { |
| | 26855 | | if (positionY_ == null) { |
| | 26856 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26857 | | } |
| | 26858 | | input.ReadMessage(PositionY); |
| | 26859 | | break; |
| | 26860 | | } |
| | 26861 | | case 80: { |
| | 26862 | | IsPointerBlocker = input.ReadBool(); |
| | 26863 | | break; |
| | 26864 | | } |
| | 26865 | | case 90: { |
| | 26866 | | ParentComponent = input.ReadString(); |
| | 26867 | | break; |
| | 26868 | | } |
| | 26869 | | } |
| | 26870 | | } |
| | 26871 | | #endif |
| | 26872 | | } |
| | 26873 | |
|
| | 26874 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26877 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 26878 | | uint tag; |
| | 26879 | | while ((tag = input.ReadTag()) != 0) { |
| | 26880 | | switch(tag) { |
| | 26881 | | default: |
| | 26882 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 26883 | | break; |
| | 26884 | | case 10: { |
| | 26885 | | Name = input.ReadString(); |
| | 26886 | | break; |
| | 26887 | | } |
| | 26888 | | case 16: { |
| | 26889 | | Visible = input.ReadBool(); |
| | 26890 | | break; |
| | 26891 | | } |
| | 26892 | | case 29: { |
| | 26893 | | Opacity = input.ReadFloat(); |
| | 26894 | | break; |
| | 26895 | | } |
| | 26896 | | case 34: { |
| | 26897 | | HAlign = input.ReadString(); |
| | 26898 | | break; |
| | 26899 | | } |
| | 26900 | | case 42: { |
| | 26901 | | VAlign = input.ReadString(); |
| | 26902 | | break; |
| | 26903 | | } |
| | 26904 | | case 50: { |
| | 26905 | | if (width_ == null) { |
| | 26906 | | Width = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26907 | | } |
| | 26908 | | input.ReadMessage(Width); |
| | 26909 | | break; |
| | 26910 | | } |
| | 26911 | | case 58: { |
| | 26912 | | if (height_ == null) { |
| | 26913 | | Height = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26914 | | } |
| | 26915 | | input.ReadMessage(Height); |
| | 26916 | | break; |
| | 26917 | | } |
| | 26918 | | case 66: { |
| | 26919 | | if (positionX_ == null) { |
| | 26920 | | PositionX = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26921 | | } |
| | 26922 | | input.ReadMessage(PositionX); |
| | 26923 | | break; |
| | 26924 | | } |
| | 26925 | | case 74: { |
| | 26926 | | if (positionY_ == null) { |
| | 26927 | | PositionY = new global::Decentraland.Sdk.Ecs6.UiValue(); |
| | 26928 | | } |
| | 26929 | | input.ReadMessage(PositionY); |
| | 26930 | | break; |
| | 26931 | | } |
| | 26932 | | case 80: { |
| | 26933 | | IsPointerBlocker = input.ReadBool(); |
| | 26934 | | break; |
| | 26935 | | } |
| | 26936 | | case 90: { |
| | 26937 | | ParentComponent = input.ReadString(); |
| | 26938 | | break; |
| | 26939 | | } |
| | 26940 | | } |
| | 26941 | | } |
| | 26942 | | } |
| | 26943 | | #endif |
| | 26944 | |
|
| | 26945 | | } |
| | 26946 | |
|
| | 26947 | | #endregion |
| | 26948 | |
|
| | 26949 | | } |
| | 26950 | |
|
| | 26951 | | #endregion Designer generated code |