| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: ecs/components/UiText.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/UiText.proto</summary> |
| | 15 | | public static partial class UiTextReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for ecs/components/UiText.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| 0 | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static UiTextReflection() { |
| 0 | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChtlY3MvY29tcG9uZW50cy9VaVRleHQucHJvdG8SEGRlY2VudHJhbGFuZC5l", |
| | 28 | | "Y3MaImVjcy9jb21wb25lbnRzL2NvbW1vbi9Db2xvcjMucHJvdG8i8AEKCFBC", |
| | 29 | | "VWlUZXh0Eg0KBXZhbHVlGAEgASgJEiwKBWNvbG9yGAIgASgLMhguZGVjZW50", |
| | 30 | | "cmFsYW5kLmVjcy5Db2xvcjNIAIgBARI0Cgp0ZXh0X2FsaWduGAMgASgOMhsu", |
| | 31 | | "ZGVjZW50cmFsYW5kLmVjcy5UZXh0QWxpZ25IAYgBARIpCgRmb250GAQgASgO", |
| | 32 | | "MhYuZGVjZW50cmFsYW5kLmVjcy5Gb250SAKIAQESFgoJZm9udF9zaXplGAUg", |
| | 33 | | "ASgFSAOIAQFCCAoGX2NvbG9yQg0KC190ZXh0X2FsaWduQgcKBV9mb250QgwK", |
| | 34 | | "Cl9mb250X3NpemUqLAoJVGV4dEFsaWduEgoKBkNlbnRlchAAEggKBExlZnQQ", |
| | 35 | | "ARIJCgVSaWdodBACKikKBEZvbnQSEgoOTGliZXJhdGlvblNhbnMQABINCglT", |
| | 36 | | "YW5zU2VyaWYQAUIUqgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw==")); |
| 0 | 37 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 38 | | new pbr::FileDescriptor[] { global::DCL.ECSComponents.Color3Reflection.Descriptor, }, |
| | 39 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.TextAlign), typeof(global::DCL.ECSCompon |
| | 40 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBUiText), global::DCL.ECSComponents.PBUiText |
| | 41 | | })); |
| 0 | 42 | | } |
| | 43 | | #endregion |
| | 44 | |
|
| | 45 | | } |
| | 46 | | #region Enums |
| | 47 | | public enum TextAlign { |
| | 48 | | [pbr::OriginalName("Center")] Center = 0, |
| | 49 | | [pbr::OriginalName("Left")] Left = 1, |
| | 50 | | [pbr::OriginalName("Right")] Right = 2, |
| | 51 | | } |
| | 52 | |
|
| | 53 | | public enum Font { |
| | 54 | | [pbr::OriginalName("LiberationSans")] LiberationSans = 0, |
| | 55 | | [pbr::OriginalName("SansSerif")] SansSerif = 1, |
| | 56 | | } |
| | 57 | |
|
| | 58 | | #endregion |
| | 59 | |
|
| | 60 | | #region Messages |
| | 61 | | public sealed partial class PBUiText : pb::IMessage<PBUiText> |
| | 62 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 63 | | , pb::IBufferMessage |
| | 64 | | #endif |
| | 65 | | { |
| | 66 | | private static readonly pb::MessageParser<PBUiText> _parser = new pb::MessageParser<PBUiText>(() => new PBUiText()); |
| | 67 | | private pb::UnknownFieldSet _unknownFields; |
| | 68 | | private int _hasBits0; |
| | 69 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 70 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 71 | | public static pb::MessageParser<PBUiText> Parser { get { return _parser; } } |
| | 72 | |
|
| | 73 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 74 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 75 | | public static pbr::MessageDescriptor Descriptor { |
| | 76 | | get { return global::DCL.ECSComponents.UiTextReflection.Descriptor.MessageTypes[0]; } |
| | 77 | | } |
| | 78 | |
|
| | 79 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 80 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 81 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 82 | | get { return Descriptor; } |
| | 83 | | } |
| | 84 | |
|
| | 85 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 86 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 87 | | public PBUiText() { |
| | 88 | | OnConstruction(); |
| | 89 | | } |
| | 90 | |
|
| | 91 | | partial void OnConstruction(); |
| | 92 | |
|
| | 93 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 94 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 95 | | public PBUiText(PBUiText other) : this() { |
| | 96 | | _hasBits0 = other._hasBits0; |
| | 97 | | value_ = other.value_; |
| | 98 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 99 | | textAlign_ = other.textAlign_; |
| | 100 | | font_ = other.font_; |
| | 101 | | fontSize_ = other.fontSize_; |
| | 102 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 103 | | } |
| | 104 | |
|
| | 105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 107 | | public PBUiText Clone() { |
| | 108 | | return new PBUiText(this); |
| | 109 | | } |
| | 110 | |
|
| | 111 | | /// <summary>Field number for the "value" field.</summary> |
| | 112 | | public const int ValueFieldNumber = 1; |
| | 113 | | private string value_ = ""; |
| | 114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 116 | | public string Value { |
| | 117 | | get { return value_; } |
| | 118 | | set { |
| | 119 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 120 | | } |
| | 121 | | } |
| | 122 | |
|
| | 123 | | /// <summary>Field number for the "color" field.</summary> |
| | 124 | | public const int ColorFieldNumber = 2; |
| | 125 | | private global::DCL.ECSComponents.Color3 color_; |
| | 126 | | /// <summary> |
| | 127 | | /// default=(1.0,1.0,1.0) |
| | 128 | | /// </summary> |
| | 129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 131 | | public global::DCL.ECSComponents.Color3 Color { |
| | 132 | | get { return color_; } |
| | 133 | | set { |
| | 134 | | color_ = value; |
| | 135 | | } |
| | 136 | | } |
| | 137 | |
|
| | 138 | | /// <summary>Field number for the "text_align" field.</summary> |
| | 139 | | public const int TextAlignFieldNumber = 3; |
| | 140 | | private global::DCL.ECSComponents.TextAlign textAlign_; |
| | 141 | | /// <summary> |
| | 142 | | /// default='center' |
| | 143 | | /// </summary> |
| | 144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 146 | | public global::DCL.ECSComponents.TextAlign TextAlign { |
| | 147 | | get { if ((_hasBits0 & 1) != 0) { return textAlign_; } else { return global::DCL.ECSComponents.TextAlign.Center; } |
| | 148 | | set { |
| | 149 | | _hasBits0 |= 1; |
| | 150 | | textAlign_ = value; |
| | 151 | | } |
| | 152 | | } |
| | 153 | | /// <summary>Gets whether the "text_align" field is set</summary> |
| | 154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 156 | | public bool HasTextAlign { |
| | 157 | | get { return (_hasBits0 & 1) != 0; } |
| | 158 | | } |
| | 159 | | /// <summary>Clears the value of the "text_align" field</summary> |
| | 160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 162 | | public void ClearTextAlign() { |
| | 163 | | _hasBits0 &= ~1; |
| | 164 | | } |
| | 165 | |
|
| | 166 | | /// <summary>Field number for the "font" field.</summary> |
| | 167 | | public const int FontFieldNumber = 4; |
| | 168 | | private global::DCL.ECSComponents.Font font_; |
| | 169 | | /// <summary> |
| | 170 | | /// default=0 |
| | 171 | | /// </summary> |
| | 172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 174 | | public global::DCL.ECSComponents.Font Font { |
| | 175 | | get { if ((_hasBits0 & 2) != 0) { return font_; } else { return global::DCL.ECSComponents.Font.LiberationSans; } } |
| | 176 | | set { |
| | 177 | | _hasBits0 |= 2; |
| | 178 | | font_ = value; |
| | 179 | | } |
| | 180 | | } |
| | 181 | | /// <summary>Gets whether the "font" field is set</summary> |
| | 182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 184 | | public bool HasFont { |
| | 185 | | get { return (_hasBits0 & 2) != 0; } |
| | 186 | | } |
| | 187 | | /// <summary>Clears the value of the "font" field</summary> |
| | 188 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 189 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 190 | | public void ClearFont() { |
| | 191 | | _hasBits0 &= ~2; |
| | 192 | | } |
| | 193 | |
|
| | 194 | | /// <summary>Field number for the "font_size" field.</summary> |
| | 195 | | public const int FontSizeFieldNumber = 5; |
| | 196 | | private int fontSize_; |
| | 197 | | /// <summary> |
| | 198 | | /// default=10 |
| | 199 | | /// </summary> |
| | 200 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 201 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 202 | | public int FontSize { |
| | 203 | | get { if ((_hasBits0 & 4) != 0) { return fontSize_; } else { return 0; } } |
| | 204 | | set { |
| | 205 | | _hasBits0 |= 4; |
| | 206 | | fontSize_ = value; |
| | 207 | | } |
| | 208 | | } |
| | 209 | | /// <summary>Gets whether the "font_size" field is set</summary> |
| | 210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 212 | | public bool HasFontSize { |
| | 213 | | get { return (_hasBits0 & 4) != 0; } |
| | 214 | | } |
| | 215 | | /// <summary>Clears the value of the "font_size" field</summary> |
| | 216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 218 | | public void ClearFontSize() { |
| | 219 | | _hasBits0 &= ~4; |
| | 220 | | } |
| | 221 | |
|
| | 222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 224 | | public override bool Equals(object other) { |
| | 225 | | return Equals(other as PBUiText); |
| | 226 | | } |
| | 227 | |
|
| | 228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 230 | | public bool Equals(PBUiText other) { |
| | 231 | | if (ReferenceEquals(other, null)) { |
| | 232 | | return false; |
| | 233 | | } |
| | 234 | | if (ReferenceEquals(other, this)) { |
| | 235 | | return true; |
| | 236 | | } |
| | 237 | | if (Value != other.Value) return false; |
| | 238 | | if (!object.Equals(Color, other.Color)) return false; |
| | 239 | | if (TextAlign != other.TextAlign) return false; |
| | 240 | | if (Font != other.Font) return false; |
| | 241 | | if (FontSize != other.FontSize) return false; |
| | 242 | | return Equals(_unknownFields, other._unknownFields); |
| | 243 | | } |
| | 244 | |
|
| | 245 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 246 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 247 | | public override int GetHashCode() { |
| | 248 | | int hash = 1; |
| | 249 | | if (Value.Length != 0) hash ^= Value.GetHashCode(); |
| | 250 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 251 | | if (HasTextAlign) hash ^= TextAlign.GetHashCode(); |
| | 252 | | if (HasFont) hash ^= Font.GetHashCode(); |
| | 253 | | if (HasFontSize) hash ^= FontSize.GetHashCode(); |
| | 254 | | if (_unknownFields != null) { |
| | 255 | | hash ^= _unknownFields.GetHashCode(); |
| | 256 | | } |
| | 257 | | return hash; |
| | 258 | | } |
| | 259 | |
|
| | 260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 262 | | public override string ToString() { |
| | 263 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 264 | | } |
| | 265 | |
|
| | 266 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 267 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 268 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 269 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 270 | | output.WriteRawMessage(this); |
| | 271 | | #else |
| | 272 | | if (Value.Length != 0) { |
| | 273 | | output.WriteRawTag(10); |
| | 274 | | output.WriteString(Value); |
| | 275 | | } |
| | 276 | | if (color_ != null) { |
| | 277 | | output.WriteRawTag(18); |
| | 278 | | output.WriteMessage(Color); |
| | 279 | | } |
| | 280 | | if (HasTextAlign) { |
| | 281 | | output.WriteRawTag(24); |
| | 282 | | output.WriteEnum((int) TextAlign); |
| | 283 | | } |
| | 284 | | if (HasFont) { |
| | 285 | | output.WriteRawTag(32); |
| | 286 | | output.WriteEnum((int) Font); |
| | 287 | | } |
| | 288 | | if (HasFontSize) { |
| | 289 | | output.WriteRawTag(40); |
| | 290 | | output.WriteInt32(FontSize); |
| | 291 | | } |
| | 292 | | if (_unknownFields != null) { |
| | 293 | | _unknownFields.WriteTo(output); |
| | 294 | | } |
| | 295 | | #endif |
| | 296 | | } |
| | 297 | |
|
| | 298 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 301 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 302 | | if (Value.Length != 0) { |
| | 303 | | output.WriteRawTag(10); |
| | 304 | | output.WriteString(Value); |
| | 305 | | } |
| | 306 | | if (color_ != null) { |
| | 307 | | output.WriteRawTag(18); |
| | 308 | | output.WriteMessage(Color); |
| | 309 | | } |
| | 310 | | if (HasTextAlign) { |
| | 311 | | output.WriteRawTag(24); |
| | 312 | | output.WriteEnum((int) TextAlign); |
| | 313 | | } |
| | 314 | | if (HasFont) { |
| | 315 | | output.WriteRawTag(32); |
| | 316 | | output.WriteEnum((int) Font); |
| | 317 | | } |
| | 318 | | if (HasFontSize) { |
| | 319 | | output.WriteRawTag(40); |
| | 320 | | output.WriteInt32(FontSize); |
| | 321 | | } |
| | 322 | | if (_unknownFields != null) { |
| | 323 | | _unknownFields.WriteTo(ref output); |
| | 324 | | } |
| | 325 | | } |
| | 326 | | #endif |
| | 327 | |
|
| | 328 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 329 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 330 | | public int CalculateSize() { |
| | 331 | | int size = 0; |
| | 332 | | if (Value.Length != 0) { |
| | 333 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 334 | | } |
| | 335 | | if (color_ != null) { |
| | 336 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 337 | | } |
| | 338 | | if (HasTextAlign) { |
| | 339 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TextAlign); |
| | 340 | | } |
| | 341 | | if (HasFont) { |
| | 342 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Font); |
| | 343 | | } |
| | 344 | | if (HasFontSize) { |
| | 345 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(FontSize); |
| | 346 | | } |
| | 347 | | if (_unknownFields != null) { |
| | 348 | | size += _unknownFields.CalculateSize(); |
| | 349 | | } |
| | 350 | | return size; |
| | 351 | | } |
| | 352 | |
|
| | 353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 355 | | public void MergeFrom(PBUiText other) { |
| | 356 | | if (other == null) { |
| | 357 | | return; |
| | 358 | | } |
| | 359 | | if (other.Value.Length != 0) { |
| | 360 | | Value = other.Value; |
| | 361 | | } |
| | 362 | | if (other.color_ != null) { |
| | 363 | | if (color_ == null) { |
| | 364 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 365 | | } |
| | 366 | | Color.MergeFrom(other.Color); |
| | 367 | | } |
| | 368 | | if (other.HasTextAlign) { |
| | 369 | | TextAlign = other.TextAlign; |
| | 370 | | } |
| | 371 | | if (other.HasFont) { |
| | 372 | | Font = other.Font; |
| | 373 | | } |
| | 374 | | if (other.HasFontSize) { |
| | 375 | | FontSize = other.FontSize; |
| | 376 | | } |
| | 377 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 378 | | } |
| | 379 | |
|
| | 380 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 381 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 382 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 383 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 384 | | input.ReadRawMessage(this); |
| | 385 | | #else |
| | 386 | | uint tag; |
| | 387 | | while ((tag = input.ReadTag()) != 0) { |
| | 388 | | switch(tag) { |
| | 389 | | default: |
| | 390 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 391 | | break; |
| | 392 | | case 10: { |
| | 393 | | Value = input.ReadString(); |
| | 394 | | break; |
| | 395 | | } |
| | 396 | | case 18: { |
| | 397 | | if (color_ == null) { |
| | 398 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 399 | | } |
| | 400 | | input.ReadMessage(Color); |
| | 401 | | break; |
| | 402 | | } |
| | 403 | | case 24: { |
| | 404 | | TextAlign = (global::DCL.ECSComponents.TextAlign) input.ReadEnum(); |
| | 405 | | break; |
| | 406 | | } |
| | 407 | | case 32: { |
| | 408 | | Font = (global::DCL.ECSComponents.Font) input.ReadEnum(); |
| | 409 | | break; |
| | 410 | | } |
| | 411 | | case 40: { |
| | 412 | | FontSize = input.ReadInt32(); |
| | 413 | | break; |
| | 414 | | } |
| | 415 | | } |
| | 416 | | } |
| | 417 | | #endif |
| | 418 | | } |
| | 419 | |
|
| | 420 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 423 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 424 | | uint tag; |
| | 425 | | while ((tag = input.ReadTag()) != 0) { |
| | 426 | | switch(tag) { |
| | 427 | | default: |
| | 428 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 429 | | break; |
| | 430 | | case 10: { |
| | 431 | | Value = input.ReadString(); |
| | 432 | | break; |
| | 433 | | } |
| | 434 | | case 18: { |
| | 435 | | if (color_ == null) { |
| | 436 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 437 | | } |
| | 438 | | input.ReadMessage(Color); |
| | 439 | | break; |
| | 440 | | } |
| | 441 | | case 24: { |
| | 442 | | TextAlign = (global::DCL.ECSComponents.TextAlign) input.ReadEnum(); |
| | 443 | | break; |
| | 444 | | } |
| | 445 | | case 32: { |
| | 446 | | Font = (global::DCL.ECSComponents.Font) input.ReadEnum(); |
| | 447 | | break; |
| | 448 | | } |
| | 449 | | case 40: { |
| | 450 | | FontSize = input.ReadInt32(); |
| | 451 | | break; |
| | 452 | | } |
| | 453 | | } |
| | 454 | | } |
| | 455 | | } |
| | 456 | | #endif |
| | 457 | |
|
| | 458 | | } |
| | 459 | |
|
| | 460 | | #endregion |
| | 461 | |
|
| | 462 | | } |
| | 463 | |
|
| | 464 | | #endregion Designer generated code |