< Summary

Class:DCL.ECSComponents.TextShapeReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/TextShape.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:1281
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
TextShapeReflection()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/TextShape.gen.cs

#LineLine coverage
 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
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace 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 {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static TextShapeReflection() {
 025      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="));
 055      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 56          new pbr::FileDescriptor[] { global::Decentraland.Common.ColorsReflection.Descriptor, global::DCL.ECSComponents
 57          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 58            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBTextShape), global::DCL.ECSComponents.PBTex
 59          }));
 060    }
 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  {
 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)]
 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 {
 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 {
 86      get { return Descriptor; }
 87    }
 88
 89    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 90    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 91    public PBTextShape() {
 92      OnConstruction();
 93    }
 94
 95    partial void OnConstruction();
 96
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 99    public PBTextShape(PBTextShape other) : this() {
 100      _hasBits0 = other._hasBits0;
 101      text_ = other.text_;
 102      font_ = other.font_;
 103      fontSize_ = other.fontSize_;
 104      fontAutoSize_ = other.fontAutoSize_;
 105      textAlign_ = other.textAlign_;
 106      width_ = other.width_;
 107      height_ = other.height_;
 108      paddingTop_ = other.paddingTop_;
 109      paddingRight_ = other.paddingRight_;
 110      paddingBottom_ = other.paddingBottom_;
 111      paddingLeft_ = other.paddingLeft_;
 112      lineSpacing_ = other.lineSpacing_;
 113      lineCount_ = other.lineCount_;
 114      textWrapping_ = other.textWrapping_;
 115      shadowBlur_ = other.shadowBlur_;
 116      shadowOffsetX_ = other.shadowOffsetX_;
 117      shadowOffsetY_ = other.shadowOffsetY_;
 118      outlineWidth_ = other.outlineWidth_;
 119      shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null;
 120      outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null;
 121      textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null;
 122      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 123    }
 124
 125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127    public PBTextShape Clone() {
 128      return new PBTextShape(this);
 129    }
 130
 131    /// <summary>Field number for the "text" field.</summary>
 132    public const int TextFieldNumber = 1;
 133    private string text_ = "";
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public string Text {
 137      get { return text_; }
 138      set {
 139        text_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 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 {
 152      get { if ((_hasBits0 & 1) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.FSansSerif; } }
 153      set {
 154        _hasBits0 |= 1;
 155        font_ = value;
 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 {
 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() {
 168      _hasBits0 &= ~1;
 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 {
 180      get { if ((_hasBits0 & 2) != 0) { return fontSize_; } else { return 0F; } }
 181      set {
 182        _hasBits0 |= 2;
 183        fontSize_ = value;
 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 {
 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() {
 196      _hasBits0 &= ~2;
 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 {
 205      get { if ((_hasBits0 & 4) != 0) { return fontAutoSize_; } else { return false; } }
 206      set {
 207        _hasBits0 |= 4;
 208        fontAutoSize_ = value;
 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 {
 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() {
 221      _hasBits0 &= ~4;
 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 {
 233      get { if ((_hasBits0 & 8) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlignMode.TamTo
 234      set {
 235        _hasBits0 |= 8;
 236        textAlign_ = value;
 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 {
 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() {
 249      _hasBits0 &= ~8;
 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 {
 261      get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } }
 262      set {
 263        _hasBits0 |= 16;
 264        width_ = value;
 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 {
 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() {
 277      _hasBits0 &= ~16;
 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 {
 289      get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } }
 290      set {
 291        _hasBits0 |= 32;
 292        height_ = value;
 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 {
 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() {
 305      _hasBits0 &= ~32;
 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 {
 314      get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } }
 315      set {
 316        _hasBits0 |= 64;
 317        paddingTop_ = value;
 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 {
 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() {
 330      _hasBits0 &= ~64;
 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 {
 339      get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } }
 340      set {
 341        _hasBits0 |= 128;
 342        paddingRight_ = value;
 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 {
 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() {
 355      _hasBits0 &= ~128;
 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 {
 364      get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } }
 365      set {
 366        _hasBits0 |= 256;
 367        paddingBottom_ = value;
 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 {
 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() {
 380      _hasBits0 &= ~256;
 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 {
 389      get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } }
 390      set {
 391        _hasBits0 |= 512;
 392        paddingLeft_ = value;
 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 {
 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() {
 405      _hasBits0 &= ~512;
 406    }
 407
 408    /// <summary>Field number for the "line_spacing" field.</summary>
 409    public const int LineSpacingFieldNumber = 12;
 410    private float lineSpacing_;
 411    /// <summary>
 412    /// The amount of additional spacing to add between each lines of text.
 413    /// </summary>
 414    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 415    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 416    public float LineSpacing {
 417      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 418      set {
 419        _hasBits0 |= 1024;
 420        lineSpacing_ = value;
 421      }
 422    }
 423    /// <summary>Gets whether the "line_spacing" field is set</summary>
 424    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 425    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 426    public bool HasLineSpacing {
 427      get { return (_hasBits0 & 1024) != 0; }
 428    }
 429    /// <summary>Clears the value of the "line_spacing" field</summary>
 430    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 431    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 432    public void ClearLineSpacing() {
 433      _hasBits0 &= ~1024;
 434    }
 435
 436    /// <summary>Field number for the "line_count" field.</summary>
 437    public const int LineCountFieldNumber = 13;
 438    private int lineCount_;
 439    /// <summary>
 440    /// Allows control over how many lines of text are displayed.
 441    /// </summary>
 442    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 443    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 444    public int LineCount {
 445      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 446      set {
 447        _hasBits0 |= 2048;
 448        lineCount_ = value;
 449      }
 450    }
 451    /// <summary>Gets whether the "line_count" field is set</summary>
 452    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 453    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 454    public bool HasLineCount {
 455      get { return (_hasBits0 & 2048) != 0; }
 456    }
 457    /// <summary>Clears the value of the "line_count" field</summary>
 458    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 459    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 460    public void ClearLineCount() {
 461      _hasBits0 &= ~2048;
 462    }
 463
 464    /// <summary>Field number for the "text_wrapping" field.</summary>
 465    public const int TextWrappingFieldNumber = 14;
 466    private bool textWrapping_;
 467    /// <summary>
 468    /// Enables text wrapping
 469    /// </summary>
 470    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 471    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 472    public bool TextWrapping {
 473      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 474      set {
 475        _hasBits0 |= 4096;
 476        textWrapping_ = value;
 477      }
 478    }
 479    /// <summary>Gets whether the "text_wrapping" field is set</summary>
 480    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 481    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 482    public bool HasTextWrapping {
 483      get { return (_hasBits0 & 4096) != 0; }
 484    }
 485    /// <summary>Clears the value of the "text_wrapping" field</summary>
 486    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 487    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 488    public void ClearTextWrapping() {
 489      _hasBits0 &= ~4096;
 490    }
 491
 492    /// <summary>Field number for the "shadow_blur" field.</summary>
 493    public const int ShadowBlurFieldNumber = 15;
 494    private float shadowBlur_;
 495    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 496    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 497    public float ShadowBlur {
 498      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 499      set {
 500        _hasBits0 |= 8192;
 501        shadowBlur_ = value;
 502      }
 503    }
 504    /// <summary>Gets whether the "shadow_blur" field is set</summary>
 505    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 506    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 507    public bool HasShadowBlur {
 508      get { return (_hasBits0 & 8192) != 0; }
 509    }
 510    /// <summary>Clears the value of the "shadow_blur" field</summary>
 511    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 512    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 513    public void ClearShadowBlur() {
 514      _hasBits0 &= ~8192;
 515    }
 516
 517    /// <summary>Field number for the "shadow_offset_x" field.</summary>
 518    public const int ShadowOffsetXFieldNumber = 16;
 519    private float shadowOffsetX_;
 520    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 521    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 522    public float ShadowOffsetX {
 523      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 524      set {
 525        _hasBits0 |= 16384;
 526        shadowOffsetX_ = value;
 527      }
 528    }
 529    /// <summary>Gets whether the "shadow_offset_x" field is set</summary>
 530    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 531    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 532    public bool HasShadowOffsetX {
 533      get { return (_hasBits0 & 16384) != 0; }
 534    }
 535    /// <summary>Clears the value of the "shadow_offset_x" field</summary>
 536    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 537    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 538    public void ClearShadowOffsetX() {
 539      _hasBits0 &= ~16384;
 540    }
 541
 542    /// <summary>Field number for the "shadow_offset_y" field.</summary>
 543    public const int ShadowOffsetYFieldNumber = 17;
 544    private float shadowOffsetY_;
 545    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 546    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 547    public float ShadowOffsetY {
 548      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 549      set {
 550        _hasBits0 |= 32768;
 551        shadowOffsetY_ = value;
 552      }
 553    }
 554    /// <summary>Gets whether the "shadow_offset_y" field is set</summary>
 555    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 556    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 557    public bool HasShadowOffsetY {
 558      get { return (_hasBits0 & 32768) != 0; }
 559    }
 560    /// <summary>Clears the value of the "shadow_offset_y" field</summary>
 561    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 562    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 563    public void ClearShadowOffsetY() {
 564      _hasBits0 &= ~32768;
 565    }
 566
 567    /// <summary>Field number for the "outline_width" field.</summary>
 568    public const int OutlineWidthFieldNumber = 18;
 569    private float outlineWidth_;
 570    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 571    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 572    public float OutlineWidth {
 573      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 574      set {
 575        _hasBits0 |= 65536;
 576        outlineWidth_ = value;
 577      }
 578    }
 579    /// <summary>Gets whether the "outline_width" field is set</summary>
 580    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 581    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 582    public bool HasOutlineWidth {
 583      get { return (_hasBits0 & 65536) != 0; }
 584    }
 585    /// <summary>Clears the value of the "outline_width" field</summary>
 586    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 587    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 588    public void ClearOutlineWidth() {
 589      _hasBits0 &= ~65536;
 590    }
 591
 592    /// <summary>Field number for the "shadow_color" field.</summary>
 593    public const int ShadowColorFieldNumber = 19;
 594    private global::Decentraland.Common.Color3 shadowColor_;
 595    /// <summary>
 596    /// default=(1.0,1.0,1.0)
 597    /// </summary>
 598    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 599    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 600    public global::Decentraland.Common.Color3 ShadowColor {
 601      get { return shadowColor_; }
 602      set {
 603        shadowColor_ = value;
 604      }
 605    }
 606
 607    /// <summary>Field number for the "outline_color" field.</summary>
 608    public const int OutlineColorFieldNumber = 20;
 609    private global::Decentraland.Common.Color3 outlineColor_;
 610    /// <summary>
 611    /// default=(1.0,1.0,1.0)
 612    /// </summary>
 613    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 614    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 615    public global::Decentraland.Common.Color3 OutlineColor {
 616      get { return outlineColor_; }
 617      set {
 618        outlineColor_ = value;
 619      }
 620    }
 621
 622    /// <summary>Field number for the "text_color" field.</summary>
 623    public const int TextColorFieldNumber = 21;
 624    private global::Decentraland.Common.Color4 textColor_;
 625    /// <summary>
 626    /// default=(1.0,1.0,1.0)
 627    /// </summary>
 628    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630    public global::Decentraland.Common.Color4 TextColor {
 631      get { return textColor_; }
 632      set {
 633        textColor_ = value;
 634      }
 635    }
 636
 637    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 638    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 639    public override bool Equals(object other) {
 640      return Equals(other as PBTextShape);
 641    }
 642
 643    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 644    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 645    public bool Equals(PBTextShape other) {
 646      if (ReferenceEquals(other, null)) {
 647        return false;
 648      }
 649      if (ReferenceEquals(other, this)) {
 650        return true;
 651      }
 652      if (Text != other.Text) return false;
 653      if (Font != other.Font) return false;
 654      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 655      if (FontAutoSize != other.FontAutoSize) return false;
 656      if (TextAlign != other.TextAlign) return false;
 657      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 658      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 659      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 660      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 661      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 662      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 663      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 664      if (LineCount != other.LineCount) return false;
 665      if (TextWrapping != other.TextWrapping) return false;
 666      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 667      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 668      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 669      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 670      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 671      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 672      if (!object.Equals(TextColor, other.TextColor)) return false;
 673      return Equals(_unknownFields, other._unknownFields);
 674    }
 675
 676    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 677    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 678    public override int GetHashCode() {
 679      int hash = 1;
 680      if (Text.Length != 0) hash ^= Text.GetHashCode();
 681      if (HasFont) hash ^= Font.GetHashCode();
 682      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 683      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 684      if (HasTextAlign) hash ^= TextAlign.GetHashCode();
 685      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 686      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 687      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 688      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 689      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 690      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 691      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 692      if (HasLineCount) hash ^= LineCount.GetHashCode();
 693      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 694      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 695      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 696      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 697      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 698      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 699      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 700      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 701      if (_unknownFields != null) {
 702        hash ^= _unknownFields.GetHashCode();
 703      }
 704      return hash;
 705    }
 706
 707    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 708    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 709    public override string ToString() {
 710      return pb::JsonFormatter.ToDiagnosticString(this);
 711    }
 712
 713    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 714    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 715    public void WriteTo(pb::CodedOutputStream output) {
 716    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 717      output.WriteRawMessage(this);
 718    #else
 719      if (Text.Length != 0) {
 720        output.WriteRawTag(10);
 721        output.WriteString(Text);
 722      }
 723      if (HasFont) {
 724        output.WriteRawTag(16);
 725        output.WriteEnum((int) Font);
 726      }
 727      if (HasFontSize) {
 728        output.WriteRawTag(29);
 729        output.WriteFloat(FontSize);
 730      }
 731      if (HasFontAutoSize) {
 732        output.WriteRawTag(32);
 733        output.WriteBool(FontAutoSize);
 734      }
 735      if (HasTextAlign) {
 736        output.WriteRawTag(40);
 737        output.WriteEnum((int) TextAlign);
 738      }
 739      if (HasWidth) {
 740        output.WriteRawTag(53);
 741        output.WriteFloat(Width);
 742      }
 743      if (HasHeight) {
 744        output.WriteRawTag(61);
 745        output.WriteFloat(Height);
 746      }
 747      if (HasPaddingTop) {
 748        output.WriteRawTag(69);
 749        output.WriteFloat(PaddingTop);
 750      }
 751      if (HasPaddingRight) {
 752        output.WriteRawTag(77);
 753        output.WriteFloat(PaddingRight);
 754      }
 755      if (HasPaddingBottom) {
 756        output.WriteRawTag(85);
 757        output.WriteFloat(PaddingBottom);
 758      }
 759      if (HasPaddingLeft) {
 760        output.WriteRawTag(93);
 761        output.WriteFloat(PaddingLeft);
 762      }
 763      if (HasLineSpacing) {
 764        output.WriteRawTag(101);
 765        output.WriteFloat(LineSpacing);
 766      }
 767      if (HasLineCount) {
 768        output.WriteRawTag(104);
 769        output.WriteInt32(LineCount);
 770      }
 771      if (HasTextWrapping) {
 772        output.WriteRawTag(112);
 773        output.WriteBool(TextWrapping);
 774      }
 775      if (HasShadowBlur) {
 776        output.WriteRawTag(125);
 777        output.WriteFloat(ShadowBlur);
 778      }
 779      if (HasShadowOffsetX) {
 780        output.WriteRawTag(133, 1);
 781        output.WriteFloat(ShadowOffsetX);
 782      }
 783      if (HasShadowOffsetY) {
 784        output.WriteRawTag(141, 1);
 785        output.WriteFloat(ShadowOffsetY);
 786      }
 787      if (HasOutlineWidth) {
 788        output.WriteRawTag(149, 1);
 789        output.WriteFloat(OutlineWidth);
 790      }
 791      if (shadowColor_ != null) {
 792        output.WriteRawTag(154, 1);
 793        output.WriteMessage(ShadowColor);
 794      }
 795      if (outlineColor_ != null) {
 796        output.WriteRawTag(162, 1);
 797        output.WriteMessage(OutlineColor);
 798      }
 799      if (textColor_ != null) {
 800        output.WriteRawTag(170, 1);
 801        output.WriteMessage(TextColor);
 802      }
 803      if (_unknownFields != null) {
 804        _unknownFields.WriteTo(output);
 805      }
 806    #endif
 807    }
 808
 809    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 810    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 811    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 812    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 813      if (Text.Length != 0) {
 814        output.WriteRawTag(10);
 815        output.WriteString(Text);
 816      }
 817      if (HasFont) {
 818        output.WriteRawTag(16);
 819        output.WriteEnum((int) Font);
 820      }
 821      if (HasFontSize) {
 822        output.WriteRawTag(29);
 823        output.WriteFloat(FontSize);
 824      }
 825      if (HasFontAutoSize) {
 826        output.WriteRawTag(32);
 827        output.WriteBool(FontAutoSize);
 828      }
 829      if (HasTextAlign) {
 830        output.WriteRawTag(40);
 831        output.WriteEnum((int) TextAlign);
 832      }
 833      if (HasWidth) {
 834        output.WriteRawTag(53);
 835        output.WriteFloat(Width);
 836      }
 837      if (HasHeight) {
 838        output.WriteRawTag(61);
 839        output.WriteFloat(Height);
 840      }
 841      if (HasPaddingTop) {
 842        output.WriteRawTag(69);
 843        output.WriteFloat(PaddingTop);
 844      }
 845      if (HasPaddingRight) {
 846        output.WriteRawTag(77);
 847        output.WriteFloat(PaddingRight);
 848      }
 849      if (HasPaddingBottom) {
 850        output.WriteRawTag(85);
 851        output.WriteFloat(PaddingBottom);
 852      }
 853      if (HasPaddingLeft) {
 854        output.WriteRawTag(93);
 855        output.WriteFloat(PaddingLeft);
 856      }
 857      if (HasLineSpacing) {
 858        output.WriteRawTag(101);
 859        output.WriteFloat(LineSpacing);
 860      }
 861      if (HasLineCount) {
 862        output.WriteRawTag(104);
 863        output.WriteInt32(LineCount);
 864      }
 865      if (HasTextWrapping) {
 866        output.WriteRawTag(112);
 867        output.WriteBool(TextWrapping);
 868      }
 869      if (HasShadowBlur) {
 870        output.WriteRawTag(125);
 871        output.WriteFloat(ShadowBlur);
 872      }
 873      if (HasShadowOffsetX) {
 874        output.WriteRawTag(133, 1);
 875        output.WriteFloat(ShadowOffsetX);
 876      }
 877      if (HasShadowOffsetY) {
 878        output.WriteRawTag(141, 1);
 879        output.WriteFloat(ShadowOffsetY);
 880      }
 881      if (HasOutlineWidth) {
 882        output.WriteRawTag(149, 1);
 883        output.WriteFloat(OutlineWidth);
 884      }
 885      if (shadowColor_ != null) {
 886        output.WriteRawTag(154, 1);
 887        output.WriteMessage(ShadowColor);
 888      }
 889      if (outlineColor_ != null) {
 890        output.WriteRawTag(162, 1);
 891        output.WriteMessage(OutlineColor);
 892      }
 893      if (textColor_ != null) {
 894        output.WriteRawTag(170, 1);
 895        output.WriteMessage(TextColor);
 896      }
 897      if (_unknownFields != null) {
 898        _unknownFields.WriteTo(ref output);
 899      }
 900    }
 901    #endif
 902
 903    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 904    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 905    public int CalculateSize() {
 906      int size = 0;
 907      if (Text.Length != 0) {
 908        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 909      }
 910      if (HasFont) {
 911        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font);
 912      }
 913      if (HasFontSize) {
 914        size += 1 + 4;
 915      }
 916      if (HasFontAutoSize) {
 917        size += 1 + 1;
 918      }
 919      if (HasTextAlign) {
 920        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign);
 921      }
 922      if (HasWidth) {
 923        size += 1 + 4;
 924      }
 925      if (HasHeight) {
 926        size += 1 + 4;
 927      }
 928      if (HasPaddingTop) {
 929        size += 1 + 4;
 930      }
 931      if (HasPaddingRight) {
 932        size += 1 + 4;
 933      }
 934      if (HasPaddingBottom) {
 935        size += 1 + 4;
 936      }
 937      if (HasPaddingLeft) {
 938        size += 1 + 4;
 939      }
 940      if (HasLineSpacing) {
 941        size += 1 + 4;
 942      }
 943      if (HasLineCount) {
 944        size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 945      }
 946      if (HasTextWrapping) {
 947        size += 1 + 1;
 948      }
 949      if (HasShadowBlur) {
 950        size += 1 + 4;
 951      }
 952      if (HasShadowOffsetX) {
 953        size += 2 + 4;
 954      }
 955      if (HasShadowOffsetY) {
 956        size += 2 + 4;
 957      }
 958      if (HasOutlineWidth) {
 959        size += 2 + 4;
 960      }
 961      if (shadowColor_ != null) {
 962        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 963      }
 964      if (outlineColor_ != null) {
 965        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 966      }
 967      if (textColor_ != null) {
 968        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 969      }
 970      if (_unknownFields != null) {
 971        size += _unknownFields.CalculateSize();
 972      }
 973      return size;
 974    }
 975
 976    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 977    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 978    public void MergeFrom(PBTextShape other) {
 979      if (other == null) {
 980        return;
 981      }
 982      if (other.Text.Length != 0) {
 983        Text = other.Text;
 984      }
 985      if (other.HasFont) {
 986        Font = other.Font;
 987      }
 988      if (other.HasFontSize) {
 989        FontSize = other.FontSize;
 990      }
 991      if (other.HasFontAutoSize) {
 992        FontAutoSize = other.FontAutoSize;
 993      }
 994      if (other.HasTextAlign) {
 995        TextAlign = other.TextAlign;
 996      }
 997      if (other.HasWidth) {
 998        Width = other.Width;
 999      }
 1000      if (other.HasHeight) {
 1001        Height = other.Height;
 1002      }
 1003      if (other.HasPaddingTop) {
 1004        PaddingTop = other.PaddingTop;
 1005      }
 1006      if (other.HasPaddingRight) {
 1007        PaddingRight = other.PaddingRight;
 1008      }
 1009      if (other.HasPaddingBottom) {
 1010        PaddingBottom = other.PaddingBottom;
 1011      }
 1012      if (other.HasPaddingLeft) {
 1013        PaddingLeft = other.PaddingLeft;
 1014      }
 1015      if (other.HasLineSpacing) {
 1016        LineSpacing = other.LineSpacing;
 1017      }
 1018      if (other.HasLineCount) {
 1019        LineCount = other.LineCount;
 1020      }
 1021      if (other.HasTextWrapping) {
 1022        TextWrapping = other.TextWrapping;
 1023      }
 1024      if (other.HasShadowBlur) {
 1025        ShadowBlur = other.ShadowBlur;
 1026      }
 1027      if (other.HasShadowOffsetX) {
 1028        ShadowOffsetX = other.ShadowOffsetX;
 1029      }
 1030      if (other.HasShadowOffsetY) {
 1031        ShadowOffsetY = other.ShadowOffsetY;
 1032      }
 1033      if (other.HasOutlineWidth) {
 1034        OutlineWidth = other.OutlineWidth;
 1035      }
 1036      if (other.shadowColor_ != null) {
 1037        if (shadowColor_ == null) {
 1038          ShadowColor = new global::Decentraland.Common.Color3();
 1039        }
 1040        ShadowColor.MergeFrom(other.ShadowColor);
 1041      }
 1042      if (other.outlineColor_ != null) {
 1043        if (outlineColor_ == null) {
 1044          OutlineColor = new global::Decentraland.Common.Color3();
 1045        }
 1046        OutlineColor.MergeFrom(other.OutlineColor);
 1047      }
 1048      if (other.textColor_ != null) {
 1049        if (textColor_ == null) {
 1050          TextColor = new global::Decentraland.Common.Color4();
 1051        }
 1052        TextColor.MergeFrom(other.TextColor);
 1053      }
 1054      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 1055    }
 1056
 1057    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1058    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1059    public void MergeFrom(pb::CodedInputStream input) {
 1060    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1061      input.ReadRawMessage(this);
 1062    #else
 1063      uint tag;
 1064      while ((tag = input.ReadTag()) != 0) {
 1065        switch(tag) {
 1066          default:
 1067            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1068            break;
 1069          case 10: {
 1070            Text = input.ReadString();
 1071            break;
 1072          }
 1073          case 16: {
 1074            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 1075            break;
 1076          }
 1077          case 29: {
 1078            FontSize = input.ReadFloat();
 1079            break;
 1080          }
 1081          case 32: {
 1082            FontAutoSize = input.ReadBool();
 1083            break;
 1084          }
 1085          case 40: {
 1086            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 1087            break;
 1088          }
 1089          case 53: {
 1090            Width = input.ReadFloat();
 1091            break;
 1092          }
 1093          case 61: {
 1094            Height = input.ReadFloat();
 1095            break;
 1096          }
 1097          case 69: {
 1098            PaddingTop = input.ReadFloat();
 1099            break;
 1100          }
 1101          case 77: {
 1102            PaddingRight = input.ReadFloat();
 1103            break;
 1104          }
 1105          case 85: {
 1106            PaddingBottom = input.ReadFloat();
 1107            break;
 1108          }
 1109          case 93: {
 1110            PaddingLeft = input.ReadFloat();
 1111            break;
 1112          }
 1113          case 101: {
 1114            LineSpacing = input.ReadFloat();
 1115            break;
 1116          }
 1117          case 104: {
 1118            LineCount = input.ReadInt32();
 1119            break;
 1120          }
 1121          case 112: {
 1122            TextWrapping = input.ReadBool();
 1123            break;
 1124          }
 1125          case 125: {
 1126            ShadowBlur = input.ReadFloat();
 1127            break;
 1128          }
 1129          case 133: {
 1130            ShadowOffsetX = input.ReadFloat();
 1131            break;
 1132          }
 1133          case 141: {
 1134            ShadowOffsetY = input.ReadFloat();
 1135            break;
 1136          }
 1137          case 149: {
 1138            OutlineWidth = input.ReadFloat();
 1139            break;
 1140          }
 1141          case 154: {
 1142            if (shadowColor_ == null) {
 1143              ShadowColor = new global::Decentraland.Common.Color3();
 1144            }
 1145            input.ReadMessage(ShadowColor);
 1146            break;
 1147          }
 1148          case 162: {
 1149            if (outlineColor_ == null) {
 1150              OutlineColor = new global::Decentraland.Common.Color3();
 1151            }
 1152            input.ReadMessage(OutlineColor);
 1153            break;
 1154          }
 1155          case 170: {
 1156            if (textColor_ == null) {
 1157              TextColor = new global::Decentraland.Common.Color4();
 1158            }
 1159            input.ReadMessage(TextColor);
 1160            break;
 1161          }
 1162        }
 1163      }
 1164    #endif
 1165    }
 1166
 1167    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1168    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1169    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1170    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1171      uint tag;
 1172      while ((tag = input.ReadTag()) != 0) {
 1173        switch(tag) {
 1174          default:
 1175            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1176            break;
 1177          case 10: {
 1178            Text = input.ReadString();
 1179            break;
 1180          }
 1181          case 16: {
 1182            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 1183            break;
 1184          }
 1185          case 29: {
 1186            FontSize = input.ReadFloat();
 1187            break;
 1188          }
 1189          case 32: {
 1190            FontAutoSize = input.ReadBool();
 1191            break;
 1192          }
 1193          case 40: {
 1194            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 1195            break;
 1196          }
 1197          case 53: {
 1198            Width = input.ReadFloat();
 1199            break;
 1200          }
 1201          case 61: {
 1202            Height = input.ReadFloat();
 1203            break;
 1204          }
 1205          case 69: {
 1206            PaddingTop = input.ReadFloat();
 1207            break;
 1208          }
 1209          case 77: {
 1210            PaddingRight = input.ReadFloat();
 1211            break;
 1212          }
 1213          case 85: {
 1214            PaddingBottom = input.ReadFloat();
 1215            break;
 1216          }
 1217          case 93: {
 1218            PaddingLeft = input.ReadFloat();
 1219            break;
 1220          }
 1221          case 101: {
 1222            LineSpacing = input.ReadFloat();
 1223            break;
 1224          }
 1225          case 104: {
 1226            LineCount = input.ReadInt32();
 1227            break;
 1228          }
 1229          case 112: {
 1230            TextWrapping = input.ReadBool();
 1231            break;
 1232          }
 1233          case 125: {
 1234            ShadowBlur = input.ReadFloat();
 1235            break;
 1236          }
 1237          case 133: {
 1238            ShadowOffsetX = input.ReadFloat();
 1239            break;
 1240          }
 1241          case 141: {
 1242            ShadowOffsetY = input.ReadFloat();
 1243            break;
 1244          }
 1245          case 149: {
 1246            OutlineWidth = input.ReadFloat();
 1247            break;
 1248          }
 1249          case 154: {
 1250            if (shadowColor_ == null) {
 1251              ShadowColor = new global::Decentraland.Common.Color3();
 1252            }
 1253            input.ReadMessage(ShadowColor);
 1254            break;
 1255          }
 1256          case 162: {
 1257            if (outlineColor_ == null) {
 1258              OutlineColor = new global::Decentraland.Common.Color3();
 1259            }
 1260            input.ReadMessage(OutlineColor);
 1261            break;
 1262          }
 1263          case 170: {
 1264            if (textColor_ == null) {
 1265              TextColor = new global::Decentraland.Common.Color4();
 1266            }
 1267            input.ReadMessage(TextColor);
 1268            break;
 1269          }
 1270        }
 1271      }
 1272    }
 1273    #endif
 1274
 1275  }
 1276
 1277  #endregion
 1278
 1279}
 1280
 1281#endregion Designer generated code

Methods/Properties

Descriptor()
TextShapeReflection()