< Summary

Class:DCL.ECSComponents.AvatarEquippedDataReflection
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/AvatarEquippedData.gen.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:255
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/AvatarEquippedData.gen.cs

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: decentraland/sdk/components/avatar_equipped_data.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 decentraland/sdk/components/avatar_equipped_data.proto</
 15  public static partial class AvatarEquippedDataReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for decentraland/sdk/components/avatar_equipped_data.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static AvatarEquippedDataReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CjZkZWNlbnRyYWxhbmQvc2RrL2NvbXBvbmVudHMvYXZhdGFyX2VxdWlwcGVk",
 28            "X2RhdGEucHJvdG8SG2RlY2VudHJhbGFuZC5zZGsuY29tcG9uZW50cyJBChRQ",
 29            "QkF2YXRhckVxdWlwcGVkRGF0YRIVCg13ZWFyYWJsZV91cm5zGAEgAygJEhIK",
 30            "CmVtb3RlX3VybnMYAiADKAlCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90",
 31            "bzM="));
 032      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 33          new pbr::FileDescriptor[] { },
 34          new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
 35            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarEquippedData), global::DCL.ECSCompone
 36          }));
 037    }
 38    #endregion
 39
 40  }
 41  #region Messages
 42  /// <summary>
 43  /// AvatarEquipData is used to read the information about the avatar's owneables.
 44  /// this component is written by the engine using the communications transports'
 45  /// data.
 46  /// </summary>
 47  public sealed partial class PBAvatarEquippedData : pb::IMessage<PBAvatarEquippedData>
 48  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 49      , pb::IBufferMessage
 50  #endif
 51  {
 52    private static readonly pb::MessageParser<PBAvatarEquippedData> _parser = new pb::MessageParser<PBAvatarEquippedData
 53    private pb::UnknownFieldSet _unknownFields;
 54    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 55    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 56    public static pb::MessageParser<PBAvatarEquippedData> Parser { get { return _parser; } }
 57
 58    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 59    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 60    public static pbr::MessageDescriptor Descriptor {
 61      get { return global::DCL.ECSComponents.AvatarEquippedDataReflection.Descriptor.MessageTypes[0]; }
 62    }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66    pbr::MessageDescriptor pb::IMessage.Descriptor {
 67      get { return Descriptor; }
 68    }
 69
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72    public PBAvatarEquippedData() {
 73      OnConstruction();
 74    }
 75
 76    partial void OnConstruction();
 77
 78    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 79    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 80    public PBAvatarEquippedData(PBAvatarEquippedData other) : this() {
 81      wearableUrns_ = other.wearableUrns_.Clone();
 82      emoteUrns_ = other.emoteUrns_.Clone();
 83      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 84    }
 85
 86    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 87    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 88    public PBAvatarEquippedData Clone() {
 89      return new PBAvatarEquippedData(this);
 90    }
 91
 92    /// <summary>Field number for the "wearable_urns" field.</summary>
 93    public const int WearableUrnsFieldNumber = 1;
 94    private static readonly pb::FieldCodec<string> _repeated_wearableUrns_codec
 95        = pb::FieldCodec.ForString(10);
 96    private readonly pbc::RepeatedField<string> wearableUrns_ = new pbc::RepeatedField<string>();
 97    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 98    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 99    public pbc::RepeatedField<string> WearableUrns {
 100      get { return wearableUrns_; }
 101    }
 102
 103    /// <summary>Field number for the "emote_urns" field.</summary>
 104    public const int EmoteUrnsFieldNumber = 2;
 105    private static readonly pb::FieldCodec<string> _repeated_emoteUrns_codec
 106        = pb::FieldCodec.ForString(18);
 107    private readonly pbc::RepeatedField<string> emoteUrns_ = new pbc::RepeatedField<string>();
 108    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 109    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 110    public pbc::RepeatedField<string> EmoteUrns {
 111      get { return emoteUrns_; }
 112    }
 113
 114    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 115    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 116    public override bool Equals(object other) {
 117      return Equals(other as PBAvatarEquippedData);
 118    }
 119
 120    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 121    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 122    public bool Equals(PBAvatarEquippedData other) {
 123      if (ReferenceEquals(other, null)) {
 124        return false;
 125      }
 126      if (ReferenceEquals(other, this)) {
 127        return true;
 128      }
 129      if(!wearableUrns_.Equals(other.wearableUrns_)) return false;
 130      if(!emoteUrns_.Equals(other.emoteUrns_)) return false;
 131      return Equals(_unknownFields, other._unknownFields);
 132    }
 133
 134    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 135    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 136    public override int GetHashCode() {
 137      int hash = 1;
 138      hash ^= wearableUrns_.GetHashCode();
 139      hash ^= emoteUrns_.GetHashCode();
 140      if (_unknownFields != null) {
 141        hash ^= _unknownFields.GetHashCode();
 142      }
 143      return hash;
 144    }
 145
 146    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 147    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 148    public override string ToString() {
 149      return pb::JsonFormatter.ToDiagnosticString(this);
 150    }
 151
 152    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 153    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 154    public void WriteTo(pb::CodedOutputStream output) {
 155    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 156      output.WriteRawMessage(this);
 157    #else
 158      wearableUrns_.WriteTo(output, _repeated_wearableUrns_codec);
 159      emoteUrns_.WriteTo(output, _repeated_emoteUrns_codec);
 160      if (_unknownFields != null) {
 161        _unknownFields.WriteTo(output);
 162      }
 163    #endif
 164    }
 165
 166    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 167    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 168    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 169    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 170      wearableUrns_.WriteTo(ref output, _repeated_wearableUrns_codec);
 171      emoteUrns_.WriteTo(ref output, _repeated_emoteUrns_codec);
 172      if (_unknownFields != null) {
 173        _unknownFields.WriteTo(ref output);
 174      }
 175    }
 176    #endif
 177
 178    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 179    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 180    public int CalculateSize() {
 181      int size = 0;
 182      size += wearableUrns_.CalculateSize(_repeated_wearableUrns_codec);
 183      size += emoteUrns_.CalculateSize(_repeated_emoteUrns_codec);
 184      if (_unknownFields != null) {
 185        size += _unknownFields.CalculateSize();
 186      }
 187      return size;
 188    }
 189
 190    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 191    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 192    public void MergeFrom(PBAvatarEquippedData other) {
 193      if (other == null) {
 194        return;
 195      }
 196      wearableUrns_.Add(other.wearableUrns_);
 197      emoteUrns_.Add(other.emoteUrns_);
 198      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 199    }
 200
 201    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 202    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 203    public void MergeFrom(pb::CodedInputStream input) {
 204    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 205      input.ReadRawMessage(this);
 206    #else
 207      uint tag;
 208      while ((tag = input.ReadTag()) != 0) {
 209        switch(tag) {
 210          default:
 211            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 212            break;
 213          case 10: {
 214            wearableUrns_.AddEntriesFrom(input, _repeated_wearableUrns_codec);
 215            break;
 216          }
 217          case 18: {
 218            emoteUrns_.AddEntriesFrom(input, _repeated_emoteUrns_codec);
 219            break;
 220          }
 221        }
 222      }
 223    #endif
 224    }
 225
 226    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 227    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 228    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 229    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 230      uint tag;
 231      while ((tag = input.ReadTag()) != 0) {
 232        switch(tag) {
 233          default:
 234            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 235            break;
 236          case 10: {
 237            wearableUrns_.AddEntriesFrom(ref input, _repeated_wearableUrns_codec);
 238            break;
 239          }
 240          case 18: {
 241            emoteUrns_.AddEntriesFrom(ref input, _repeated_emoteUrns_codec);
 242            break;
 243          }
 244        }
 245      }
 246    }
 247    #endif
 248
 249  }
 250
 251  #endregion
 252
 253}
 254
 255#endregion Designer generated code