| | 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 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from ecs/components/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 { |
| 0 | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static TextShapeReflection() { |
| 0 | 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=")); |
| 0 | 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 | | })); |
| 0 | 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 | | { |
| | 69 | | 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)] |
| | 74 | | 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 { |
| | 79 | | 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 { |
| | 85 | | get { return Descriptor; } |
| | 86 | | } |
| | 87 | |
|
| | 88 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 89 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 90 | | public PBTextShape() { |
| | 91 | | OnConstruction(); |
| | 92 | | } |
| | 93 | |
|
| | 94 | | partial void OnConstruction(); |
| | 95 | |
|
| | 96 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 97 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 98 | | public PBTextShape(PBTextShape other) : this() { |
| | 99 | | _hasBits0 = other._hasBits0; |
| | 100 | | text_ = other.text_; |
| | 101 | | visible_ = other.visible_; |
| | 102 | | font_ = other.font_; |
| | 103 | | opacity_ = other.opacity_; |
| | 104 | | fontSize_ = other.fontSize_; |
| | 105 | | fontAutoSize_ = other.fontAutoSize_; |
| | 106 | | hTextAlign_ = other.hTextAlign_; |
| | 107 | | vTextAlign_ = other.vTextAlign_; |
| | 108 | | width_ = other.width_; |
| | 109 | | height_ = other.height_; |
| | 110 | | paddingTop_ = other.paddingTop_; |
| | 111 | | paddingRight_ = other.paddingRight_; |
| | 112 | | paddingBottom_ = other.paddingBottom_; |
| | 113 | | paddingLeft_ = other.paddingLeft_; |
| | 114 | | lineSpacing_ = other.lineSpacing_; |
| | 115 | | lineCount_ = other.lineCount_; |
| | 116 | | textWrapping_ = other.textWrapping_; |
| | 117 | | shadowBlur_ = other.shadowBlur_; |
| | 118 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 119 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 120 | | outlineWidth_ = other.outlineWidth_; |
| | 121 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 122 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 123 | | textColor_ = other.textColor_ != null ? other.textColor_.Clone() : null; |
| | 124 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 125 | | } |
| | 126 | |
|
| | 127 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 128 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 129 | | public PBTextShape Clone() { |
| | 130 | | return new PBTextShape(this); |
| | 131 | | } |
| | 132 | |
|
| | 133 | | /// <summary>Field number for the "text" field.</summary> |
| | 134 | | public const int TextFieldNumber = 1; |
| | 135 | | private string text_ = ""; |
| | 136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 138 | | public string Text { |
| | 139 | | get { return text_; } |
| | 140 | | set { |
| | 141 | | text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 142 | | } |
| | 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 { |
| | 154 | | get { if ((_hasBits0 & 1) != 0) { return visible_; } else { return false; } } |
| | 155 | | set { |
| | 156 | | _hasBits0 |= 1; |
| | 157 | | visible_ = value; |
| | 158 | | } |
| | 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 { |
| | 164 | | 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() { |
| | 170 | | _hasBits0 &= ~1; |
| | 171 | | } |
| | 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 { |
| | 179 | | get { return font_ ?? ""; } |
| | 180 | | set { |
| | 181 | | font_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 182 | | } |
| | 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 { |
| | 188 | | 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() { |
| | 194 | | font_ = null; |
| | 195 | | } |
| | 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 { |
| | 206 | | get { if ((_hasBits0 & 2) != 0) { return opacity_; } else { return 0F; } } |
| | 207 | | set { |
| | 208 | | _hasBits0 |= 2; |
| | 209 | | opacity_ = value; |
| | 210 | | } |
| | 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 { |
| | 216 | | 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() { |
| | 222 | | _hasBits0 &= ~2; |
| | 223 | | } |
| | 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 { |
| | 234 | | get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0F; } } |
| | 235 | | set { |
| | 236 | | _hasBits0 |= 4; |
| | 237 | | fontSize_ = value; |
| | 238 | | } |
| | 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 { |
| | 244 | | 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() { |
| | 250 | | _hasBits0 &= ~4; |
| | 251 | | } |
| | 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 { |
| | 259 | | get { if ((_hasBits0 & 8) != 0) { return fontAutoSize_; } else { return false; } } |
| | 260 | | set { |
| | 261 | | _hasBits0 |= 8; |
| | 262 | | fontAutoSize_ = value; |
| | 263 | | } |
| | 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 { |
| | 269 | | 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() { |
| | 275 | | _hasBits0 &= ~8; |
| | 276 | | } |
| | 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 { |
| | 287 | | get { return hTextAlign_ ?? ""; } |
| | 288 | | set { |
| | 289 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 290 | | } |
| | 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 { |
| | 296 | | 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() { |
| | 302 | | hTextAlign_ = null; |
| | 303 | | } |
| | 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 { |
| | 314 | | get { return vTextAlign_ ?? ""; } |
| | 315 | | set { |
| | 316 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 317 | | } |
| | 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 { |
| | 323 | | 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() { |
| | 329 | | vTextAlign_ = null; |
| | 330 | | } |
| | 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 { |
| | 341 | | get { if ((_hasBits0 & 16) != 0) { return width_; } else { return 0F; } } |
| | 342 | | set { |
| | 343 | | _hasBits0 |= 16; |
| | 344 | | width_ = value; |
| | 345 | | } |
| | 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 { |
| | 351 | | 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() { |
| | 357 | | _hasBits0 &= ~16; |
| | 358 | | } |
| | 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 { |
| | 369 | | get { if ((_hasBits0 & 32) != 0) { return height_; } else { return 0F; } } |
| | 370 | | set { |
| | 371 | | _hasBits0 |= 32; |
| | 372 | | height_ = value; |
| | 373 | | } |
| | 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 { |
| | 379 | | 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() { |
| | 385 | | _hasBits0 &= ~32; |
| | 386 | | } |
| | 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 { |
| | 394 | | get { if ((_hasBits0 & 64) != 0) { return paddingTop_; } else { return 0F; } } |
| | 395 | | set { |
| | 396 | | _hasBits0 |= 64; |
| | 397 | | paddingTop_ = value; |
| | 398 | | } |
| | 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 { |
| | 404 | | 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() { |
| | 410 | | _hasBits0 &= ~64; |
| | 411 | | } |
| | 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 { |
| | 419 | | get { if ((_hasBits0 & 128) != 0) { return paddingRight_; } else { return 0F; } } |
| | 420 | | set { |
| | 421 | | _hasBits0 |= 128; |
| | 422 | | paddingRight_ = value; |
| | 423 | | } |
| | 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 { |
| | 429 | | 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() { |
| | 435 | | _hasBits0 &= ~128; |
| | 436 | | } |
| | 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 { |
| | 444 | | get { if ((_hasBits0 & 256) != 0) { return paddingBottom_; } else { return 0F; } } |
| | 445 | | set { |
| | 446 | | _hasBits0 |= 256; |
| | 447 | | paddingBottom_ = value; |
| | 448 | | } |
| | 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 { |
| | 454 | | 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() { |
| | 460 | | _hasBits0 &= ~256; |
| | 461 | | } |
| | 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 { |
| | 469 | | get { if ((_hasBits0 & 512) != 0) { return paddingLeft_; } else { return 0F; } } |
| | 470 | | set { |
| | 471 | | _hasBits0 |= 512; |
| | 472 | | paddingLeft_ = value; |
| | 473 | | } |
| | 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 { |
| | 479 | | 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() { |
| | 485 | | _hasBits0 &= ~512; |
| | 486 | | } |
| | 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 { |
| | 494 | | get { if ((_hasBits0 & 1024) != 0) { return lineSpacing_; } else { return 0F; } } |
| | 495 | | set { |
| | 496 | | _hasBits0 |= 1024; |
| | 497 | | lineSpacing_ = value; |
| | 498 | | } |
| | 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 { |
| | 504 | | 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() { |
| | 510 | | _hasBits0 &= ~1024; |
| | 511 | | } |
| | 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 { |
| | 519 | | get { if ((_hasBits0 & 2048) != 0) { return lineCount_; } else { return 0; } } |
| | 520 | | set { |
| | 521 | | _hasBits0 |= 2048; |
| | 522 | | lineCount_ = value; |
| | 523 | | } |
| | 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 { |
| | 529 | | 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() { |
| | 535 | | _hasBits0 &= ~2048; |
| | 536 | | } |
| | 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 { |
| | 544 | | get { if ((_hasBits0 & 4096) != 0) { return textWrapping_; } else { return false; } } |
| | 545 | | set { |
| | 546 | | _hasBits0 |= 4096; |
| | 547 | | textWrapping_ = value; |
| | 548 | | } |
| | 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 { |
| | 554 | | 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() { |
| | 560 | | _hasBits0 &= ~4096; |
| | 561 | | } |
| | 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 { |
| | 569 | | get { if ((_hasBits0 & 8192) != 0) { return shadowBlur_; } else { return 0F; } } |
| | 570 | | set { |
| | 571 | | _hasBits0 |= 8192; |
| | 572 | | shadowBlur_ = value; |
| | 573 | | } |
| | 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 { |
| | 579 | | 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() { |
| | 585 | | _hasBits0 &= ~8192; |
| | 586 | | } |
| | 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 { |
| | 594 | | get { if ((_hasBits0 & 16384) != 0) { return shadowOffsetX_; } else { return 0F; } } |
| | 595 | | set { |
| | 596 | | _hasBits0 |= 16384; |
| | 597 | | shadowOffsetX_ = value; |
| | 598 | | } |
| | 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 { |
| | 604 | | 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() { |
| | 610 | | _hasBits0 &= ~16384; |
| | 611 | | } |
| | 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 { |
| | 619 | | get { if ((_hasBits0 & 32768) != 0) { return shadowOffsetY_; } else { return 0F; } } |
| | 620 | | set { |
| | 621 | | _hasBits0 |= 32768; |
| | 622 | | shadowOffsetY_ = value; |
| | 623 | | } |
| | 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 { |
| | 629 | | 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() { |
| | 635 | | _hasBits0 &= ~32768; |
| | 636 | | } |
| | 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 { |
| | 644 | | get { if ((_hasBits0 & 65536) != 0) { return outlineWidth_; } else { return 0F; } } |
| | 645 | | set { |
| | 646 | | _hasBits0 |= 65536; |
| | 647 | | outlineWidth_ = value; |
| | 648 | | } |
| | 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 { |
| | 654 | | 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() { |
| | 660 | | _hasBits0 &= ~65536; |
| | 661 | | } |
| | 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 { |
| | 672 | | get { return shadowColor_; } |
| | 673 | | set { |
| | 674 | | shadowColor_ = value; |
| | 675 | | } |
| | 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 { |
| | 687 | | get { return outlineColor_; } |
| | 688 | | set { |
| | 689 | | outlineColor_ = value; |
| | 690 | | } |
| | 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 { |
| | 702 | | get { return textColor_; } |
| | 703 | | set { |
| | 704 | | textColor_ = value; |
| | 705 | | } |
| | 706 | | } |
| | 707 | |
|
| | 708 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 709 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 710 | | public override bool Equals(object other) { |
| | 711 | | 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) { |
| | 717 | | if (ReferenceEquals(other, null)) { |
| | 718 | | return false; |
| | 719 | | } |
| | 720 | | if (ReferenceEquals(other, this)) { |
| | 721 | | return true; |
| | 722 | | } |
| | 723 | | if (Text != other.Text) return false; |
| | 724 | | if (Visible != other.Visible) return false; |
| | 725 | | if (Font != other.Font) return false; |
| | 726 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 727 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 728 | | if (FontAutoSize != other.FontAutoSize) return false; |
| | 729 | | if (HTextAlign != other.HTextAlign) return false; |
| | 730 | | if (VTextAlign != other.VTextAlign) return false; |
| | 731 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 732 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 733 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 734 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 735 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 736 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 737 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f |
| | 738 | | if (LineCount != other.LineCount) return false; |
| | 739 | | if (TextWrapping != other.TextWrapping) return false; |
| | 740 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 741 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 742 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 743 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 744 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 745 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 746 | | if (!object.Equals(TextColor, other.TextColor)) return false; |
| | 747 | | 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() { |
| | 753 | | int hash = 1; |
| | 754 | | if (Text.Length != 0) hash ^= Text.GetHashCode(); |
| | 755 | | if (HasVisible) hash ^= Visible.GetHashCode(); |
| | 756 | | if (HasFont) hash ^= Font.GetHashCode(); |
| | 757 | | if (HasOpacity) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 758 | | if (HasFontSize) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 759 | | if (HasFontAutoSize) hash ^= FontAutoSize.GetHashCode(); |
| | 760 | | if (HasHTextAlign) hash ^= HTextAlign.GetHashCode(); |
| | 761 | | if (HasVTextAlign) hash ^= VTextAlign.GetHashCode(); |
| | 762 | | if (HasWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 763 | | if (HasHeight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 764 | | if (HasPaddingTop) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop); |
| | 765 | | if (HasPaddingRight) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRight |
| | 766 | | if (HasPaddingBottom) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingBott |
| | 767 | | if (HasPaddingLeft) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLeft); |
| | 768 | | if (HasLineSpacing) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacing); |
| | 769 | | if (HasLineCount) hash ^= LineCount.GetHashCode(); |
| | 770 | | if (HasTextWrapping) hash ^= TextWrapping.GetHashCode(); |
| | 771 | | if (HasShadowBlur) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur); |
| | 772 | | if (HasShadowOffsetX) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 773 | | if (HasShadowOffsetY) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOffse |
| | 774 | | if (HasOutlineWidth) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWidth |
| | 775 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 776 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 777 | | if (textColor_ != null) hash ^= TextColor.GetHashCode(); |
| | 778 | | if (_unknownFields != null) { |
| | 779 | | hash ^= _unknownFields.GetHashCode(); |
| | 780 | | } |
| | 781 | | return hash; |
| | 782 | | } |
| | 783 | |
|
| | 784 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 785 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 786 | | public override string ToString() { |
| | 787 | | 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 |
| | 796 | | if (Text.Length != 0) { |
| | 797 | | output.WriteRawTag(10); |
| | 798 | | output.WriteString(Text); |
| | 799 | | } |
| | 800 | | if (HasVisible) { |
| | 801 | | output.WriteRawTag(16); |
| | 802 | | output.WriteBool(Visible); |
| | 803 | | } |
| | 804 | | if (HasFont) { |
| | 805 | | output.WriteRawTag(26); |
| | 806 | | output.WriteString(Font); |
| | 807 | | } |
| | 808 | | if (HasOpacity) { |
| | 809 | | output.WriteRawTag(37); |
| | 810 | | output.WriteFloat(Opacity); |
| | 811 | | } |
| | 812 | | if (HasFontSize) { |
| | 813 | | output.WriteRawTag(45); |
| | 814 | | output.WriteFloat(FontSize); |
| | 815 | | } |
| | 816 | | if (HasFontAutoSize) { |
| | 817 | | output.WriteRawTag(48); |
| | 818 | | output.WriteBool(FontAutoSize); |
| | 819 | | } |
| | 820 | | if (HasHTextAlign) { |
| | 821 | | output.WriteRawTag(58); |
| | 822 | | output.WriteString(HTextAlign); |
| | 823 | | } |
| | 824 | | if (HasVTextAlign) { |
| | 825 | | output.WriteRawTag(66); |
| | 826 | | output.WriteString(VTextAlign); |
| | 827 | | } |
| | 828 | | if (HasWidth) { |
| | 829 | | output.WriteRawTag(77); |
| | 830 | | output.WriteFloat(Width); |
| | 831 | | } |
| | 832 | | if (HasHeight) { |
| | 833 | | output.WriteRawTag(85); |
| | 834 | | output.WriteFloat(Height); |
| | 835 | | } |
| | 836 | | if (HasPaddingTop) { |
| | 837 | | output.WriteRawTag(93); |
| | 838 | | output.WriteFloat(PaddingTop); |
| | 839 | | } |
| | 840 | | if (HasPaddingRight) { |
| | 841 | | output.WriteRawTag(101); |
| | 842 | | output.WriteFloat(PaddingRight); |
| | 843 | | } |
| | 844 | | if (HasPaddingBottom) { |
| | 845 | | output.WriteRawTag(109); |
| | 846 | | output.WriteFloat(PaddingBottom); |
| | 847 | | } |
| | 848 | | if (HasPaddingLeft) { |
| | 849 | | output.WriteRawTag(117); |
| | 850 | | output.WriteFloat(PaddingLeft); |
| | 851 | | } |
| | 852 | | if (HasLineSpacing) { |
| | 853 | | output.WriteRawTag(125); |
| | 854 | | output.WriteFloat(LineSpacing); |
| | 855 | | } |
| | 856 | | if (HasLineCount) { |
| | 857 | | output.WriteRawTag(128, 1); |
| | 858 | | output.WriteInt32(LineCount); |
| | 859 | | } |
| | 860 | | if (HasTextWrapping) { |
| | 861 | | output.WriteRawTag(136, 1); |
| | 862 | | output.WriteBool(TextWrapping); |
| | 863 | | } |
| | 864 | | if (HasShadowBlur) { |
| | 865 | | output.WriteRawTag(149, 1); |
| | 866 | | output.WriteFloat(ShadowBlur); |
| | 867 | | } |
| | 868 | | if (HasShadowOffsetX) { |
| | 869 | | output.WriteRawTag(157, 1); |
| | 870 | | output.WriteFloat(ShadowOffsetX); |
| | 871 | | } |
| | 872 | | if (HasShadowOffsetY) { |
| | 873 | | output.WriteRawTag(165, 1); |
| | 874 | | output.WriteFloat(ShadowOffsetY); |
| | 875 | | } |
| | 876 | | if (HasOutlineWidth) { |
| | 877 | | output.WriteRawTag(173, 1); |
| | 878 | | output.WriteFloat(OutlineWidth); |
| | 879 | | } |
| | 880 | | if (shadowColor_ != null) { |
| | 881 | | output.WriteRawTag(178, 1); |
| | 882 | | output.WriteMessage(ShadowColor); |
| | 883 | | } |
| | 884 | | if (outlineColor_ != null) { |
| | 885 | | output.WriteRawTag(186, 1); |
| | 886 | | output.WriteMessage(OutlineColor); |
| | 887 | | } |
| | 888 | | if (textColor_ != null) { |
| | 889 | | output.WriteRawTag(194, 1); |
| | 890 | | output.WriteMessage(TextColor); |
| | 891 | | } |
| | 892 | | if (_unknownFields != null) { |
| | 893 | | _unknownFields.WriteTo(output); |
| | 894 | | } |
| | 895 | | #endif |
| | 896 | | } |
| | 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() { |
| | 1007 | | int size = 0; |
| | 1008 | | if (Text.Length != 0) { |
| | 1009 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); |
| | 1010 | | } |
| | 1011 | | if (HasVisible) { |
| | 1012 | | size += 1 + 1; |
| | 1013 | | } |
| | 1014 | | if (HasFont) { |
| | 1015 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Font); |
| | 1016 | | } |
| | 1017 | | if (HasOpacity) { |
| | 1018 | | size += 1 + 4; |
| | 1019 | | } |
| | 1020 | | if (HasFontSize) { |
| | 1021 | | size += 1 + 4; |
| | 1022 | | } |
| | 1023 | | if (HasFontAutoSize) { |
| | 1024 | | size += 1 + 1; |
| | 1025 | | } |
| | 1026 | | if (HasHTextAlign) { |
| | 1027 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 1028 | | } |
| | 1029 | | if (HasVTextAlign) { |
| | 1030 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 1031 | | } |
| | 1032 | | if (HasWidth) { |
| | 1033 | | size += 1 + 4; |
| | 1034 | | } |
| | 1035 | | if (HasHeight) { |
| | 1036 | | size += 1 + 4; |
| | 1037 | | } |
| | 1038 | | if (HasPaddingTop) { |
| | 1039 | | size += 1 + 4; |
| | 1040 | | } |
| | 1041 | | if (HasPaddingRight) { |
| | 1042 | | size += 1 + 4; |
| | 1043 | | } |
| | 1044 | | if (HasPaddingBottom) { |
| | 1045 | | size += 1 + 4; |
| | 1046 | | } |
| | 1047 | | if (HasPaddingLeft) { |
| | 1048 | | size += 1 + 4; |
| | 1049 | | } |
| | 1050 | | if (HasLineSpacing) { |
| | 1051 | | size += 1 + 4; |
| | 1052 | | } |
| | 1053 | | if (HasLineCount) { |
| | 1054 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount); |
| | 1055 | | } |
| | 1056 | | if (HasTextWrapping) { |
| | 1057 | | size += 2 + 1; |
| | 1058 | | } |
| | 1059 | | if (HasShadowBlur) { |
| | 1060 | | size += 2 + 4; |
| | 1061 | | } |
| | 1062 | | if (HasShadowOffsetX) { |
| | 1063 | | size += 2 + 4; |
| | 1064 | | } |
| | 1065 | | if (HasShadowOffsetY) { |
| | 1066 | | size += 2 + 4; |
| | 1067 | | } |
| | 1068 | | if (HasOutlineWidth) { |
| | 1069 | | size += 2 + 4; |
| | 1070 | | } |
| | 1071 | | if (shadowColor_ != null) { |
| | 1072 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 1073 | | } |
| | 1074 | | if (outlineColor_ != null) { |
| | 1075 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 1076 | | } |
| | 1077 | | if (textColor_ != null) { |
| | 1078 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(TextColor); |
| | 1079 | | } |
| | 1080 | | if (_unknownFields != null) { |
| | 1081 | | size += _unknownFields.CalculateSize(); |
| | 1082 | | } |
| | 1083 | | return size; |
| | 1084 | | } |
| | 1085 | |
|
| | 1086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1088 | | public void MergeFrom(PBTextShape other) { |
| | 1089 | | if (other == null) { |
| | 1090 | | return; |
| | 1091 | | } |
| | 1092 | | if (other.Text.Length != 0) { |
| | 1093 | | Text = other.Text; |
| | 1094 | | } |
| | 1095 | | if (other.HasVisible) { |
| | 1096 | | Visible = other.Visible; |
| | 1097 | | } |
| | 1098 | | if (other.HasFont) { |
| | 1099 | | Font = other.Font; |
| | 1100 | | } |
| | 1101 | | if (other.HasOpacity) { |
| | 1102 | | Opacity = other.Opacity; |
| | 1103 | | } |
| | 1104 | | if (other.HasFontSize) { |
| | 1105 | | FontSize = other.FontSize; |
| | 1106 | | } |
| | 1107 | | if (other.HasFontAutoSize) { |
| | 1108 | | FontAutoSize = other.FontAutoSize; |
| | 1109 | | } |
| | 1110 | | if (other.HasHTextAlign) { |
| | 1111 | | HTextAlign = other.HTextAlign; |
| | 1112 | | } |
| | 1113 | | if (other.HasVTextAlign) { |
| | 1114 | | VTextAlign = other.VTextAlign; |
| | 1115 | | } |
| | 1116 | | if (other.HasWidth) { |
| | 1117 | | Width = other.Width; |
| | 1118 | | } |
| | 1119 | | if (other.HasHeight) { |
| | 1120 | | Height = other.Height; |
| | 1121 | | } |
| | 1122 | | if (other.HasPaddingTop) { |
| | 1123 | | PaddingTop = other.PaddingTop; |
| | 1124 | | } |
| | 1125 | | if (other.HasPaddingRight) { |
| | 1126 | | PaddingRight = other.PaddingRight; |
| | 1127 | | } |
| | 1128 | | if (other.HasPaddingBottom) { |
| | 1129 | | PaddingBottom = other.PaddingBottom; |
| | 1130 | | } |
| | 1131 | | if (other.HasPaddingLeft) { |
| | 1132 | | PaddingLeft = other.PaddingLeft; |
| | 1133 | | } |
| | 1134 | | if (other.HasLineSpacing) { |
| | 1135 | | LineSpacing = other.LineSpacing; |
| | 1136 | | } |
| | 1137 | | if (other.HasLineCount) { |
| | 1138 | | LineCount = other.LineCount; |
| | 1139 | | } |
| | 1140 | | if (other.HasTextWrapping) { |
| | 1141 | | TextWrapping = other.TextWrapping; |
| | 1142 | | } |
| | 1143 | | if (other.HasShadowBlur) { |
| | 1144 | | ShadowBlur = other.ShadowBlur; |
| | 1145 | | } |
| | 1146 | | if (other.HasShadowOffsetX) { |
| | 1147 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 1148 | | } |
| | 1149 | | if (other.HasShadowOffsetY) { |
| | 1150 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 1151 | | } |
| | 1152 | | if (other.HasOutlineWidth) { |
| | 1153 | | OutlineWidth = other.OutlineWidth; |
| | 1154 | | } |
| | 1155 | | if (other.shadowColor_ != null) { |
| | 1156 | | if (shadowColor_ == null) { |
| | 1157 | | ShadowColor = new global::DCL.ECSComponents.Color3(); |
| | 1158 | | } |
| | 1159 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 1160 | | } |
| | 1161 | | if (other.outlineColor_ != null) { |
| | 1162 | | if (outlineColor_ == null) { |
| | 1163 | | OutlineColor = new global::DCL.ECSComponents.Color3(); |
| | 1164 | | } |
| | 1165 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 1166 | | } |
| | 1167 | | if (other.textColor_ != null) { |
| | 1168 | | if (textColor_ == null) { |
| | 1169 | | TextColor = new global::DCL.ECSComponents.Color3(); |
| | 1170 | | } |
| | 1171 | | TextColor.MergeFrom(other.TextColor); |
| | 1172 | | } |
| | 1173 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1174 | | } |
| | 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; |
| | 1183 | | while ((tag = input.ReadTag()) != 0) { |
| | 1184 | | switch(tag) { |
| | 1185 | | default: |
| | 1186 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1187 | | break; |
| | 1188 | | case 10: { |
| | 1189 | | Text = input.ReadString(); |
| | 1190 | | break; |
| | 1191 | | } |
| | 1192 | | case 16: { |
| | 1193 | | Visible = input.ReadBool(); |
| | 1194 | | break; |
| | 1195 | | } |
| | 1196 | | case 26: { |
| | 1197 | | Font = input.ReadString(); |
| | 1198 | | break; |
| | 1199 | | } |
| | 1200 | | case 37: { |
| | 1201 | | Opacity = input.ReadFloat(); |
| | 1202 | | break; |
| | 1203 | | } |
| | 1204 | | case 45: { |
| | 1205 | | FontSize = input.ReadFloat(); |
| | 1206 | | break; |
| | 1207 | | } |
| | 1208 | | case 48: { |
| | 1209 | | FontAutoSize = input.ReadBool(); |
| | 1210 | | break; |
| | 1211 | | } |
| | 1212 | | case 58: { |
| | 1213 | | HTextAlign = input.ReadString(); |
| | 1214 | | break; |
| | 1215 | | } |
| | 1216 | | case 66: { |
| | 1217 | | VTextAlign = input.ReadString(); |
| | 1218 | | break; |
| | 1219 | | } |
| | 1220 | | case 77: { |
| | 1221 | | Width = input.ReadFloat(); |
| | 1222 | | break; |
| | 1223 | | } |
| | 1224 | | case 85: { |
| | 1225 | | Height = input.ReadFloat(); |
| | 1226 | | break; |
| | 1227 | | } |
| | 1228 | | case 93: { |
| | 1229 | | PaddingTop = input.ReadFloat(); |
| | 1230 | | break; |
| | 1231 | | } |
| | 1232 | | case 101: { |
| | 1233 | | PaddingRight = input.ReadFloat(); |
| | 1234 | | break; |
| | 1235 | | } |
| | 1236 | | case 109: { |
| | 1237 | | PaddingBottom = input.ReadFloat(); |
| | 1238 | | break; |
| | 1239 | | } |
| | 1240 | | case 117: { |
| | 1241 | | PaddingLeft = input.ReadFloat(); |
| | 1242 | | break; |
| | 1243 | | } |
| | 1244 | | case 125: { |
| | 1245 | | LineSpacing = input.ReadFloat(); |
| | 1246 | | break; |
| | 1247 | | } |
| | 1248 | | case 128: { |
| | 1249 | | LineCount = input.ReadInt32(); |
| | 1250 | | break; |
| | 1251 | | } |
| | 1252 | | case 136: { |
| | 1253 | | TextWrapping = input.ReadBool(); |
| | 1254 | | break; |
| | 1255 | | } |
| | 1256 | | case 149: { |
| | 1257 | | ShadowBlur = input.ReadFloat(); |
| | 1258 | | break; |
| | 1259 | | } |
| | 1260 | | case 157: { |
| | 1261 | | ShadowOffsetX = input.ReadFloat(); |
| | 1262 | | break; |
| | 1263 | | } |
| | 1264 | | case 165: { |
| | 1265 | | ShadowOffsetY = input.ReadFloat(); |
| | 1266 | | break; |
| | 1267 | | } |
| | 1268 | | case 173: { |
| | 1269 | | OutlineWidth = input.ReadFloat(); |
| | 1270 | | break; |
| | 1271 | | } |
| | 1272 | | case 178: { |
| | 1273 | | if (shadowColor_ == null) { |
| | 1274 | | ShadowColor = new global::DCL.ECSComponents.Color3(); |
| | 1275 | | } |
| | 1276 | | input.ReadMessage(ShadowColor); |
| | 1277 | | break; |
| | 1278 | | } |
| | 1279 | | case 186: { |
| | 1280 | | if (outlineColor_ == null) { |
| | 1281 | | OutlineColor = new global::DCL.ECSComponents.Color3(); |
| | 1282 | | } |
| | 1283 | | input.ReadMessage(OutlineColor); |
| | 1284 | | break; |
| | 1285 | | } |
| | 1286 | | case 194: { |
| | 1287 | | if (textColor_ == null) { |
| | 1288 | | TextColor = new global::DCL.ECSComponents.Color3(); |
| | 1289 | | } |
| | 1290 | | input.ReadMessage(TextColor); |
| | 1291 | | break; |
| | 1292 | | } |
| | 1293 | | } |
| | 1294 | | } |
| | 1295 | | #endif |
| | 1296 | | } |
| | 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 |