< Summary

Class:DCL.ECSComponents.TextShapeReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/TextShape.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:1272
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/DCLPlugins/ECS7/ProtocolBuffers/Generated/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::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          }));
 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.FLiberationSans; } 
 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    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 412    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 413    public float LineSpacing {
 414      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 415      set {
 416        _hasBits0 |= 1024;
 417        lineSpacing_ = value;
 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 {
 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() {
 430      _hasBits0 &= ~1024;
 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 {
 439      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 440      set {
 441        _hasBits0 |= 2048;
 442        lineCount_ = value;
 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 {
 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() {
 455      _hasBits0 &= ~2048;
 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 {
 464      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 465      set {
 466        _hasBits0 |= 4096;
 467        textWrapping_ = value;
 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 {
 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() {
 480      _hasBits0 &= ~4096;
 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 {
 489      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 490      set {
 491        _hasBits0 |= 8192;
 492        shadowBlur_ = value;
 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 {
 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() {
 505      _hasBits0 &= ~8192;
 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 {
 514      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 515      set {
 516        _hasBits0 |= 16384;
 517        shadowOffsetX_ = value;
 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 {
 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() {
 530      _hasBits0 &= ~16384;
 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 {
 539      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 540      set {
 541        _hasBits0 |= 32768;
 542        shadowOffsetY_ = value;
 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 {
 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() {
 555      _hasBits0 &= ~32768;
 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 {
 564      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 565      set {
 566        _hasBits0 |= 65536;
 567        outlineWidth_ = value;
 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 {
 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() {
 580      _hasBits0 &= ~65536;
 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 {
 592      get { return shadowColor_; }
 593      set {
 594        shadowColor_ = value;
 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 {
 607      get { return outlineColor_; }
 608      set {
 609        outlineColor_ = value;
 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 {
 622      get { return textColor_; }
 623      set {
 624        textColor_ = value;
 625      }
 626    }
 627
 628    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 629    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 630    public override bool Equals(object other) {
 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) {
 637      if (ReferenceEquals(other, null)) {
 638        return false;
 639      }
 640      if (ReferenceEquals(other, this)) {
 641        return true;
 642      }
 643      if (Text != other.Text) return false;
 644      if (Font != other.Font) return false;
 645      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 646      if (FontAutoSize != other.FontAutoSize) return false;
 647      if (TextAlign != other.TextAlign) return false;
 648      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 649      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 650      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 651      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 652      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 653      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 654      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 655      if (LineCount != other.LineCount) return false;
 656      if (TextWrapping != other.TextWrapping) return false;
 657      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 658      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 659      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 660      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 661      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 662      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 663      if (!object.Equals(TextColor, other.TextColor)) return false;
 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() {
 670      int hash = 1;
 671      if (Text.Length != 0) hash ^= Text.GetHashCode();
 672      if (HasFont) hash ^= Font.GetHashCode();
 673      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 674      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 675      if (HasTextAlign) hash ^= TextAlign.GetHashCode();
 676      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 677      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 678      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 679      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 680      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 681      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 682      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 683      if (HasLineCount) hash ^= LineCount.GetHashCode();
 684      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 685      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 686      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 687      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 688      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 689      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 690      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 691      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 692      if (_unknownFields != null) {
 693        hash ^= _unknownFields.GetHashCode();
 694      }
 695      return hash;
 696    }
 697
 698    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 699    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 700    public override string ToString() {
 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
 710      if (Text.Length != 0) {
 711        output.WriteRawTag(10);
 712        output.WriteString(Text);
 713      }
 714      if (HasFont) {
 715        output.WriteRawTag(16);
 716        output.WriteEnum((int) Font);
 717      }
 718      if (HasFontSize) {
 719        output.WriteRawTag(29);
 720        output.WriteFloat(FontSize);
 721      }
 722      if (HasFontAutoSize) {
 723        output.WriteRawTag(32);
 724        output.WriteBool(FontAutoSize);
 725      }
 726      if (HasTextAlign) {
 727        output.WriteRawTag(40);
 728        output.WriteEnum((int) TextAlign);
 729      }
 730      if (HasWidth) {
 731        output.WriteRawTag(53);
 732        output.WriteFloat(Width);
 733      }
 734      if (HasHeight) {
 735        output.WriteRawTag(61);
 736        output.WriteFloat(Height);
 737      }
 738      if (HasPaddingTop) {
 739        output.WriteRawTag(69);
 740        output.WriteFloat(PaddingTop);
 741      }
 742      if (HasPaddingRight) {
 743        output.WriteRawTag(77);
 744        output.WriteFloat(PaddingRight);
 745      }
 746      if (HasPaddingBottom) {
 747        output.WriteRawTag(85);
 748        output.WriteFloat(PaddingBottom);
 749      }
 750      if (HasPaddingLeft) {
 751        output.WriteRawTag(93);
 752        output.WriteFloat(PaddingLeft);
 753      }
 754      if (HasLineSpacing) {
 755        output.WriteRawTag(101);
 756        output.WriteFloat(LineSpacing);
 757      }
 758      if (HasLineCount) {
 759        output.WriteRawTag(104);
 760        output.WriteInt32(LineCount);
 761      }
 762      if (HasTextWrapping) {
 763        output.WriteRawTag(112);
 764        output.WriteBool(TextWrapping);
 765      }
 766      if (HasShadowBlur) {
 767        output.WriteRawTag(125);
 768        output.WriteFloat(ShadowBlur);
 769      }
 770      if (HasShadowOffsetX) {
 771        output.WriteRawTag(133, 1);
 772        output.WriteFloat(ShadowOffsetX);
 773      }
 774      if (HasShadowOffsetY) {
 775        output.WriteRawTag(141, 1);
 776        output.WriteFloat(ShadowOffsetY);
 777      }
 778      if (HasOutlineWidth) {
 779        output.WriteRawTag(149, 1);
 780        output.WriteFloat(OutlineWidth);
 781      }
 782      if (shadowColor_ != null) {
 783        output.WriteRawTag(154, 1);
 784        output.WriteMessage(ShadowColor);
 785      }
 786      if (outlineColor_ != null) {
 787        output.WriteRawTag(162, 1);
 788        output.WriteMessage(OutlineColor);
 789      }
 790      if (textColor_ != null) {
 791        output.WriteRawTag(170, 1);
 792        output.WriteMessage(TextColor);
 793      }
 794      if (_unknownFields != null) {
 795        _unknownFields.WriteTo(output);
 796      }
 797    #endif
 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() {
 897      int size = 0;
 898      if (Text.Length != 0) {
 899        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 900      }
 901      if (HasFont) {
 902        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font);
 903      }
 904      if (HasFontSize) {
 905        size += 1 + 4;
 906      }
 907      if (HasFontAutoSize) {
 908        size += 1 + 1;
 909      }
 910      if (HasTextAlign) {
 911        size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign);
 912      }
 913      if (HasWidth) {
 914        size += 1 + 4;
 915      }
 916      if (HasHeight) {
 917        size += 1 + 4;
 918      }
 919      if (HasPaddingTop) {
 920        size += 1 + 4;
 921      }
 922      if (HasPaddingRight) {
 923        size += 1 + 4;
 924      }
 925      if (HasPaddingBottom) {
 926        size += 1 + 4;
 927      }
 928      if (HasPaddingLeft) {
 929        size += 1 + 4;
 930      }
 931      if (HasLineSpacing) {
 932        size += 1 + 4;
 933      }
 934      if (HasLineCount) {
 935        size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 936      }
 937      if (HasTextWrapping) {
 938        size += 1 + 1;
 939      }
 940      if (HasShadowBlur) {
 941        size += 1 + 4;
 942      }
 943      if (HasShadowOffsetX) {
 944        size += 2 + 4;
 945      }
 946      if (HasShadowOffsetY) {
 947        size += 2 + 4;
 948      }
 949      if (HasOutlineWidth) {
 950        size += 2 + 4;
 951      }
 952      if (shadowColor_ != null) {
 953        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 954      }
 955      if (outlineColor_ != null) {
 956        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 957      }
 958      if (textColor_ != null) {
 959        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 960      }
 961      if (_unknownFields != null) {
 962        size += _unknownFields.CalculateSize();
 963      }
 964      return size;
 965    }
 966
 967    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 968    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 969    public void MergeFrom(PBTextShape other) {
 970      if (other == null) {
 971        return;
 972      }
 973      if (other.Text.Length != 0) {
 974        Text = other.Text;
 975      }
 976      if (other.HasFont) {
 977        Font = other.Font;
 978      }
 979      if (other.HasFontSize) {
 980        FontSize = other.FontSize;
 981      }
 982      if (other.HasFontAutoSize) {
 983        FontAutoSize = other.FontAutoSize;
 984      }
 985      if (other.HasTextAlign) {
 986        TextAlign = other.TextAlign;
 987      }
 988      if (other.HasWidth) {
 989        Width = other.Width;
 990      }
 991      if (other.HasHeight) {
 992        Height = other.Height;
 993      }
 994      if (other.HasPaddingTop) {
 995        PaddingTop = other.PaddingTop;
 996      }
 997      if (other.HasPaddingRight) {
 998        PaddingRight = other.PaddingRight;
 999      }
 1000      if (other.HasPaddingBottom) {
 1001        PaddingBottom = other.PaddingBottom;
 1002      }
 1003      if (other.HasPaddingLeft) {
 1004        PaddingLeft = other.PaddingLeft;
 1005      }
 1006      if (other.HasLineSpacing) {
 1007        LineSpacing = other.LineSpacing;
 1008      }
 1009      if (other.HasLineCount) {
 1010        LineCount = other.LineCount;
 1011      }
 1012      if (other.HasTextWrapping) {
 1013        TextWrapping = other.TextWrapping;
 1014      }
 1015      if (other.HasShadowBlur) {
 1016        ShadowBlur = other.ShadowBlur;
 1017      }
 1018      if (other.HasShadowOffsetX) {
 1019        ShadowOffsetX = other.ShadowOffsetX;
 1020      }
 1021      if (other.HasShadowOffsetY) {
 1022        ShadowOffsetY = other.ShadowOffsetY;
 1023      }
 1024      if (other.HasOutlineWidth) {
 1025        OutlineWidth = other.OutlineWidth;
 1026      }
 1027      if (other.shadowColor_ != null) {
 1028        if (shadowColor_ == null) {
 1029          ShadowColor = new global::DCL.ECSComponents.Color3();
 1030        }
 1031        ShadowColor.MergeFrom(other.ShadowColor);
 1032      }
 1033      if (other.outlineColor_ != null) {
 1034        if (outlineColor_ == null) {
 1035          OutlineColor = new global::DCL.ECSComponents.Color3();
 1036        }
 1037        OutlineColor.MergeFrom(other.OutlineColor);
 1038      }
 1039      if (other.textColor_ != null) {
 1040        if (textColor_ == null) {
 1041          TextColor = new global::DCL.ECSComponents.Color4();
 1042        }
 1043        TextColor.MergeFrom(other.TextColor);
 1044      }
 1045      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 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;
 1055      while ((tag = input.ReadTag()) != 0) {
 1056        switch(tag) {
 1057          default:
 1058            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 1059            break;
 1060          case 10: {
 1061            Text = input.ReadString();
 1062            break;
 1063          }
 1064          case 16: {
 1065            Font = (global::DCL.ECSComponents.Font) input.ReadEnum();
 1066            break;
 1067          }
 1068          case 29: {
 1069            FontSize = input.ReadFloat();
 1070            break;
 1071          }
 1072          case 32: {
 1073            FontAutoSize = input.ReadBool();
 1074            break;
 1075          }
 1076          case 40: {
 1077            TextAlign = (global::DCL.ECSComponents.TextAlignMode) input.ReadEnum();
 1078            break;
 1079          }
 1080          case 53: {
 1081            Width = input.ReadFloat();
 1082            break;
 1083          }
 1084          case 61: {
 1085            Height = input.ReadFloat();
 1086            break;
 1087          }
 1088          case 69: {
 1089            PaddingTop = input.ReadFloat();
 1090            break;
 1091          }
 1092          case 77: {
 1093            PaddingRight = input.ReadFloat();
 1094            break;
 1095          }
 1096          case 85: {
 1097            PaddingBottom = input.ReadFloat();
 1098            break;
 1099          }
 1100          case 93: {
 1101            PaddingLeft = input.ReadFloat();
 1102            break;
 1103          }
 1104          case 101: {
 1105            LineSpacing = input.ReadFloat();
 1106            break;
 1107          }
 1108          case 104: {
 1109            LineCount = input.ReadInt32();
 1110            break;
 1111          }
 1112          case 112: {
 1113            TextWrapping = input.ReadBool();
 1114            break;
 1115          }
 1116          case 125: {
 1117            ShadowBlur = input.ReadFloat();
 1118            break;
 1119          }
 1120          case 133: {
 1121            ShadowOffsetX = input.ReadFloat();
 1122            break;
 1123          }
 1124          case 141: {
 1125            ShadowOffsetY = input.ReadFloat();
 1126            break;
 1127          }
 1128          case 149: {
 1129            OutlineWidth = input.ReadFloat();
 1130            break;
 1131          }
 1132          case 154: {
 1133            if (shadowColor_ == null) {
 1134              ShadowColor = new global::DCL.ECSComponents.Color3();
 1135            }
 1136            input.ReadMessage(ShadowColor);
 1137            break;
 1138          }
 1139          case 162: {
 1140            if (outlineColor_ == null) {
 1141              OutlineColor = new global::DCL.ECSComponents.Color3();
 1142            }
 1143            input.ReadMessage(OutlineColor);
 1144            break;
 1145          }
 1146          case 170: {
 1147            if (textColor_ == null) {
 1148              TextColor = new global::DCL.ECSComponents.Color4();
 1149            }
 1150            input.ReadMessage(TextColor);
 1151            break;
 1152          }
 1153        }
 1154      }
 1155    #endif
 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

Methods/Properties

Descriptor()
TextShapeReflection()