< Summary

Class:DCL.ECSComponents.AvatarShapeReflection
Assembly:DCL.ECSComponents.ProtobufData
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS7/ProtocolBuffers/Generated/PBFiles/AvatarShape.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:683
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/PBFiles/AvatarShape.cs

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