< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1// <auto-generated>
 2//     Generated by the protocol buffer compiler.  DO NOT EDIT!
 3//     source: ecs/components/AvatarModifierArea.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/AvatarModifierArea.proto</summary>
 15  public static partial class AvatarModifierAreaReflection {
 16
 17    #region Descriptor
 18    /// <summary>File descriptor for ecs/components/AvatarModifierArea.proto</summary>
 19    public static pbr::FileDescriptor Descriptor {
 020      get { return descriptor; }
 21    }
 22    private static pbr::FileDescriptor descriptor;
 23
 24    static AvatarModifierAreaReflection() {
 025      byte[] descriptorData = global::System.Convert.FromBase64String(
 26          string.Concat(
 27            "CidlY3MvY29tcG9uZW50cy9BdmF0YXJNb2RpZmllckFyZWEucHJvdG8SEGRl",
 28            "Y2VudHJhbGFuZC5lY3MaI2Vjcy9jb21wb25lbnRzL2NvbW1vbi9WZWN0b3Iz",
 29            "LnByb3RvIokBChRQQkF2YXRhck1vZGlmaWVyQXJlYRInCgRhcmVhGAEgASgL",
 30            "MhkuZGVjZW50cmFsYW5kLmVjcy5WZWN0b3IzEhMKC2V4Y2x1ZGVfaWRzGAIg",
 31            "AygJEjMKCW1vZGlmaWVycxgDIAMoDjIgLmRlY2VudHJhbGFuZC5lY3MuQXZh",
 32            "dGFyTW9kaWZpZXIqOQoOQXZhdGFyTW9kaWZpZXISEAoMSElERV9BVkFUQVJT",
 33            "EAASFQoRRElTQUJMRV9QQVNTUE9SVFMQAUIUqgIRRENMLkVDU0NvbXBvbmVu",
 34            "dHNiBnByb3RvMw=="));
 035      descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
 36          new pbr::FileDescriptor[] { global::DCL.ECSComponents.Vector3Reflection.Descriptor, },
 37          new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.AvatarModifier), }, null, new pbr::Gener
 38            new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarModifierArea), global::DCL.ECSCompone
 39          }));
 040    }
 41    #endregion
 42
 43  }
 44  #region Enums
 45  public enum AvatarModifier {
 46    [pbr::OriginalName("HIDE_AVATARS")] HideAvatars = 0,
 47    [pbr::OriginalName("DISABLE_PASSPORTS")] DisablePassports = 1,
 48  }
 49
 50  #endregion
 51
 52  #region Messages
 53  public sealed partial class PBAvatarModifierArea : pb::IMessage<PBAvatarModifierArea>
 54  #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 55      , pb::IBufferMessage
 56  #endif
 57  {
 58    private static readonly pb::MessageParser<PBAvatarModifierArea> _parser = new pb::MessageParser<PBAvatarModifierArea
 59    private pb::UnknownFieldSet _unknownFields;
 60    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 61    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 62    public static pb::MessageParser<PBAvatarModifierArea> Parser { get { return _parser; } }
 63
 64    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 65    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 66    public static pbr::MessageDescriptor Descriptor {
 67      get { return global::DCL.ECSComponents.AvatarModifierAreaReflection.Descriptor.MessageTypes[0]; }
 68    }
 69
 70    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 71    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 72    pbr::MessageDescriptor pb::IMessage.Descriptor {
 73      get { return Descriptor; }
 74    }
 75
 76    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 77    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 78    public PBAvatarModifierArea() {
 79      OnConstruction();
 80    }
 81
 82    partial void OnConstruction();
 83
 84    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 85    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 86    public PBAvatarModifierArea(PBAvatarModifierArea other) : this() {
 87      area_ = other.area_ != null ? other.area_.Clone() : null;
 88      excludeIds_ = other.excludeIds_.Clone();
 89      modifiers_ = other.modifiers_.Clone();
 90      _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
 91    }
 92
 93    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 94    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 95    public PBAvatarModifierArea Clone() {
 96      return new PBAvatarModifierArea(this);
 97    }
 98
 99    /// <summary>Field number for the "area" field.</summary>
 100    public const int AreaFieldNumber = 1;
 101    private global::DCL.ECSComponents.Vector3 area_;
 102    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 103    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 104    public global::DCL.ECSComponents.Vector3 Area {
 105      get { return area_; }
 106      set {
 107        area_ = value;
 108      }
 109    }
 110
 111    /// <summary>Field number for the "exclude_ids" field.</summary>
 112    public const int ExcludeIdsFieldNumber = 2;
 113    private static readonly pb::FieldCodec<string> _repeated_excludeIds_codec
 114        = pb::FieldCodec.ForString(18);
 115    private readonly pbc::RepeatedField<string> excludeIds_ = new pbc::RepeatedField<string>();
 116    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 117    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 118    public pbc::RepeatedField<string> ExcludeIds {
 119      get { return excludeIds_; }
 120    }
 121
 122    /// <summary>Field number for the "modifiers" field.</summary>
 123    public const int ModifiersFieldNumber = 3;
 124    private static readonly pb::FieldCodec<global::DCL.ECSComponents.AvatarModifier> _repeated_modifiers_codec
 125        = pb::FieldCodec.ForEnum(26, x => (int) x, x => (global::DCL.ECSComponents.AvatarModifier) x);
 126    private readonly pbc::RepeatedField<global::DCL.ECSComponents.AvatarModifier> modifiers_ = new pbc::RepeatedField<gl
 127    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 128    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 129    public pbc::RepeatedField<global::DCL.ECSComponents.AvatarModifier> Modifiers {
 130      get { return modifiers_; }
 131    }
 132
 133    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 134    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 135    public override bool Equals(object other) {
 136      return Equals(other as PBAvatarModifierArea);
 137    }
 138
 139    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 140    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 141    public bool Equals(PBAvatarModifierArea other) {
 142      if (ReferenceEquals(other, null)) {
 143        return false;
 144      }
 145      if (ReferenceEquals(other, this)) {
 146        return true;
 147      }
 148      if (!object.Equals(Area, other.Area)) return false;
 149      if(!excludeIds_.Equals(other.excludeIds_)) return false;
 150      if(!modifiers_.Equals(other.modifiers_)) return false;
 151      return Equals(_unknownFields, other._unknownFields);
 152    }
 153
 154    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 155    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 156    public override int GetHashCode() {
 157      int hash = 1;
 158      if (area_ != null) hash ^= Area.GetHashCode();
 159      hash ^= excludeIds_.GetHashCode();
 160      hash ^= modifiers_.GetHashCode();
 161      if (_unknownFields != null) {
 162        hash ^= _unknownFields.GetHashCode();
 163      }
 164      return hash;
 165    }
 166
 167    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 168    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 169    public override string ToString() {
 170      return pb::JsonFormatter.ToDiagnosticString(this);
 171    }
 172
 173    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 174    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 175    public void WriteTo(pb::CodedOutputStream output) {
 176    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 177      output.WriteRawMessage(this);
 178    #else
 179      if (area_ != null) {
 180        output.WriteRawTag(10);
 181        output.WriteMessage(Area);
 182      }
 183      excludeIds_.WriteTo(output, _repeated_excludeIds_codec);
 184      modifiers_.WriteTo(output, _repeated_modifiers_codec);
 185      if (_unknownFields != null) {
 186        _unknownFields.WriteTo(output);
 187      }
 188    #endif
 189    }
 190
 191    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 192    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 193    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 194    void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
 195      if (area_ != null) {
 196        output.WriteRawTag(10);
 197        output.WriteMessage(Area);
 198      }
 199      excludeIds_.WriteTo(ref output, _repeated_excludeIds_codec);
 200      modifiers_.WriteTo(ref output, _repeated_modifiers_codec);
 201      if (_unknownFields != null) {
 202        _unknownFields.WriteTo(ref output);
 203      }
 204    }
 205    #endif
 206
 207    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 208    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 209    public int CalculateSize() {
 210      int size = 0;
 211      if (area_ != null) {
 212        size += 1 + pb::CodedOutputStream.ComputeMessageSize(Area);
 213      }
 214      size += excludeIds_.CalculateSize(_repeated_excludeIds_codec);
 215      size += modifiers_.CalculateSize(_repeated_modifiers_codec);
 216      if (_unknownFields != null) {
 217        size += _unknownFields.CalculateSize();
 218      }
 219      return size;
 220    }
 221
 222    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 223    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 224    public void MergeFrom(PBAvatarModifierArea other) {
 225      if (other == null) {
 226        return;
 227      }
 228      if (other.area_ != null) {
 229        if (area_ == null) {
 230          Area = new global::DCL.ECSComponents.Vector3();
 231        }
 232        Area.MergeFrom(other.Area);
 233      }
 234      excludeIds_.Add(other.excludeIds_);
 235      modifiers_.Add(other.modifiers_);
 236      _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 237    }
 238
 239    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 240    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 241    public void MergeFrom(pb::CodedInputStream input) {
 242    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 243      input.ReadRawMessage(this);
 244    #else
 245      uint tag;
 246      while ((tag = input.ReadTag()) != 0) {
 247        switch(tag) {
 248          default:
 249            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
 250            break;
 251          case 10: {
 252            if (area_ == null) {
 253              Area = new global::DCL.ECSComponents.Vector3();
 254            }
 255            input.ReadMessage(Area);
 256            break;
 257          }
 258          case 18: {
 259            excludeIds_.AddEntriesFrom(input, _repeated_excludeIds_codec);
 260            break;
 261          }
 262          case 26:
 263          case 24: {
 264            modifiers_.AddEntriesFrom(input, _repeated_modifiers_codec);
 265            break;
 266          }
 267        }
 268      }
 269    #endif
 270    }
 271
 272    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
 273    [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
 274    [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
 275    void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
 276      uint tag;
 277      while ((tag = input.ReadTag()) != 0) {
 278        switch(tag) {
 279          default:
 280            _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
 281            break;
 282          case 10: {
 283            if (area_ == null) {
 284              Area = new global::DCL.ECSComponents.Vector3();
 285            }
 286            input.ReadMessage(Area);
 287            break;
 288          }
 289          case 18: {
 290            excludeIds_.AddEntriesFrom(ref input, _repeated_excludeIds_codec);
 291            break;
 292          }
 293          case 26:
 294          case 24: {
 295            modifiers_.AddEntriesFrom(ref input, _repeated_modifiers_codec);
 296            break;
 297          }
 298        }
 299      }
 300    }
 301    #endif
 302
 303  }
 304
 305  #endregion
 306
 307}
 308
 309#endregion Designer generated code