< Summary

Class:DCL.ECSComponents.AvatarShapeReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/AvatarShape.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:715
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
AvatarShapeReflection()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/AvatarShape.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: ecs/components/AvatarShape.proto
 4// </auto-generated>
 5#pragma warning disable 1591, 0612, 3021
 6#region Designer generated code
 7
 8using pb = global::Google.Protobuf;
 9using pbc = global::Google.Protobuf.Collections;
 10using pbr = global::Google.Protobuf.Reflection;
 11using scg = global::System.Collections.Generic;
 12namespace DCL.ECSComponents {
 13
 14  /// <summary>Holder for reflection information generated from ecs/components/AvatarShape.proto</summary>
 15  public static partial class AvatarShapeReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for ecs/components/AvatarShape.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static AvatarShapeReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CiBlY3MvY29tcG9uZW50cy9BdmF0YXJTaGFwZS5wcm90bxIQZGVjZW50cmFs",
 28            "YW5kLmVjcxoiZWNzL2NvbXBvbmVudHMvY29tbW9uL0NvbG9yMy5wcm90byLy",
 29            "AwoNUEJBdmF0YXJTaGFwZRIKCgJpZBgBIAEoCRIRCgRuYW1lGAIgASgJSACI",
 30            "AQESFwoKYm9keV9zaGFwZRgDIAEoCUgBiAEBEjEKCnNraW5fY29sb3IYBCAB",
 31            "KAsyGC5kZWNlbnRyYWxhbmQuZWNzLkNvbG9yM0gCiAEBEjEKCmhhaXJfY29s",
 32            "b3IYBSABKAsyGC5kZWNlbnRyYWxhbmQuZWNzLkNvbG9yM0gDiAEBEjAKCWV5",
 33            "ZV9jb2xvchgGIAEoCzIYLmRlY2VudHJhbGFuZC5lY3MuQ29sb3IzSASIAQES",
 34            "IgoVZXhwcmVzc2lvbl90cmlnZ2VyX2lkGAcgASgJSAWIAQESKQocZXhwcmVz",
 35            "c2lvbl90cmlnZ2VyX3RpbWVzdGFtcBgIIAEoA0gGiAEBEhQKB3RhbGtpbmcY",
 36            "CSABKAhIB4gBARIRCgl3ZWFyYWJsZXMYCiADKAkSDgoGZW1vdGVzGAsgAygJ",
 37            "QgcKBV9uYW1lQg0KC19ib2R5X3NoYXBlQg0KC19za2luX2NvbG9yQg0KC19o",
 38            "YWlyX2NvbG9yQgwKCl9leWVfY29sb3JCGAoWX2V4cHJlc3Npb25fdHJpZ2dl",
 39            "cl9pZEIfCh1fZXhwcmVzc2lvbl90cmlnZ2VyX3RpbWVzdGFtcEIKCghfdGFs",
 40            "a2luZ0IUqgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw=="));
 041      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 42          new pbr::FileDescriptor[] { global::DCL.ECSComponents.Color3Reflection.Descriptor, },
 43          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 44            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarShape), global::DCL.ECSComponents.PBA
 45          }));
 046    }
 47    #endregion
 48
 49  }
 50  #region Messages
 51  public sealed partial class PBAvatarShape : pb::IMessage<PBAvatarShape>
 52  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 53      , pb::IBufferMessage
 54  #endif
 55  {
 56    private static readonly pb::MessageParser<PBAvatarShape> _parser = new pb::MessageParser<PBAvatarShape>(() => new PB
 57    private pb::UnknownFieldSet _unknownFields;
 58    private int _hasBits0;
 59    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 60    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 61    public static pb::MessageParser<PBAvatarShape> Parser { get { return _parser; } }
 62
 63    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 64    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 65    public static pbr::MessageDescriptor Descriptor {
 66      get { return global::DCL.ECSComponents.AvatarShapeReflection.Descriptor.MessageTypes[0]; }
 67    }
 68
 69    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 70    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 71    pbr::MessageDescriptor pb::IMessage.Descriptor {
 72      get { return Descriptor; }
 73    }
 74
 75    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 76    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 77    public PBAvatarShape() {
 78      OnConstruction();
 79    }
 80
 81    partial void OnConstruction();
 82
 83    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 84    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 85    public PBAvatarShape(PBAvatarShape other) : this() {
 86      _hasBits0 = other._hasBits0;
 87      id_ = other.id_;
 88      name_ = other.name_;
 89      bodyShape_ = other.bodyShape_;
 90      skinColor_ = other.skinColor_ != null ? other.skinColor_.Clone() : null;
 91      hairColor_ = other.hairColor_ != null ? other.hairColor_.Clone() : null;
 92      eyeColor_ = other.eyeColor_ != null ? other.eyeColor_.Clone() : null;
 93      expressionTriggerId_ = other.expressionTriggerId_;
 94      expressionTriggerTimestamp_ = other.expressionTriggerTimestamp_;
 95      talking_ = other.talking_;
 96      wearables_ = other.wearables_.Clone();
 97      emotes_ = other.emotes_.Clone();
 98      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 99    }
 100
 101    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 102    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 103    public PBAvatarShape Clone() {
 104      return new PBAvatarShape(this);
 105    }
 106
 107    /// <summary>Field number for the "id" field.</summary>
 108    public const int IdFieldNumber = 1;
 109    private string id_ = "";
 110    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 111    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 112    public string Id {
 113      get { return id_; }
 114      set {
 115        id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 116      }
 117    }
 118
 119    /// <summary>Field number for the "name" field.</summary>
 120    public const int NameFieldNumber = 2;
 121    private string name_;
 122    /// <summary>
 123    /// default = NPC
 124    /// </summary>
 125    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 126    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 127    public string Name {
 128      get { return name_ ?? ""; }
 129      set {
 130        name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 131      }
 132    }
 133    /// <summary>Gets whether the "name" field is set</summary>
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public bool HasName {
 137      get { return name_ != null; }
 138    }
 139    /// <summary>Clears the value of the "name" field</summary>
 140    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 141    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 142    public void ClearName() {
 143      name_ = null;
 144    }
 145
 146    /// <summary>Field number for the "body_shape" field.</summary>
 147    public const int BodyShapeFieldNumber = 3;
 148    private string bodyShape_;
 149    /// <summary>
 150    /// default = urn:decentraland:off-chain:base-avatars:BaseFemale
 151    /// </summary>
 152    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 153    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 154    public string BodyShape {
 155      get { return bodyShape_ ?? ""; }
 156      set {
 157        bodyShape_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 158      }
 159    }
 160    /// <summary>Gets whether the "body_shape" field is set</summary>
 161    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 162    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 163    public bool HasBodyShape {
 164      get { return bodyShape_ != null; }
 165    }
 166    /// <summary>Clears the value of the "body_shape" field</summary>
 167    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 168    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 169    public void ClearBodyShape() {
 170      bodyShape_ = null;
 171    }
 172
 173    /// <summary>Field number for the "skin_color" field.</summary>
 174    public const int SkinColorFieldNumber = 4;
 175    private global::DCL.ECSComponents.Color3 skinColor_;
 176    /// <summary>
 177    /// default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
 178    /// </summary>
 179    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 180    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 181    public global::DCL.ECSComponents.Color3 SkinColor {
 182      get { return skinColor_; }
 183      set {
 184        skinColor_ = value;
 185      }
 186    }
 187
 188    /// <summary>Field number for the "hair_color" field.</summary>
 189    public const int HairColorFieldNumber = 5;
 190    private global::DCL.ECSComponents.Color3 hairColor_;
 191    /// <summary>
 192    /// default = Color3(R = 0.283f, G = 0.142f, B = 0f)
 193    /// </summary>
 194    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 195    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 196    public global::DCL.ECSComponents.Color3 HairColor {
 197      get { return hairColor_; }
 198      set {
 199        hairColor_ = value;
 200      }
 201    }
 202
 203    /// <summary>Field number for the "eye_color" field.</summary>
 204    public const int EyeColorFieldNumber = 6;
 205    private global::DCL.ECSComponents.Color3 eyeColor_;
 206    /// <summary>
 207    /// default = Color3(R = 0.6f, G = 0.462f, B = 0.356f)
 208    /// </summary>
 209    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 210    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 211    public global::DCL.ECSComponents.Color3 EyeColor {
 212      get { return eyeColor_; }
 213      set {
 214        eyeColor_ = value;
 215      }
 216    }
 217
 218    /// <summary>Field number for the "expression_trigger_id" field.</summary>
 219    public const int ExpressionTriggerIdFieldNumber = 7;
 220    private string expressionTriggerId_;
 221    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 222    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 223    public string ExpressionTriggerId {
 224      get { return expressionTriggerId_ ?? ""; }
 225      set {
 226        expressionTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
 227      }
 228    }
 229    /// <summary>Gets whether the "expression_trigger_id" field is set</summary>
 230    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 231    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 232    public bool HasExpressionTriggerId {
 233      get { return expressionTriggerId_ != null; }
 234    }
 235    /// <summary>Clears the value of the "expression_trigger_id" field</summary>
 236    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 237    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 238    public void ClearExpressionTriggerId() {
 239      expressionTriggerId_ = null;
 240    }
 241
 242    /// <summary>Field number for the "expression_trigger_timestamp" field.</summary>
 243    public const int ExpressionTriggerTimestampFieldNumber = 8;
 244    private long expressionTriggerTimestamp_;
 245    /// <summary>
 246    /// default = timestamp
 247    /// </summary>
 248    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 249    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 250    public long ExpressionTriggerTimestamp {
 251      get { if ((_hasBits0 & 1) != 0) { return expressionTriggerTimestamp_; } else { return 0L; } }
 252      set {
 253        _hasBits0 |= 1;
 254        expressionTriggerTimestamp_ = value;
 255      }
 256    }
 257    /// <summary>Gets whether the "expression_trigger_timestamp" field is set</summary>
 258    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 259    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 260    public bool HasExpressionTriggerTimestamp {
 261      get { return (_hasBits0 & 1) != 0; }
 262    }
 263    /// <summary>Clears the value of the "expression_trigger_timestamp" field</summary>
 264    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 265    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 266    public void ClearExpressionTriggerTimestamp() {
 267      _hasBits0 &= ~1;
 268    }
 269
 270    /// <summary>Field number for the "talking" field.</summary>
 271    public const int TalkingFieldNumber = 9;
 272    private bool talking_;
 273    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 274    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 275    public bool Talking {
 276      get { if ((_hasBits0 & 2) != 0) { return talking_; } else { return false; } }
 277      set {
 278        _hasBits0 |= 2;
 279        talking_ = value;
 280      }
 281    }
 282    /// <summary>Gets whether the "talking" field is set</summary>
 283    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 284    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 285    public bool HasTalking {
 286      get { return (_hasBits0 & 2) != 0; }
 287    }
 288    /// <summary>Clears the value of the "talking" field</summary>
 289    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 290    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 291    public void ClearTalking() {
 292      _hasBits0 &= ~2;
 293    }
 294
 295    /// <summary>Field number for the "wearables" field.</summary>
 296    public const int WearablesFieldNumber = 10;
 297    private static readonly pb::FieldCodec<string> _repeated_wearables_codec
 298        = pb::FieldCodec.ForString(82);
 299    private readonly pbc::RepeatedField<string> wearables_ = new pbc::RepeatedField<string>();
 300    /// <summary>
 301    ///*
 302    /// default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
 303    ///  "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
 304    ///  "urn:decentraland:off-chain:base-avatars:f_mouth_00"
 305    ///  "urn:decentraland:off-chain:base-avatars:standard_hair",
 306    ///  "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
 307    ///  "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
 308    ///  "urn:decentraland:off-chain:base-avatars:bun_shoes"]
 309    /// </summary>
 310    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 311    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 312    public pbc::RepeatedField<string> Wearables {
 313      get { return wearables_; }
 314    }
 315
 316    /// <summary>Field number for the "emotes" field.</summary>
 317    public const int EmotesFieldNumber = 11;
 318    private static readonly pb::FieldCodec<string> _repeated_emotes_codec
 319        = pb::FieldCodec.ForString(90);
 320    private readonly pbc::RepeatedField<string> emotes_ = new pbc::RepeatedField<string>();
 321    /// <summary>
 322    ///*
 323    /// default = []
 324    /// </summary>
 325    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 326    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 327    public pbc::RepeatedField<string> Emotes {
 328      get { return emotes_; }
 329    }
 330
 331    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 332    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 333    public override bool Equals(object other) {
 334      return Equals(other as PBAvatarShape);
 335    }
 336
 337    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 338    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 339    public bool Equals(PBAvatarShape other) {
 340      if (ReferenceEquals(other, null)) {
 341        return false;
 342      }
 343      if (ReferenceEquals(other, this)) {
 344        return true;
 345      }
 346      if (Id != other.Id) return false;
 347      if (Name != other.Name) return false;
 348      if (BodyShape != other.BodyShape) return false;
 349      if (!object.Equals(SkinColor, other.SkinColor)) return false;
 350      if (!object.Equals(HairColor, other.HairColor)) return false;
 351      if (!object.Equals(EyeColor, other.EyeColor)) return false;
 352      if (ExpressionTriggerId != other.ExpressionTriggerId) return false;
 353      if (ExpressionTriggerTimestamp != other.ExpressionTriggerTimestamp) return false;
 354      if (Talking != other.Talking) return false;
 355      if(!wearables_.Equals(other.wearables_)) return false;
 356      if(!emotes_.Equals(other.emotes_)) return false;
 357      return Equals(_unknownFields, other._unknownFields);
 358    }
 359
 360    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 361    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 362    public override int GetHashCode() {
 363      int hash = 1;
 364      if (Id.Length != 0) hash ^= Id.GetHashCode();
 365      if (HasName) hash ^= Name.GetHashCode();
 366      if (HasBodyShape) hash ^= BodyShape.GetHashCode();
 367      if (skinColor_ != null) hash ^= SkinColor.GetHashCode();
 368      if (hairColor_ != null) hash ^= HairColor.GetHashCode();
 369      if (eyeColor_ != null) hash ^= EyeColor.GetHashCode();
 370      if (HasExpressionTriggerId) hash ^= ExpressionTriggerId.GetHashCode();
 371      if (HasExpressionTriggerTimestamp) hash ^= ExpressionTriggerTimestamp.GetHashCode();
 372      if (HasTalking) hash ^= Talking.GetHashCode();
 373      hash ^= wearables_.GetHashCode();
 374      hash ^= emotes_.GetHashCode();
 375      if (_unknownFields != null) {
 376        hash ^= _unknownFields.GetHashCode();
 377      }
 378      return hash;
 379    }
 380
 381    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 382    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 383    public override string ToString() {
 384      return pb::JsonFormatter.ToDiagnosticString(this);
 385    }
 386
 387    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 388    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 389    public void WriteTo(pb::CodedOutputStream output) {
 390    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 391      output.WriteRawMessage(this);
 392    #else
 393      if (Id.Length != 0) {
 394        output.WriteRawTag(10);
 395        output.WriteString(Id);
 396      }
 397      if (HasName) {
 398        output.WriteRawTag(18);
 399        output.WriteString(Name);
 400      }
 401      if (HasBodyShape) {
 402        output.WriteRawTag(26);
 403        output.WriteString(BodyShape);
 404      }
 405      if (skinColor_ != null) {
 406        output.WriteRawTag(34);
 407        output.WriteMessage(SkinColor);
 408      }
 409      if (hairColor_ != null) {
 410        output.WriteRawTag(42);
 411        output.WriteMessage(HairColor);
 412      }
 413      if (eyeColor_ != null) {
 414        output.WriteRawTag(50);
 415        output.WriteMessage(EyeColor);
 416      }
 417      if (HasExpressionTriggerId) {
 418        output.WriteRawTag(58);
 419        output.WriteString(ExpressionTriggerId);
 420      }
 421      if (HasExpressionTriggerTimestamp) {
 422        output.WriteRawTag(64);
 423        output.WriteInt64(ExpressionTriggerTimestamp);
 424      }
 425      if (HasTalking) {
 426        output.WriteRawTag(72);
 427        output.WriteBool(Talking);
 428      }
 429      wearables_.WriteTo(output, _repeated_wearables_codec);
 430      emotes_.WriteTo(output, _repeated_emotes_codec);
 431      if (_unknownFields != null) {
 432        _unknownFields.WriteTo(output);
 433      }
 434    #endif
 435    }
 436
 437    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 438    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 439    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 440    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 441      if (Id.Length != 0) {
 442        output.WriteRawTag(10);
 443        output.WriteString(Id);
 444      }
 445      if (HasName) {
 446        output.WriteRawTag(18);
 447        output.WriteString(Name);
 448      }
 449      if (HasBodyShape) {
 450        output.WriteRawTag(26);
 451        output.WriteString(BodyShape);
 452      }
 453      if (skinColor_ != null) {
 454        output.WriteRawTag(34);
 455        output.WriteMessage(SkinColor);
 456      }
 457      if (hairColor_ != null) {
 458        output.WriteRawTag(42);
 459        output.WriteMessage(HairColor);
 460      }
 461      if (eyeColor_ != null) {
 462        output.WriteRawTag(50);
 463        output.WriteMessage(EyeColor);
 464      }
 465      if (HasExpressionTriggerId) {
 466        output.WriteRawTag(58);
 467        output.WriteString(ExpressionTriggerId);
 468      }
 469      if (HasExpressionTriggerTimestamp) {
 470        output.WriteRawTag(64);
 471        output.WriteInt64(ExpressionTriggerTimestamp);
 472      }
 473      if (HasTalking) {
 474        output.WriteRawTag(72);
 475        output.WriteBool(Talking);
 476      }
 477      wearables_.WriteTo(ref output, _repeated_wearables_codec);
 478      emotes_.WriteTo(ref output, _repeated_emotes_codec);
 479      if (_unknownFields != null) {
 480        _unknownFields.WriteTo(ref output);
 481      }
 482    }
 483    #endif
 484
 485    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 486    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 487    public int CalculateSize() {
 488      int size = 0;
 489      if (Id.Length != 0) {
 490        size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
 491      }
 492      if (HasName) {
 493        size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
 494      }
 495      if (HasBodyShape) {
 496        size += 1 + pb::CodedOutputStream.ComputeStringSize(BodyShape);
 497      }
 498      if (skinColor_ != null) {
 499        size += 1 + pb::CodedOutputStream.ComputeMessageSize(SkinColor);
 500      }
 501      if (hairColor_ != null) {
 502        size += 1 + pb::CodedOutputStream.ComputeMessageSize(HairColor);
 503      }
 504      if (eyeColor_ != null) {
 505        size += 1 + pb::CodedOutputStream.ComputeMessageSize(EyeColor);
 506      }
 507      if (HasExpressionTriggerId) {
 508        size += 1 + pb::CodedOutputStream.ComputeStringSize(ExpressionTriggerId);
 509      }
 510      if (HasExpressionTriggerTimestamp) {
 511        size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExpressionTriggerTimestamp);
 512      }
 513      if (HasTalking) {
 514        size += 1 + 1;
 515      }
 516      size += wearables_.CalculateSize(_repeated_wearables_codec);
 517      size += emotes_.CalculateSize(_repeated_emotes_codec);
 518      if (_unknownFields != null) {
 519        size += _unknownFields.CalculateSize();
 520      }
 521      return size;
 522    }
 523
 524    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 525    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 526    public void MergeFrom(PBAvatarShape other) {
 527      if (other == null) {
 528        return;
 529      }
 530      if (other.Id.Length != 0) {
 531        Id = other.Id;
 532      }
 533      if (other.HasName) {
 534        Name = other.Name;
 535      }
 536      if (other.HasBodyShape) {
 537        BodyShape = other.BodyShape;
 538      }
 539      if (other.skinColor_ != null) {
 540        if (skinColor_ == null) {
 541          SkinColor = new global::DCL.ECSComponents.Color3();
 542        }
 543        SkinColor.MergeFrom(other.SkinColor);
 544      }
 545      if (other.hairColor_ != null) {
 546        if (hairColor_ == null) {
 547          HairColor = new global::DCL.ECSComponents.Color3();
 548        }
 549        HairColor.MergeFrom(other.HairColor);
 550      }
 551      if (other.eyeColor_ != null) {
 552        if (eyeColor_ == null) {
 553          EyeColor = new global::DCL.ECSComponents.Color3();
 554        }
 555        EyeColor.MergeFrom(other.EyeColor);
 556      }
 557      if (other.HasExpressionTriggerId) {
 558        ExpressionTriggerId = other.ExpressionTriggerId;
 559      }
 560      if (other.HasExpressionTriggerTimestamp) {
 561        ExpressionTriggerTimestamp = other.ExpressionTriggerTimestamp;
 562      }
 563      if (other.HasTalking) {
 564        Talking = other.Talking;
 565      }
 566      wearables_.Add(other.wearables_);
 567      emotes_.Add(other.emotes_);
 568      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 569    }
 570
 571    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 572    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 573    public void MergeFrom(pb::CodedInputStream input) {
 574    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 575      input.ReadRawMessage(this);
 576    #else
 577      uint tag;
 578      while ((tag = input.ReadTag()) != 0) {
 579        switch(tag) {
 580          default:
 581            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 582            break;
 583          case 10: {
 584            Id = input.ReadString();
 585            break;
 586          }
 587          case 18: {
 588            Name = input.ReadString();
 589            break;
 590          }
 591          case 26: {
 592            BodyShape = input.ReadString();
 593            break;
 594          }
 595          case 34: {
 596            if (skinColor_ == null) {
 597              SkinColor = new global::DCL.ECSComponents.Color3();
 598            }
 599            input.ReadMessage(SkinColor);
 600            break;
 601          }
 602          case 42: {
 603            if (hairColor_ == null) {
 604              HairColor = new global::DCL.ECSComponents.Color3();
 605            }
 606            input.ReadMessage(HairColor);
 607            break;
 608          }
 609          case 50: {
 610            if (eyeColor_ == null) {
 611              EyeColor = new global::DCL.ECSComponents.Color3();
 612            }
 613            input.ReadMessage(EyeColor);
 614            break;
 615          }
 616          case 58: {
 617            ExpressionTriggerId = input.ReadString();
 618            break;
 619          }
 620          case 64: {
 621            ExpressionTriggerTimestamp = input.ReadInt64();
 622            break;
 623          }
 624          case 72: {
 625            Talking = input.ReadBool();
 626            break;
 627          }
 628          case 82: {
 629            wearables_.AddEntriesFrom(input, _repeated_wearables_codec);
 630            break;
 631          }
 632          case 90: {
 633            emotes_.AddEntriesFrom(input, _repeated_emotes_codec);
 634            break;
 635          }
 636        }
 637      }
 638    #endif
 639    }
 640
 641    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 642    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 643    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 644    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 645      uint tag;
 646      while ((tag = input.ReadTag()) != 0) {
 647        switch(tag) {
 648          default:
 649            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 650            break;
 651          case 10: {
 652            Id = input.ReadString();
 653            break;
 654          }
 655          case 18: {
 656            Name = input.ReadString();
 657            break;
 658          }
 659          case 26: {
 660            BodyShape = input.ReadString();
 661            break;
 662          }
 663          case 34: {
 664            if (skinColor_ == null) {
 665              SkinColor = new global::DCL.ECSComponents.Color3();
 666            }
 667            input.ReadMessage(SkinColor);
 668            break;
 669          }
 670          case 42: {
 671            if (hairColor_ == null) {
 672              HairColor = new global::DCL.ECSComponents.Color3();
 673            }
 674            input.ReadMessage(HairColor);
 675            break;
 676          }
 677          case 50: {
 678            if (eyeColor_ == null) {
 679              EyeColor = new global::DCL.ECSComponents.Color3();
 680            }
 681            input.ReadMessage(EyeColor);
 682            break;
 683          }
 684          case 58: {
 685            ExpressionTriggerId = input.ReadString();
 686            break;
 687          }
 688          case 64: {
 689            ExpressionTriggerTimestamp = input.ReadInt64();
 690            break;
 691          }
 692          case 72: {
 693            Talking = input.ReadBool();
 694            break;
 695          }
 696          case 82: {
 697            wearables_.AddEntriesFrom(ref input, _repeated_wearables_codec);
 698            break;
 699          }
 700          case 90: {
 701            emotes_.AddEntriesFrom(ref input, _repeated_emotes_codec);
 702            break;
 703          }
 704        }
 705      }
 706    }
 707    #endif
 708
 709  }
 710
 711  #endregion
 712
 713}
 714
 715#endregion Designer generated code