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