< Summary

Class:DCL.ECSComponents.PBTextShape
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/TextShape.gen.cs
Covered lines:179
Uncovered lines:307
Coverable lines:486
Total lines:1424
Line coverage:36.8% (179 of 486)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
PBTextShape()0%110100%
get_Descriptor()0%2100%
PBTextShape(...)0%56700%
Clone()0%2100%
PBTextShape()0%110100%
ClearVisible()0%2100%
ClearFont()0%2100%
ClearOpacity()0%2100%
ClearFontSize()0%2100%
ClearFontAutoSize()0%2100%
ClearHTextAlign()0%2100%
ClearVTextAlign()0%2100%
ClearWidth()0%2100%
ClearHeight()0%2100%
ClearPaddingTop()0%2100%
ClearPaddingRight()0%2100%
ClearPaddingBottom()0%2100%
ClearPaddingLeft()0%2100%
ClearLineSpacing()0%2100%
ClearLineCount()0%2100%
ClearTextWrapping()0%2100%
ClearShadowBlur()0%2100%
ClearShadowOffsetX()0%2100%
ClearShadowOffsetY()0%2100%
ClearOutlineWidth()0%2100%
Equals(...)0%110100%
Equals(...)0%603.032707.55%
GetHashCode()0%27.0426088.46%
ToString()0%2100%
WriteTo(...)0%107.1526050.67%
CalculateSize()0%58.9826063.46%
MergeFrom(...)0%8702900%
MergeFrom(...)0%554.3936026.32%

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: ecs/components/TextShape.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 ecs/components/TextShape.proto</summary>
 15  public static partial class TextShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for ecs/components/TextShape.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 20      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static TextShapeReflection() {
 25      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "Ch5lY3MvY29tcG9uZW50cy9UZXh0U2hhcGUucHJvdG8SEGRlY2VudHJhbGFu",
 28            "ZC5lY3MaImVjcy9jb21wb25lbnRzL2NvbW1vbi9Db2xvcjMucHJvdG8iowgK",
 29            "C1BCVGV4dFNoYXBlEgwKBHRleHQYASABKAkSFAoHdmlzaWJsZRgCIAEoCEgA",
 30            "iAEBEhEKBGZvbnQYAyABKAlIAYgBARIUCgdvcGFjaXR5GAQgASgCSAKIAQES",
 31            "FgoJZm9udF9TaXplGAUgASgCSAOIAQESGgoNZm9udF9hdXRvU2l6ZRgGIAEo",
 32            "CEgEiAEBEhkKDGhfdGV4dF9hbGlnbhgHIAEoCUgFiAEBEhkKDHZfdGV4dF9h",
 33            "bGlnbhgIIAEoCUgGiAEBEhIKBXdpZHRoGAkgASgCSAeIAQESEwoGaGVpZ2h0",
 34            "GAogASgCSAiIAQESGAoLcGFkZGluZ190b3AYCyABKAJICYgBARIaCg1wYWRk",
 35            "aW5nX3JpZ2h0GAwgASgCSAqIAQESGwoOcGFkZGluZ19ib3R0b20YDSABKAJI",
 36            "C4gBARIZCgxwYWRkaW5nX2xlZnQYDiABKAJIDIgBARIZCgxsaW5lX3NwYWNp",
 37            "bmcYDyABKAJIDYgBARIXCgpsaW5lX2NvdW50GBAgASgFSA6IAQESGgoNdGV4",
 38            "dF93cmFwcGluZxgRIAEoCEgPiAEBEhgKC3NoYWRvd19ibHVyGBIgASgCSBCI",
 39            "AQESGwoOc2hhZG93X29mZnNldFgYEyABKAJIEYgBARIbCg5zaGFkb3dfb2Zm",
 40            "c2V0WRgUIAEoAkgSiAEBEhoKDW91dGxpbmVfd2lkdGgYFSABKAJIE4gBARIz",
 41            "CgxzaGFkb3dfY29sb3IYFiABKAsyGC5kZWNlbnRyYWxhbmQuZWNzLkNvbG9y",
 42            "M0gUiAEBEjQKDW91dGxpbmVfY29sb3IYFyABKAsyGC5kZWNlbnRyYWxhbmQu",
 43            "ZWNzLkNvbG9yM0gViAEBEjEKCnRleHRfY29sb3IYGCABKAsyGC5kZWNlbnRy",
 44            "YWxhbmQuZWNzLkNvbG9yM0gWiAEBQgoKCF92aXNpYmxlQgcKBV9mb250QgoK",
 45            "CF9vcGFjaXR5QgwKCl9mb250X1NpemVCEAoOX2ZvbnRfYXV0b1NpemVCDwoN",
 46            "X2hfdGV4dF9hbGlnbkIPCg1fdl90ZXh0X2FsaWduQggKBl93aWR0aEIJCgdf",
 47            "aGVpZ2h0Qg4KDF9wYWRkaW5nX3RvcEIQCg5fcGFkZGluZ19yaWdodEIRCg9f",
 48            "cGFkZGluZ19ib3R0b21CDwoNX3BhZGRpbmdfbGVmdEIPCg1fbGluZV9zcGFj",
 49            "aW5nQg0KC19saW5lX2NvdW50QhAKDl90ZXh0X3dyYXBwaW5nQg4KDF9zaGFk",
 50            "b3dfYmx1ckIRCg9fc2hhZG93X29mZnNldFhCEQoPX3NoYWRvd19vZmZzZXRZ",
 51            "QhAKDl9vdXRsaW5lX3dpZHRoQg8KDV9zaGFkb3dfY29sb3JCEAoOX291dGxp",
 52            "bmVfY29sb3JCDQoLX3RleHRfY29sb3JCFKoCEURDTC5FQ1NDb21wb25lbnRz",
 53            "YgZwcm90bzM="));
 54      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 55          new pbr::FileDescriptor[] { global::DCL.ECSComponents.Color3Reflection.Descriptor, },
 56          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 57            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBTextShape), global::DCL.ECSComponents.PBTex
 58          }));
 59    }
 60    #endregion
 61
 62  }
 63  #region Messages
 64  public sealed partial class PBTextShape : pb::IMessage<PBTextShape>
 65  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 66      , pb::IBufferMessage
 67  #endif
 68  {
 269    private static readonly pb::MessageParser<PBTextShape> _parser = new pb::MessageParser<PBTextShape>(() => new PBText
 70    private pb::UnknownFieldSet _unknownFields;
 71    private int _hasBits0;
 72    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 73    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 074    public static pb::MessageParser<PBTextShape> Parser { get { return _parser; } }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    public static pbr::MessageDescriptor Descriptor {
 079      get { return global::DCL.ECSComponents.TextShapeReflection.Descriptor.MessageTypes[0]; }
 80    }
 81
 82    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 83    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 84    pbr::MessageDescriptor pb::IMessage.Descriptor {
 085      get { return Descriptor; }
 86    }
 87
 88    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 89    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 3090    public PBTextShape() {
 91      OnConstruction();
 3092    }
 93
 94    partial void OnConstruction();
 95
 96    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 97    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 098    public PBTextShape(PBTextShape other) : this() {
 099      _hasBits0 = other._hasBits0;
 0100      text_ = other.text_;
 0101      visible_ = other.visible_;
 0102      font_ = other.font_;
 0103      opacity_ = other.opacity_;
 0104      fontSize_ = other.fontSize_;
 0105      fontAutoSize_ = other.fontAutoSize_;
 0106      hTextAlign_ = other.hTextAlign_;
 0107      vTextAlign_ = other.vTextAlign_;
 0108      width_ = other.width_;
 0109      height_ = other.height_;
 0110      paddingTop_ = other.paddingTop_;
 0111      paddingRight_ = other.paddingRight_;
 0112      paddingBottom_ = other.paddingBottom_;
 0113      paddingLeft_ = other.paddingLeft_;
 0114      lineSpacing_ = other.lineSpacing_;
 0115      lineCount_ = other.lineCount_;
 0116      textWrapping_ = other.textWrapping_;
 0117      shadowBlur_ = other.shadowBlur_;
 0118      shadowOffsetX_ = other.shadowOffsetX_;
 0119      shadowOffsetY_ = other.shadowOffsetY_;
 0120      outlineWidth_ = other.outlineWidth_;
 0121      shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null;
 0122      outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null;
 0123      textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null;
 0124      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 0125    }
 126
 127    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 128    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 129    public PBTextShape Clone() {
 0130      return new PBTextShape(this);
 131    }
 132
 133    /// <summary>Field number for the "text" field.</summary>
 134    public const int TextFieldNumber = 1;
 30135    private string text_ = "";
 136    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 137    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 138    public string Text {
 0139      get { return text_; }
 140      set {
 0141        text_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0142      }
 143    }
 144
 145    /// <summary>Field number for the "visible" field.</summary>
 146    public const int VisibleFieldNumber = 2;
 147    private bool visible_;
 148    /// <summary>
 149    /// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
 150    /// </summary>
 151    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 152    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 153    public bool Visible {
 0154      get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } }
 155      set {
 2156        _hasBits0 |= 1;
 2157        visible_ = value;
 2158      }
 159    }
 160    /// <summary>Gets whether the "visible" field is set</summary>
 161    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public bool HasVisible {
 0164      get { return (_hasBits0 & 1) != 0; }
 165    }
 166    /// <summary>Clears the value of the "visible" field</summary>
 167    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 168    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 169    public void ClearVisible() {
 0170      _hasBits0 &= ~1;
 0171    }
 172
 173    /// <summary>Field number for the "font" field.</summary>
 174    public const int FontFieldNumber = 3;
 175    private string font_;
 176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 178    public string Font {
 0179      get { return font_ ?? ""; }
 180      set {
 30181        font_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 30182      }
 183    }
 184    /// <summary>Gets whether the "font" field is set</summary>
 185    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 186    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 187    public bool HasFont {
 0188      get { return font_ != null; }
 189    }
 190    /// <summary>Clears the value of the "font" field</summary>
 191    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 192    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 193    public void ClearFont() {
 0194      font_ = null;
 0195    }
 196
 197    /// <summary>Field number for the "opacity" field.</summary>
 198    public const int OpacityFieldNumber = 4;
 199    private float opacity_;
 200    /// <summary>
 201    /// default=1.0f
 202    /// </summary>
 203    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 204    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 205    public float Opacity {
 6206      get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } }
 207      set {
 1208        _hasBits0 |= 2;
 1209        opacity_ = value;
 1210      }
 211    }
 212    /// <summary>Gets whether the "opacity" field is set</summary>
 213    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 214    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 215    public bool HasOpacity {
 0216      get { return (_hasBits0 & 2) != 0; }
 217    }
 218    /// <summary>Clears the value of the "opacity" field</summary>
 219    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 220    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 221    public void ClearOpacity() {
 0222      _hasBits0 &= ~2;
 0223    }
 224
 225    /// <summary>Field number for the "font_Size" field.</summary>
 226    public const int FontSizeFieldNumber = 5;
 227    private float fontSize_;
 228    /// <summary>
 229    /// default=10
 230    /// </summary>
 231    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 232    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 233    public float FontSize {
 10234      get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0F; } }
 235      set {
 3236        _hasBits0 |= 4;
 3237        fontSize_ = value;
 3238      }
 239    }
 240    /// <summary>Gets whether the "font_Size" field is set</summary>
 241    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 242    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 243    public bool HasFontSize {
 0244      get { return (_hasBits0 & 4) != 0; }
 245    }
 246    /// <summary>Clears the value of the "font_Size" field</summary>
 247    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 248    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 249    public void ClearFontSize() {
 0250      _hasBits0 &= ~4;
 0251    }
 252
 253    /// <summary>Field number for the "font_autoSize" field.</summary>
 254    public const int FontAutoSizeFieldNumber = 6;
 255    private bool fontAutoSize_;
 256    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 257    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 258    public bool FontAutoSize {
 0259      get { if ((_hasBits0 & 8) != 0) { return fontAutoSize_; } else { return false; } }
 260      set {
 2261        _hasBits0 |= 8;
 2262        fontAutoSize_ = value;
 2263      }
 264    }
 265    /// <summary>Gets whether the "font_autoSize" field is set</summary>
 266    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 267    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 268    public bool HasFontAutoSize {
 0269      get { return (_hasBits0 & 8) != 0; }
 270    }
 271    /// <summary>Clears the value of the "font_autoSize" field</summary>
 272    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 273    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 274    public void ClearFontAutoSize() {
 0275      _hasBits0 &= ~8;
 0276    }
 277
 278    /// <summary>Field number for the "h_text_align" field.</summary>
 279    public const int HTextAlignFieldNumber = 7;
 280    private string hTextAlign_;
 281    /// <summary>
 282    /// default='center'
 283    /// </summary>
 284    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 285    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 286    public string HTextAlign {
 0287      get { return hTextAlign_ ?? ""; }
 288      set {
 0289        hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0290      }
 291    }
 292    /// <summary>Gets whether the "h_text_align" field is set</summary>
 293    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 294    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 295    public bool HasHTextAlign {
 0296      get { return hTextAlign_ != null; }
 297    }
 298    /// <summary>Clears the value of the "h_text_align" field</summary>
 299    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 300    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 301    public void ClearHTextAlign() {
 0302      hTextAlign_ = null;
 0303    }
 304
 305    /// <summary>Field number for the "v_text_align" field.</summary>
 306    public const int VTextAlignFieldNumber = 8;
 307    private string vTextAlign_;
 308    /// <summary>
 309    /// default='center'
 310    /// </summary>
 311    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 312    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 313    public string VTextAlign {
 0314      get { return vTextAlign_ ?? ""; }
 315      set {
 0316        vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 0317      }
 318    }
 319    /// <summary>Gets whether the "v_text_align" field is set</summary>
 320    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 321    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 322    public bool HasVTextAlign {
 0323      get { return vTextAlign_ != null; }
 324    }
 325    /// <summary>Clears the value of the "v_text_align" field</summary>
 326    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 327    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 328    public void ClearVTextAlign() {
 0329      vTextAlign_ = null;
 0330    }
 331
 332    /// <summary>Field number for the "width" field.</summary>
 333    public const int WidthFieldNumber = 9;
 334    private float width_;
 335    /// <summary>
 336    /// default=1
 337    /// </summary>
 338    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 339    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 340    public float Width {
 16341      get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } }
 342      set {
 4343        _hasBits0 |= 16;
 4344        width_ = value;
 4345      }
 346    }
 347    /// <summary>Gets whether the "width" field is set</summary>
 348    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 349    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 350    public bool HasWidth {
 0351      get { return (_hasBits0 & 16) != 0; }
 352    }
 353    /// <summary>Clears the value of the "width" field</summary>
 354    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 355    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 356    public void ClearWidth() {
 0357      _hasBits0 &= ~16;
 0358    }
 359
 360    /// <summary>Field number for the "height" field.</summary>
 361    public const int HeightFieldNumber = 10;
 362    private float height_;
 363    /// <summary>
 364    /// default=1
 365    /// </summary>
 366    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 367    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 368    public float Height {
 16369      get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } }
 370      set {
 4371        _hasBits0 |= 32;
 4372        height_ = value;
 4373      }
 374    }
 375    /// <summary>Gets whether the "height" field is set</summary>
 376    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 377    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 378    public bool HasHeight {
 0379      get { return (_hasBits0 & 32) != 0; }
 380    }
 381    /// <summary>Clears the value of the "height" field</summary>
 382    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 383    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 384    public void ClearHeight() {
 0385      _hasBits0 &= ~32;
 0386    }
 387
 388    /// <summary>Field number for the "padding_top" field.</summary>
 389    public const int PaddingTopFieldNumber = 11;
 390    private float paddingTop_;
 391    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 392    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 393    public float PaddingTop {
 106394      get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } }
 395      set {
 1396        _hasBits0 |= 64;
 1397        paddingTop_ = value;
 1398      }
 399    }
 400    /// <summary>Gets whether the "padding_top" field is set</summary>
 401    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 402    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 403    public bool HasPaddingTop {
 0404      get { return (_hasBits0 & 64) != 0; }
 405    }
 406    /// <summary>Clears the value of the "padding_top" field</summary>
 407    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 408    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 409    public void ClearPaddingTop() {
 0410      _hasBits0 &= ~64;
 0411    }
 412
 413    /// <summary>Field number for the "padding_right" field.</summary>
 414    public const int PaddingRightFieldNumber = 12;
 415    private float paddingRight_;
 416    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 417    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 418    public float PaddingRight {
 106419      get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } }
 420      set {
 1421        _hasBits0 |= 128;
 1422        paddingRight_ = value;
 1423      }
 424    }
 425    /// <summary>Gets whether the "padding_right" field is set</summary>
 426    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 427    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 428    public bool HasPaddingRight {
 0429      get { return (_hasBits0 & 128) != 0; }
 430    }
 431    /// <summary>Clears the value of the "padding_right" field</summary>
 432    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 433    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 434    public void ClearPaddingRight() {
 0435      _hasBits0 &= ~128;
 0436    }
 437
 438    /// <summary>Field number for the "padding_bottom" field.</summary>
 439    public const int PaddingBottomFieldNumber = 13;
 440    private float paddingBottom_;
 441    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 442    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 443    public float PaddingBottom {
 106444      get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } }
 445      set {
 1446        _hasBits0 |= 256;
 1447        paddingBottom_ = value;
 1448      }
 449    }
 450    /// <summary>Gets whether the "padding_bottom" field is set</summary>
 451    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 452    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 453    public bool HasPaddingBottom {
 0454      get { return (_hasBits0 & 256) != 0; }
 455    }
 456    /// <summary>Clears the value of the "padding_bottom" field</summary>
 457    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 458    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 459    public void ClearPaddingBottom() {
 0460      _hasBits0 &= ~256;
 0461    }
 462
 463    /// <summary>Field number for the "padding_left" field.</summary>
 464    public const int PaddingLeftFieldNumber = 14;
 465    private float paddingLeft_;
 466    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 467    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 468    public float PaddingLeft {
 106469      get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } }
 470      set {
 1471        _hasBits0 |= 512;
 1472        paddingLeft_ = value;
 1473      }
 474    }
 475    /// <summary>Gets whether the "padding_left" field is set</summary>
 476    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 477    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 478    public bool HasPaddingLeft {
 0479      get { return (_hasBits0 & 512) != 0; }
 480    }
 481    /// <summary>Clears the value of the "padding_left" field</summary>
 482    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 483    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 484    public void ClearPaddingLeft() {
 0485      _hasBits0 &= ~512;
 0486    }
 487
 488    /// <summary>Field number for the "line_spacing" field.</summary>
 489    public const int LineSpacingFieldNumber = 15;
 490    private float lineSpacing_;
 491    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 492    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 493    public float LineSpacing {
 104494      get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } }
 495      set {
 1496        _hasBits0 |= 1024;
 1497        lineSpacing_ = value;
 1498      }
 499    }
 500    /// <summary>Gets whether the "line_spacing" field is set</summary>
 501    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 502    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 503    public bool HasLineSpacing {
 0504      get { return (_hasBits0 & 1024) != 0; }
 505    }
 506    /// <summary>Clears the value of the "line_spacing" field</summary>
 507    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 508    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 509    public void ClearLineSpacing() {
 0510      _hasBits0 &= ~1024;
 0511    }
 512
 513    /// <summary>Field number for the "line_count" field.</summary>
 514    public const int LineCountFieldNumber = 16;
 515    private int lineCount_;
 516    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 517    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 518    public int LineCount {
 114519      get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } }
 520      set {
 3521        _hasBits0 |= 2048;
 3522        lineCount_ = value;
 3523      }
 524    }
 525    /// <summary>Gets whether the "line_count" field is set</summary>
 526    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 527    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 528    public bool HasLineCount {
 0529      get { return (_hasBits0 & 2048) != 0; }
 530    }
 531    /// <summary>Clears the value of the "line_count" field</summary>
 532    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 533    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 534    public void ClearLineCount() {
 0535      _hasBits0 &= ~2048;
 0536    }
 537
 538    /// <summary>Field number for the "text_wrapping" field.</summary>
 539    public const int TextWrappingFieldNumber = 17;
 540    private bool textWrapping_;
 541    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 542    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 543    public bool TextWrapping {
 228544      get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } }
 545      set {
 5546        _hasBits0 |= 4096;
 5547        textWrapping_ = value;
 5548      }
 549    }
 550    /// <summary>Gets whether the "text_wrapping" field is set</summary>
 551    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 552    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 553    public bool HasTextWrapping {
 0554      get { return (_hasBits0 & 4096) != 0; }
 555    }
 556    /// <summary>Clears the value of the "text_wrapping" field</summary>
 557    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 558    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 559    public void ClearTextWrapping() {
 0560      _hasBits0 &= ~4096;
 0561    }
 562
 563    /// <summary>Field number for the "shadow_blur" field.</summary>
 564    public const int ShadowBlurFieldNumber = 18;
 565    private float shadowBlur_;
 566    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 567    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 568    public float ShadowBlur {
 102569      get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } }
 570      set {
 0571        _hasBits0 |= 8192;
 0572        shadowBlur_ = value;
 0573      }
 574    }
 575    /// <summary>Gets whether the "shadow_blur" field is set</summary>
 576    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 577    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 578    public bool HasShadowBlur {
 0579      get { return (_hasBits0 & 8192) != 0; }
 580    }
 581    /// <summary>Clears the value of the "shadow_blur" field</summary>
 582    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 583    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 584    public void ClearShadowBlur() {
 0585      _hasBits0 &= ~8192;
 0586    }
 587
 588    /// <summary>Field number for the "shadow_offsetX" field.</summary>
 589    public const int ShadowOffsetXFieldNumber = 19;
 590    private float shadowOffsetX_;
 591    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 592    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 593    public float ShadowOffsetX {
 0594      get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } }
 595      set {
 0596        _hasBits0 |= 16384;
 0597        shadowOffsetX_ = value;
 0598      }
 599    }
 600    /// <summary>Gets whether the "shadow_offsetX" field is set</summary>
 601    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 602    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 603    public bool HasShadowOffsetX {
 0604      get { return (_hasBits0 & 16384) != 0; }
 605    }
 606    /// <summary>Clears the value of the "shadow_offsetX" field</summary>
 607    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 608    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 609    public void ClearShadowOffsetX() {
 0610      _hasBits0 &= ~16384;
 0611    }
 612
 613    /// <summary>Field number for the "shadow_offsetY" field.</summary>
 614    public const int ShadowOffsetYFieldNumber = 20;
 615    private float shadowOffsetY_;
 616    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 617    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 618    public float ShadowOffsetY {
 0619      get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } }
 620      set {
 0621        _hasBits0 |= 32768;
 0622        shadowOffsetY_ = value;
 0623      }
 624    }
 625    /// <summary>Gets whether the "shadow_offsetY" field is set</summary>
 626    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 627    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 628    public bool HasShadowOffsetY {
 0629      get { return (_hasBits0 & 32768) != 0; }
 630    }
 631    /// <summary>Clears the value of the "shadow_offsetY" field</summary>
 632    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 633    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 634    public void ClearShadowOffsetY() {
 0635      _hasBits0 &= ~32768;
 0636    }
 637
 638    /// <summary>Field number for the "outline_width" field.</summary>
 639    public const int OutlineWidthFieldNumber = 21;
 640    private float outlineWidth_;
 641    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 642    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 643    public float OutlineWidth {
 108644      get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } }
 645      set {
 1646        _hasBits0 |= 65536;
 1647        outlineWidth_ = value;
 1648      }
 649    }
 650    /// <summary>Gets whether the "outline_width" field is set</summary>
 651    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 652    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 653    public bool HasOutlineWidth {
 0654      get { return (_hasBits0 & 65536) != 0; }
 655    }
 656    /// <summary>Clears the value of the "outline_width" field</summary>
 657    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 658    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 659    public void ClearOutlineWidth() {
 0660      _hasBits0 &= ~65536;
 0661    }
 662
 663    /// <summary>Field number for the "shadow_color" field.</summary>
 664    public const int ShadowColorFieldNumber = 22;
 665    private global::DCL.ECSComponents.Color3 shadowColor_;
 666    /// <summary>
 667    /// default=(1.0,1.0,1.0)
 668    /// </summary>
 669    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 670    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 671    public global::DCL.ECSComponents.Color3 ShadowColor {
 0672      get { return shadowColor_; }
 673      set {
 0674        shadowColor_ = value;
 0675      }
 676    }
 677
 678    /// <summary>Field number for the "outline_color" field.</summary>
 679    public const int OutlineColorFieldNumber = 23;
 680    private global::DCL.ECSComponents.Color3 outlineColor_;
 681    /// <summary>
 682    /// default=(1.0,1.0,1.0)
 683    /// </summary>
 684    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 685    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 686    public global::DCL.ECSComponents.Color3 OutlineColor {
 0687      get { return outlineColor_; }
 688      set {
 0689        outlineColor_ = value;
 0690      }
 691    }
 692
 693    /// <summary>Field number for the "text_color" field.</summary>
 694    public const int TextColorFieldNumber = 24;
 695    private global::DCL.ECSComponents.Color3 textColor_;
 696    /// <summary>
 697    /// default=(1.0,1.0,1.0)
 698    /// </summary>
 699    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 700    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 701    public global::DCL.ECSComponents.Color3 TextColor {
 0702      get { return textColor_; }
 703      set {
 0704        textColor_ = value;
 0705      }
 706    }
 707
 708    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 709    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 710    public override bool Equals(object other) {
 111711      return Equals(other as PBTextShape);
 712    }
 713
 714    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 715    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 716    public bool Equals(PBTextShape other) {
 169717      if (ReferenceEquals(other, null)) {
 58718        return false;
 719      }
 111720      if (ReferenceEquals(other, this)) {
 111721        return true;
 722      }
 0723      if (Text != other.Text) return false;
 0724      if (Visible != other.Visible) return false;
 0725      if (Font != other.Font) return false;
 0726      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false;
 0727      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false;
 0728      if (FontAutoSize != other.FontAutoSize) return false;
 0729      if (HTextAlign != other.HTextAlign) return false;
 0730      if (VTextAlign != other.VTextAlign) return false;
 0731      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false;
 0732      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false;
 0733      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal
 0734      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return
 0735      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu
 0736      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f
 0737      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f
 0738      if (LineCount != other.LineCount) return false;
 0739      if (TextWrapping != other.TextWrapping) return false;
 0740      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal
 0741      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu
 0742      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu
 0743      if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return
 0744      if (!object.Equals(ShadowColor, other.ShadowColor)) return false;
 0745      if (!object.Equals(OutlineColor, other.OutlineColor)) return false;
 0746      if (!object.Equals(TextColor, other.TextColor)) return false;
 0747      return Equals(_unknownFields, other._unknownFields);
 748    }
 749
 750    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 751    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 752    public override int GetHashCode() {
 205753      int hash = 1;
 206754      if (Text.Length != 0) hash ^= Text.GetHashCode();
 205755      if (HasVisible) hash ^= Visible.GetHashCode();
 410756      if (HasFont) hash ^= Font.GetHashCode();
 206757      if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity);
 206758      if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize);
 207759      if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode();
 209760      if (HasHTextAlign) hash ^= HTextAlign.GetHashCode();
 209761      if (HasVTextAlign) hash ^= VTextAlign.GetHashCode();
 209762      if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width);
 209763      if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height);
 206764      if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop);
 206765      if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight
 206766      if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott
 206767      if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft);
 206768      if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing);
 206769      if (HasLineCount) hash ^= LineCount.GetHashCode();
 210770      if (HasTextWrapping) hash ^= TextWrapping.GetHashCode();
 205771      if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur);
 205772      if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 205773      if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse
 206774      if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth
 205775      if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode();
 206776      if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode();
 207777      if (textColor_ != null) hash ^= TextColor.GetHashCode();
 205778      if (_unknownFields != null) {
 0779        hash ^= _unknownFields.GetHashCode();
 780      }
 205781      return hash;
 782    }
 783
 784    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 785    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 786    public override string ToString() {
 0787      return pb::JsonFormatter.ToDiagnosticString(this);
 788    }
 789
 790    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 791    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 792    public void WriteTo(pb::CodedOutputStream output) {
 793    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 794      output.WriteRawMessage(this);
 795    #else
 2796      if (Text.Length != 0) {
 1797        output.WriteRawTag(10);
 1798        output.WriteString(Text);
 799      }
 2800      if (HasVisible) {
 1801        output.WriteRawTag(16);
 1802        output.WriteBool(Visible);
 803      }
 2804      if (HasFont) {
 2805        output.WriteRawTag(26);
 2806        output.WriteString(Font);
 807      }
 2808      if (HasOpacity) {
 0809        output.WriteRawTag(37);
 0810        output.WriteFloat(Opacity);
 811      }
 2812      if (HasFontSize) {
 1813        output.WriteRawTag(45);
 1814        output.WriteFloat(FontSize);
 815      }
 2816      if (HasFontAutoSize) {
 0817        output.WriteRawTag(48);
 0818        output.WriteBool(FontAutoSize);
 819      }
 2820      if (HasHTextAlign) {
 0821        output.WriteRawTag(58);
 0822        output.WriteString(HTextAlign);
 823      }
 2824      if (HasVTextAlign) {
 0825        output.WriteRawTag(66);
 0826        output.WriteString(VTextAlign);
 827      }
 2828      if (HasWidth) {
 0829        output.WriteRawTag(77);
 0830        output.WriteFloat(Width);
 831      }
 2832      if (HasHeight) {
 0833        output.WriteRawTag(85);
 0834        output.WriteFloat(Height);
 835      }
 2836      if (HasPaddingTop) {
 0837        output.WriteRawTag(93);
 0838        output.WriteFloat(PaddingTop);
 839      }
 2840      if (HasPaddingRight) {
 0841        output.WriteRawTag(101);
 0842        output.WriteFloat(PaddingRight);
 843      }
 2844      if (HasPaddingBottom) {
 0845        output.WriteRawTag(109);
 0846        output.WriteFloat(PaddingBottom);
 847      }
 2848      if (HasPaddingLeft) {
 0849        output.WriteRawTag(117);
 0850        output.WriteFloat(PaddingLeft);
 851      }
 2852      if (HasLineSpacing) {
 0853        output.WriteRawTag(125);
 0854        output.WriteFloat(LineSpacing);
 855      }
 2856      if (HasLineCount) {
 1857        output.WriteRawTag(128, 1);
 1858        output.WriteInt32(LineCount);
 859      }
 2860      if (HasTextWrapping) {
 0861        output.WriteRawTag(136, 1);
 0862        output.WriteBool(TextWrapping);
 863      }
 2864      if (HasShadowBlur) {
 0865        output.WriteRawTag(149, 1);
 0866        output.WriteFloat(ShadowBlur);
 867      }
 2868      if (HasShadowOffsetX) {
 0869        output.WriteRawTag(157, 1);
 0870        output.WriteFloat(ShadowOffsetX);
 871      }
 2872      if (HasShadowOffsetY) {
 0873        output.WriteRawTag(165, 1);
 0874        output.WriteFloat(ShadowOffsetY);
 875      }
 2876      if (HasOutlineWidth) {
 0877        output.WriteRawTag(173, 1);
 0878        output.WriteFloat(OutlineWidth);
 879      }
 2880      if (shadowColor_ != null) {
 0881        output.WriteRawTag(178, 1);
 0882        output.WriteMessage(ShadowColor);
 883      }
 2884      if (outlineColor_ != null) {
 0885        output.WriteRawTag(186, 1);
 0886        output.WriteMessage(OutlineColor);
 887      }
 2888      if (textColor_ != null) {
 1889        output.WriteRawTag(194, 1);
 1890        output.WriteMessage(TextColor);
 891      }
 2892      if (_unknownFields != null) {
 0893        _unknownFields.WriteTo(output);
 894      }
 895    #endif
 2896    }
 897
 898    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 899    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 900    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 901    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 902      if (Text.Length != 0) {
 903        output.WriteRawTag(10);
 904        output.WriteString(Text);
 905      }
 906      if (HasVisible) {
 907        output.WriteRawTag(16);
 908        output.WriteBool(Visible);
 909      }
 910      if (HasFont) {
 911        output.WriteRawTag(26);
 912        output.WriteString(Font);
 913      }
 914      if (HasOpacity) {
 915        output.WriteRawTag(37);
 916        output.WriteFloat(Opacity);
 917      }
 918      if (HasFontSize) {
 919        output.WriteRawTag(45);
 920        output.WriteFloat(FontSize);
 921      }
 922      if (HasFontAutoSize) {
 923        output.WriteRawTag(48);
 924        output.WriteBool(FontAutoSize);
 925      }
 926      if (HasHTextAlign) {
 927        output.WriteRawTag(58);
 928        output.WriteString(HTextAlign);
 929      }
 930      if (HasVTextAlign) {
 931        output.WriteRawTag(66);
 932        output.WriteString(VTextAlign);
 933      }
 934      if (HasWidth) {
 935        output.WriteRawTag(77);
 936        output.WriteFloat(Width);
 937      }
 938      if (HasHeight) {
 939        output.WriteRawTag(85);
 940        output.WriteFloat(Height);
 941      }
 942      if (HasPaddingTop) {
 943        output.WriteRawTag(93);
 944        output.WriteFloat(PaddingTop);
 945      }
 946      if (HasPaddingRight) {
 947        output.WriteRawTag(101);
 948        output.WriteFloat(PaddingRight);
 949      }
 950      if (HasPaddingBottom) {
 951        output.WriteRawTag(109);
 952        output.WriteFloat(PaddingBottom);
 953      }
 954      if (HasPaddingLeft) {
 955        output.WriteRawTag(117);
 956        output.WriteFloat(PaddingLeft);
 957      }
 958      if (HasLineSpacing) {
 959        output.WriteRawTag(125);
 960        output.WriteFloat(LineSpacing);
 961      }
 962      if (HasLineCount) {
 963        output.WriteRawTag(128, 1);
 964        output.WriteInt32(LineCount);
 965      }
 966      if (HasTextWrapping) {
 967        output.WriteRawTag(136, 1);
 968        output.WriteBool(TextWrapping);
 969      }
 970      if (HasShadowBlur) {
 971        output.WriteRawTag(149, 1);
 972        output.WriteFloat(ShadowBlur);
 973      }
 974      if (HasShadowOffsetX) {
 975        output.WriteRawTag(157, 1);
 976        output.WriteFloat(ShadowOffsetX);
 977      }
 978      if (HasShadowOffsetY) {
 979        output.WriteRawTag(165, 1);
 980        output.WriteFloat(ShadowOffsetY);
 981      }
 982      if (HasOutlineWidth) {
 983        output.WriteRawTag(173, 1);
 984        output.WriteFloat(OutlineWidth);
 985      }
 986      if (shadowColor_ != null) {
 987        output.WriteRawTag(178, 1);
 988        output.WriteMessage(ShadowColor);
 989      }
 990      if (outlineColor_ != null) {
 991        output.WriteRawTag(186, 1);
 992        output.WriteMessage(OutlineColor);
 993      }
 994      if (textColor_ != null) {
 995        output.WriteRawTag(194, 1);
 996        output.WriteMessage(TextColor);
 997      }
 998      if (_unknownFields != null) {
 999        _unknownFields.WriteTo(ref output);
 1000      }
 1001    }
 1002    #endif
 1003
 1004    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1005    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1006    public int CalculateSize() {
 21007      int size = 0;
 21008      if (Text.Length != 0) {
 11009        size += 1 + pb::CodedOutputStream.ComputeStringSize(Text);
 1010      }
 21011      if (HasVisible) {
 11012        size += 1 + 1;
 1013      }
 21014      if (HasFont) {
 21015        size += 1 + pb::CodedOutputStream.ComputeStringSize(Font);
 1016      }
 21017      if (HasOpacity) {
 01018        size += 1 + 4;
 1019      }
 21020      if (HasFontSize) {
 11021        size += 1 + 4;
 1022      }
 21023      if (HasFontAutoSize) {
 01024        size += 1 + 1;
 1025      }
 21026      if (HasHTextAlign) {
 01027        size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign);
 1028      }
 21029      if (HasVTextAlign) {
 01030        size += 1 + pb::CodedOutputStream.ComputeStringSize(VTextAlign);
 1031      }
 21032      if (HasWidth) {
 01033        size += 1 + 4;
 1034      }
 21035      if (HasHeight) {
 01036        size += 1 + 4;
 1037      }
 21038      if (HasPaddingTop) {
 01039        size += 1 + 4;
 1040      }
 21041      if (HasPaddingRight) {
 01042        size += 1 + 4;
 1043      }
 21044      if (HasPaddingBottom) {
 01045        size += 1 + 4;
 1046      }
 21047      if (HasPaddingLeft) {
 01048        size += 1 + 4;
 1049      }
 21050      if (HasLineSpacing) {
 01051        size += 1 + 4;
 1052      }
 21053      if (HasLineCount) {
 11054        size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount);
 1055      }
 21056      if (HasTextWrapping) {
 01057        size += 2 + 1;
 1058      }
 21059      if (HasShadowBlur) {
 01060        size += 2 + 4;
 1061      }
 21062      if (HasShadowOffsetX) {
 01063        size += 2 + 4;
 1064      }
 21065      if (HasShadowOffsetY) {
 01066        size += 2 + 4;
 1067      }
 21068      if (HasOutlineWidth) {
 01069        size += 2 + 4;
 1070      }
 21071      if (shadowColor_ != null) {
 01072        size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor);
 1073      }
 21074      if (outlineColor_ != null) {
 01075        size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor);
 1076      }
 21077      if (textColor_ != null) {
 11078        size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor);
 1079      }
 21080      if (_unknownFields != null) {
 01081        size += _unknownFields.CalculateSize();
 1082      }
 21083      return size;
 1084    }
 1085
 1086    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1087    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1088    public void MergeFrom(PBTextShape other) {
 01089      if (other == null) {
 01090        return;
 1091      }
 01092      if (other.Text.Length != 0) {
 01093        Text = other.Text;
 1094      }
 01095      if (other.HasVisible) {
 01096        Visible = other.Visible;
 1097      }
 01098      if (other.HasFont) {
 01099        Font = other.Font;
 1100      }
 01101      if (other.HasOpacity) {
 01102        Opacity = other.Opacity;
 1103      }
 01104      if (other.HasFontSize) {
 01105        FontSize = other.FontSize;
 1106      }
 01107      if (other.HasFontAutoSize) {
 01108        FontAutoSize = other.FontAutoSize;
 1109      }
 01110      if (other.HasHTextAlign) {
 01111        HTextAlign = other.HTextAlign;
 1112      }
 01113      if (other.HasVTextAlign) {
 01114        VTextAlign = other.VTextAlign;
 1115      }
 01116      if (other.HasWidth) {
 01117        Width = other.Width;
 1118      }
 01119      if (other.HasHeight) {
 01120        Height = other.Height;
 1121      }
 01122      if (other.HasPaddingTop) {
 01123        PaddingTop = other.PaddingTop;
 1124      }
 01125      if (other.HasPaddingRight) {
 01126        PaddingRight = other.PaddingRight;
 1127      }
 01128      if (other.HasPaddingBottom) {
 01129        PaddingBottom = other.PaddingBottom;
 1130      }
 01131      if (other.HasPaddingLeft) {
 01132        PaddingLeft = other.PaddingLeft;
 1133      }
 01134      if (other.HasLineSpacing) {
 01135        LineSpacing = other.LineSpacing;
 1136      }
 01137      if (other.HasLineCount) {
 01138        LineCount = other.LineCount;
 1139      }
 01140      if (other.HasTextWrapping) {
 01141        TextWrapping = other.TextWrapping;
 1142      }
 01143      if (other.HasShadowBlur) {
 01144        ShadowBlur = other.ShadowBlur;
 1145      }
 01146      if (other.HasShadowOffsetX) {
 01147        ShadowOffsetX = other.ShadowOffsetX;
 1148      }
 01149      if (other.HasShadowOffsetY) {
 01150        ShadowOffsetY = other.ShadowOffsetY;
 1151      }
 01152      if (other.HasOutlineWidth) {
 01153        OutlineWidth = other.OutlineWidth;
 1154      }
 01155      if (other.shadowColor_ != null) {
 01156        if (shadowColor_ == null) {
 01157          ShadowColor = new global::DCL.ECSComponents.Color3();
 1158        }
 01159        ShadowColor.MergeFrom(other.ShadowColor);
 1160      }
 01161      if (other.outlineColor_ != null) {
 01162        if (outlineColor_ == null) {
 01163          OutlineColor = new global::DCL.ECSComponents.Color3();
 1164        }
 01165        OutlineColor.MergeFrom(other.OutlineColor);
 1166      }
 01167      if (other.textColor_ != null) {
 01168        if (textColor_ == null) {
 01169          TextColor = new global::DCL.ECSComponents.Color3();
 1170        }
 01171        TextColor.MergeFrom(other.TextColor);
 1172      }
 01173      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 01174    }
 1175
 1176    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1177    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1178    public void MergeFrom(pb::CodedInputStream input) {
 1179    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1180      input.ReadRawMessage(this);
 1181    #else
 1182      uint tag;
 71183      while ((tag = input.ReadTag()) != 0) {
 1184        switch(tag) {
 1185          default:
 01186            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 01187            break;
 1188          case 10: {
 11189            Text = input.ReadString();
 11190            break;
 1191          }
 1192          case 16: {
 11193            Visible = input.ReadBool();
 11194            break;
 1195          }
 1196          case 26: {
 11197            Font = input.ReadString();
 11198            break;
 1199          }
 1200          case 37: {
 01201            Opacity = input.ReadFloat();
 01202            break;
 1203          }
 1204          case 45: {
 11205            FontSize = input.ReadFloat();
 11206            break;
 1207          }
 1208          case 48: {
 01209            FontAutoSize = input.ReadBool();
 01210            break;
 1211          }
 1212          case 58: {
 01213            HTextAlign = input.ReadString();
 01214            break;
 1215          }
 1216          case 66: {
 01217            VTextAlign = input.ReadString();
 01218            break;
 1219          }
 1220          case 77: {
 01221            Width = input.ReadFloat();
 01222            break;
 1223          }
 1224          case 85: {
 01225            Height = input.ReadFloat();
 01226            break;
 1227          }
 1228          case 93: {
 01229            PaddingTop = input.ReadFloat();
 01230            break;
 1231          }
 1232          case 101: {
 01233            PaddingRight = input.ReadFloat();
 01234            break;
 1235          }
 1236          case 109: {
 01237            PaddingBottom = input.ReadFloat();
 01238            break;
 1239          }
 1240          case 117: {
 01241            PaddingLeft = input.ReadFloat();
 01242            break;
 1243          }
 1244          case 125: {
 01245            LineSpacing = input.ReadFloat();
 01246            break;
 1247          }
 1248          case 128: {
 11249            LineCount = input.ReadInt32();
 11250            break;
 1251          }
 1252          case 136: {
 01253            TextWrapping = input.ReadBool();
 01254            break;
 1255          }
 1256          case 149: {
 01257            ShadowBlur = input.ReadFloat();
 01258            break;
 1259          }
 1260          case 157: {
 01261            ShadowOffsetX = input.ReadFloat();
 01262            break;
 1263          }
 1264          case 165: {
 01265            ShadowOffsetY = input.ReadFloat();
 01266            break;
 1267          }
 1268          case 173: {
 01269            OutlineWidth = input.ReadFloat();
 01270            break;
 1271          }
 1272          case 178: {
 01273            if (shadowColor_ == null) {
 01274              ShadowColor = new global::DCL.ECSComponents.Color3();
 1275            }
 01276            input.ReadMessage(ShadowColor);
 01277            break;
 1278          }
 1279          case 186: {
 01280            if (outlineColor_ == null) {
 01281              OutlineColor = new global::DCL.ECSComponents.Color3();
 1282            }
 01283            input.ReadMessage(OutlineColor);
 01284            break;
 1285          }
 1286          case 194: {
 11287            if (textColor_ == null) {
 11288              TextColor = new global::DCL.ECSComponents.Color3();
 1289            }
 11290            input.ReadMessage(TextColor);
 1291            break;
 1292          }
 1293        }
 1294      }
 1295    #endif
 11296    }
 1297
 1298    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 1299    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 1300    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 1301    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 1302      uint tag;
 1303      while ((tag = input.ReadTag()) != 0) {
 1304        switch(tag) {
 1305          default:
 1306            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 1307            break;
 1308          case 10: {
 1309            Text = input.ReadString();
 1310            break;
 1311          }
 1312          case 16: {
 1313            Visible = input.ReadBool();
 1314            break;
 1315          }
 1316          case 26: {
 1317            Font = input.ReadString();
 1318            break;
 1319          }
 1320          case 37: {
 1321            Opacity = input.ReadFloat();
 1322            break;
 1323          }
 1324          case 45: {
 1325            FontSize = input.ReadFloat();
 1326            break;
 1327          }
 1328          case 48: {
 1329            FontAutoSize = input.ReadBool();
 1330            break;
 1331          }
 1332          case 58: {
 1333            HTextAlign = input.ReadString();
 1334            break;
 1335          }
 1336          case 66: {
 1337            VTextAlign = input.ReadString();
 1338            break;
 1339          }
 1340          case 77: {
 1341            Width = input.ReadFloat();
 1342            break;
 1343          }
 1344          case 85: {
 1345            Height = input.ReadFloat();
 1346            break;
 1347          }
 1348          case 93: {
 1349            PaddingTop = input.ReadFloat();
 1350            break;
 1351          }
 1352          case 101: {
 1353            PaddingRight = input.ReadFloat();
 1354            break;
 1355          }
 1356          case 109: {
 1357            PaddingBottom = input.ReadFloat();
 1358            break;
 1359          }
 1360          case 117: {
 1361            PaddingLeft = input.ReadFloat();
 1362            break;
 1363          }
 1364          case 125: {
 1365            LineSpacing = input.ReadFloat();
 1366            break;
 1367          }
 1368          case 128: {
 1369            LineCount = input.ReadInt32();
 1370            break;
 1371          }
 1372          case 136: {
 1373            TextWrapping = input.ReadBool();
 1374            break;
 1375          }
 1376          case 149: {
 1377            ShadowBlur = input.ReadFloat();
 1378            break;
 1379          }
 1380          case 157: {
 1381            ShadowOffsetX = input.ReadFloat();
 1382            break;
 1383          }
 1384          case 165: {
 1385            ShadowOffsetY = input.ReadFloat();
 1386            break;
 1387          }
 1388          case 173: {
 1389            OutlineWidth = input.ReadFloat();
 1390            break;
 1391          }
 1392          case 178: {
 1393            if (shadowColor_ == null) {
 1394              ShadowColor = new global::DCL.ECSComponents.Color3();
 1395            }
 1396            input.ReadMessage(ShadowColor);
 1397            break;
 1398          }
 1399          case 186: {
 1400            if (outlineColor_ == null) {
 1401              OutlineColor = new global::DCL.ECSComponents.Color3();
 1402            }
 1403            input.ReadMessage(OutlineColor);
 1404            break;
 1405          }
 1406          case 194: {
 1407            if (textColor_ == null) {
 1408              TextColor = new global::DCL.ECSComponents.Color3();
 1409            }
 1410            input.ReadMessage(TextColor);
 1411            break;
 1412          }
 1413        }
 1414      }
 1415    }
 1416    #endif
 1417
 1418  }
 1419
 1420  #endregion
 1421
 1422}
 1423
 1424#endregion Designer generated code

