| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/sdk/components/text_shape.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from decentraland/sdk/components/text_shape.proto</summary> |
| | 15 | | public static partial class TextShapeReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/sdk/components/text_shape.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static TextShapeReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CixkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvdGV4dF9zaGFwZS5wcm90", |
| | 28 | | "bxIbZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzGiBkZWNlbnRyYWxhbmQv", |
| | 29 | | "Y29tbW9uL2NvbG9ycy5wcm90bxouZGVjZW50cmFsYW5kL3Nkay9jb21wb25l", |
| | 30 | | "bnRzL2NvbW1vbi90ZXh0cy5wcm90byKbCAoLUEJUZXh0U2hhcGUSDAoEdGV4", |
| | 31 | | "dBgBIAEoCRI7CgRmb250GAIgASgOMiguZGVjZW50cmFsYW5kLnNkay5jb21w", |
| | 32 | | "b25lbnRzLmNvbW1vbi5Gb250SACIAQESFgoJZm9udF9zaXplGAMgASgCSAGI", |
| | 33 | | "AQESGwoOZm9udF9hdXRvX3NpemUYBCABKAhIAogBARJKCgp0ZXh0X2FsaWdu", |
| | 34 | | "GAUgASgOMjEuZGVjZW50cmFsYW5kLnNkay5jb21wb25lbnRzLmNvbW1vbi5U", |
| | 35 | | "ZXh0QWxpZ25Nb2RlSAOIAQESEgoFd2lkdGgYBiABKAJIBIgBARITCgZoZWln", |
| | 36 | | "aHQYByABKAJIBYgBARIYCgtwYWRkaW5nX3RvcBgIIAEoAkgGiAEBEhoKDXBh", |
| | 37 | | "ZGRpbmdfcmlnaHQYCSABKAJIB4gBARIbCg5wYWRkaW5nX2JvdHRvbRgKIAEo", |
| | 38 | | "AkgIiAEBEhkKDHBhZGRpbmdfbGVmdBgLIAEoAkgJiAEBEhkKDGxpbmVfc3Bh", |
| | 39 | | "Y2luZxgMIAEoAkgKiAEBEhcKCmxpbmVfY291bnQYDSABKAVIC4gBARIaCg10", |
| | 40 | | "ZXh0X3dyYXBwaW5nGA4gASgISAyIAQESGAoLc2hhZG93X2JsdXIYDyABKAJI", |
| | 41 | | "DYgBARIcCg9zaGFkb3dfb2Zmc2V0X3gYECABKAJIDogBARIcCg9zaGFkb3df", |
| | 42 | | "b2Zmc2V0X3kYESABKAJID4gBARIaCg1vdXRsaW5lX3dpZHRoGBIgASgCSBCI", |
| | 43 | | "AQESNgoMc2hhZG93X2NvbG9yGBMgASgLMhsuZGVjZW50cmFsYW5kLmNvbW1v", |
| | 44 | | "bi5Db2xvcjNIEYgBARI3Cg1vdXRsaW5lX2NvbG9yGBQgASgLMhsuZGVjZW50", |
| | 45 | | "cmFsYW5kLmNvbW1vbi5Db2xvcjNIEogBARI0Cgp0ZXh0X2NvbG9yGBUgASgL", |
| | 46 | | "MhsuZGVjZW50cmFsYW5kLmNvbW1vbi5Db2xvcjRIE4gBAUIHCgVfZm9udEIM", |
| | 47 | | "CgpfZm9udF9zaXplQhEKD19mb250X2F1dG9fc2l6ZUINCgtfdGV4dF9hbGln", |
| | 48 | | "bkIICgZfd2lkdGhCCQoHX2hlaWdodEIOCgxfcGFkZGluZ190b3BCEAoOX3Bh", |
| | 49 | | "ZGRpbmdfcmlnaHRCEQoPX3BhZGRpbmdfYm90dG9tQg8KDV9wYWRkaW5nX2xl", |
| | 50 | | "ZnRCDwoNX2xpbmVfc3BhY2luZ0INCgtfbGluZV9jb3VudEIQCg5fdGV4dF93", |
| | 51 | | "cmFwcGluZ0IOCgxfc2hhZG93X2JsdXJCEgoQX3NoYWRvd19vZmZzZXRfeEIS", |
| | 52 | | "ChBfc2hhZG93X29mZnNldF95QhAKDl9vdXRsaW5lX3dpZHRoQg8KDV9zaGFk", |
| | 53 | | "b3dfY29sb3JCEAoOX291dGxpbmVfY29sb3JCDQoLX3RleHRfY29sb3JCFKoC", |
| | 54 | | "EURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| | 55 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 56 | | new pbr::FileDescriptor[] { global::DCL.ECSComponents.ColorsReflection.Descriptor, global::DCL.ECSComponents.T |
| | 57 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 58 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBTextShape), global::DCL.ECSComponents.PBTex |
| | 59 | | })); |
| | 60 | | } |
| | 61 | | #endregion |
| | 62 | |
|
| | 63 | | } |
| | 64 | | #region Messages |
| | 65 | | public sealed partial class PBTextShape : pb::IMessage<PBTextShape> |
| | 66 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 67 | | , pb::IBufferMessage |
| | 68 | | #endif |
| | 69 | | { |
| 1 | 70 | | private static readonly pb::MessageParser<PBTextShape> _parser = new pb::MessageParser<PBTextShape>(() => new PBText |
| | 71 | | private pb::UnknownFieldSet _unknownFields; |
| | 72 | | private int _hasBits0; |
| | 73 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 74 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 75 | | public static pb::MessageParser<PBTextShape> Parser { get { return _parser; } } |
| | 76 | |
|
| | 77 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 78 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 79 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 80 | | get { return global::DCL.ECSComponents.TextShapeReflection.Descriptor.MessageTypes[0]; } |
| | 81 | | } |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 85 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 86 | | get { return Descriptor; } |
| | 87 | | } |
| | 88 | |
|
| | 89 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 90 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 91 | | public PBTextShape() { |
| | 92 | | OnConstruction(); |
| 1 | 93 | | } |
| | 94 | |
|
| | 95 | | partial void OnConstruction(); |
| | 96 | |
|
| | 97 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 98 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 99 | | public PBTextShape(PBTextShape other) : this() { |
| 0 | 100 | | _hasBits0 = other._hasBits0; |
| 0 | 101 | | text_ = other.text_; |
| 0 | 102 | | font_ = other.font_; |
| 0 | 103 | | fontSize_ = other.fontSize_; |
| 0 | 104 | | fontAutoSize_ = other.fontAutoSize_; |
| 0 | 105 | | textAlign_ = other.textAlign_; |
| 0 | 106 | | width_ = other.width_; |
| 0 | 107 | | height_ = other.height_; |
| 0 | 108 | | paddingTop_ = other.paddingTop_; |
| 0 | 109 | | paddingRight_ = other.paddingRight_; |
| 0 | 110 | | paddingBottom_ = other.paddingBottom_; |
| 0 | 111 | | paddingLeft_ = other.paddingLeft_; |
| 0 | 112 | | lineSpacing_ = other.lineSpacing_; |
| 0 | 113 | | lineCount_ = other.lineCount_; |
| 0 | 114 | | textWrapping_ = other.textWrapping_; |
| 0 | 115 | | shadowBlur_ = other.shadowBlur_; |
| 0 | 116 | | shadowOffsetX_ = other.shadowOffsetX_; |
| 0 | 117 | | shadowOffsetY_ = other.shadowOffsetY_; |
| 0 | 118 | | outlineWidth_ = other.outlineWidth_; |
| 0 | 119 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| 0 | 120 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| 0 | 121 | | textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null; |
| 0 | 122 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 123 | | } |
| | 124 | |
|
| | 125 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 126 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 127 | | public PBTextShape Clone() { |
| 0 | 128 | | return new PBTextShape(this); |
| | 129 | | } |
| | 130 | |
|
| | 131 | | /// <summary>Field number for the "text" field.</summary> |
| | 132 | | public const int TextFieldNumber = 1; |
| 1 | 133 | | private string text_ = ""; |
| | 134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 136 | | public string Text { |
| 0 | 137 | | get { return text_; } |
| | 138 | | set { |
| 0 | 139 | | text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 140 | | } |
| | 141 | | } |
| | 142 | |
|
| | 143 | | /// <summary>Field number for the "font" field.</summary> |
| | 144 | | public const int FontFieldNumber = 2; |
| | 145 | | private global::DCL.ECSComponents.Font font_; |
| | 146 | | /// <summary> |
| | 147 | | /// default=F_SANS_SERIF |
| | 148 | | /// </summary> |
| | 149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 151 | | public global::DCL.ECSComponents.Font Font { |
| 0 | 152 | | get { if ((_hasBits0 & 1) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.FLiberationSans; } |
| | 153 | | set { |
| 2 | 154 | | _hasBits0 |= 1; |
| 2 | 155 | | font_ = value; |
| 2 | 156 | | } |
| | 157 | | } |
| | 158 | | /// <summary>Gets whether the "font" field is set</summary> |
| | 159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 161 | | public bool HasFont { |
| 0 | 162 | | get { return (_hasBits0 & 1) != 0; } |
| | 163 | | } |
| | 164 | | /// <summary>Clears the value of the "font" field</summary> |
| | 165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 167 | | public void ClearFont() { |
| 0 | 168 | | _hasBits0 &= ~1; |
| 0 | 169 | | } |
| | 170 | |
|
| | 171 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 172 | | public const int FontSizeFieldNumber = 3; |
| | 173 | | private float fontSize_; |
| | 174 | | /// <summary> |
| | 175 | | /// default=10 |
| | 176 | | /// </summary> |
| | 177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 179 | | public float FontSize { |
| 2 | 180 | | get { if ((_hasBits0 & 2) != 0) { return fontSize_; } else { return 0F; } } |
| | 181 | | set { |
| 1 | 182 | | _hasBits0 |= 2; |
| 1 | 183 | | fontSize_ = value; |
| 1 | 184 | | } |
| | 185 | | } |
| | 186 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 189 | | public bool HasFontSize { |
| 0 | 190 | | get { return (_hasBits0 & 2) != 0; } |
| | 191 | | } |
| | 192 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 195 | | public void ClearFontSize() { |
| 0 | 196 | | _hasBits0 &= ~2; |
| 0 | 197 | | } |
| | 198 | |
|
| | 199 | | /// <summary>Field number for the "font_auto_size" field.</summary> |
| | 200 | | public const int FontAutoSizeFieldNumber = 4; |
| | 201 | | private bool fontAutoSize_; |
| | 202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 204 | | public bool FontAutoSize { |
| 0 | 205 | | get { if ((_hasBits0 & 4) != 0) { return fontAutoSize_; } else { return false; } } |
| | 206 | | set { |
| 2 | 207 | | _hasBits0 |= 4; |
| 2 | 208 | | fontAutoSize_ = value; |
| 2 | 209 | | } |
| | 210 | | } |
| | 211 | | /// <summary>Gets whether the "font_auto_size" field is set</summary> |
| | 212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 214 | | public bool HasFontAutoSize { |
| 0 | 215 | | get { return (_hasBits0 & 4) != 0; } |
| | 216 | | } |
| | 217 | | /// <summary>Clears the value of the "font_auto_size" field</summary> |
| | 218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 220 | | public void ClearFontAutoSize() { |
| 0 | 221 | | _hasBits0 &= ~4; |
| 0 | 222 | | } |
| | 223 | |
|
| | 224 | | /// <summary>Field number for the "text_align" field.</summary> |
| | 225 | | public const int TextAlignFieldNumber = 5; |
| | 226 | | private global::DCL.ECSComponents.TextAlignMode textAlign_; |
| | 227 | | /// <summary> |
| | 228 | | /// default=TAM_CENTER_CENTER |
| | 229 | | /// </summary> |
| | 230 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 231 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 232 | | public global::DCL.ECSComponents.TextAlignMode TextAlign { |
| 0 | 233 | | get { if ((_hasBits0 & 8) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlignMode.TamTo |
| | 234 | | set { |
| 4 | 235 | | _hasBits0 |= 8; |
| 4 | 236 | | textAlign_ = value; |
| 4 | 237 | | } |
| | 238 | | } |
| | 239 | | /// <summary>Gets whether the "text_align" field is set</summary> |
| | 240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 242 | | public bool HasTextAlign { |
| 0 | 243 | | get { return (_hasBits0 & 8) != 0; } |
| | 244 | | } |
| | 245 | | /// <summary>Clears the value of the "text_align" field</summary> |
| | 246 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 247 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 248 | | public void ClearTextAlign() { |
| 0 | 249 | | _hasBits0 &= ~8; |
| 0 | 250 | | } |
| | 251 | |
|
| | 252 | | /// <summary>Field number for the "width" field.</summary> |
| | 253 | | public const int WidthFieldNumber = 6; |
| | 254 | | private float width_; |
| | 255 | | /// <summary> |
| | 256 | | /// default=1 |
| | 257 | | /// </summary> |
| | 258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 260 | | public float Width { |
| 8 | 261 | | get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } } |
| | 262 | | set { |
| 4 | 263 | | _hasBits0 |= 16; |
| 4 | 264 | | width_ = value; |
| 4 | 265 | | } |
| | 266 | | } |
| | 267 | | /// <summary>Gets whether the "width" field is set</summary> |
| | 268 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 269 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 270 | | public bool HasWidth { |
| 0 | 271 | | get { return (_hasBits0 & 16) != 0; } |
| | 272 | | } |
| | 273 | | /// <summary>Clears the value of the "width" field</summary> |
| | 274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 276 | | public void ClearWidth() { |
| 0 | 277 | | _hasBits0 &= ~16; |
| 0 | 278 | | } |
| | 279 | |
|
| | 280 | | /// <summary>Field number for the "height" field.</summary> |
| | 281 | | public const int HeightFieldNumber = 7; |
| | 282 | | private float height_; |
| | 283 | | /// <summary> |
| | 284 | | /// default=1 |
| | 285 | | /// </summary> |
| | 286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 288 | | public float Height { |
| 8 | 289 | | get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } } |
| | 290 | | set { |
| 4 | 291 | | _hasBits0 |= 32; |
| 4 | 292 | | height_ = value; |
| 4 | 293 | | } |
| | 294 | | } |
| | 295 | | /// <summary>Gets whether the "height" field is set</summary> |
| | 296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 298 | | public bool HasHeight { |
| 0 | 299 | | get { return (_hasBits0 & 32) != 0; } |
| | 300 | | } |
| | 301 | | /// <summary>Clears the value of the "height" field</summary> |
| | 302 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 303 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 304 | | public void ClearHeight() { |
| 0 | 305 | | _hasBits0 &= ~32; |
| 0 | 306 | | } |
| | 307 | |
|
| | 308 | | /// <summary>Field number for the "padding_top" field.</summary> |
| | 309 | | public const int PaddingTopFieldNumber = 8; |
| | 310 | | private float paddingTop_; |
| | 311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 313 | | public float PaddingTop { |
| 4 | 314 | | get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } } |
| | 315 | | set { |
| 1 | 316 | | _hasBits0 |= 64; |
| 1 | 317 | | paddingTop_ = value; |
| 1 | 318 | | } |
| | 319 | | } |
| | 320 | | /// <summary>Gets whether the "padding_top" field is set</summary> |
| | 321 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 322 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 323 | | public bool HasPaddingTop { |
| 0 | 324 | | get { return (_hasBits0 & 64) != 0; } |
| | 325 | | } |
| | 326 | | /// <summary>Clears the value of the "padding_top" field</summary> |
| | 327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 329 | | public void ClearPaddingTop() { |
| 0 | 330 | | _hasBits0 &= ~64; |
| 0 | 331 | | } |
| | 332 | |
|
| | 333 | | /// <summary>Field number for the "padding_right" field.</summary> |
| | 334 | | public const int PaddingRightFieldNumber = 9; |
| | 335 | | private float paddingRight_; |
| | 336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 338 | | public float PaddingRight { |
| 4 | 339 | | get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } } |
| | 340 | | set { |
| 1 | 341 | | _hasBits0 |= 128; |
| 1 | 342 | | paddingRight_ = value; |
| 1 | 343 | | } |
| | 344 | | } |
| | 345 | | /// <summary>Gets whether the "padding_right" field is set</summary> |
| | 346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 348 | | public bool HasPaddingRight { |
| 0 | 349 | | get { return (_hasBits0 & 128) != 0; } |
| | 350 | | } |
| | 351 | | /// <summary>Clears the value of the "padding_right" field</summary> |
| | 352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 354 | | public void ClearPaddingRight() { |
| 0 | 355 | | _hasBits0 &= ~128; |
| 0 | 356 | | } |
| | 357 | |
|
| | 358 | | /// <summary>Field number for the "padding_bottom" field.</summary> |
| | 359 | | public const int PaddingBottomFieldNumber = 10; |
| | 360 | | private float paddingBottom_; |
| | 361 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 362 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 363 | | public float PaddingBottom { |
| 4 | 364 | | get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 365 | | set { |
| 1 | 366 | | _hasBits0 |= 256; |
| 1 | 367 | | paddingBottom_ = value; |
| 1 | 368 | | } |
| | 369 | | } |
| | 370 | | /// <summary>Gets whether the "padding_bottom" field is set</summary> |
| | 371 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 372 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 373 | | public bool HasPaddingBottom { |
| 0 | 374 | | get { return (_hasBits0 & 256) != 0; } |
| | 375 | | } |
| | 376 | | /// <summary>Clears the value of the "padding_bottom" field</summary> |
| | 377 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 378 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 379 | | public void ClearPaddingBottom() { |
| 0 | 380 | | _hasBits0 &= ~256; |
| 0 | 381 | | } |
| | 382 | |
|
| | 383 | | /// <summary>Field number for the "padding_left" field.</summary> |
| | 384 | | public const int PaddingLeftFieldNumber = 11; |
| | 385 | | private float paddingLeft_; |
| | 386 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 387 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 388 | | public float PaddingLeft { |
| 4 | 389 | | get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 390 | | set { |
| 1 | 391 | | _hasBits0 |= 512; |
| 1 | 392 | | paddingLeft_ = value; |
| 1 | 393 | | } |
| | 394 | | } |
| | 395 | | /// <summary>Gets whether the "padding_left" field is set</summary> |
| | 396 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 397 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 398 | | public bool HasPaddingLeft { |
| 0 | 399 | | get { return (_hasBits0 & 512) != 0; } |
| | 400 | | } |
| | 401 | | /// <summary>Clears the value of the "padding_left" field</summary> |
| | 402 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 403 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 404 | | public void ClearPaddingLeft() { |
| 0 | 405 | | _hasBits0 &= ~512; |
| 0 | 406 | | } |
| | 407 | |
|
| | 408 | | /// <summary>Field number for the "line_spacing" field.</summary> |
| | 409 | | public const int LineSpacingFieldNumber = 12; |
| | 410 | | private float lineSpacing_; |
| | 411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 413 | | public float LineSpacing { |
| 2 | 414 | | get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } } |
| | 415 | | set { |
| 1 | 416 | | _hasBits0 |= 1024; |
| 1 | 417 | | lineSpacing_ = value; |
| 1 | 418 | | } |
| | 419 | | } |
| | 420 | | /// <summary>Gets whether the "line_spacing" field is set</summary> |
| | 421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 423 | | public bool HasLineSpacing { |
| 0 | 424 | | get { return (_hasBits0 & 1024) != 0; } |
| | 425 | | } |
| | 426 | | /// <summary>Clears the value of the "line_spacing" field</summary> |
| | 427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 429 | | public void ClearLineSpacing() { |
| 0 | 430 | | _hasBits0 &= ~1024; |
| 0 | 431 | | } |
| | 432 | |
|
| | 433 | | /// <summary>Field number for the "line_count" field.</summary> |
| | 434 | | public const int LineCountFieldNumber = 13; |
| | 435 | | private int lineCount_; |
| | 436 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 437 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 438 | | public int LineCount { |
| 4 | 439 | | get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } } |
| | 440 | | set { |
| 1 | 441 | | _hasBits0 |= 2048; |
| 1 | 442 | | lineCount_ = value; |
| 1 | 443 | | } |
| | 444 | | } |
| | 445 | | /// <summary>Gets whether the "line_count" field is set</summary> |
| | 446 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 447 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 448 | | public bool HasLineCount { |
| 0 | 449 | | get { return (_hasBits0 & 2048) != 0; } |
| | 450 | | } |
| | 451 | | /// <summary>Clears the value of the "line_count" field</summary> |
| | 452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 454 | | public void ClearLineCount() { |
| 0 | 455 | | _hasBits0 &= ~2048; |
| 0 | 456 | | } |
| | 457 | |
|
| | 458 | | /// <summary>Field number for the "text_wrapping" field.</summary> |
| | 459 | | public const int TextWrappingFieldNumber = 14; |
| | 460 | | private bool textWrapping_; |
| | 461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 463 | | public bool TextWrapping { |
| 20 | 464 | | get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } } |
| | 465 | | set { |
| 5 | 466 | | _hasBits0 |= 4096; |
| 5 | 467 | | textWrapping_ = value; |
| 5 | 468 | | } |
| | 469 | | } |
| | 470 | | /// <summary>Gets whether the "text_wrapping" field is set</summary> |
| | 471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 473 | | public bool HasTextWrapping { |
| 0 | 474 | | get { return (_hasBits0 & 4096) != 0; } |
| | 475 | | } |
| | 476 | | /// <summary>Clears the value of the "text_wrapping" field</summary> |
| | 477 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 478 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 479 | | public void ClearTextWrapping() { |
| 0 | 480 | | _hasBits0 &= ~4096; |
| 0 | 481 | | } |
| | 482 | |
|
| | 483 | | /// <summary>Field number for the "shadow_blur" field.</summary> |
| | 484 | | public const int ShadowBlurFieldNumber = 15; |
| | 485 | | private float shadowBlur_; |
| | 486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 488 | | public float ShadowBlur { |
| 0 | 489 | | get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 490 | | set { |
| 0 | 491 | | _hasBits0 |= 8192; |
| 0 | 492 | | shadowBlur_ = value; |
| 0 | 493 | | } |
| | 494 | | } |
| | 495 | | /// <summary>Gets whether the "shadow_blur" field is set</summary> |
| | 496 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 497 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 498 | | public bool HasShadowBlur { |
| 0 | 499 | | get { return (_hasBits0 & 8192) != 0; } |
| | 500 | | } |
| | 501 | | /// <summary>Clears the value of the "shadow_blur" field</summary> |
| | 502 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 503 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 504 | | public void ClearShadowBlur() { |
| 0 | 505 | | _hasBits0 &= ~8192; |
| 0 | 506 | | } |
| | 507 | |
|
| | 508 | | /// <summary>Field number for the "shadow_offset_x" field.</summary> |
| | 509 | | public const int ShadowOffsetXFieldNumber = 16; |
| | 510 | | private float shadowOffsetX_; |
| | 511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 513 | | public float ShadowOffsetX { |
| 0 | 514 | | get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 515 | | set { |
| 0 | 516 | | _hasBits0 |= 16384; |
| 0 | 517 | | shadowOffsetX_ = value; |
| 0 | 518 | | } |
| | 519 | | } |
| | 520 | | /// <summary>Gets whether the "shadow_offset_x" field is set</summary> |
| | 521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 523 | | public bool HasShadowOffsetX { |
| 0 | 524 | | get { return (_hasBits0 & 16384) != 0; } |
| | 525 | | } |
| | 526 | | /// <summary>Clears the value of the "shadow_offset_x" field</summary> |
| | 527 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 528 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 529 | | public void ClearShadowOffsetX() { |
| 0 | 530 | | _hasBits0 &= ~16384; |
| 0 | 531 | | } |
| | 532 | |
|
| | 533 | | /// <summary>Field number for the "shadow_offset_y" field.</summary> |
| | 534 | | public const int ShadowOffsetYFieldNumber = 17; |
| | 535 | | private float shadowOffsetY_; |
| | 536 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 537 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 538 | | public float ShadowOffsetY { |
| 0 | 539 | | get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 540 | | set { |
| 0 | 541 | | _hasBits0 |= 32768; |
| 0 | 542 | | shadowOffsetY_ = value; |
| 0 | 543 | | } |
| | 544 | | } |
| | 545 | | /// <summary>Gets whether the "shadow_offset_y" field is set</summary> |
| | 546 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 547 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 548 | | public bool HasShadowOffsetY { |
| 0 | 549 | | get { return (_hasBits0 & 32768) != 0; } |
| | 550 | | } |
| | 551 | | /// <summary>Clears the value of the "shadow_offset_y" field</summary> |
| | 552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 554 | | public void ClearShadowOffsetY() { |
| 0 | 555 | | _hasBits0 &= ~32768; |
| 0 | 556 | | } |
| | 557 | |
|
| | 558 | | /// <summary>Field number for the "outline_width" field.</summary> |
| | 559 | | public const int OutlineWidthFieldNumber = 18; |
| | 560 | | private float outlineWidth_; |
| | 561 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 562 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 563 | | public float OutlineWidth { |
| 4 | 564 | | get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } } |
| | 565 | | set { |
| 1 | 566 | | _hasBits0 |= 65536; |
| 1 | 567 | | outlineWidth_ = value; |
| 1 | 568 | | } |
| | 569 | | } |
| | 570 | | /// <summary>Gets whether the "outline_width" field is set</summary> |
| | 571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 573 | | public bool HasOutlineWidth { |
| 0 | 574 | | get { return (_hasBits0 & 65536) != 0; } |
| | 575 | | } |
| | 576 | | /// <summary>Clears the value of the "outline_width" field</summary> |
| | 577 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 578 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 579 | | public void ClearOutlineWidth() { |
| 0 | 580 | | _hasBits0 &= ~65536; |
| 0 | 581 | | } |
| | 582 | |
|
| | 583 | | /// <summary>Field number for the "shadow_color" field.</summary> |
| | 584 | | public const int ShadowColorFieldNumber = 19; |
| | 585 | | private global::DCL.ECSComponents.Color3 shadowColor_; |
| | 586 | | /// <summary> |
| | 587 | | /// default=(1.0,1.0,1.0) |
| | 588 | | /// </summary> |
| | 589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 591 | | public global::DCL.ECSComponents.Color3 ShadowColor { |
| 0 | 592 | | get { return shadowColor_; } |
| | 593 | | set { |
| 0 | 594 | | shadowColor_ = value; |
| 0 | 595 | | } |
| | 596 | | } |
| | 597 | |
|
| | 598 | | /// <summary>Field number for the "outline_color" field.</summary> |
| | 599 | | public const int OutlineColorFieldNumber = 20; |
| | 600 | | private global::DCL.ECSComponents.Color3 outlineColor_; |
| | 601 | | /// <summary> |
| | 602 | | /// default=(1.0,1.0,1.0) |
| | 603 | | /// </summary> |
| | 604 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 605 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 606 | | public global::DCL.ECSComponents.Color3 OutlineColor { |
| 0 | 607 | | get { return outlineColor_; } |
| | 608 | | set { |
| 0 | 609 | | outlineColor_ = value; |
| 0 | 610 | | } |
| | 611 | | } |
| | 612 | |
|
| | 613 | | /// <summary>Field number for the "text_color" field.</summary> |
| | 614 | | public const int TextColorFieldNumber = 21; |
| | 615 | | private global::DCL.ECSComponents.Color4 textColor_; |
| | 616 | | /// <summary> |
| | 617 | | /// default=(1.0,1.0,1.0) |
| | 618 | | /// </summary> |
| | 619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 621 | | public global::DCL.ECSComponents.Color4 TextColor { |
| 0 | 622 | | get { return textColor_; } |
| | 623 | | set { |
| 0 | 624 | | textColor_ = value; |
| 0 | 625 | | } |
| | 626 | | } |
| | 627 | |
|
| | 628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 630 | | public override bool Equals(object other) { |
| 0 | 631 | | return Equals(other as PBTextShape); |
| | 632 | | } |
| | 633 | |
|
| | 634 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 635 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 636 | | public bool Equals(PBTextShape other) { |
| 22 | 637 | | if (ReferenceEquals(other, null)) { |
| 20 | 638 | | return false; |
| | 639 | | } |
| 2 | 640 | | if (ReferenceEquals(other, this)) { |
| 0 | 641 | | return true; |
| | 642 | | } |
| 3 | 643 | | if (Text != other.Text) return false; |
| 2 | 644 | | if (Font != other.Font) return false; |
| 0 | 645 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| 0 | 646 | | if (FontAutoSize != other.FontAutoSize) return false; |
| 0 | 647 | | if (TextAlign != other.TextAlign) return false; |
| 0 | 648 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| 0 | 649 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| 0 | 650 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| 0 | 651 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| 0 | 652 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| 0 | 653 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| 0 | 654 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f |
| 0 | 655 | | if (LineCount != other.LineCount) return false; |
| 0 | 656 | | if (TextWrapping != other.TextWrapping) return false; |
| 0 | 657 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| 0 | 658 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| 0 | 659 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| 0 | 660 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| 0 | 661 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| 0 | 662 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| 0 | 663 | | if (!object.Equals(TextColor, other.TextColor)) return false; |
| 0 | 664 | | return Equals(_unknownFields, other._unknownFields); |
| | 665 | | } |
| | 666 | |
|
| | 667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 669 | | public override int GetHashCode() { |
| 0 | 670 | | int hash = 1; |
| 0 | 671 | | if (Text.Length != 0) hash ^= Text.GetHashCode(); |
| 0 | 672 | | if (HasFont) hash ^= Font.GetHashCode(); |
| 0 | 673 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| 0 | 674 | | if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode(); |
| 0 | 675 | | if (HasTextAlign) hash ^= TextAlign.GetHashCode(); |
| 0 | 676 | | if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| 0 | 677 | | if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| 0 | 678 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| 0 | 679 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| 0 | 680 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| 0 | 681 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| 0 | 682 | | if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing); |
| 0 | 683 | | if (HasLineCount) hash ^= LineCount.GetHashCode(); |
| 0 | 684 | | if (HasTextWrapping) hash ^= TextWrapping.GetHashCode(); |
| 0 | 685 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| 0 | 686 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| 0 | 687 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| 0 | 688 | | if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth |
| 0 | 689 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| 0 | 690 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| 0 | 691 | | if (textColor_ != null) hash ^= TextColor.GetHashCode(); |
| 0 | 692 | | if (_unknownFields != null) { |
| 0 | 693 | | hash ^= _unknownFields.GetHashCode(); |
| | 694 | | } |
| 0 | 695 | | return hash; |
| | 696 | | } |
| | 697 | |
|
| | 698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 700 | | public override string ToString() { |
| 0 | 701 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 702 | | } |
| | 703 | |
|
| | 704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 706 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 707 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 708 | | output.WriteRawMessage(this); |
| | 709 | | #else |
| 0 | 710 | | if (Text.Length != 0) { |
| 0 | 711 | | output.WriteRawTag(10); |
| 0 | 712 | | output.WriteString(Text); |
| | 713 | | } |
| 0 | 714 | | if (HasFont) { |
| 0 | 715 | | output.WriteRawTag(16); |
| 0 | 716 | | output.WriteEnum((int) Font); |
| | 717 | | } |
| 0 | 718 | | if (HasFontSize) { |
| 0 | 719 | | output.WriteRawTag(29); |
| 0 | 720 | | output.WriteFloat(FontSize); |
| | 721 | | } |
| 0 | 722 | | if (HasFontAutoSize) { |
| 0 | 723 | | output.WriteRawTag(32); |
| 0 | 724 | | output.WriteBool(FontAutoSize); |
| | 725 | | } |
| 0 | 726 | | if (HasTextAlign) { |
| 0 | 727 | | output.WriteRawTag(40); |
| 0 | 728 | | output.WriteEnum((int) TextAlign); |
| | 729 | | } |
| 0 | 730 | | if (HasWidth) { |
| 0 | 731 | | output.WriteRawTag(53); |
| 0 | 732 | | output.WriteFloat(Width); |
| | 733 | | } |
| 0 | 734 | | if (HasHeight) { |
| 0 | 735 | | output.WriteRawTag(61); |
| 0 | 736 | | output.WriteFloat(Height); |
| | 737 | | } |
| 0 | 738 | | if (HasPaddingTop) { |
| 0 | 739 | | output.WriteRawTag(69); |
| 0 | 740 | | output.WriteFloat(PaddingTop); |
| | 741 | | } |
| 0 | 742 | | if (HasPaddingRight) { |
| 0 | 743 | | output.WriteRawTag(77); |
| 0 | 744 | | output.WriteFloat(PaddingRight); |
| | 745 | | } |
| 0 | 746 | | if (HasPaddingBottom) { |
| 0 | 747 | | output.WriteRawTag(85); |
| 0 | 748 | | output.WriteFloat(PaddingBottom); |
| | 749 | | } |
| 0 | 750 | | if (HasPaddingLeft) { |
| 0 | 751 | | output.WriteRawTag(93); |
| 0 | 752 | | output.WriteFloat(PaddingLeft); |
| | 753 | | } |
| 0 | 754 | | if (HasLineSpacing) { |
| 0 | 755 | | output.WriteRawTag(101); |
| 0 | 756 | | output.WriteFloat(LineSpacing); |
| | 757 | | } |
| 0 | 758 | | if (HasLineCount) { |
| 0 | 759 | | output.WriteRawTag(104); |
| 0 | 760 | | output.WriteInt32(LineCount); |
| | 761 | | } |
| 0 | 762 | | if (HasTextWrapping) { |
| 0 | 763 | | output.WriteRawTag(112); |
| 0 | 764 | | output.WriteBool(TextWrapping); |
| | 765 | | } |
| 0 | 766 | | if (HasShadowBlur) { |
| 0 | 767 | | output.WriteRawTag(125); |
| 0 | 768 | | output.WriteFloat(ShadowBlur); |
| | 769 | | } |
| 0 | 770 | | if (HasShadowOffsetX) { |
| 0 | 771 | | output.WriteRawTag(133, 1); |
| 0 | 772 | | output.WriteFloat(ShadowOffsetX); |
| | 773 | | } |
| 0 | 774 | | if (HasShadowOffsetY) { |
| 0 | 775 | | output.WriteRawTag(141, 1); |
| 0 | 776 | | output.WriteFloat(ShadowOffsetY); |
| | 777 | | } |
| 0 | 778 | | if (HasOutlineWidth) { |
| 0 | 779 | | output.WriteRawTag(149, 1); |
| 0 | 780 | | output.WriteFloat(OutlineWidth); |
| | 781 | | } |
| 0 | 782 | | if (shadowColor_ != null) { |
| 0 | 783 | | output.WriteRawTag(154, 1); |
| 0 | 784 | | output.WriteMessage(ShadowColor); |
| | 785 | | } |
| 0 | 786 | | if (outlineColor_ != null) { |
| 0 | 787 | | output.WriteRawTag(162, 1); |
| 0 | 788 | | output.WriteMessage(OutlineColor); |
| | 789 | | } |
| 0 | 790 | | if (textColor_ != null) { |
| 0 | 791 | | output.WriteRawTag(170, 1); |
| 0 | 792 | | output.WriteMessage(TextColor); |
| | 793 | | } |
| 0 | 794 | | if (_unknownFields != null) { |
| 0 | 795 | | _unknownFields.WriteTo(output); |
| | 796 | | } |
| | 797 | | #endif |
| 0 | 798 | | } |
| | 799 | |
|
| | 800 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 803 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 804 | | if (Text.Length != 0) { |
| | 805 | | output.WriteRawTag(10); |
| | 806 | | output.WriteString(Text); |
| | 807 | | } |
| | 808 | | if (HasFont) { |
| | 809 | | output.WriteRawTag(16); |
| | 810 | | output.WriteEnum((int) Font); |
| | 811 | | } |
| | 812 | | if (HasFontSize) { |
| | 813 | | output.WriteRawTag(29); |
| | 814 | | output.WriteFloat(FontSize); |
| | 815 | | } |
| | 816 | | if (HasFontAutoSize) { |
| | 817 | | output.WriteRawTag(32); |
| | 818 | | output.WriteBool(FontAutoSize); |
| | 819 | | } |
| | 820 | | if (HasTextAlign) { |
| | 821 | | output.WriteRawTag(40); |
| | 822 | | output.WriteEnum((int) TextAlign); |
| | 823 | | } |
| | 824 | | if (HasWidth) { |
| | 825 | | output.WriteRawTag(53); |
| | 826 | | output.WriteFloat(Width); |
| | 827 | | } |
| | 828 | | if (HasHeight) { |
| | 829 | | output.WriteRawTag(61); |
| | 830 | | output.WriteFloat(Height); |
| | 831 | | } |
| | 832 | | if (HasPaddingTop) { |
| | 833 | | output.WriteRawTag(69); |
| | 834 | | output.WriteFloat(PaddingTop); |
| | 835 | | } |
| | 836 | | if (HasPaddingRight) { |
| | 837 | | output.WriteRawTag(77); |
| | 838 | | output.WriteFloat(PaddingRight); |
| | 839 | | } |
| | 840 | | if (HasPaddingBottom) { |
| | 841 | | output.WriteRawTag(85); |
| | 842 | | output.WriteFloat(PaddingBottom); |
| | 843 | | } |
| | 844 | | if (HasPaddingLeft) { |
| | 845 | | output.WriteRawTag(93); |
| | 846 | | output.WriteFloat(PaddingLeft); |
| | 847 | | } |
| | 848 | | if (HasLineSpacing) { |
| | 849 | | output.WriteRawTag(101); |
| | 850 | | output.WriteFloat(LineSpacing); |
| | 851 | | } |
| | 852 | | if (HasLineCount) { |
| | 853 | | output.WriteRawTag(104); |
| | 854 | | output.WriteInt32(LineCount); |
| | 855 | | } |
| | 856 | | if (HasTextWrapping) { |
| | 857 | | output.WriteRawTag(112); |
| | 858 | | output.WriteBool(TextWrapping); |
| | 859 | | } |
| | 860 | | if (HasShadowBlur) { |
| | 861 | | output.WriteRawTag(125); |
| | 862 | | output.WriteFloat(ShadowBlur); |
| | 863 | | } |
| | 864 | | if (HasShadowOffsetX) { |
| | 865 | | output.WriteRawTag(133, 1); |
| | 866 | | output.WriteFloat(ShadowOffsetX); |
| | 867 | | } |
| | 868 | | if (HasShadowOffsetY) { |
| | 869 | | output.WriteRawTag(141, 1); |
| | 870 | | output.WriteFloat(ShadowOffsetY); |
| | 871 | | } |
| | 872 | | if (HasOutlineWidth) { |
| | 873 | | output.WriteRawTag(149, 1); |
| | 874 | | output.WriteFloat(OutlineWidth); |
| | 875 | | } |
| | 876 | | if (shadowColor_ != null) { |
| | 877 | | output.WriteRawTag(154, 1); |
| | 878 | | output.WriteMessage(ShadowColor); |
| | 879 | | } |
| | 880 | | if (outlineColor_ != null) { |
| | 881 | | output.WriteRawTag(162, 1); |
| | 882 | | output.WriteMessage(OutlineColor); |
| | 883 | | } |
| | 884 | | if (textColor_ != null) { |
| | 885 | | output.WriteRawTag(170, 1); |
| | 886 | | output.WriteMessage(TextColor); |
| | 887 | | } |
| | 888 | | if (_unknownFields != null) { |
| | 889 | | _unknownFields.WriteTo(ref output); |
| | 890 | | } |
| | 891 | | } |
| | 892 | | #endif |
| | 893 | |
|
| | 894 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 895 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 896 | | public int CalculateSize() { |
| 0 | 897 | | int size = 0; |
| 0 | 898 | | if (Text.Length != 0) { |
| 0 | 899 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); |
| | 900 | | } |
| 0 | 901 | | if (HasFont) { |
| 0 | 902 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font); |
| | 903 | | } |
| 0 | 904 | | if (HasFontSize) { |
| 0 | 905 | | size += 1 + 4; |
| | 906 | | } |
| 0 | 907 | | if (HasFontAutoSize) { |
| 0 | 908 | | size += 1 + 1; |
| | 909 | | } |
| 0 | 910 | | if (HasTextAlign) { |
| 0 | 911 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign); |
| | 912 | | } |
| 0 | 913 | | if (HasWidth) { |
| 0 | 914 | | size += 1 + 4; |
| | 915 | | } |
| 0 | 916 | | if (HasHeight) { |
| 0 | 917 | | size += 1 + 4; |
| | 918 | | } |
| 0 | 919 | | if (HasPaddingTop) { |
| 0 | 920 | | size += 1 + 4; |
| | 921 | | } |
| 0 | 922 | | if (HasPaddingRight) { |
| 0 | 923 | | size += 1 + 4; |
| | 924 | | } |
| 0 | 925 | | if (HasPaddingBottom) { |
| 0 | 926 | | size += 1 + 4; |
| | 927 | | } |
| 0 | 928 | | if (HasPaddingLeft) { |
| 0 | 929 | | size += 1 + 4; |
| | 930 | | } |
| 0 | 931 | | if (HasLineSpacing) { |
| 0 | 932 | | size += 1 + 4; |
| | 933 | | } |
| 0 | 934 | | if (HasLineCount) { |
| 0 | 935 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineCount); |
| | 936 | | } |
| 0 | 937 | | if (HasTextWrapping) { |
| 0 | 938 | | size += 1 + 1; |
| | 939 | | } |
| 0 | 940 | | if (HasShadowBlur) { |
| 0 | 941 | | size += 1 + 4; |
| | 942 | | } |
| 0 | 943 | | if (HasShadowOffsetX) { |
| 0 | 944 | | size += 2 + 4; |
| | 945 | | } |
| 0 | 946 | | if (HasShadowOffsetY) { |
| 0 | 947 | | size += 2 + 4; |
| | 948 | | } |
| 0 | 949 | | if (HasOutlineWidth) { |
| 0 | 950 | | size += 2 + 4; |
| | 951 | | } |
| 0 | 952 | | if (shadowColor_ != null) { |
| 0 | 953 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 954 | | } |
| 0 | 955 | | if (outlineColor_ != null) { |
| 0 | 956 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 957 | | } |
| 0 | 958 | | if (textColor_ != null) { |
| 0 | 959 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor); |
| | 960 | | } |
| 0 | 961 | | if (_unknownFields != null) { |
| 0 | 962 | | size += _unknownFields.CalculateSize(); |
| | 963 | | } |
| 0 | 964 | | return size; |
| | 965 | | } |
| | 966 | |
|
| | 967 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 968 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 969 | | public void MergeFrom(PBTextShape other) { |
| 0 | 970 | | if (other == null) { |
| 0 | 971 | | return; |
| | 972 | | } |
| 0 | 973 | | if (other.Text.Length != 0) { |
| 0 | 974 | | Text = other.Text; |
| | 975 | | } |
| 0 | 976 | | if (other.HasFont) { |
| 0 | 977 | | Font = other.Font; |
| | 978 | | } |
| 0 | 979 | | if (other.HasFontSize) { |
| 0 | 980 | | FontSize = other.FontSize; |
| | 981 | | } |
| 0 | 982 | | if (other.HasFontAutoSize) { |
| 0 | 983 | | FontAutoSize = other.FontAutoSize; |
| | 984 | | } |
| 0 | 985 | | if (other.HasTextAlign) { |
| 0 | 986 | | TextAlign = other.TextAlign; |
| | 987 | | } |
| 0 | 988 | | if (other.HasWidth) { |
| 0 | 989 | | Width = other.Width; |
| | 990 | | } |
| 0 | 991 | | if (other.HasHeight) { |
| 0 | 992 | | Height = other.Height; |
| | 993 | | } |
| 0 | 994 | | if (other.HasPaddingTop) { |
| 0 | 995 | | PaddingTop = other.PaddingTop; |
| | 996 | | } |
| 0 | 997 | | if (other.HasPaddingRight) { |
| 0 | 998 | | PaddingRight = other.PaddingRight; |
| | 999 | | } |
| 0 | 1000 | | if (other.HasPaddingBottom) { |
| 0 | 1001 | | PaddingBottom = other.PaddingBottom; |
| | 1002 | | } |
| 0 | 1003 | | if (other.HasPaddingLeft) { |
| 0 | 1004 | | PaddingLeft = other.PaddingLeft; |
| | 1005 | | } |
| 0 | 1006 | | if (other.HasLineSpacing) { |
| 0 | 1007 | | LineSpacing = other.LineSpacing; |
| | 1008 | | } |
| 0 | 1009 | | if (other.HasLineCount) { |
| 0 | 1010 | | LineCount = other.LineCount; |
| | 1011 | | } |
| 0 | 1012 | | if (other.HasTextWrapping) { |
| 0 | 1013 | | TextWrapping = other.TextWrapping; |
| | 1014 | | } |
| 0 | 1015 | | if (other.HasShadowBlur) { |
| 0 | 1016 | | ShadowBlur = other.ShadowBlur; |
| | 1017 | | } |
| 0 | 1018 | | if (other.HasShadowOffsetX) { |
| 0 | 1019 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 1020 | | } |
| 0 | 1021 | | if (other.HasShadowOffsetY) { |
| 0 | 1022 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 1023 | | } |
| 0 | 1024 | | if (other.HasOutlineWidth) { |
| 0 | 1025 | | OutlineWidth = other.OutlineWidth; |
| | 1026 | | } |
| 0 | 1027 | | if (other.shadowColor_ != null) { |
| 0 | 1028 | | if (shadowColor_ == null) { |
| 0 | 1029 | | ShadowColor = new global::DCL.ECSComponents.Color3(); |
| | 1030 | | } |
| 0 | 1031 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 1032 | | } |
| 0 | 1033 | | if (other.outlineColor_ != null) { |
| 0 | 1034 | | if (outlineColor_ == null) { |
| 0 | 1035 | | OutlineColor = new global::DCL.ECSComponents.Color3(); |
| | 1036 | | } |
| 0 | 1037 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 1038 | | } |
| 0 | 1039 | | if (other.textColor_ != null) { |
| 0 | 1040 | | if (textColor_ == null) { |
| 0 | 1041 | | TextColor = new global::DCL.ECSComponents.Color4(); |
| | 1042 | | } |
| 0 | 1043 | | TextColor.MergeFrom(other.TextColor); |
| | 1044 | | } |
| 0 | 1045 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 1046 | | } |
| | 1047 | |
|
| | 1048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1050 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1051 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1052 | | input.ReadRawMessage(this); |
| | 1053 | | #else |
| | 1054 | | uint tag; |
| 0 | 1055 | | while ((tag = input.ReadTag()) != 0) { |
| | 1056 | | switch(tag) { |
| | 1057 | | default: |
| 0 | 1058 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 1059 | | break; |
| | 1060 | | case 10: { |
| 0 | 1061 | | Text = input.ReadString(); |
| 0 | 1062 | | break; |
| | 1063 | | } |
| | 1064 | | case 16: { |
| 0 | 1065 | | Font = (global::DCL.ECSComponents.Font) input.ReadEnum(); |
| 0 | 1066 | | break; |
| | 1067 | | } |
| | 1068 | | case 29: { |
| 0 | 1069 | | FontSize = input.ReadFloat(); |
| 0 | 1070 | | break; |
| | 1071 | | } |
| | 1072 | | case 32: { |
| 0 | 1073 | | FontAutoSize = input.ReadBool(); |
| 0 | 1074 | | break; |
| | 1075 | | } |
| | 1076 | | case 40: { |
| 0 | 1077 | | TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum(); |
| 0 | 1078 | | break; |
| | 1079 | | } |
| | 1080 | | case 53: { |
| 0 | 1081 | | Width = input.ReadFloat(); |
| 0 | 1082 | | break; |
| | 1083 | | } |
| | 1084 | | case 61: { |
| 0 | 1085 | | Height = input.ReadFloat(); |
| 0 | 1086 | | break; |
| | 1087 | | } |
| | 1088 | | case 69: { |
| 0 | 1089 | | PaddingTop = input.ReadFloat(); |
| 0 | 1090 | | break; |
| | 1091 | | } |
| | 1092 | | case 77: { |
| 0 | 1093 | | PaddingRight = input.ReadFloat(); |
| 0 | 1094 | | break; |
| | 1095 | | } |
| | 1096 | | case 85: { |
| 0 | 1097 | | PaddingBottom = input.ReadFloat(); |
| 0 | 1098 | | break; |
| | 1099 | | } |
| | 1100 | | case 93: { |
| 0 | 1101 | | PaddingLeft = input.ReadFloat(); |
| 0 | 1102 | | break; |
| | 1103 | | } |
| | 1104 | | case 101: { |
| 0 | 1105 | | LineSpacing = input.ReadFloat(); |
| 0 | 1106 | | break; |
| | 1107 | | } |
| | 1108 | | case 104: { |
| 0 | 1109 | | LineCount = input.ReadInt32(); |
| 0 | 1110 | | break; |
| | 1111 | | } |
| | 1112 | | case 112: { |
| 0 | 1113 | | TextWrapping = input.ReadBool(); |
| 0 | 1114 | | break; |
| | 1115 | | } |
| | 1116 | | case 125: { |
| 0 | 1117 | | ShadowBlur = input.ReadFloat(); |
| 0 | 1118 | | break; |
| | 1119 | | } |
| | 1120 | | case 133: { |
| 0 | 1121 | | ShadowOffsetX = input.ReadFloat(); |
| 0 | 1122 | | break; |
| | 1123 | | } |
| | 1124 | | case 141: { |
| 0 | 1125 | | ShadowOffsetY = input.ReadFloat(); |
| 0 | 1126 | | break; |
| | 1127 | | } |
| | 1128 | | case 149: { |
| 0 | 1129 | | OutlineWidth = input.ReadFloat(); |
| 0 | 1130 | | break; |
| | 1131 | | } |
| | 1132 | | case 154: { |
| 0 | 1133 | | if (shadowColor_ == null) { |
| 0 | 1134 | | ShadowColor = new global::DCL.ECSComponents.Color3(); |
| | 1135 | | } |
| 0 | 1136 | | input.ReadMessage(ShadowColor); |
| 0 | 1137 | | break; |
| | 1138 | | } |
| | 1139 | | case 162: { |
| 0 | 1140 | | if (outlineColor_ == null) { |
| 0 | 1141 | | OutlineColor = new global::DCL.ECSComponents.Color3(); |
| | 1142 | | } |
| 0 | 1143 | | input.ReadMessage(OutlineColor); |
| 0 | 1144 | | break; |
| | 1145 | | } |
| | 1146 | | case 170: { |
| 0 | 1147 | | if (textColor_ == null) { |
| 0 | 1148 | | TextColor = new global::DCL.ECSComponents.Color4(); |
| | 1149 | | } |
| 0 | 1150 | | input.ReadMessage(TextColor); |
| | 1151 | | break; |
| | 1152 | | } |
| | 1153 | | } |
| | 1154 | | } |
| | 1155 | | #endif |
| 0 | 1156 | | } |
| | 1157 | |
|
| | 1158 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1161 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1162 | | uint tag; |
| | 1163 | | while ((tag = input.ReadTag()) != 0) { |
| | 1164 | | switch(tag) { |
| | 1165 | | default: |
| | 1166 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1167 | | break; |
| | 1168 | | case 10: { |
| | 1169 | | Text = input.ReadString(); |
| | 1170 | | break; |
| | 1171 | | } |
| | 1172 | | case 16: { |
| | 1173 | | Font = (global::DCL.ECSComponents.Font) input.ReadEnum(); |
| | 1174 | | break; |
| | 1175 | | } |
| | 1176 | | case 29: { |
| | 1177 | | FontSize = input.ReadFloat(); |
| | 1178 | | break; |
| | 1179 | | } |
| | 1180 | | case 32: { |
| | 1181 | | FontAutoSize = input.ReadBool(); |
| | 1182 | | break; |
| | 1183 | | } |
| | 1184 | | case 40: { |
| | 1185 | | TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum(); |
| | 1186 | | break; |
| | 1187 | | } |
| | 1188 | | case 53: { |
| | 1189 | | Width = input.ReadFloat(); |
| | 1190 | | break; |
| | 1191 | | } |
| | 1192 | | case 61: { |
| | 1193 | | Height = input.ReadFloat(); |
| | 1194 | | break; |
| | 1195 | | } |
| | 1196 | | case 69: { |
| | 1197 | | PaddingTop = input.ReadFloat(); |
| | 1198 | | break; |
| | 1199 | | } |
| | 1200 | | case 77: { |
| | 1201 | | PaddingRight = input.ReadFloat(); |
| | 1202 | | break; |
| | 1203 | | } |
| | 1204 | | case 85: { |
| | 1205 | | PaddingBottom = input.ReadFloat(); |
| | 1206 | | break; |
| | 1207 | | } |
| | 1208 | | case 93: { |
| | 1209 | | PaddingLeft = input.ReadFloat(); |
| | 1210 | | break; |
| | 1211 | | } |
| | 1212 | | case 101: { |
| | 1213 | | LineSpacing = input.ReadFloat(); |
| | 1214 | | break; |
| | 1215 | | } |
| | 1216 | | case 104: { |
| | 1217 | | LineCount = input.ReadInt32(); |
| | 1218 | | break; |
| | 1219 | | } |
| | 1220 | | case 112: { |
| | 1221 | | TextWrapping = input.ReadBool(); |
| | 1222 | | break; |
| | 1223 | | } |
| | 1224 | | case 125: { |
| | 1225 | | ShadowBlur = input.ReadFloat(); |
| | 1226 | | break; |
| | 1227 | | } |
| | 1228 | | case 133: { |
| | 1229 | | ShadowOffsetX = input.ReadFloat(); |
| | 1230 | | break; |
| | 1231 | | } |
| | 1232 | | case 141: { |
| | 1233 | | ShadowOffsetY = input.ReadFloat(); |
| | 1234 | | break; |
| | 1235 | | } |
| | 1236 | | case 149: { |
| | 1237 | | OutlineWidth = input.ReadFloat(); |
| | 1238 | | break; |
| | 1239 | | } |
| | 1240 | | case 154: { |
| | 1241 | | if (shadowColor_ == null) { |
| | 1242 | | ShadowColor = new global::DCL.ECSComponents.Color3(); |
| | 1243 | | } |
| | 1244 | | input.ReadMessage(ShadowColor); |
| | 1245 | | break; |
| | 1246 | | } |
| | 1247 | | case 162: { |
| | 1248 | | if (outlineColor_ == null) { |
| | 1249 | | OutlineColor = new global::DCL.ECSComponents.Color3(); |
| | 1250 | | } |
| | 1251 | | input.ReadMessage(OutlineColor); |
| | 1252 | | break; |
| | 1253 | | } |
| | 1254 | | case 170: { |
| | 1255 | | if (textColor_ == null) { |
| | 1256 | | TextColor = new global::DCL.ECSComponents.Color4(); |
| | 1257 | | } |
| | 1258 | | input.ReadMessage(TextColor); |
| | 1259 | | break; |
| | 1260 | | } |
| | 1261 | | } |
| | 1262 | | } |
| | 1263 | | } |
| | 1264 | | #endif |
| | 1265 | |
|
| | 1266 | | } |
| | 1267 | |
|
| | 1268 | | #endregion |
| | 1269 | |
|
| | 1270 | | } |
| | 1271 | |
|
| | 1272 | | #endregion Designer generated code |