| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/sdk/components/ui_transform.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/sdk/components/ui_transform.proto</summary> |
| | 15 | | public static partial class UiTransformReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/sdk/components/ui_transform.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| 0 | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static UiTransformReflection() { |
| 0 | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Ci5kZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdWlfdHJhbnNmb3JtLnBy", |
| | 28 | | "b3RvEhtkZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMi8hIKDVBCVWlUcmFu", |
| | 29 | | "c2Zvcm0SDgoGcGFyZW50GAEgASgFEhAKCHJpZ2h0X29mGAIgASgFEkAKDWFs", |
| | 30 | | "aWduX2NvbnRlbnQYAyABKA4yJC5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVu", |
| | 31 | | "dHMuWUdBbGlnbkgAiAEBEj4KC2FsaWduX2l0ZW1zGAQgASgOMiQuZGVjZW50", |
| | 32 | | "cmFsYW5kLnNkay5jb21wb25lbnRzLllHQWxpZ25IAYgBARI7CglmbGV4X3dy", |
| | 33 | | "YXAYBSABKA4yIy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMuWUdXcmFw", |
| | 34 | | "SAKIAQESGAoLZmxleF9zaHJpbmsYBiABKAJIA4gBARJCCg1wb3NpdGlvbl90", |
| | 35 | | "eXBlGAcgASgOMisuZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzLllHUG9z", |
| | 36 | | "aXRpb25UeXBlEjgKCmFsaWduX3NlbGYYCCABKA4yJC5kZWNlbnRyYWxhbmQu", |
| | 37 | | "c2RrLmNvbXBvbmVudHMuWUdBbGlnbhJECg5mbGV4X2RpcmVjdGlvbhgJIAEo", |
| | 38 | | "DjIsLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR0ZsZXhEaXJlY3Rp", |
| | 39 | | "b24SPwoPanVzdGlmeV9jb250ZW50GAogASgOMiYuZGVjZW50cmFsYW5kLnNk", |
| | 40 | | "ay5jb21wb25lbnRzLllHSnVzdGlmeRI5CghvdmVyZmxvdxgLIAEoDjInLmRl", |
| | 41 | | "Y2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR092ZXJmbG93EjcKB2Rpc3Bs", |
| | 42 | | "YXkYDCABKA4yJi5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMuWUdEaXNw", |
| | 43 | | "bGF5EjwKD2ZsZXhfYmFzaXNfdW5pdBgNIAEoDjIjLmRlY2VudHJhbGFuZC5z", |
| | 44 | | "ZGsuY29tcG9uZW50cy5ZR1VuaXQSEgoKZmxleF9iYXNpcxgOIAEoAhIRCglm", |
| | 45 | | "bGV4X2dyb3cYDyABKAISNwoKd2lkdGhfdW5pdBgQIAEoDjIjLmRlY2VudHJh", |
| | 46 | | "bGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSDQoFd2lkdGgYESABKAISOAoL", |
| | 47 | | "aGVpZ2h0X3VuaXQYEiABKA4yIy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVu", |
| | 48 | | "dHMuWUdVbml0Eg4KBmhlaWdodBgTIAEoAhI7Cg5taW5fd2lkdGhfdW5pdBgU", |
| | 49 | | "IAEoDjIjLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSEQoJ", |
| | 50 | | "bWluX3dpZHRoGBUgASgCEjwKD21pbl9oZWlnaHRfdW5pdBgWIAEoDjIjLmRl", |
| | 51 | | "Y2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSEgoKbWluX2hlaWdo", |
| | 52 | | "dBgXIAEoAhI7Cg5tYXhfd2lkdGhfdW5pdBgYIAEoDjIjLmRlY2VudHJhbGFu", |
| | 53 | | "ZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSEQoJbWF4X3dpZHRoGBkgASgCEjwK", |
| | 54 | | "D21heF9oZWlnaHRfdW5pdBgaIAEoDjIjLmRlY2VudHJhbGFuZC5zZGsuY29t", |
| | 55 | | "cG9uZW50cy5ZR1VuaXQSEgoKbWF4X2hlaWdodBgbIAEoAhI/ChJwb3NpdGlv", |
| | 56 | | "bl9sZWZ0X3VuaXQYHCABKA4yIy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVu", |
| | 57 | | "dHMuWUdVbml0EhUKDXBvc2l0aW9uX2xlZnQYHSABKAISPgoRcG9zaXRpb25f", |
| | 58 | | "dG9wX3VuaXQYHiABKA4yIy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMu", |
| | 59 | | "WUdVbml0EhQKDHBvc2l0aW9uX3RvcBgfIAEoAhJAChNwb3NpdGlvbl9yaWdo", |
| | 60 | | "dF91bml0GCAgASgOMiMuZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzLllH", |
| | 61 | | "VW5pdBIWCg5wb3NpdGlvbl9yaWdodBghIAEoAhJBChRwb3NpdGlvbl9ib3R0", |
| | 62 | | "b21fdW5pdBgiIAEoDjIjLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5Z", |
| | 63 | | "R1VuaXQSFwoPcG9zaXRpb25fYm90dG9tGCMgASgCEj0KEG1hcmdpbl9sZWZ0", |
| | 64 | | "X3VuaXQYJCABKA4yIy5kZWNlbnRyYWxhbmQuc2RrLmNvbXBvbmVudHMuWUdV", |
| | 65 | | "bml0EhMKC21hcmdpbl9sZWZ0GCUgASgCEjwKD21hcmdpbl90b3BfdW5pdBgm", |
| | 66 | | "IAEoDjIjLmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSEgoK", |
| | 67 | | "bWFyZ2luX3RvcBgnIAEoAhI+ChFtYXJnaW5fcmlnaHRfdW5pdBgoIAEoDjIj", |
| | 68 | | "LmRlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSFAoMbWFyZ2lu", |
| | 69 | | "X3JpZ2h0GCkgASgCEj8KEm1hcmdpbl9ib3R0b21fdW5pdBgqIAEoDjIjLmRl", |
| | 70 | | "Y2VudHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSFQoNbWFyZ2luX2Jv", |
| | 71 | | "dHRvbRgrIAEoAhI+ChFwYWRkaW5nX2xlZnRfdW5pdBgsIAEoDjIjLmRlY2Vu", |
| | 72 | | "dHJhbGFuZC5zZGsuY29tcG9uZW50cy5ZR1VuaXQSFAoMcGFkZGluZ19sZWZ0", |
| | 73 | | "GC0gASgCEj0KEHBhZGRpbmdfdG9wX3VuaXQYLiABKA4yIy5kZWNlbnRyYWxh", |
| | 74 | | "bmQuc2RrLmNvbXBvbmVudHMuWUdVbml0EhMKC3BhZGRpbmdfdG9wGC8gASgC", |
| | 75 | | "Ej8KEnBhZGRpbmdfcmlnaHRfdW5pdBgwIAEoDjIjLmRlY2VudHJhbGFuZC5z", |
| | 76 | | "ZGsuY29tcG9uZW50cy5ZR1VuaXQSFQoNcGFkZGluZ19yaWdodBgxIAEoAhJA", |
| | 77 | | "ChNwYWRkaW5nX2JvdHRvbV91bml0GDIgASgOMiMuZGVjZW50cmFsYW5kLnNk", |
| | 78 | | "ay5jb21wb25lbnRzLllHVW5pdBIWCg5wYWRkaW5nX2JvdHRvbRgzIAEoAhJL", |
| | 79 | | "Cg5wb2ludGVyX2ZpbHRlchg0IAEoDjIuLmRlY2VudHJhbGFuZC5zZGsuY29t", |
| | 80 | | "cG9uZW50cy5Qb2ludGVyRmlsdGVyTW9kZUgEiAEBQhAKDl9hbGlnbl9jb250", |
| | 81 | | "ZW50Qg4KDF9hbGlnbl9pdGVtc0IMCgpfZmxleF93cmFwQg4KDF9mbGV4X3No", |
| | 82 | | "cmlua0IRCg9fcG9pbnRlcl9maWx0ZXIqNgoOWUdQb3NpdGlvblR5cGUSEQoN", |
| | 83 | | "WUdQVF9SRUxBVElWRRAAEhEKDVlHUFRfQUJTT0xVVEUQASqdAQoHWUdBbGln", |
| | 84 | | "bhIMCghZR0FfQVVUTxAAEhIKDllHQV9GTEVYX1NUQVJUEAESDgoKWUdBX0NF", |
| | 85 | | "TlRFUhACEhAKDFlHQV9GTEVYX0VORBADEg8KC1lHQV9TVFJFVENIEAQSEAoM", |
| | 86 | | "WUdBX0JBU0VMSU5FEAUSFQoRWUdBX1NQQUNFX0JFVFdFRU4QBhIUChBZR0Ff", |
| | 87 | | "U1BBQ0VfQVJPVU5EEAcqSQoGWUdVbml0EhEKDVlHVV9VTkRFRklORUQQABIN", |
| | 88 | | "CglZR1VfUE9JTlQQARIPCgtZR1VfUEVSQ0VOVBACEgwKCFlHVV9BVVRPEAMq", |
| | 89 | | "XwoPWUdGbGV4RGlyZWN0aW9uEgwKCFlHRkRfUk9XEAASDwoLWUdGRF9DT0xV", |
| | 90 | | "TU4QARIXChNZR0ZEX0NPTFVNTl9SRVZFUlNFEAISFAoQWUdGRF9ST1dfUkVW", |
| | 91 | | "RVJTRRADKj0KBllHV3JhcBIPCgtZR1dfTk9fV1JBUBAAEgwKCFlHV19XUkFQ", |
| | 92 | | "EAESFAoQWUdXX1dSQVBfUkVWRVJTRRACKoQBCglZR0p1c3RpZnkSEgoOWUdK", |
| | 93 | | "X0ZMRVhfU1RBUlQQABIOCgpZR0pfQ0VOVEVSEAESEAoMWUdKX0ZMRVhfRU5E", |
| | 94 | | "EAISFQoRWUdKX1NQQUNFX0JFVFdFRU4QAxIUChBZR0pfU1BBQ0VfQVJPVU5E", |
| | 95 | | "EAQSFAoQWUdKX1NQQUNFX0VWRU5MWRAFKj0KCllHT3ZlcmZsb3cSDwoLWUdP", |
| | 96 | | "X1ZJU0lCTEUQABIOCgpZR09fSElEREVOEAESDgoKWUdPX1NDUk9MTBACKicK", |
| | 97 | | "CVlHRGlzcGxheRIMCghZR0RfRkxFWBAAEgwKCFlHRF9OT05FEAEqkQEKBllH", |
| | 98 | | "RWRnZRIMCghZR0VfTEVGVBAAEgsKB1lHRV9UT1AQARINCglZR0VfUklHSFQQ", |
| | 99 | | "AhIOCgpZR0VfQk9UVE9NEAMSDQoJWUdFX1NUQVJUEAQSCwoHWUdFX0VORBAF", |
| | 100 | | "EhIKDllHRV9IT1JJWk9OVEFMEAYSEAoMWUdFX1ZFUlRJQ0FMEAcSCwoHWUdF", |
| | 101 | | "X0FMTBAIKjAKEVBvaW50ZXJGaWx0ZXJNb2RlEgwKCFBGTV9OT05FEAASDQoJ", |
| | 102 | | "UEZNX0JMT0NLEAFCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| 0 | 103 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 104 | | new pbr::FileDescriptor[] { }, |
| | 105 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.YGPositionType), typeof(global::DCL.ECSC |
| | 106 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBUiTransform), global::DCL.ECSComponents.PBU |
| | 107 | | })); |
| 0 | 108 | | } |
| | 109 | | #endregion |
| | 110 | |
|
| | 111 | | } |
| | 112 | | #region Enums |
| | 113 | | public enum YGPositionType { |
| | 114 | | [pbr::OriginalName("YGPT_RELATIVE")] YgptRelative = 0, |
| | 115 | | [pbr::OriginalName("YGPT_ABSOLUTE")] YgptAbsolute = 1, |
| | 116 | | } |
| | 117 | |
|
| | 118 | | public enum YGAlign { |
| | 119 | | [pbr::OriginalName("YGA_AUTO")] YgaAuto = 0, |
| | 120 | | [pbr::OriginalName("YGA_FLEX_START")] YgaFlexStart = 1, |
| | 121 | | [pbr::OriginalName("YGA_CENTER")] YgaCenter = 2, |
| | 122 | | [pbr::OriginalName("YGA_FLEX_END")] YgaFlexEnd = 3, |
| | 123 | | [pbr::OriginalName("YGA_STRETCH")] YgaStretch = 4, |
| | 124 | | [pbr::OriginalName("YGA_BASELINE")] YgaBaseline = 5, |
| | 125 | | [pbr::OriginalName("YGA_SPACE_BETWEEN")] YgaSpaceBetween = 6, |
| | 126 | | [pbr::OriginalName("YGA_SPACE_AROUND")] YgaSpaceAround = 7, |
| | 127 | | } |
| | 128 | |
|
| | 129 | | public enum YGUnit { |
| | 130 | | [pbr::OriginalName("YGU_UNDEFINED")] YguUndefined = 0, |
| | 131 | | [pbr::OriginalName("YGU_POINT")] YguPoint = 1, |
| | 132 | | [pbr::OriginalName("YGU_PERCENT")] YguPercent = 2, |
| | 133 | | [pbr::OriginalName("YGU_AUTO")] YguAuto = 3, |
| | 134 | | } |
| | 135 | |
|
| | 136 | | public enum YGFlexDirection { |
| | 137 | | [pbr::OriginalName("YGFD_ROW")] YgfdRow = 0, |
| | 138 | | [pbr::OriginalName("YGFD_COLUMN")] YgfdColumn = 1, |
| | 139 | | [pbr::OriginalName("YGFD_COLUMN_REVERSE")] YgfdColumnReverse = 2, |
| | 140 | | [pbr::OriginalName("YGFD_ROW_REVERSE")] YgfdRowReverse = 3, |
| | 141 | | } |
| | 142 | |
|
| | 143 | | public enum YGWrap { |
| | 144 | | [pbr::OriginalName("YGW_NO_WRAP")] YgwNoWrap = 0, |
| | 145 | | [pbr::OriginalName("YGW_WRAP")] YgwWrap = 1, |
| | 146 | | [pbr::OriginalName("YGW_WRAP_REVERSE")] YgwWrapReverse = 2, |
| | 147 | | } |
| | 148 | |
|
| | 149 | | public enum YGJustify { |
| | 150 | | [pbr::OriginalName("YGJ_FLEX_START")] YgjFlexStart = 0, |
| | 151 | | [pbr::OriginalName("YGJ_CENTER")] YgjCenter = 1, |
| | 152 | | [pbr::OriginalName("YGJ_FLEX_END")] YgjFlexEnd = 2, |
| | 153 | | [pbr::OriginalName("YGJ_SPACE_BETWEEN")] YgjSpaceBetween = 3, |
| | 154 | | [pbr::OriginalName("YGJ_SPACE_AROUND")] YgjSpaceAround = 4, |
| | 155 | | [pbr::OriginalName("YGJ_SPACE_EVENLY")] YgjSpaceEvenly = 5, |
| | 156 | | } |
| | 157 | |
|
| | 158 | | public enum YGOverflow { |
| | 159 | | [pbr::OriginalName("YGO_VISIBLE")] YgoVisible = 0, |
| | 160 | | [pbr::OriginalName("YGO_HIDDEN")] YgoHidden = 1, |
| | 161 | | [pbr::OriginalName("YGO_SCROLL")] YgoScroll = 2, |
| | 162 | | } |
| | 163 | |
|
| | 164 | | public enum YGDisplay { |
| | 165 | | [pbr::OriginalName("YGD_FLEX")] YgdFlex = 0, |
| | 166 | | [pbr::OriginalName("YGD_NONE")] YgdNone = 1, |
| | 167 | | } |
| | 168 | |
|
| | 169 | | public enum YGEdge { |
| | 170 | | [pbr::OriginalName("YGE_LEFT")] YgeLeft = 0, |
| | 171 | | [pbr::OriginalName("YGE_TOP")] YgeTop = 1, |
| | 172 | | [pbr::OriginalName("YGE_RIGHT")] YgeRight = 2, |
| | 173 | | [pbr::OriginalName("YGE_BOTTOM")] YgeBottom = 3, |
| | 174 | | [pbr::OriginalName("YGE_START")] YgeStart = 4, |
| | 175 | | [pbr::OriginalName("YGE_END")] YgeEnd = 5, |
| | 176 | | [pbr::OriginalName("YGE_HORIZONTAL")] YgeHorizontal = 6, |
| | 177 | | [pbr::OriginalName("YGE_VERTICAL")] YgeVertical = 7, |
| | 178 | | [pbr::OriginalName("YGE_ALL")] YgeAll = 8, |
| | 179 | | } |
| | 180 | |
|
| | 181 | | public enum PointerFilterMode { |
| | 182 | | [pbr::OriginalName("PFM_NONE")] PfmNone = 0, |
| | 183 | | [pbr::OriginalName("PFM_BLOCK")] PfmBlock = 1, |
| | 184 | | } |
| | 185 | |
|
| | 186 | | #endregion |
| | 187 | |
|
| | 188 | | #region Messages |
| | 189 | | public sealed partial class PBUiTransform : pb::IMessage<PBUiTransform> |
| | 190 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 191 | | , pb::IBufferMessage |
| | 192 | | #endif |
| | 193 | | { |
| | 194 | | private static readonly pb::MessageParser<PBUiTransform> _parser = new pb::MessageParser<PBUiTransform>(() => new PB |
| | 195 | | private pb::UnknownFieldSet _unknownFields; |
| | 196 | | private int _hasBits0; |
| | 197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 199 | | public static pb::MessageParser<PBUiTransform> Parser { get { return _parser; } } |
| | 200 | |
|
| | 201 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 202 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 203 | | public static pbr::MessageDescriptor Descriptor { |
| | 204 | | get { return global::DCL.ECSComponents.UiTransformReflection.Descriptor.MessageTypes[0]; } |
| | 205 | | } |
| | 206 | |
|
| | 207 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 208 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 209 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 210 | | get { return Descriptor; } |
| | 211 | | } |
| | 212 | |
|
| | 213 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 214 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 215 | | public PBUiTransform() { |
| | 216 | | OnConstruction(); |
| | 217 | | } |
| | 218 | |
|
| | 219 | | partial void OnConstruction(); |
| | 220 | |
|
| | 221 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 222 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 223 | | public PBUiTransform(PBUiTransform other) : this() { |
| | 224 | | _hasBits0 = other._hasBits0; |
| | 225 | | parent_ = other.parent_; |
| | 226 | | rightOf_ = other.rightOf_; |
| | 227 | | alignContent_ = other.alignContent_; |
| | 228 | | alignItems_ = other.alignItems_; |
| | 229 | | flexWrap_ = other.flexWrap_; |
| | 230 | | flexShrink_ = other.flexShrink_; |
| | 231 | | positionType_ = other.positionType_; |
| | 232 | | alignSelf_ = other.alignSelf_; |
| | 233 | | flexDirection_ = other.flexDirection_; |
| | 234 | | justifyContent_ = other.justifyContent_; |
| | 235 | | overflow_ = other.overflow_; |
| | 236 | | display_ = other.display_; |
| | 237 | | flexBasisUnit_ = other.flexBasisUnit_; |
| | 238 | | flexBasis_ = other.flexBasis_; |
| | 239 | | flexGrow_ = other.flexGrow_; |
| | 240 | | widthUnit_ = other.widthUnit_; |
| | 241 | | width_ = other.width_; |
| | 242 | | heightUnit_ = other.heightUnit_; |
| | 243 | | height_ = other.height_; |
| | 244 | | minWidthUnit_ = other.minWidthUnit_; |
| | 245 | | minWidth_ = other.minWidth_; |
| | 246 | | minHeightUnit_ = other.minHeightUnit_; |
| | 247 | | minHeight_ = other.minHeight_; |
| | 248 | | maxWidthUnit_ = other.maxWidthUnit_; |
| | 249 | | maxWidth_ = other.maxWidth_; |
| | 250 | | maxHeightUnit_ = other.maxHeightUnit_; |
| | 251 | | maxHeight_ = other.maxHeight_; |
| | 252 | | positionLeftUnit_ = other.positionLeftUnit_; |
| | 253 | | positionLeft_ = other.positionLeft_; |
| | 254 | | positionTopUnit_ = other.positionTopUnit_; |
| | 255 | | positionTop_ = other.positionTop_; |
| | 256 | | positionRightUnit_ = other.positionRightUnit_; |
| | 257 | | positionRight_ = other.positionRight_; |
| | 258 | | positionBottomUnit_ = other.positionBottomUnit_; |
| | 259 | | positionBottom_ = other.positionBottom_; |
| | 260 | | marginLeftUnit_ = other.marginLeftUnit_; |
| | 261 | | marginLeft_ = other.marginLeft_; |
| | 262 | | marginTopUnit_ = other.marginTopUnit_; |
| | 263 | | marginTop_ = other.marginTop_; |
| | 264 | | marginRightUnit_ = other.marginRightUnit_; |
| | 265 | | marginRight_ = other.marginRight_; |
| | 266 | | marginBottomUnit_ = other.marginBottomUnit_; |
| | 267 | | marginBottom_ = other.marginBottom_; |
| | 268 | | paddingLeftUnit_ = other.paddingLeftUnit_; |
| | 269 | | paddingLeft_ = other.paddingLeft_; |
| | 270 | | paddingTopUnit_ = other.paddingTopUnit_; |
| | 271 | | paddingTop_ = other.paddingTop_; |
| | 272 | | paddingRightUnit_ = other.paddingRightUnit_; |
| | 273 | | paddingRight_ = other.paddingRight_; |
| | 274 | | paddingBottomUnit_ = other.paddingBottomUnit_; |
| | 275 | | paddingBottom_ = other.paddingBottom_; |
| | 276 | | pointerFilter_ = other.pointerFilter_; |
| | 277 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 278 | | } |
| | 279 | |
|
| | 280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 282 | | public PBUiTransform Clone() { |
| | 283 | | return new PBUiTransform(this); |
| | 284 | | } |
| | 285 | |
|
| | 286 | | /// <summary>Field number for the "parent" field.</summary> |
| | 287 | | public const int ParentFieldNumber = 1; |
| | 288 | | private int parent_; |
| | 289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 291 | | public int Parent { |
| | 292 | | get { return parent_; } |
| | 293 | | set { |
| | 294 | | parent_ = value; |
| | 295 | | } |
| | 296 | | } |
| | 297 | |
|
| | 298 | | /// <summary>Field number for the "right_of" field.</summary> |
| | 299 | | public const int RightOfFieldNumber = 2; |
| | 300 | | private int rightOf_; |
| | 301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 303 | | public int RightOf { |
| | 304 | | get { return rightOf_; } |
| | 305 | | set { |
| | 306 | | rightOf_ = value; |
| | 307 | | } |
| | 308 | | } |
| | 309 | |
|
| | 310 | | /// <summary>Field number for the "align_content" field.</summary> |
| | 311 | | public const int AlignContentFieldNumber = 3; |
| | 312 | | private global::DCL.ECSComponents.YGAlign alignContent_; |
| | 313 | | /// <summary> |
| | 314 | | /// default: YGAlign.YGA_FLEX_START |
| | 315 | | /// </summary> |
| | 316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 318 | | public global::DCL.ECSComponents.YGAlign AlignContent { |
| | 319 | | get { if ((_hasBits0 & 1) != 0) { return alignContent_; } else { return global::DCL.ECSComponents.YGAlign.YgaAuto; |
| | 320 | | set { |
| | 321 | | _hasBits0 |= 1; |
| | 322 | | alignContent_ = value; |
| | 323 | | } |
| | 324 | | } |
| | 325 | | /// <summary>Gets whether the "align_content" field is set</summary> |
| | 326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 328 | | public bool HasAlignContent { |
| | 329 | | get { return (_hasBits0 & 1) != 0; } |
| | 330 | | } |
| | 331 | | /// <summary>Clears the value of the "align_content" field</summary> |
| | 332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 334 | | public void ClearAlignContent() { |
| | 335 | | _hasBits0 &= ~1; |
| | 336 | | } |
| | 337 | |
|
| | 338 | | /// <summary>Field number for the "align_items" field.</summary> |
| | 339 | | public const int AlignItemsFieldNumber = 4; |
| | 340 | | private global::DCL.ECSComponents.YGAlign alignItems_; |
| | 341 | | /// <summary> |
| | 342 | | /// default: YGAlign.YGA_STRETCH |
| | 343 | | /// </summary> |
| | 344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 346 | | public global::DCL.ECSComponents.YGAlign AlignItems { |
| | 347 | | get { if ((_hasBits0 & 2) != 0) { return alignItems_; } else { return global::DCL.ECSComponents.YGAlign.YgaAuto; } |
| | 348 | | set { |
| | 349 | | _hasBits0 |= 2; |
| | 350 | | alignItems_ = value; |
| | 351 | | } |
| | 352 | | } |
| | 353 | | /// <summary>Gets whether the "align_items" field is set</summary> |
| | 354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 356 | | public bool HasAlignItems { |
| | 357 | | get { return (_hasBits0 & 2) != 0; } |
| | 358 | | } |
| | 359 | | /// <summary>Clears the value of the "align_items" field</summary> |
| | 360 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 361 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 362 | | public void ClearAlignItems() { |
| | 363 | | _hasBits0 &= ~2; |
| | 364 | | } |
| | 365 | |
|
| | 366 | | /// <summary>Field number for the "flex_wrap" field.</summary> |
| | 367 | | public const int FlexWrapFieldNumber = 5; |
| | 368 | | private global::DCL.ECSComponents.YGWrap flexWrap_; |
| | 369 | | /// <summary> |
| | 370 | | /// default: YGWrap.YGW_WRAP |
| | 371 | | /// </summary> |
| | 372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 374 | | public global::DCL.ECSComponents.YGWrap FlexWrap { |
| | 375 | | get { if ((_hasBits0 & 4) != 0) { return flexWrap_; } else { return global::DCL.ECSComponents.YGWrap.YgwNoWrap; } |
| | 376 | | set { |
| | 377 | | _hasBits0 |= 4; |
| | 378 | | flexWrap_ = value; |
| | 379 | | } |
| | 380 | | } |
| | 381 | | /// <summary>Gets whether the "flex_wrap" field is set</summary> |
| | 382 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 383 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 384 | | public bool HasFlexWrap { |
| | 385 | | get { return (_hasBits0 & 4) != 0; } |
| | 386 | | } |
| | 387 | | /// <summary>Clears the value of the "flex_wrap" field</summary> |
| | 388 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 389 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 390 | | public void ClearFlexWrap() { |
| | 391 | | _hasBits0 &= ~4; |
| | 392 | | } |
| | 393 | |
|
| | 394 | | /// <summary>Field number for the "flex_shrink" field.</summary> |
| | 395 | | public const int FlexShrinkFieldNumber = 6; |
| | 396 | | private float flexShrink_; |
| | 397 | | /// <summary> |
| | 398 | | /// default: 1 |
| | 399 | | /// </summary> |
| | 400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 402 | | public float FlexShrink { |
| | 403 | | get { if ((_hasBits0 & 8) != 0) { return flexShrink_; } else { return 0F; } } |
| | 404 | | set { |
| | 405 | | _hasBits0 |= 8; |
| | 406 | | flexShrink_ = value; |
| | 407 | | } |
| | 408 | | } |
| | 409 | | /// <summary>Gets whether the "flex_shrink" field is set</summary> |
| | 410 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 411 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 412 | | public bool HasFlexShrink { |
| | 413 | | get { return (_hasBits0 & 8) != 0; } |
| | 414 | | } |
| | 415 | | /// <summary>Clears the value of the "flex_shrink" field</summary> |
| | 416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 418 | | public void ClearFlexShrink() { |
| | 419 | | _hasBits0 &= ~8; |
| | 420 | | } |
| | 421 | |
|
| | 422 | | /// <summary>Field number for the "position_type" field.</summary> |
| | 423 | | public const int PositionTypeFieldNumber = 7; |
| | 424 | | private global::DCL.ECSComponents.YGPositionType positionType_ = global::DCL.ECSComponents.YGPositionType.YgptRelati |
| | 425 | | /// <summary> |
| | 426 | | /// YGPositionType.YGPT_RELATIVE |
| | 427 | | /// </summary> |
| | 428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 430 | | public global::DCL.ECSComponents.YGPositionType PositionType { |
| | 431 | | get { return positionType_; } |
| | 432 | | set { |
| | 433 | | positionType_ = value; |
| | 434 | | } |
| | 435 | | } |
| | 436 | |
|
| | 437 | | /// <summary>Field number for the "align_self" field.</summary> |
| | 438 | | public const int AlignSelfFieldNumber = 8; |
| | 439 | | private global::DCL.ECSComponents.YGAlign alignSelf_ = global::DCL.ECSComponents.YGAlign.YgaAuto; |
| | 440 | | /// <summary> |
| | 441 | | /// YGAlign.YGA_AUTO |
| | 442 | | /// </summary> |
| | 443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 445 | | public global::DCL.ECSComponents.YGAlign AlignSelf { |
| | 446 | | get { return alignSelf_; } |
| | 447 | | set { |
| | 448 | | alignSelf_ = value; |
| | 449 | | } |
| | 450 | | } |
| | 451 | |
|
| | 452 | | /// <summary>Field number for the "flex_direction" field.</summary> |
| | 453 | | public const int FlexDirectionFieldNumber = 9; |
| | 454 | | private global::DCL.ECSComponents.YGFlexDirection flexDirection_ = global::DCL.ECSComponents.YGFlexDirection.YgfdRow |
| | 455 | | /// <summary> |
| | 456 | | /// YGFlexDirection.YGFD_ROW |
| | 457 | | /// </summary> |
| | 458 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 459 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 460 | | public global::DCL.ECSComponents.YGFlexDirection FlexDirection { |
| | 461 | | get { return flexDirection_; } |
| | 462 | | set { |
| | 463 | | flexDirection_ = value; |
| | 464 | | } |
| | 465 | | } |
| | 466 | |
|
| | 467 | | /// <summary>Field number for the "justify_content" field.</summary> |
| | 468 | | public const int JustifyContentFieldNumber = 10; |
| | 469 | | private global::DCL.ECSComponents.YGJustify justifyContent_ = global::DCL.ECSComponents.YGJustify.YgjFlexStart; |
| | 470 | | /// <summary> |
| | 471 | | /// YGJustify.YGJ_FLEX_START |
| | 472 | | /// </summary> |
| | 473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 475 | | public global::DCL.ECSComponents.YGJustify JustifyContent { |
| | 476 | | get { return justifyContent_; } |
| | 477 | | set { |
| | 478 | | justifyContent_ = value; |
| | 479 | | } |
| | 480 | | } |
| | 481 | |
|
| | 482 | | /// <summary>Field number for the "overflow" field.</summary> |
| | 483 | | public const int OverflowFieldNumber = 11; |
| | 484 | | private global::DCL.ECSComponents.YGOverflow overflow_ = global::DCL.ECSComponents.YGOverflow.YgoVisible; |
| | 485 | | /// <summary> |
| | 486 | | /// YGOverflow.YGO_VISIBLE |
| | 487 | | /// </summary> |
| | 488 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 489 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 490 | | public global::DCL.ECSComponents.YGOverflow Overflow { |
| | 491 | | get { return overflow_; } |
| | 492 | | set { |
| | 493 | | overflow_ = value; |
| | 494 | | } |
| | 495 | | } |
| | 496 | |
|
| | 497 | | /// <summary>Field number for the "display" field.</summary> |
| | 498 | | public const int DisplayFieldNumber = 12; |
| | 499 | | private global::DCL.ECSComponents.YGDisplay display_ = global::DCL.ECSComponents.YGDisplay.YgdFlex; |
| | 500 | | /// <summary> |
| | 501 | | /// YGDisplay.YGD_FLEX |
| | 502 | | /// </summary> |
| | 503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 505 | | public global::DCL.ECSComponents.YGDisplay Display { |
| | 506 | | get { return display_; } |
| | 507 | | set { |
| | 508 | | display_ = value; |
| | 509 | | } |
| | 510 | | } |
| | 511 | |
|
| | 512 | | /// <summary>Field number for the "flex_basis_unit" field.</summary> |
| | 513 | | public const int FlexBasisUnitFieldNumber = 13; |
| | 514 | | private global::DCL.ECSComponents.YGUnit flexBasisUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 515 | | /// <summary> |
| | 516 | | /// YGUnit.YGU_UNDEFINED |
| | 517 | | /// </summary> |
| | 518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 520 | | public global::DCL.ECSComponents.YGUnit FlexBasisUnit { |
| | 521 | | get { return flexBasisUnit_; } |
| | 522 | | set { |
| | 523 | | flexBasisUnit_ = value; |
| | 524 | | } |
| | 525 | | } |
| | 526 | |
|
| | 527 | | /// <summary>Field number for the "flex_basis" field.</summary> |
| | 528 | | public const int FlexBasisFieldNumber = 14; |
| | 529 | | private float flexBasis_; |
| | 530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 532 | | public float FlexBasis { |
| | 533 | | get { return flexBasis_; } |
| | 534 | | set { |
| | 535 | | flexBasis_ = value; |
| | 536 | | } |
| | 537 | | } |
| | 538 | |
|
| | 539 | | /// <summary>Field number for the "flex_grow" field.</summary> |
| | 540 | | public const int FlexGrowFieldNumber = 15; |
| | 541 | | private float flexGrow_; |
| | 542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 544 | | public float FlexGrow { |
| | 545 | | get { return flexGrow_; } |
| | 546 | | set { |
| | 547 | | flexGrow_ = value; |
| | 548 | | } |
| | 549 | | } |
| | 550 | |
|
| | 551 | | /// <summary>Field number for the "width_unit" field.</summary> |
| | 552 | | public const int WidthUnitFieldNumber = 16; |
| | 553 | | private global::DCL.ECSComponents.YGUnit widthUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 554 | | /// <summary> |
| | 555 | | /// YGUnit.YGU_UNDEFINED |
| | 556 | | /// </summary> |
| | 557 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 558 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 559 | | public global::DCL.ECSComponents.YGUnit WidthUnit { |
| | 560 | | get { return widthUnit_; } |
| | 561 | | set { |
| | 562 | | widthUnit_ = value; |
| | 563 | | } |
| | 564 | | } |
| | 565 | |
|
| | 566 | | /// <summary>Field number for the "width" field.</summary> |
| | 567 | | public const int WidthFieldNumber = 17; |
| | 568 | | private float width_; |
| | 569 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 570 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 571 | | public float Width { |
| | 572 | | get { return width_; } |
| | 573 | | set { |
| | 574 | | width_ = value; |
| | 575 | | } |
| | 576 | | } |
| | 577 | |
|
| | 578 | | /// <summary>Field number for the "height_unit" field.</summary> |
| | 579 | | public const int HeightUnitFieldNumber = 18; |
| | 580 | | private global::DCL.ECSComponents.YGUnit heightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 581 | | /// <summary> |
| | 582 | | /// YGUnit.YGU_UNDEFINED |
| | 583 | | /// </summary> |
| | 584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 586 | | public global::DCL.ECSComponents.YGUnit HeightUnit { |
| | 587 | | get { return heightUnit_; } |
| | 588 | | set { |
| | 589 | | heightUnit_ = value; |
| | 590 | | } |
| | 591 | | } |
| | 592 | |
|
| | 593 | | /// <summary>Field number for the "height" field.</summary> |
| | 594 | | public const int HeightFieldNumber = 19; |
| | 595 | | private float height_; |
| | 596 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 597 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 598 | | public float Height { |
| | 599 | | get { return height_; } |
| | 600 | | set { |
| | 601 | | height_ = value; |
| | 602 | | } |
| | 603 | | } |
| | 604 | |
|
| | 605 | | /// <summary>Field number for the "min_width_unit" field.</summary> |
| | 606 | | public const int MinWidthUnitFieldNumber = 20; |
| | 607 | | private global::DCL.ECSComponents.YGUnit minWidthUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 608 | | /// <summary> |
| | 609 | | /// YGUnit.YGU_UNDEFINED |
| | 610 | | /// </summary> |
| | 611 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 612 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 613 | | public global::DCL.ECSComponents.YGUnit MinWidthUnit { |
| | 614 | | get { return minWidthUnit_; } |
| | 615 | | set { |
| | 616 | | minWidthUnit_ = value; |
| | 617 | | } |
| | 618 | | } |
| | 619 | |
|
| | 620 | | /// <summary>Field number for the "min_width" field.</summary> |
| | 621 | | public const int MinWidthFieldNumber = 21; |
| | 622 | | private float minWidth_; |
| | 623 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 624 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 625 | | public float MinWidth { |
| | 626 | | get { return minWidth_; } |
| | 627 | | set { |
| | 628 | | minWidth_ = value; |
| | 629 | | } |
| | 630 | | } |
| | 631 | |
|
| | 632 | | /// <summary>Field number for the "min_height_unit" field.</summary> |
| | 633 | | public const int MinHeightUnitFieldNumber = 22; |
| | 634 | | private global::DCL.ECSComponents.YGUnit minHeightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 635 | | /// <summary> |
| | 636 | | /// YGUnit.YGU_UNDEFINED |
| | 637 | | /// </summary> |
| | 638 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 639 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 640 | | public global::DCL.ECSComponents.YGUnit MinHeightUnit { |
| | 641 | | get { return minHeightUnit_; } |
| | 642 | | set { |
| | 643 | | minHeightUnit_ = value; |
| | 644 | | } |
| | 645 | | } |
| | 646 | |
|
| | 647 | | /// <summary>Field number for the "min_height" field.</summary> |
| | 648 | | public const int MinHeightFieldNumber = 23; |
| | 649 | | private float minHeight_; |
| | 650 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 651 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 652 | | public float MinHeight { |
| | 653 | | get { return minHeight_; } |
| | 654 | | set { |
| | 655 | | minHeight_ = value; |
| | 656 | | } |
| | 657 | | } |
| | 658 | |
|
| | 659 | | /// <summary>Field number for the "max_width_unit" field.</summary> |
| | 660 | | public const int MaxWidthUnitFieldNumber = 24; |
| | 661 | | private global::DCL.ECSComponents.YGUnit maxWidthUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 662 | | /// <summary> |
| | 663 | | /// YGUnit.YGU_UNDEFINED |
| | 664 | | /// </summary> |
| | 665 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 666 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 667 | | public global::DCL.ECSComponents.YGUnit MaxWidthUnit { |
| | 668 | | get { return maxWidthUnit_; } |
| | 669 | | set { |
| | 670 | | maxWidthUnit_ = value; |
| | 671 | | } |
| | 672 | | } |
| | 673 | |
|
| | 674 | | /// <summary>Field number for the "max_width" field.</summary> |
| | 675 | | public const int MaxWidthFieldNumber = 25; |
| | 676 | | private float maxWidth_; |
| | 677 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 678 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 679 | | public float MaxWidth { |
| | 680 | | get { return maxWidth_; } |
| | 681 | | set { |
| | 682 | | maxWidth_ = value; |
| | 683 | | } |
| | 684 | | } |
| | 685 | |
|
| | 686 | | /// <summary>Field number for the "max_height_unit" field.</summary> |
| | 687 | | public const int MaxHeightUnitFieldNumber = 26; |
| | 688 | | private global::DCL.ECSComponents.YGUnit maxHeightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 689 | | /// <summary> |
| | 690 | | /// YGUnit.YGU_UNDEFINED |
| | 691 | | /// </summary> |
| | 692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 694 | | public global::DCL.ECSComponents.YGUnit MaxHeightUnit { |
| | 695 | | get { return maxHeightUnit_; } |
| | 696 | | set { |
| | 697 | | maxHeightUnit_ = value; |
| | 698 | | } |
| | 699 | | } |
| | 700 | |
|
| | 701 | | /// <summary>Field number for the "max_height" field.</summary> |
| | 702 | | public const int MaxHeightFieldNumber = 27; |
| | 703 | | private float maxHeight_; |
| | 704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 706 | | public float MaxHeight { |
| | 707 | | get { return maxHeight_; } |
| | 708 | | set { |
| | 709 | | maxHeight_ = value; |
| | 710 | | } |
| | 711 | | } |
| | 712 | |
|
| | 713 | | /// <summary>Field number for the "position_left_unit" field.</summary> |
| | 714 | | public const int PositionLeftUnitFieldNumber = 28; |
| | 715 | | private global::DCL.ECSComponents.YGUnit positionLeftUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 716 | | /// <summary> |
| | 717 | | /// YGUnit.YGU_UNDEFINED |
| | 718 | | /// </summary> |
| | 719 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 720 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 721 | | public global::DCL.ECSComponents.YGUnit PositionLeftUnit { |
| | 722 | | get { return positionLeftUnit_; } |
| | 723 | | set { |
| | 724 | | positionLeftUnit_ = value; |
| | 725 | | } |
| | 726 | | } |
| | 727 | |
|
| | 728 | | /// <summary>Field number for the "position_left" field.</summary> |
| | 729 | | public const int PositionLeftFieldNumber = 29; |
| | 730 | | private float positionLeft_; |
| | 731 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 732 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 733 | | public float PositionLeft { |
| | 734 | | get { return positionLeft_; } |
| | 735 | | set { |
| | 736 | | positionLeft_ = value; |
| | 737 | | } |
| | 738 | | } |
| | 739 | |
|
| | 740 | | /// <summary>Field number for the "position_top_unit" field.</summary> |
| | 741 | | public const int PositionTopUnitFieldNumber = 30; |
| | 742 | | private global::DCL.ECSComponents.YGUnit positionTopUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 743 | | /// <summary> |
| | 744 | | /// YGUnit.YGU_UNDEFINED |
| | 745 | | /// </summary> |
| | 746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 748 | | public global::DCL.ECSComponents.YGUnit PositionTopUnit { |
| | 749 | | get { return positionTopUnit_; } |
| | 750 | | set { |
| | 751 | | positionTopUnit_ = value; |
| | 752 | | } |
| | 753 | | } |
| | 754 | |
|
| | 755 | | /// <summary>Field number for the "position_top" field.</summary> |
| | 756 | | public const int PositionTopFieldNumber = 31; |
| | 757 | | private float positionTop_; |
| | 758 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 759 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 760 | | public float PositionTop { |
| | 761 | | get { return positionTop_; } |
| | 762 | | set { |
| | 763 | | positionTop_ = value; |
| | 764 | | } |
| | 765 | | } |
| | 766 | |
|
| | 767 | | /// <summary>Field number for the "position_right_unit" field.</summary> |
| | 768 | | public const int PositionRightUnitFieldNumber = 32; |
| | 769 | | private global::DCL.ECSComponents.YGUnit positionRightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 770 | | /// <summary> |
| | 771 | | /// YGUnit.YGU_UNDEFINED |
| | 772 | | /// </summary> |
| | 773 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 774 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 775 | | public global::DCL.ECSComponents.YGUnit PositionRightUnit { |
| | 776 | | get { return positionRightUnit_; } |
| | 777 | | set { |
| | 778 | | positionRightUnit_ = value; |
| | 779 | | } |
| | 780 | | } |
| | 781 | |
|
| | 782 | | /// <summary>Field number for the "position_right" field.</summary> |
| | 783 | | public const int PositionRightFieldNumber = 33; |
| | 784 | | private float positionRight_; |
| | 785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 787 | | public float PositionRight { |
| | 788 | | get { return positionRight_; } |
| | 789 | | set { |
| | 790 | | positionRight_ = value; |
| | 791 | | } |
| | 792 | | } |
| | 793 | |
|
| | 794 | | /// <summary>Field number for the "position_bottom_unit" field.</summary> |
| | 795 | | public const int PositionBottomUnitFieldNumber = 34; |
| | 796 | | private global::DCL.ECSComponents.YGUnit positionBottomUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 797 | | /// <summary> |
| | 798 | | /// YGUnit.YGU_UNDEFINED |
| | 799 | | /// </summary> |
| | 800 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 801 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 802 | | public global::DCL.ECSComponents.YGUnit PositionBottomUnit { |
| | 803 | | get { return positionBottomUnit_; } |
| | 804 | | set { |
| | 805 | | positionBottomUnit_ = value; |
| | 806 | | } |
| | 807 | | } |
| | 808 | |
|
| | 809 | | /// <summary>Field number for the "position_bottom" field.</summary> |
| | 810 | | public const int PositionBottomFieldNumber = 35; |
| | 811 | | private float positionBottom_; |
| | 812 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 813 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 814 | | public float PositionBottom { |
| | 815 | | get { return positionBottom_; } |
| | 816 | | set { |
| | 817 | | positionBottom_ = value; |
| | 818 | | } |
| | 819 | | } |
| | 820 | |
|
| | 821 | | /// <summary>Field number for the "margin_left_unit" field.</summary> |
| | 822 | | public const int MarginLeftUnitFieldNumber = 36; |
| | 823 | | private global::DCL.ECSComponents.YGUnit marginLeftUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 824 | | /// <summary> |
| | 825 | | /// YGUnit.YGU_UNDEFINED |
| | 826 | | /// </summary> |
| | 827 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 828 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 829 | | public global::DCL.ECSComponents.YGUnit MarginLeftUnit { |
| | 830 | | get { return marginLeftUnit_; } |
| | 831 | | set { |
| | 832 | | marginLeftUnit_ = value; |
| | 833 | | } |
| | 834 | | } |
| | 835 | |
|
| | 836 | | /// <summary>Field number for the "margin_left" field.</summary> |
| | 837 | | public const int MarginLeftFieldNumber = 37; |
| | 838 | | private float marginLeft_; |
| | 839 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 840 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 841 | | public float MarginLeft { |
| | 842 | | get { return marginLeft_; } |
| | 843 | | set { |
| | 844 | | marginLeft_ = value; |
| | 845 | | } |
| | 846 | | } |
| | 847 | |
|
| | 848 | | /// <summary>Field number for the "margin_top_unit" field.</summary> |
| | 849 | | public const int MarginTopUnitFieldNumber = 38; |
| | 850 | | private global::DCL.ECSComponents.YGUnit marginTopUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 851 | | /// <summary> |
| | 852 | | /// YGUnit.YGU_UNDEFINED |
| | 853 | | /// </summary> |
| | 854 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 855 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 856 | | public global::DCL.ECSComponents.YGUnit MarginTopUnit { |
| | 857 | | get { return marginTopUnit_; } |
| | 858 | | set { |
| | 859 | | marginTopUnit_ = value; |
| | 860 | | } |
| | 861 | | } |
| | 862 | |
|
| | 863 | | /// <summary>Field number for the "margin_top" field.</summary> |
| | 864 | | public const int MarginTopFieldNumber = 39; |
| | 865 | | private float marginTop_; |
| | 866 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 867 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 868 | | public float MarginTop { |
| | 869 | | get { return marginTop_; } |
| | 870 | | set { |
| | 871 | | marginTop_ = value; |
| | 872 | | } |
| | 873 | | } |
| | 874 | |
|
| | 875 | | /// <summary>Field number for the "margin_right_unit" field.</summary> |
| | 876 | | public const int MarginRightUnitFieldNumber = 40; |
| | 877 | | private global::DCL.ECSComponents.YGUnit marginRightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 878 | | /// <summary> |
| | 879 | | /// YGUnit.YGU_UNDEFINED |
| | 880 | | /// </summary> |
| | 881 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 882 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 883 | | public global::DCL.ECSComponents.YGUnit MarginRightUnit { |
| | 884 | | get { return marginRightUnit_; } |
| | 885 | | set { |
| | 886 | | marginRightUnit_ = value; |
| | 887 | | } |
| | 888 | | } |
| | 889 | |
|
| | 890 | | /// <summary>Field number for the "margin_right" field.</summary> |
| | 891 | | public const int MarginRightFieldNumber = 41; |
| | 892 | | private float marginRight_; |
| | 893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 895 | | public float MarginRight { |
| | 896 | | get { return marginRight_; } |
| | 897 | | set { |
| | 898 | | marginRight_ = value; |
| | 899 | | } |
| | 900 | | } |
| | 901 | |
|
| | 902 | | /// <summary>Field number for the "margin_bottom_unit" field.</summary> |
| | 903 | | public const int MarginBottomUnitFieldNumber = 42; |
| | 904 | | private global::DCL.ECSComponents.YGUnit marginBottomUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 905 | | /// <summary> |
| | 906 | | /// YGUnit.YGU_UNDEFINED |
| | 907 | | /// </summary> |
| | 908 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 909 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 910 | | public global::DCL.ECSComponents.YGUnit MarginBottomUnit { |
| | 911 | | get { return marginBottomUnit_; } |
| | 912 | | set { |
| | 913 | | marginBottomUnit_ = value; |
| | 914 | | } |
| | 915 | | } |
| | 916 | |
|
| | 917 | | /// <summary>Field number for the "margin_bottom" field.</summary> |
| | 918 | | public const int MarginBottomFieldNumber = 43; |
| | 919 | | private float marginBottom_; |
| | 920 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 921 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 922 | | public float MarginBottom { |
| | 923 | | get { return marginBottom_; } |
| | 924 | | set { |
| | 925 | | marginBottom_ = value; |
| | 926 | | } |
| | 927 | | } |
| | 928 | |
|
| | 929 | | /// <summary>Field number for the "padding_left_unit" field.</summary> |
| | 930 | | public const int PaddingLeftUnitFieldNumber = 44; |
| | 931 | | private global::DCL.ECSComponents.YGUnit paddingLeftUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 932 | | /// <summary> |
| | 933 | | /// YGUnit.YGU_UNDEFINED |
| | 934 | | /// </summary> |
| | 935 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 936 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 937 | | public global::DCL.ECSComponents.YGUnit PaddingLeftUnit { |
| | 938 | | get { return paddingLeftUnit_; } |
| | 939 | | set { |
| | 940 | | paddingLeftUnit_ = value; |
| | 941 | | } |
| | 942 | | } |
| | 943 | |
|
| | 944 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 945 | | public const int PaddingLeftFieldNumber = 45; |
| | 946 | | private float paddingLeft_; |
| | 947 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 948 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 949 | | public float PaddingLeft { |
| | 950 | | get { return paddingLeft_; } |
| | 951 | | set { |
| | 952 | | paddingLeft_ = value; |
| | 953 | | } |
| | 954 | | } |
| | 955 | |
|
| | 956 | | /// <summary>Field number for the "padding_top_unit" field.</summary> |
| | 957 | | public const int PaddingTopUnitFieldNumber = 46; |
| | 958 | | private global::DCL.ECSComponents.YGUnit paddingTopUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 959 | | /// <summary> |
| | 960 | | /// YGUnit.YGU_UNDEFINED |
| | 961 | | /// </summary> |
| | 962 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 963 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 964 | | public global::DCL.ECSComponents.YGUnit PaddingTopUnit { |
| | 965 | | get { return paddingTopUnit_; } |
| | 966 | | set { |
| | 967 | | paddingTopUnit_ = value; |
| | 968 | | } |
| | 969 | | } |
| | 970 | |
|
| | 971 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 972 | | public const int PaddingTopFieldNumber = 47; |
| | 973 | | private float paddingTop_; |
| | 974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 976 | | public float PaddingTop { |
| | 977 | | get { return paddingTop_; } |
| | 978 | | set { |
| | 979 | | paddingTop_ = value; |
| | 980 | | } |
| | 981 | | } |
| | 982 | |
|
| | 983 | | /// <summary>Field number for the "padding_right_unit" field.</summary> |
| | 984 | | public const int PaddingRightUnitFieldNumber = 48; |
| | 985 | | private global::DCL.ECSComponents.YGUnit paddingRightUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 986 | | /// <summary> |
| | 987 | | /// YGUnit.YGU_UNDEFINED |
| | 988 | | /// </summary> |
| | 989 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 990 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 991 | | public global::DCL.ECSComponents.YGUnit PaddingRightUnit { |
| | 992 | | get { return paddingRightUnit_; } |
| | 993 | | set { |
| | 994 | | paddingRightUnit_ = value; |
| | 995 | | } |
| | 996 | | } |
| | 997 | |
|
| | 998 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 999 | | public const int PaddingRightFieldNumber = 49; |
| | 1000 | | private float paddingRight_; |
| | 1001 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1002 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1003 | | public float PaddingRight { |
| | 1004 | | get { return paddingRight_; } |
| | 1005 | | set { |
| | 1006 | | paddingRight_ = value; |
| | 1007 | | } |
| | 1008 | | } |
| | 1009 | |
|
| | 1010 | | /// <summary>Field number for the "padding_bottom_unit" field.</summary> |
| | 1011 | | public const int PaddingBottomUnitFieldNumber = 50; |
| | 1012 | | private global::DCL.ECSComponents.YGUnit paddingBottomUnit_ = global::DCL.ECSComponents.YGUnit.YguUndefined; |
| | 1013 | | /// <summary> |
| | 1014 | | /// YGUnit.YGU_UNDEFINED |
| | 1015 | | /// </summary> |
| | 1016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1018 | | public global::DCL.ECSComponents.YGUnit PaddingBottomUnit { |
| | 1019 | | get { return paddingBottomUnit_; } |
| | 1020 | | set { |
| | 1021 | | paddingBottomUnit_ = value; |
| | 1022 | | } |
| | 1023 | | } |
| | 1024 | |
|
| | 1025 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 1026 | | public const int PaddingBottomFieldNumber = 51; |
| | 1027 | | private float paddingBottom_; |
| | 1028 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1029 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1030 | | public float PaddingBottom { |
| | 1031 | | get { return paddingBottom_; } |
| | 1032 | | set { |
| | 1033 | | paddingBottom_ = value; |
| | 1034 | | } |
| | 1035 | | } |
| | 1036 | |
|
| | 1037 | | /// <summary>Field number for the "pointer_filter" field.</summary> |
| | 1038 | | public const int PointerFilterFieldNumber = 52; |
| | 1039 | | private global::DCL.ECSComponents.PointerFilterMode pointerFilter_; |
| | 1040 | | /// <summary> |
| | 1041 | | /// default: PointerFilterMode.PFM_NONE |
| | 1042 | | /// </summary> |
| | 1043 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1044 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1045 | | public global::DCL.ECSComponents.PointerFilterMode PointerFilter { |
| | 1046 | | get { if ((_hasBits0 & 16) != 0) { return pointerFilter_; } else { return global::DCL.ECSComponents.PointerFilterM |
| | 1047 | | set { |
| | 1048 | | _hasBits0 |= 16; |
| | 1049 | | pointerFilter_ = value; |
| | 1050 | | } |
| | 1051 | | } |
| | 1052 | | /// <summary>Gets whether the "pointer_filter" field is set</summary> |
| | 1053 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1054 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1055 | | public bool HasPointerFilter { |
| | 1056 | | get { return (_hasBits0 & 16) != 0; } |
| | 1057 | | } |
| | 1058 | | /// <summary>Clears the value of the "pointer_filter" field</summary> |
| | 1059 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1060 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1061 | | public void ClearPointerFilter() { |
| | 1062 | | _hasBits0 &= ~16; |
| | 1063 | | } |
| | 1064 | |
|
| | 1065 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1066 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1067 | | public override bool Equals(object other) { |
| | 1068 | | return Equals(other as PBUiTransform); |
| | 1069 | | } |
| | 1070 | |
|
| | 1071 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1072 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1073 | | public bool Equals(PBUiTransform other) { |
| | 1074 | | if (ReferenceEquals(other, null)) { |
| | 1075 | | return false; |
| | 1076 | | } |
| | 1077 | | if (ReferenceEquals(other, this)) { |
| | 1078 | | return true; |
| | 1079 | | } |
| | 1080 | | if (Parent != other.Parent) return false; |
| | 1081 | | if (RightOf != other.RightOf) return false; |
| | 1082 | | if (AlignContent != other.AlignContent) return false; |
| | 1083 | | if (AlignItems != other.AlignItems) return false; |
| | 1084 | | if (FlexWrap != other.FlexWrap) return false; |
| | 1085 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FlexShrink, other.FlexShrink)) return fal |
| | 1086 | | if (PositionType != other.PositionType) return false; |
| | 1087 | | if (AlignSelf != other.AlignSelf) return false; |
| | 1088 | | if (FlexDirection != other.FlexDirection) return false; |
| | 1089 | | if (JustifyContent != other.JustifyContent) return false; |
| | 1090 | | if (Overflow != other.Overflow) return false; |
| | 1091 | | if (Display != other.Display) return false; |
| | 1092 | | if (FlexBasisUnit != other.FlexBasisUnit) return false; |
| | 1093 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FlexBasis, other.FlexBasis)) return false |
| | 1094 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FlexGrow, other.FlexGrow)) return false; |
| | 1095 | | if (WidthUnit != other.WidthUnit) return false; |
| | 1096 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 1097 | | if (HeightUnit != other.HeightUnit) return false; |
| | 1098 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 1099 | | if (MinWidthUnit != other.MinWidthUnit) return false; |
| | 1100 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MinWidth, other.MinWidth)) return false; |
| | 1101 | | if (MinHeightUnit != other.MinHeightUnit) return false; |
| | 1102 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MinHeight, other.MinHeight)) return false |
| | 1103 | | if (MaxWidthUnit != other.MaxWidthUnit) return false; |
| | 1104 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxWidth, other.MaxWidth)) return false; |
| | 1105 | | if (MaxHeightUnit != other.MaxHeightUnit) return false; |
| | 1106 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxHeight, other.MaxHeight)) return false |
| | 1107 | | if (PositionLeftUnit != other.PositionLeftUnit) return false; |
| | 1108 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PositionLeft, other.PositionLeft)) return |
| | 1109 | | if (PositionTopUnit != other.PositionTopUnit) return false; |
| | 1110 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PositionTop, other.PositionTop)) return f |
| | 1111 | | if (PositionRightUnit != other.PositionRightUnit) return false; |
| | 1112 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PositionRight, other.PositionRight)) retu |
| | 1113 | | if (PositionBottomUnit != other.PositionBottomUnit) return false; |
| | 1114 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PositionBottom, other.PositionBottom)) re |
| | 1115 | | if (MarginLeftUnit != other.MarginLeftUnit) return false; |
| | 1116 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MarginLeft, other.MarginLeft)) return fal |
| | 1117 | | if (MarginTopUnit != other.MarginTopUnit) return false; |
| | 1118 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MarginTop, other.MarginTop)) return false |
| | 1119 | | if (MarginRightUnit != other.MarginRightUnit) return false; |
| | 1120 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MarginRight, other.MarginRight)) return f |
| | 1121 | | if (MarginBottomUnit != other.MarginBottomUnit) return false; |
| | 1122 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MarginBottom, other.MarginBottom)) return |
| | 1123 | | if (PaddingLeftUnit != other.PaddingLeftUnit) return false; |
| | 1124 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 1125 | | if (PaddingTopUnit != other.PaddingTopUnit) return false; |
| | 1126 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 1127 | | if (PaddingRightUnit != other.PaddingRightUnit) return false; |
| | 1128 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 1129 | | if (PaddingBottomUnit != other.PaddingBottomUnit) return false; |
| | 1130 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 1131 | | if (PointerFilter != other.PointerFilter) return false; |
| | 1132 | | return Equals(_unknownFields, other._unknownFields); |
| | 1133 | | } |
| | 1134 | |
|
| | 1135 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1136 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1137 | | public override int GetHashCode() { |
| | 1138 | | int hash = 1; |
| | 1139 | | if (Parent != 0) hash ^= Parent.GetHashCode(); |
| | 1140 | | if (RightOf != 0) hash ^= RightOf.GetHashCode(); |
| | 1141 | | if (HasAlignContent) hash ^= AlignContent.GetHashCode(); |
| | 1142 | | if (HasAlignItems) hash ^= AlignItems.GetHashCode(); |
| | 1143 | | if (HasFlexWrap) hash ^= FlexWrap.GetHashCode(); |
| | 1144 | | if (HasFlexShrink) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FlexShrink); |
| | 1145 | | if (PositionType != global::DCL.ECSComponents.YGPositionType.YgptRelative) hash ^= PositionType.GetHashCode(); |
| | 1146 | | if (AlignSelf != global::DCL.ECSComponents.YGAlign.YgaAuto) hash ^= AlignSelf.GetHashCode(); |
| | 1147 | | if (FlexDirection != global::DCL.ECSComponents.YGFlexDirection.YgfdRow) hash ^= FlexDirection.GetHashCode(); |
| | 1148 | | if (JustifyContent != global::DCL.ECSComponents.YGJustify.YgjFlexStart) hash ^= JustifyContent.GetHashCode(); |
| | 1149 | | if (Overflow != global::DCL.ECSComponents.YGOverflow.YgoVisible) hash ^= Overflow.GetHashCode(); |
| | 1150 | | if (Display != global::DCL.ECSComponents.YGDisplay.YgdFlex) hash ^= Display.GetHashCode(); |
| | 1151 | | if (FlexBasisUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= FlexBasisUnit.GetHashCode(); |
| | 1152 | | if (FlexBasis != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FlexBasis); |
| | 1153 | | if (FlexGrow != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FlexGrow); |
| | 1154 | | if (WidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= WidthUnit.GetHashCode(); |
| | 1155 | | if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 1156 | | if (HeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= HeightUnit.GetHashCode(); |
| | 1157 | | if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 1158 | | if (MinWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MinWidthUnit.GetHashCode(); |
| | 1159 | | if (MinWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinWidth); |
| | 1160 | | if (MinHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MinHeightUnit.GetHashCode(); |
| | 1161 | | if (MinHeight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinHeight); |
| | 1162 | | if (MaxWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MaxWidthUnit.GetHashCode(); |
| | 1163 | | if (MaxWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxWidth); |
| | 1164 | | if (MaxHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MaxHeightUnit.GetHashCode(); |
| | 1165 | | if (MaxHeight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxHeight); |
| | 1166 | | if (PositionLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PositionLeftUnit.GetHashCode(); |
| | 1167 | | if (PositionLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PositionL |
| | 1168 | | if (PositionTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PositionTopUnit.GetHashCode(); |
| | 1169 | | if (PositionTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PositionTo |
| | 1170 | | if (PositionRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PositionRightUnit.GetHashCode(); |
| | 1171 | | if (PositionRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Position |
| | 1172 | | if (PositionBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PositionBottomUnit.GetHashCode(); |
| | 1173 | | if (PositionBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Positio |
| | 1174 | | if (MarginLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MarginLeftUnit.GetHashCode(); |
| | 1175 | | if (MarginLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MarginLeft) |
| | 1176 | | if (MarginTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MarginTopUnit.GetHashCode(); |
| | 1177 | | if (MarginTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MarginTop); |
| | 1178 | | if (MarginRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MarginRightUnit.GetHashCode(); |
| | 1179 | | if (MarginRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MarginRigh |
| | 1180 | | if (MarginBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= MarginBottomUnit.GetHashCode(); |
| | 1181 | | if (MarginBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MarginBot |
| | 1182 | | if (PaddingLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PaddingLeftUnit.GetHashCode(); |
| | 1183 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 1184 | | if (PaddingTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PaddingTopUnit.GetHashCode(); |
| | 1185 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 1186 | | if (PaddingRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PaddingRightUnit.GetHashCode(); |
| | 1187 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 1188 | | if (PaddingBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) hash ^= PaddingBottomUnit.GetHashCode(); |
| | 1189 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 1190 | | if (HasPointerFilter) hash ^= PointerFilter.GetHashCode(); |
| | 1191 | | if (_unknownFields != null) { |
| | 1192 | | hash ^= _unknownFields.GetHashCode(); |
| | 1193 | | } |
| | 1194 | | return hash; |
| | 1195 | | } |
| | 1196 | |
|
| | 1197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1199 | | public override string ToString() { |
| | 1200 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1201 | | } |
| | 1202 | |
|
| | 1203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1205 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1206 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1207 | | output.WriteRawMessage(this); |
| | 1208 | | #else |
| | 1209 | | if (Parent != 0) { |
| | 1210 | | output.WriteRawTag(8); |
| | 1211 | | output.WriteInt32(Parent); |
| | 1212 | | } |
| | 1213 | | if (RightOf != 0) { |
| | 1214 | | output.WriteRawTag(16); |
| | 1215 | | output.WriteInt32(RightOf); |
| | 1216 | | } |
| | 1217 | | if (HasAlignContent) { |
| | 1218 | | output.WriteRawTag(24); |
| | 1219 | | output.WriteEnum((int) AlignContent); |
| | 1220 | | } |
| | 1221 | | if (HasAlignItems) { |
| | 1222 | | output.WriteRawTag(32); |
| | 1223 | | output.WriteEnum((int) AlignItems); |
| | 1224 | | } |
| | 1225 | | if (HasFlexWrap) { |
| | 1226 | | output.WriteRawTag(40); |
| | 1227 | | output.WriteEnum((int) FlexWrap); |
| | 1228 | | } |
| | 1229 | | if (HasFlexShrink) { |
| | 1230 | | output.WriteRawTag(53); |
| | 1231 | | output.WriteFloat(FlexShrink); |
| | 1232 | | } |
| | 1233 | | if (PositionType != global::DCL.ECSComponents.YGPositionType.YgptRelative) { |
| | 1234 | | output.WriteRawTag(56); |
| | 1235 | | output.WriteEnum((int) PositionType); |
| | 1236 | | } |
| | 1237 | | if (AlignSelf != global::DCL.ECSComponents.YGAlign.YgaAuto) { |
| | 1238 | | output.WriteRawTag(64); |
| | 1239 | | output.WriteEnum((int) AlignSelf); |
| | 1240 | | } |
| | 1241 | | if (FlexDirection != global::DCL.ECSComponents.YGFlexDirection.YgfdRow) { |
| | 1242 | | output.WriteRawTag(72); |
| | 1243 | | output.WriteEnum((int) FlexDirection); |
| | 1244 | | } |
| | 1245 | | if (JustifyContent != global::DCL.ECSComponents.YGJustify.YgjFlexStart) { |
| | 1246 | | output.WriteRawTag(80); |
| | 1247 | | output.WriteEnum((int) JustifyContent); |
| | 1248 | | } |
| | 1249 | | if (Overflow != global::DCL.ECSComponents.YGOverflow.YgoVisible) { |
| | 1250 | | output.WriteRawTag(88); |
| | 1251 | | output.WriteEnum((int) Overflow); |
| | 1252 | | } |
| | 1253 | | if (Display != global::DCL.ECSComponents.YGDisplay.YgdFlex) { |
| | 1254 | | output.WriteRawTag(96); |
| | 1255 | | output.WriteEnum((int) Display); |
| | 1256 | | } |
| | 1257 | | if (FlexBasisUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1258 | | output.WriteRawTag(104); |
| | 1259 | | output.WriteEnum((int) FlexBasisUnit); |
| | 1260 | | } |
| | 1261 | | if (FlexBasis != 0F) { |
| | 1262 | | output.WriteRawTag(117); |
| | 1263 | | output.WriteFloat(FlexBasis); |
| | 1264 | | } |
| | 1265 | | if (FlexGrow != 0F) { |
| | 1266 | | output.WriteRawTag(125); |
| | 1267 | | output.WriteFloat(FlexGrow); |
| | 1268 | | } |
| | 1269 | | if (WidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1270 | | output.WriteRawTag(128, 1); |
| | 1271 | | output.WriteEnum((int) WidthUnit); |
| | 1272 | | } |
| | 1273 | | if (Width != 0F) { |
| | 1274 | | output.WriteRawTag(141, 1); |
| | 1275 | | output.WriteFloat(Width); |
| | 1276 | | } |
| | 1277 | | if (HeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1278 | | output.WriteRawTag(144, 1); |
| | 1279 | | output.WriteEnum((int) HeightUnit); |
| | 1280 | | } |
| | 1281 | | if (Height != 0F) { |
| | 1282 | | output.WriteRawTag(157, 1); |
| | 1283 | | output.WriteFloat(Height); |
| | 1284 | | } |
| | 1285 | | if (MinWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1286 | | output.WriteRawTag(160, 1); |
| | 1287 | | output.WriteEnum((int) MinWidthUnit); |
| | 1288 | | } |
| | 1289 | | if (MinWidth != 0F) { |
| | 1290 | | output.WriteRawTag(173, 1); |
| | 1291 | | output.WriteFloat(MinWidth); |
| | 1292 | | } |
| | 1293 | | if (MinHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1294 | | output.WriteRawTag(176, 1); |
| | 1295 | | output.WriteEnum((int) MinHeightUnit); |
| | 1296 | | } |
| | 1297 | | if (MinHeight != 0F) { |
| | 1298 | | output.WriteRawTag(189, 1); |
| | 1299 | | output.WriteFloat(MinHeight); |
| | 1300 | | } |
| | 1301 | | if (MaxWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1302 | | output.WriteRawTag(192, 1); |
| | 1303 | | output.WriteEnum((int) MaxWidthUnit); |
| | 1304 | | } |
| | 1305 | | if (MaxWidth != 0F) { |
| | 1306 | | output.WriteRawTag(205, 1); |
| | 1307 | | output.WriteFloat(MaxWidth); |
| | 1308 | | } |
| | 1309 | | if (MaxHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1310 | | output.WriteRawTag(208, 1); |
| | 1311 | | output.WriteEnum((int) MaxHeightUnit); |
| | 1312 | | } |
| | 1313 | | if (MaxHeight != 0F) { |
| | 1314 | | output.WriteRawTag(221, 1); |
| | 1315 | | output.WriteFloat(MaxHeight); |
| | 1316 | | } |
| | 1317 | | if (PositionLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1318 | | output.WriteRawTag(224, 1); |
| | 1319 | | output.WriteEnum((int) PositionLeftUnit); |
| | 1320 | | } |
| | 1321 | | if (PositionLeft != 0F) { |
| | 1322 | | output.WriteRawTag(237, 1); |
| | 1323 | | output.WriteFloat(PositionLeft); |
| | 1324 | | } |
| | 1325 | | if (PositionTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1326 | | output.WriteRawTag(240, 1); |
| | 1327 | | output.WriteEnum((int) PositionTopUnit); |
| | 1328 | | } |
| | 1329 | | if (PositionTop != 0F) { |
| | 1330 | | output.WriteRawTag(253, 1); |
| | 1331 | | output.WriteFloat(PositionTop); |
| | 1332 | | } |
| | 1333 | | if (PositionRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1334 | | output.WriteRawTag(128, 2); |
| | 1335 | | output.WriteEnum((int) PositionRightUnit); |
| | 1336 | | } |
| | 1337 | | if (PositionRight != 0F) { |
| | 1338 | | output.WriteRawTag(141, 2); |
| | 1339 | | output.WriteFloat(PositionRight); |
| | 1340 | | } |
| | 1341 | | if (PositionBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1342 | | output.WriteRawTag(144, 2); |
| | 1343 | | output.WriteEnum((int) PositionBottomUnit); |
| | 1344 | | } |
| | 1345 | | if (PositionBottom != 0F) { |
| | 1346 | | output.WriteRawTag(157, 2); |
| | 1347 | | output.WriteFloat(PositionBottom); |
| | 1348 | | } |
| | 1349 | | if (MarginLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1350 | | output.WriteRawTag(160, 2); |
| | 1351 | | output.WriteEnum((int) MarginLeftUnit); |
| | 1352 | | } |
| | 1353 | | if (MarginLeft != 0F) { |
| | 1354 | | output.WriteRawTag(173, 2); |
| | 1355 | | output.WriteFloat(MarginLeft); |
| | 1356 | | } |
| | 1357 | | if (MarginTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1358 | | output.WriteRawTag(176, 2); |
| | 1359 | | output.WriteEnum((int) MarginTopUnit); |
| | 1360 | | } |
| | 1361 | | if (MarginTop != 0F) { |
| | 1362 | | output.WriteRawTag(189, 2); |
| | 1363 | | output.WriteFloat(MarginTop); |
| | 1364 | | } |
| | 1365 | | if (MarginRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1366 | | output.WriteRawTag(192, 2); |
| | 1367 | | output.WriteEnum((int) MarginRightUnit); |
| | 1368 | | } |
| | 1369 | | if (MarginRight != 0F) { |
| | 1370 | | output.WriteRawTag(205, 2); |
| | 1371 | | output.WriteFloat(MarginRight); |
| | 1372 | | } |
| | 1373 | | if (MarginBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1374 | | output.WriteRawTag(208, 2); |
| | 1375 | | output.WriteEnum((int) MarginBottomUnit); |
| | 1376 | | } |
| | 1377 | | if (MarginBottom != 0F) { |
| | 1378 | | output.WriteRawTag(221, 2); |
| | 1379 | | output.WriteFloat(MarginBottom); |
| | 1380 | | } |
| | 1381 | | if (PaddingLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1382 | | output.WriteRawTag(224, 2); |
| | 1383 | | output.WriteEnum((int) PaddingLeftUnit); |
| | 1384 | | } |
| | 1385 | | if (PaddingLeft != 0F) { |
| | 1386 | | output.WriteRawTag(237, 2); |
| | 1387 | | output.WriteFloat(PaddingLeft); |
| | 1388 | | } |
| | 1389 | | if (PaddingTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1390 | | output.WriteRawTag(240, 2); |
| | 1391 | | output.WriteEnum((int) PaddingTopUnit); |
| | 1392 | | } |
| | 1393 | | if (PaddingTop != 0F) { |
| | 1394 | | output.WriteRawTag(253, 2); |
| | 1395 | | output.WriteFloat(PaddingTop); |
| | 1396 | | } |
| | 1397 | | if (PaddingRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1398 | | output.WriteRawTag(128, 3); |
| | 1399 | | output.WriteEnum((int) PaddingRightUnit); |
| | 1400 | | } |
| | 1401 | | if (PaddingRight != 0F) { |
| | 1402 | | output.WriteRawTag(141, 3); |
| | 1403 | | output.WriteFloat(PaddingRight); |
| | 1404 | | } |
| | 1405 | | if (PaddingBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1406 | | output.WriteRawTag(144, 3); |
| | 1407 | | output.WriteEnum((int) PaddingBottomUnit); |
| | 1408 | | } |
| | 1409 | | if (PaddingBottom != 0F) { |
| | 1410 | | output.WriteRawTag(157, 3); |
| | 1411 | | output.WriteFloat(PaddingBottom); |
| | 1412 | | } |
| | 1413 | | if (HasPointerFilter) { |
| | 1414 | | output.WriteRawTag(160, 3); |
| | 1415 | | output.WriteEnum((int) PointerFilter); |
| | 1416 | | } |
| | 1417 | | if (_unknownFields != null) { |
| | 1418 | | _unknownFields.WriteTo(output); |
| | 1419 | | } |
| | 1420 | | #endif |
| | 1421 | | } |
| | 1422 | |
|
| | 1423 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1426 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1427 | | if (Parent != 0) { |
| | 1428 | | output.WriteRawTag(8); |
| | 1429 | | output.WriteInt32(Parent); |
| | 1430 | | } |
| | 1431 | | if (RightOf != 0) { |
| | 1432 | | output.WriteRawTag(16); |
| | 1433 | | output.WriteInt32(RightOf); |
| | 1434 | | } |
| | 1435 | | if (HasAlignContent) { |
| | 1436 | | output.WriteRawTag(24); |
| | 1437 | | output.WriteEnum((int) AlignContent); |
| | 1438 | | } |
| | 1439 | | if (HasAlignItems) { |
| | 1440 | | output.WriteRawTag(32); |
| | 1441 | | output.WriteEnum((int) AlignItems); |
| | 1442 | | } |
| | 1443 | | if (HasFlexWrap) { |
| | 1444 | | output.WriteRawTag(40); |
| | 1445 | | output.WriteEnum((int) FlexWrap); |
| | 1446 | | } |
| | 1447 | | if (HasFlexShrink) { |
| | 1448 | | output.WriteRawTag(53); |
| | 1449 | | output.WriteFloat(FlexShrink); |
| | 1450 | | } |
| | 1451 | | if (PositionType != global::DCL.ECSComponents.YGPositionType.YgptRelative) { |
| | 1452 | | output.WriteRawTag(56); |
| | 1453 | | output.WriteEnum((int) PositionType); |
| | 1454 | | } |
| | 1455 | | if (AlignSelf != global::DCL.ECSComponents.YGAlign.YgaAuto) { |
| | 1456 | | output.WriteRawTag(64); |
| | 1457 | | output.WriteEnum((int) AlignSelf); |
| | 1458 | | } |
| | 1459 | | if (FlexDirection != global::DCL.ECSComponents.YGFlexDirection.YgfdRow) { |
| | 1460 | | output.WriteRawTag(72); |
| | 1461 | | output.WriteEnum((int) FlexDirection); |
| | 1462 | | } |
| | 1463 | | if (JustifyContent != global::DCL.ECSComponents.YGJustify.YgjFlexStart) { |
| | 1464 | | output.WriteRawTag(80); |
| | 1465 | | output.WriteEnum((int) JustifyContent); |
| | 1466 | | } |
| | 1467 | | if (Overflow != global::DCL.ECSComponents.YGOverflow.YgoVisible) { |
| | 1468 | | output.WriteRawTag(88); |
| | 1469 | | output.WriteEnum((int) Overflow); |
| | 1470 | | } |
| | 1471 | | if (Display != global::DCL.ECSComponents.YGDisplay.YgdFlex) { |
| | 1472 | | output.WriteRawTag(96); |
| | 1473 | | output.WriteEnum((int) Display); |
| | 1474 | | } |
| | 1475 | | if (FlexBasisUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1476 | | output.WriteRawTag(104); |
| | 1477 | | output.WriteEnum((int) FlexBasisUnit); |
| | 1478 | | } |
| | 1479 | | if (FlexBasis != 0F) { |
| | 1480 | | output.WriteRawTag(117); |
| | 1481 | | output.WriteFloat(FlexBasis); |
| | 1482 | | } |
| | 1483 | | if (FlexGrow != 0F) { |
| | 1484 | | output.WriteRawTag(125); |
| | 1485 | | output.WriteFloat(FlexGrow); |
| | 1486 | | } |
| | 1487 | | if (WidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1488 | | output.WriteRawTag(128, 1); |
| | 1489 | | output.WriteEnum((int) WidthUnit); |
| | 1490 | | } |
| | 1491 | | if (Width != 0F) { |
| | 1492 | | output.WriteRawTag(141, 1); |
| | 1493 | | output.WriteFloat(Width); |
| | 1494 | | } |
| | 1495 | | if (HeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1496 | | output.WriteRawTag(144, 1); |
| | 1497 | | output.WriteEnum((int) HeightUnit); |
| | 1498 | | } |
| | 1499 | | if (Height != 0F) { |
| | 1500 | | output.WriteRawTag(157, 1); |
| | 1501 | | output.WriteFloat(Height); |
| | 1502 | | } |
| | 1503 | | if (MinWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1504 | | output.WriteRawTag(160, 1); |
| | 1505 | | output.WriteEnum((int) MinWidthUnit); |
| | 1506 | | } |
| | 1507 | | if (MinWidth != 0F) { |
| | 1508 | | output.WriteRawTag(173, 1); |
| | 1509 | | output.WriteFloat(MinWidth); |
| | 1510 | | } |
| | 1511 | | if (MinHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1512 | | output.WriteRawTag(176, 1); |
| | 1513 | | output.WriteEnum((int) MinHeightUnit); |
| | 1514 | | } |
| | 1515 | | if (MinHeight != 0F) { |
| | 1516 | | output.WriteRawTag(189, 1); |
| | 1517 | | output.WriteFloat(MinHeight); |
| | 1518 | | } |
| | 1519 | | if (MaxWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1520 | | output.WriteRawTag(192, 1); |
| | 1521 | | output.WriteEnum((int) MaxWidthUnit); |
| | 1522 | | } |
| | 1523 | | if (MaxWidth != 0F) { |
| | 1524 | | output.WriteRawTag(205, 1); |
| | 1525 | | output.WriteFloat(MaxWidth); |
| | 1526 | | } |
| | 1527 | | if (MaxHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1528 | | output.WriteRawTag(208, 1); |
| | 1529 | | output.WriteEnum((int) MaxHeightUnit); |
| | 1530 | | } |
| | 1531 | | if (MaxHeight != 0F) { |
| | 1532 | | output.WriteRawTag(221, 1); |
| | 1533 | | output.WriteFloat(MaxHeight); |
| | 1534 | | } |
| | 1535 | | if (PositionLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1536 | | output.WriteRawTag(224, 1); |
| | 1537 | | output.WriteEnum((int) PositionLeftUnit); |
| | 1538 | | } |
| | 1539 | | if (PositionLeft != 0F) { |
| | 1540 | | output.WriteRawTag(237, 1); |
| | 1541 | | output.WriteFloat(PositionLeft); |
| | 1542 | | } |
| | 1543 | | if (PositionTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1544 | | output.WriteRawTag(240, 1); |
| | 1545 | | output.WriteEnum((int) PositionTopUnit); |
| | 1546 | | } |
| | 1547 | | if (PositionTop != 0F) { |
| | 1548 | | output.WriteRawTag(253, 1); |
| | 1549 | | output.WriteFloat(PositionTop); |
| | 1550 | | } |
| | 1551 | | if (PositionRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1552 | | output.WriteRawTag(128, 2); |
| | 1553 | | output.WriteEnum((int) PositionRightUnit); |
| | 1554 | | } |
| | 1555 | | if (PositionRight != 0F) { |
| | 1556 | | output.WriteRawTag(141, 2); |
| | 1557 | | output.WriteFloat(PositionRight); |
| | 1558 | | } |
| | 1559 | | if (PositionBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1560 | | output.WriteRawTag(144, 2); |
| | 1561 | | output.WriteEnum((int) PositionBottomUnit); |
| | 1562 | | } |
| | 1563 | | if (PositionBottom != 0F) { |
| | 1564 | | output.WriteRawTag(157, 2); |
| | 1565 | | output.WriteFloat(PositionBottom); |
| | 1566 | | } |
| | 1567 | | if (MarginLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1568 | | output.WriteRawTag(160, 2); |
| | 1569 | | output.WriteEnum((int) MarginLeftUnit); |
| | 1570 | | } |
| | 1571 | | if (MarginLeft != 0F) { |
| | 1572 | | output.WriteRawTag(173, 2); |
| | 1573 | | output.WriteFloat(MarginLeft); |
| | 1574 | | } |
| | 1575 | | if (MarginTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1576 | | output.WriteRawTag(176, 2); |
| | 1577 | | output.WriteEnum((int) MarginTopUnit); |
| | 1578 | | } |
| | 1579 | | if (MarginTop != 0F) { |
| | 1580 | | output.WriteRawTag(189, 2); |
| | 1581 | | output.WriteFloat(MarginTop); |
| | 1582 | | } |
| | 1583 | | if (MarginRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1584 | | output.WriteRawTag(192, 2); |
| | 1585 | | output.WriteEnum((int) MarginRightUnit); |
| | 1586 | | } |
| | 1587 | | if (MarginRight != 0F) { |
| | 1588 | | output.WriteRawTag(205, 2); |
| | 1589 | | output.WriteFloat(MarginRight); |
| | 1590 | | } |
| | 1591 | | if (MarginBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1592 | | output.WriteRawTag(208, 2); |
| | 1593 | | output.WriteEnum((int) MarginBottomUnit); |
| | 1594 | | } |
| | 1595 | | if (MarginBottom != 0F) { |
| | 1596 | | output.WriteRawTag(221, 2); |
| | 1597 | | output.WriteFloat(MarginBottom); |
| | 1598 | | } |
| | 1599 | | if (PaddingLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1600 | | output.WriteRawTag(224, 2); |
| | 1601 | | output.WriteEnum((int) PaddingLeftUnit); |
| | 1602 | | } |
| | 1603 | | if (PaddingLeft != 0F) { |
| | 1604 | | output.WriteRawTag(237, 2); |
| | 1605 | | output.WriteFloat(PaddingLeft); |
| | 1606 | | } |
| | 1607 | | if (PaddingTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1608 | | output.WriteRawTag(240, 2); |
| | 1609 | | output.WriteEnum((int) PaddingTopUnit); |
| | 1610 | | } |
| | 1611 | | if (PaddingTop != 0F) { |
| | 1612 | | output.WriteRawTag(253, 2); |
| | 1613 | | output.WriteFloat(PaddingTop); |
| | 1614 | | } |
| | 1615 | | if (PaddingRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1616 | | output.WriteRawTag(128, 3); |
| | 1617 | | output.WriteEnum((int) PaddingRightUnit); |
| | 1618 | | } |
| | 1619 | | if (PaddingRight != 0F) { |
| | 1620 | | output.WriteRawTag(141, 3); |
| | 1621 | | output.WriteFloat(PaddingRight); |
| | 1622 | | } |
| | 1623 | | if (PaddingBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1624 | | output.WriteRawTag(144, 3); |
| | 1625 | | output.WriteEnum((int) PaddingBottomUnit); |
| | 1626 | | } |
| | 1627 | | if (PaddingBottom != 0F) { |
| | 1628 | | output.WriteRawTag(157, 3); |
| | 1629 | | output.WriteFloat(PaddingBottom); |
| | 1630 | | } |
| | 1631 | | if (HasPointerFilter) { |
| | 1632 | | output.WriteRawTag(160, 3); |
| | 1633 | | output.WriteEnum((int) PointerFilter); |
| | 1634 | | } |
| | 1635 | | if (_unknownFields != null) { |
| | 1636 | | _unknownFields.WriteTo(ref output); |
| | 1637 | | } |
| | 1638 | | } |
| | 1639 | | #endif |
| | 1640 | |
|
| | 1641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1643 | | public int CalculateSize() { |
| | 1644 | | int size = 0; |
| | 1645 | | if (Parent != 0) { |
| | 1646 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Parent); |
| | 1647 | | } |
| | 1648 | | if (RightOf != 0) { |
| | 1649 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(RightOf); |
| | 1650 | | } |
| | 1651 | | if (HasAlignContent) { |
| | 1652 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AlignContent); |
| | 1653 | | } |
| | 1654 | | if (HasAlignItems) { |
| | 1655 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AlignItems); |
| | 1656 | | } |
| | 1657 | | if (HasFlexWrap) { |
| | 1658 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FlexWrap); |
| | 1659 | | } |
| | 1660 | | if (HasFlexShrink) { |
| | 1661 | | size += 1 + 4; |
| | 1662 | | } |
| | 1663 | | if (PositionType != global::DCL.ECSComponents.YGPositionType.YgptRelative) { |
| | 1664 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PositionType); |
| | 1665 | | } |
| | 1666 | | if (AlignSelf != global::DCL.ECSComponents.YGAlign.YgaAuto) { |
| | 1667 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AlignSelf); |
| | 1668 | | } |
| | 1669 | | if (FlexDirection != global::DCL.ECSComponents.YGFlexDirection.YgfdRow) { |
| | 1670 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FlexDirection); |
| | 1671 | | } |
| | 1672 | | if (JustifyContent != global::DCL.ECSComponents.YGJustify.YgjFlexStart) { |
| | 1673 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) JustifyContent); |
| | 1674 | | } |
| | 1675 | | if (Overflow != global::DCL.ECSComponents.YGOverflow.YgoVisible) { |
| | 1676 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Overflow); |
| | 1677 | | } |
| | 1678 | | if (Display != global::DCL.ECSComponents.YGDisplay.YgdFlex) { |
| | 1679 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Display); |
| | 1680 | | } |
| | 1681 | | if (FlexBasisUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1682 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FlexBasisUnit); |
| | 1683 | | } |
| | 1684 | | if (FlexBasis != 0F) { |
| | 1685 | | size += 1 + 4; |
| | 1686 | | } |
| | 1687 | | if (FlexGrow != 0F) { |
| | 1688 | | size += 1 + 4; |
| | 1689 | | } |
| | 1690 | | if (WidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1691 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) WidthUnit); |
| | 1692 | | } |
| | 1693 | | if (Width != 0F) { |
| | 1694 | | size += 2 + 4; |
| | 1695 | | } |
| | 1696 | | if (HeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1697 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) HeightUnit); |
| | 1698 | | } |
| | 1699 | | if (Height != 0F) { |
| | 1700 | | size += 2 + 4; |
| | 1701 | | } |
| | 1702 | | if (MinWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1703 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MinWidthUnit); |
| | 1704 | | } |
| | 1705 | | if (MinWidth != 0F) { |
| | 1706 | | size += 2 + 4; |
| | 1707 | | } |
| | 1708 | | if (MinHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1709 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MinHeightUnit); |
| | 1710 | | } |
| | 1711 | | if (MinHeight != 0F) { |
| | 1712 | | size += 2 + 4; |
| | 1713 | | } |
| | 1714 | | if (MaxWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1715 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MaxWidthUnit); |
| | 1716 | | } |
| | 1717 | | if (MaxWidth != 0F) { |
| | 1718 | | size += 2 + 4; |
| | 1719 | | } |
| | 1720 | | if (MaxHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1721 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MaxHeightUnit); |
| | 1722 | | } |
| | 1723 | | if (MaxHeight != 0F) { |
| | 1724 | | size += 2 + 4; |
| | 1725 | | } |
| | 1726 | | if (PositionLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1727 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PositionLeftUnit); |
| | 1728 | | } |
| | 1729 | | if (PositionLeft != 0F) { |
| | 1730 | | size += 2 + 4; |
| | 1731 | | } |
| | 1732 | | if (PositionTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1733 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PositionTopUnit); |
| | 1734 | | } |
| | 1735 | | if (PositionTop != 0F) { |
| | 1736 | | size += 2 + 4; |
| | 1737 | | } |
| | 1738 | | if (PositionRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1739 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PositionRightUnit); |
| | 1740 | | } |
| | 1741 | | if (PositionRight != 0F) { |
| | 1742 | | size += 2 + 4; |
| | 1743 | | } |
| | 1744 | | if (PositionBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1745 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PositionBottomUnit); |
| | 1746 | | } |
| | 1747 | | if (PositionBottom != 0F) { |
| | 1748 | | size += 2 + 4; |
| | 1749 | | } |
| | 1750 | | if (MarginLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1751 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginLeftUnit); |
| | 1752 | | } |
| | 1753 | | if (MarginLeft != 0F) { |
| | 1754 | | size += 2 + 4; |
| | 1755 | | } |
| | 1756 | | if (MarginTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1757 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginTopUnit); |
| | 1758 | | } |
| | 1759 | | if (MarginTop != 0F) { |
| | 1760 | | size += 2 + 4; |
| | 1761 | | } |
| | 1762 | | if (MarginRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1763 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginRightUnit); |
| | 1764 | | } |
| | 1765 | | if (MarginRight != 0F) { |
| | 1766 | | size += 2 + 4; |
| | 1767 | | } |
| | 1768 | | if (MarginBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1769 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) MarginBottomUnit); |
| | 1770 | | } |
| | 1771 | | if (MarginBottom != 0F) { |
| | 1772 | | size += 2 + 4; |
| | 1773 | | } |
| | 1774 | | if (PaddingLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1775 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingLeftUnit); |
| | 1776 | | } |
| | 1777 | | if (PaddingLeft != 0F) { |
| | 1778 | | size += 2 + 4; |
| | 1779 | | } |
| | 1780 | | if (PaddingTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1781 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingTopUnit); |
| | 1782 | | } |
| | 1783 | | if (PaddingTop != 0F) { |
| | 1784 | | size += 2 + 4; |
| | 1785 | | } |
| | 1786 | | if (PaddingRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1787 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingRightUnit); |
| | 1788 | | } |
| | 1789 | | if (PaddingRight != 0F) { |
| | 1790 | | size += 2 + 4; |
| | 1791 | | } |
| | 1792 | | if (PaddingBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1793 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PaddingBottomUnit); |
| | 1794 | | } |
| | 1795 | | if (PaddingBottom != 0F) { |
| | 1796 | | size += 2 + 4; |
| | 1797 | | } |
| | 1798 | | if (HasPointerFilter) { |
| | 1799 | | size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) PointerFilter); |
| | 1800 | | } |
| | 1801 | | if (_unknownFields != null) { |
| | 1802 | | size += _unknownFields.CalculateSize(); |
| | 1803 | | } |
| | 1804 | | return size; |
| | 1805 | | } |
| | 1806 | |
|
| | 1807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1809 | | public void MergeFrom(PBUiTransform other) { |
| | 1810 | | if (other == null) { |
| | 1811 | | return; |
| | 1812 | | } |
| | 1813 | | if (other.Parent != 0) { |
| | 1814 | | Parent = other.Parent; |
| | 1815 | | } |
| | 1816 | | if (other.RightOf != 0) { |
| | 1817 | | RightOf = other.RightOf; |
| | 1818 | | } |
| | 1819 | | if (other.HasAlignContent) { |
| | 1820 | | AlignContent = other.AlignContent; |
| | 1821 | | } |
| | 1822 | | if (other.HasAlignItems) { |
| | 1823 | | AlignItems = other.AlignItems; |
| | 1824 | | } |
| | 1825 | | if (other.HasFlexWrap) { |
| | 1826 | | FlexWrap = other.FlexWrap; |
| | 1827 | | } |
| | 1828 | | if (other.HasFlexShrink) { |
| | 1829 | | FlexShrink = other.FlexShrink; |
| | 1830 | | } |
| | 1831 | | if (other.PositionType != global::DCL.ECSComponents.YGPositionType.YgptRelative) { |
| | 1832 | | PositionType = other.PositionType; |
| | 1833 | | } |
| | 1834 | | if (other.AlignSelf != global::DCL.ECSComponents.YGAlign.YgaAuto) { |
| | 1835 | | AlignSelf = other.AlignSelf; |
| | 1836 | | } |
| | 1837 | | if (other.FlexDirection != global::DCL.ECSComponents.YGFlexDirection.YgfdRow) { |
| | 1838 | | FlexDirection = other.FlexDirection; |
| | 1839 | | } |
| | 1840 | | if (other.JustifyContent != global::DCL.ECSComponents.YGJustify.YgjFlexStart) { |
| | 1841 | | JustifyContent = other.JustifyContent; |
| | 1842 | | } |
| | 1843 | | if (other.Overflow != global::DCL.ECSComponents.YGOverflow.YgoVisible) { |
| | 1844 | | Overflow = other.Overflow; |
| | 1845 | | } |
| | 1846 | | if (other.Display != global::DCL.ECSComponents.YGDisplay.YgdFlex) { |
| | 1847 | | Display = other.Display; |
| | 1848 | | } |
| | 1849 | | if (other.FlexBasisUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1850 | | FlexBasisUnit = other.FlexBasisUnit; |
| | 1851 | | } |
| | 1852 | | if (other.FlexBasis != 0F) { |
| | 1853 | | FlexBasis = other.FlexBasis; |
| | 1854 | | } |
| | 1855 | | if (other.FlexGrow != 0F) { |
| | 1856 | | FlexGrow = other.FlexGrow; |
| | 1857 | | } |
| | 1858 | | if (other.WidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1859 | | WidthUnit = other.WidthUnit; |
| | 1860 | | } |
| | 1861 | | if (other.Width != 0F) { |
| | 1862 | | Width = other.Width; |
| | 1863 | | } |
| | 1864 | | if (other.HeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1865 | | HeightUnit = other.HeightUnit; |
| | 1866 | | } |
| | 1867 | | if (other.Height != 0F) { |
| | 1868 | | Height = other.Height; |
| | 1869 | | } |
| | 1870 | | if (other.MinWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1871 | | MinWidthUnit = other.MinWidthUnit; |
| | 1872 | | } |
| | 1873 | | if (other.MinWidth != 0F) { |
| | 1874 | | MinWidth = other.MinWidth; |
| | 1875 | | } |
| | 1876 | | if (other.MinHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1877 | | MinHeightUnit = other.MinHeightUnit; |
| | 1878 | | } |
| | 1879 | | if (other.MinHeight != 0F) { |
| | 1880 | | MinHeight = other.MinHeight; |
| | 1881 | | } |
| | 1882 | | if (other.MaxWidthUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1883 | | MaxWidthUnit = other.MaxWidthUnit; |
| | 1884 | | } |
| | 1885 | | if (other.MaxWidth != 0F) { |
| | 1886 | | MaxWidth = other.MaxWidth; |
| | 1887 | | } |
| | 1888 | | if (other.MaxHeightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1889 | | MaxHeightUnit = other.MaxHeightUnit; |
| | 1890 | | } |
| | 1891 | | if (other.MaxHeight != 0F) { |
| | 1892 | | MaxHeight = other.MaxHeight; |
| | 1893 | | } |
| | 1894 | | if (other.PositionLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1895 | | PositionLeftUnit = other.PositionLeftUnit; |
| | 1896 | | } |
| | 1897 | | if (other.PositionLeft != 0F) { |
| | 1898 | | PositionLeft = other.PositionLeft; |
| | 1899 | | } |
| | 1900 | | if (other.PositionTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1901 | | PositionTopUnit = other.PositionTopUnit; |
| | 1902 | | } |
| | 1903 | | if (other.PositionTop != 0F) { |
| | 1904 | | PositionTop = other.PositionTop; |
| | 1905 | | } |
| | 1906 | | if (other.PositionRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1907 | | PositionRightUnit = other.PositionRightUnit; |
| | 1908 | | } |
| | 1909 | | if (other.PositionRight != 0F) { |
| | 1910 | | PositionRight = other.PositionRight; |
| | 1911 | | } |
| | 1912 | | if (other.PositionBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1913 | | PositionBottomUnit = other.PositionBottomUnit; |
| | 1914 | | } |
| | 1915 | | if (other.PositionBottom != 0F) { |
| | 1916 | | PositionBottom = other.PositionBottom; |
| | 1917 | | } |
| | 1918 | | if (other.MarginLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1919 | | MarginLeftUnit = other.MarginLeftUnit; |
| | 1920 | | } |
| | 1921 | | if (other.MarginLeft != 0F) { |
| | 1922 | | MarginLeft = other.MarginLeft; |
| | 1923 | | } |
| | 1924 | | if (other.MarginTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1925 | | MarginTopUnit = other.MarginTopUnit; |
| | 1926 | | } |
| | 1927 | | if (other.MarginTop != 0F) { |
| | 1928 | | MarginTop = other.MarginTop; |
| | 1929 | | } |
| | 1930 | | if (other.MarginRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1931 | | MarginRightUnit = other.MarginRightUnit; |
| | 1932 | | } |
| | 1933 | | if (other.MarginRight != 0F) { |
| | 1934 | | MarginRight = other.MarginRight; |
| | 1935 | | } |
| | 1936 | | if (other.MarginBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1937 | | MarginBottomUnit = other.MarginBottomUnit; |
| | 1938 | | } |
| | 1939 | | if (other.MarginBottom != 0F) { |
| | 1940 | | MarginBottom = other.MarginBottom; |
| | 1941 | | } |
| | 1942 | | if (other.PaddingLeftUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1943 | | PaddingLeftUnit = other.PaddingLeftUnit; |
| | 1944 | | } |
| | 1945 | | if (other.PaddingLeft != 0F) { |
| | 1946 | | PaddingLeft = other.PaddingLeft; |
| | 1947 | | } |
| | 1948 | | if (other.PaddingTopUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1949 | | PaddingTopUnit = other.PaddingTopUnit; |
| | 1950 | | } |
| | 1951 | | if (other.PaddingTop != 0F) { |
| | 1952 | | PaddingTop = other.PaddingTop; |
| | 1953 | | } |
| | 1954 | | if (other.PaddingRightUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1955 | | PaddingRightUnit = other.PaddingRightUnit; |
| | 1956 | | } |
| | 1957 | | if (other.PaddingRight != 0F) { |
| | 1958 | | PaddingRight = other.PaddingRight; |
| | 1959 | | } |
| | 1960 | | if (other.PaddingBottomUnit != global::DCL.ECSComponents.YGUnit.YguUndefined) { |
| | 1961 | | PaddingBottomUnit = other.PaddingBottomUnit; |
| | 1962 | | } |
| | 1963 | | if (other.PaddingBottom != 0F) { |
| | 1964 | | PaddingBottom = other.PaddingBottom; |
| | 1965 | | } |
| | 1966 | | if (other.HasPointerFilter) { |
| | 1967 | | PointerFilter = other.PointerFilter; |
| | 1968 | | } |
| | 1969 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1970 | | } |
| | 1971 | |
|
| | 1972 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1973 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1974 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1975 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1976 | | input.ReadRawMessage(this); |
| | 1977 | | #else |
| | 1978 | | uint tag; |
| | 1979 | | while ((tag = input.ReadTag()) != 0) { |
| | 1980 | | switch(tag) { |
| | 1981 | | default: |
| | 1982 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1983 | | break; |
| | 1984 | | case 8: { |
| | 1985 | | Parent = input.ReadInt32(); |
| | 1986 | | break; |
| | 1987 | | } |
| | 1988 | | case 16: { |
| | 1989 | | RightOf = input.ReadInt32(); |
| | 1990 | | break; |
| | 1991 | | } |
| | 1992 | | case 24: { |
| | 1993 | | AlignContent = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 1994 | | break; |
| | 1995 | | } |
| | 1996 | | case 32: { |
| | 1997 | | AlignItems = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 1998 | | break; |
| | 1999 | | } |
| | 2000 | | case 40: { |
| | 2001 | | FlexWrap = (global::DCL.ECSComponents.YGWrap) input.ReadEnum(); |
| | 2002 | | break; |
| | 2003 | | } |
| | 2004 | | case 53: { |
| | 2005 | | FlexShrink = input.ReadFloat(); |
| | 2006 | | break; |
| | 2007 | | } |
| | 2008 | | case 56: { |
| | 2009 | | PositionType = (global::DCL.ECSComponents.YGPositionType) input.ReadEnum(); |
| | 2010 | | break; |
| | 2011 | | } |
| | 2012 | | case 64: { |
| | 2013 | | AlignSelf = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 2014 | | break; |
| | 2015 | | } |
| | 2016 | | case 72: { |
| | 2017 | | FlexDirection = (global::DCL.ECSComponents.YGFlexDirection) input.ReadEnum(); |
| | 2018 | | break; |
| | 2019 | | } |
| | 2020 | | case 80: { |
| | 2021 | | JustifyContent = (global::DCL.ECSComponents.YGJustify) input.ReadEnum(); |
| | 2022 | | break; |
| | 2023 | | } |
| | 2024 | | case 88: { |
| | 2025 | | Overflow = (global::DCL.ECSComponents.YGOverflow) input.ReadEnum(); |
| | 2026 | | break; |
| | 2027 | | } |
| | 2028 | | case 96: { |
| | 2029 | | Display = (global::DCL.ECSComponents.YGDisplay) input.ReadEnum(); |
| | 2030 | | break; |
| | 2031 | | } |
| | 2032 | | case 104: { |
| | 2033 | | FlexBasisUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2034 | | break; |
| | 2035 | | } |
| | 2036 | | case 117: { |
| | 2037 | | FlexBasis = input.ReadFloat(); |
| | 2038 | | break; |
| | 2039 | | } |
| | 2040 | | case 125: { |
| | 2041 | | FlexGrow = input.ReadFloat(); |
| | 2042 | | break; |
| | 2043 | | } |
| | 2044 | | case 128: { |
| | 2045 | | WidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2046 | | break; |
| | 2047 | | } |
| | 2048 | | case 141: { |
| | 2049 | | Width = input.ReadFloat(); |
| | 2050 | | break; |
| | 2051 | | } |
| | 2052 | | case 144: { |
| | 2053 | | HeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2054 | | break; |
| | 2055 | | } |
| | 2056 | | case 157: { |
| | 2057 | | Height = input.ReadFloat(); |
| | 2058 | | break; |
| | 2059 | | } |
| | 2060 | | case 160: { |
| | 2061 | | MinWidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2062 | | break; |
| | 2063 | | } |
| | 2064 | | case 173: { |
| | 2065 | | MinWidth = input.ReadFloat(); |
| | 2066 | | break; |
| | 2067 | | } |
| | 2068 | | case 176: { |
| | 2069 | | MinHeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2070 | | break; |
| | 2071 | | } |
| | 2072 | | case 189: { |
| | 2073 | | MinHeight = input.ReadFloat(); |
| | 2074 | | break; |
| | 2075 | | } |
| | 2076 | | case 192: { |
| | 2077 | | MaxWidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2078 | | break; |
| | 2079 | | } |
| | 2080 | | case 205: { |
| | 2081 | | MaxWidth = input.ReadFloat(); |
| | 2082 | | break; |
| | 2083 | | } |
| | 2084 | | case 208: { |
| | 2085 | | MaxHeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2086 | | break; |
| | 2087 | | } |
| | 2088 | | case 221: { |
| | 2089 | | MaxHeight = input.ReadFloat(); |
| | 2090 | | break; |
| | 2091 | | } |
| | 2092 | | case 224: { |
| | 2093 | | PositionLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2094 | | break; |
| | 2095 | | } |
| | 2096 | | case 237: { |
| | 2097 | | PositionLeft = input.ReadFloat(); |
| | 2098 | | break; |
| | 2099 | | } |
| | 2100 | | case 240: { |
| | 2101 | | PositionTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2102 | | break; |
| | 2103 | | } |
| | 2104 | | case 253: { |
| | 2105 | | PositionTop = input.ReadFloat(); |
| | 2106 | | break; |
| | 2107 | | } |
| | 2108 | | case 256: { |
| | 2109 | | PositionRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2110 | | break; |
| | 2111 | | } |
| | 2112 | | case 269: { |
| | 2113 | | PositionRight = input.ReadFloat(); |
| | 2114 | | break; |
| | 2115 | | } |
| | 2116 | | case 272: { |
| | 2117 | | PositionBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2118 | | break; |
| | 2119 | | } |
| | 2120 | | case 285: { |
| | 2121 | | PositionBottom = input.ReadFloat(); |
| | 2122 | | break; |
| | 2123 | | } |
| | 2124 | | case 288: { |
| | 2125 | | MarginLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2126 | | break; |
| | 2127 | | } |
| | 2128 | | case 301: { |
| | 2129 | | MarginLeft = input.ReadFloat(); |
| | 2130 | | break; |
| | 2131 | | } |
| | 2132 | | case 304: { |
| | 2133 | | MarginTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2134 | | break; |
| | 2135 | | } |
| | 2136 | | case 317: { |
| | 2137 | | MarginTop = input.ReadFloat(); |
| | 2138 | | break; |
| | 2139 | | } |
| | 2140 | | case 320: { |
| | 2141 | | MarginRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2142 | | break; |
| | 2143 | | } |
| | 2144 | | case 333: { |
| | 2145 | | MarginRight = input.ReadFloat(); |
| | 2146 | | break; |
| | 2147 | | } |
| | 2148 | | case 336: { |
| | 2149 | | MarginBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2150 | | break; |
| | 2151 | | } |
| | 2152 | | case 349: { |
| | 2153 | | MarginBottom = input.ReadFloat(); |
| | 2154 | | break; |
| | 2155 | | } |
| | 2156 | | case 352: { |
| | 2157 | | PaddingLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2158 | | break; |
| | 2159 | | } |
| | 2160 | | case 365: { |
| | 2161 | | PaddingLeft = input.ReadFloat(); |
| | 2162 | | break; |
| | 2163 | | } |
| | 2164 | | case 368: { |
| | 2165 | | PaddingTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2166 | | break; |
| | 2167 | | } |
| | 2168 | | case 381: { |
| | 2169 | | PaddingTop = input.ReadFloat(); |
| | 2170 | | break; |
| | 2171 | | } |
| | 2172 | | case 384: { |
| | 2173 | | PaddingRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2174 | | break; |
| | 2175 | | } |
| | 2176 | | case 397: { |
| | 2177 | | PaddingRight = input.ReadFloat(); |
| | 2178 | | break; |
| | 2179 | | } |
| | 2180 | | case 400: { |
| | 2181 | | PaddingBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2182 | | break; |
| | 2183 | | } |
| | 2184 | | case 413: { |
| | 2185 | | PaddingBottom = input.ReadFloat(); |
| | 2186 | | break; |
| | 2187 | | } |
| | 2188 | | case 416: { |
| | 2189 | | PointerFilter = (global::DCL.ECSComponents.PointerFilterMode) input.ReadEnum(); |
| | 2190 | | break; |
| | 2191 | | } |
| | 2192 | | } |
| | 2193 | | } |
| | 2194 | | #endif |
| | 2195 | | } |
| | 2196 | |
|
| | 2197 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2200 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2201 | | uint tag; |
| | 2202 | | while ((tag = input.ReadTag()) != 0) { |
| | 2203 | | switch(tag) { |
| | 2204 | | default: |
| | 2205 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2206 | | break; |
| | 2207 | | case 8: { |
| | 2208 | | Parent = input.ReadInt32(); |
| | 2209 | | break; |
| | 2210 | | } |
| | 2211 | | case 16: { |
| | 2212 | | RightOf = input.ReadInt32(); |
| | 2213 | | break; |
| | 2214 | | } |
| | 2215 | | case 24: { |
| | 2216 | | AlignContent = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 2217 | | break; |
| | 2218 | | } |
| | 2219 | | case 32: { |
| | 2220 | | AlignItems = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 2221 | | break; |
| | 2222 | | } |
| | 2223 | | case 40: { |
| | 2224 | | FlexWrap = (global::DCL.ECSComponents.YGWrap) input.ReadEnum(); |
| | 2225 | | break; |
| | 2226 | | } |
| | 2227 | | case 53: { |
| | 2228 | | FlexShrink = input.ReadFloat(); |
| | 2229 | | break; |
| | 2230 | | } |
| | 2231 | | case 56: { |
| | 2232 | | PositionType = (global::DCL.ECSComponents.YGPositionType) input.ReadEnum(); |
| | 2233 | | break; |
| | 2234 | | } |
| | 2235 | | case 64: { |
| | 2236 | | AlignSelf = (global::DCL.ECSComponents.YGAlign) input.ReadEnum(); |
| | 2237 | | break; |
| | 2238 | | } |
| | 2239 | | case 72: { |
| | 2240 | | FlexDirection = (global::DCL.ECSComponents.YGFlexDirection) input.ReadEnum(); |
| | 2241 | | break; |
| | 2242 | | } |
| | 2243 | | case 80: { |
| | 2244 | | JustifyContent = (global::DCL.ECSComponents.YGJustify) input.ReadEnum(); |
| | 2245 | | break; |
| | 2246 | | } |
| | 2247 | | case 88: { |
| | 2248 | | Overflow = (global::DCL.ECSComponents.YGOverflow) input.ReadEnum(); |
| | 2249 | | break; |
| | 2250 | | } |
| | 2251 | | case 96: { |
| | 2252 | | Display = (global::DCL.ECSComponents.YGDisplay) input.ReadEnum(); |
| | 2253 | | break; |
| | 2254 | | } |
| | 2255 | | case 104: { |
| | 2256 | | FlexBasisUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2257 | | break; |
| | 2258 | | } |
| | 2259 | | case 117: { |
| | 2260 | | FlexBasis = input.ReadFloat(); |
| | 2261 | | break; |
| | 2262 | | } |
| | 2263 | | case 125: { |
| | 2264 | | FlexGrow = input.ReadFloat(); |
| | 2265 | | break; |
| | 2266 | | } |
| | 2267 | | case 128: { |
| | 2268 | | WidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2269 | | break; |
| | 2270 | | } |
| | 2271 | | case 141: { |
| | 2272 | | Width = input.ReadFloat(); |
| | 2273 | | break; |
| | 2274 | | } |
| | 2275 | | case 144: { |
| | 2276 | | HeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2277 | | break; |
| | 2278 | | } |
| | 2279 | | case 157: { |
| | 2280 | | Height = input.ReadFloat(); |
| | 2281 | | break; |
| | 2282 | | } |
| | 2283 | | case 160: { |
| | 2284 | | MinWidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2285 | | break; |
| | 2286 | | } |
| | 2287 | | case 173: { |
| | 2288 | | MinWidth = input.ReadFloat(); |
| | 2289 | | break; |
| | 2290 | | } |
| | 2291 | | case 176: { |
| | 2292 | | MinHeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2293 | | break; |
| | 2294 | | } |
| | 2295 | | case 189: { |
| | 2296 | | MinHeight = input.ReadFloat(); |
| | 2297 | | break; |
| | 2298 | | } |
| | 2299 | | case 192: { |
| | 2300 | | MaxWidthUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2301 | | break; |
| | 2302 | | } |
| | 2303 | | case 205: { |
| | 2304 | | MaxWidth = input.ReadFloat(); |
| | 2305 | | break; |
| | 2306 | | } |
| | 2307 | | case 208: { |
| | 2308 | | MaxHeightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2309 | | break; |
| | 2310 | | } |
| | 2311 | | case 221: { |
| | 2312 | | MaxHeight = input.ReadFloat(); |
| | 2313 | | break; |
| | 2314 | | } |
| | 2315 | | case 224: { |
| | 2316 | | PositionLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2317 | | break; |
| | 2318 | | } |
| | 2319 | | case 237: { |
| | 2320 | | PositionLeft = input.ReadFloat(); |
| | 2321 | | break; |
| | 2322 | | } |
| | 2323 | | case 240: { |
| | 2324 | | PositionTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2325 | | break; |
| | 2326 | | } |
| | 2327 | | case 253: { |
| | 2328 | | PositionTop = input.ReadFloat(); |
| | 2329 | | break; |
| | 2330 | | } |
| | 2331 | | case 256: { |
| | 2332 | | PositionRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2333 | | break; |
| | 2334 | | } |
| | 2335 | | case 269: { |
| | 2336 | | PositionRight = input.ReadFloat(); |
| | 2337 | | break; |
| | 2338 | | } |
| | 2339 | | case 272: { |
| | 2340 | | PositionBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2341 | | break; |
| | 2342 | | } |
| | 2343 | | case 285: { |
| | 2344 | | PositionBottom = input.ReadFloat(); |
| | 2345 | | break; |
| | 2346 | | } |
| | 2347 | | case 288: { |
| | 2348 | | MarginLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2349 | | break; |
| | 2350 | | } |
| | 2351 | | case 301: { |
| | 2352 | | MarginLeft = input.ReadFloat(); |
| | 2353 | | break; |
| | 2354 | | } |
| | 2355 | | case 304: { |
| | 2356 | | MarginTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2357 | | break; |
| | 2358 | | } |
| | 2359 | | case 317: { |
| | 2360 | | MarginTop = input.ReadFloat(); |
| | 2361 | | break; |
| | 2362 | | } |
| | 2363 | | case 320: { |
| | 2364 | | MarginRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2365 | | break; |
| | 2366 | | } |
| | 2367 | | case 333: { |
| | 2368 | | MarginRight = input.ReadFloat(); |
| | 2369 | | break; |
| | 2370 | | } |
| | 2371 | | case 336: { |
| | 2372 | | MarginBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2373 | | break; |
| | 2374 | | } |
| | 2375 | | case 349: { |
| | 2376 | | MarginBottom = input.ReadFloat(); |
| | 2377 | | break; |
| | 2378 | | } |
| | 2379 | | case 352: { |
| | 2380 | | PaddingLeftUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2381 | | break; |
| | 2382 | | } |
| | 2383 | | case 365: { |
| | 2384 | | PaddingLeft = input.ReadFloat(); |
| | 2385 | | break; |
| | 2386 | | } |
| | 2387 | | case 368: { |
| | 2388 | | PaddingTopUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2389 | | break; |
| | 2390 | | } |
| | 2391 | | case 381: { |
| | 2392 | | PaddingTop = input.ReadFloat(); |
| | 2393 | | break; |
| | 2394 | | } |
| | 2395 | | case 384: { |
| | 2396 | | PaddingRightUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2397 | | break; |
| | 2398 | | } |
| | 2399 | | case 397: { |
| | 2400 | | PaddingRight = input.ReadFloat(); |
| | 2401 | | break; |
| | 2402 | | } |
| | 2403 | | case 400: { |
| | 2404 | | PaddingBottomUnit = (global::DCL.ECSComponents.YGUnit) input.ReadEnum(); |
| | 2405 | | break; |
| | 2406 | | } |
| | 2407 | | case 413: { |
| | 2408 | | PaddingBottom = input.ReadFloat(); |
| | 2409 | | break; |
| | 2410 | | } |
| | 2411 | | case 416: { |
| | 2412 | | PointerFilter = (global::DCL.ECSComponents.PointerFilterMode) input.ReadEnum(); |
| | 2413 | | break; |
| | 2414 | | } |
| | 2415 | | } |
| | 2416 | | } |
| | 2417 | | } |
| | 2418 | | #endif |
| | 2419 | |
|
| | 2420 | | } |
| | 2421 | |
|
| | 2422 | | #endregion |
| | 2423 | |
|
| | 2424 | | } |
| | 2425 | |
|
| | 2426 | | #endregion Designer generated code |