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