Methods/Properties

PBTextShape()
Parser()
Descriptor()
get_Descriptor()
PBTextShape()
PBTextShape(DCL.ECSComponents.PBTextShape)
Clone()
Text()
Text(System.String)
Visible()
Visible(System.Boolean)
HasVisible()
ClearVisible()
Font()
Font(System.String)
HasFont()
ClearFont()
Opacity()
Opacity(System.Single)
HasOpacity()
ClearOpacity()
FontSize()
FontSize(System.Single)
HasFontSize()
ClearFontSize()
FontAutoSize()
FontAutoSize(System.Boolean)
HasFontAutoSize()
ClearFontAutoSize()
HTextAlign()
HTextAlign(System.String)
HasHTextAlign()
ClearHTextAlign()
VTextAlign()
VTextAlign(System.String)
HasVTextAlign()
ClearVTextAlign()
Width()
Width(System.Single)
HasWidth()
ClearWidth()
Height()
Height(System.Single)
HasHeight()
ClearHeight()
PaddingTop()
PaddingTop(System.Single)
HasPaddingTop()
ClearPaddingTop()
PaddingRight()
PaddingRight(System.Single)
HasPaddingRight()
ClearPaddingRight()
PaddingBottom()
PaddingBottom(System.Single)
HasPaddingBottom()
ClearPaddingBottom()
PaddingLeft()
PaddingLeft(System.Single)
HasPaddingLeft()
ClearPaddingLeft()
LineSpacing()
LineSpacing(System.Single)
HasLineSpacing()
ClearLineSpacing()
LineCount()
LineCount(System.Int32)
HasLineCount()
ClearLineCount()
TextWrapping()
TextWrapping(System.Boolean)
HasTextWrapping()
ClearTextWrapping()
ShadowBlur()
ShadowBlur(System.Single)
HasShadowBlur()
ClearShadowBlur()
ShadowOffsetX()
ShadowOffsetX(System.Single)
HasShadowOffsetX()
ClearShadowOffsetX()
ShadowOffsetY()
ShadowOffsetY(System.Single)
HasShadowOffsetY()
ClearShadowOffsetY()
OutlineWidth()
OutlineWidth(System.Single)
HasOutlineWidth()
ClearOutlineWidth()
ShadowColor()
ShadowColor(DCL.ECSComponents.Color3)
OutlineColor()
OutlineColor(DCL.ECSComponents.Color3)
TextColor()
TextColor(DCL.ECSComponents.Color3)
Equals(System.Object)
Equals(DCL.ECSComponents.PBTextShape)
GetHashCode()
ToString()
WriteTo(Google.Protobuf.CodedOutputStream)
CalculateSize()
MergeFrom(DCL.ECSComponents.PBTextShape)
MergeFrom(Google.Protobuf.CodedInputStream)