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