| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: AvatarModifierArea.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 AvatarModifierArea.proto</summary> |
| | 15 | | public static partial class AvatarModifierAreaReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for AvatarModifierArea.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static AvatarModifierAreaReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChhBdmF0YXJNb2RpZmllckFyZWEucHJvdG8SEGRlY2VudHJhbGFuZC5lY3Ma", |
| | 28 | | "FGNvbW1vbi9WZWN0b3IzLnByb3RvIngKFFBCQXZhdGFyTW9kaWZpZXJBcmVh", |
| | 29 | | "EhYKBGFyZWEYASABKAsyCC5WZWN0b3IzEhMKC2V4Y2x1ZGVfaWRzGAIgAygJ", |
| | 30 | | "EjMKCW1vZGlmaWVycxgDIAMoDjIgLmRlY2VudHJhbGFuZC5lY3MuQXZhdGFy", |
| | 31 | | "TW9kaWZpZXIqOQoOQXZhdGFyTW9kaWZpZXISEAoMSElERV9BVkFUQVJTEAAS", |
| | 32 | | "FQoRRElTQUJMRV9QQVNTUE9SVFMQAUIUqgIRRENMLkVDU0NvbXBvbmVudHNi", |
| | 33 | | "BnByb3RvMw==")); |
| | 34 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 35 | | new pbr::FileDescriptor[] { global::Vector3Reflection.Descriptor, }, |
| | 36 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.AvatarModifier), }, null, new pbr::Gener |
| | 37 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarModifierArea), global::DCL.ECSCompone |
| | 38 | | })); |
| | 39 | | } |
| | 40 | | #endregion |
| | 41 | |
|
| | 42 | | } |
| | 43 | | #region Enums |
| | 44 | | public enum AvatarModifier { |
| | 45 | | [pbr::OriginalName("HIDE_AVATARS")] HideAvatars = 0, |
| | 46 | | [pbr::OriginalName("DISABLE_PASSPORTS")] DisablePassports = 1, |
| | 47 | | } |
| | 48 | |
|
| | 49 | | #endregion |
| | 50 | |
|
| | 51 | | #region Messages |
| | 52 | | public sealed partial class PBAvatarModifierArea : pb::IMessage<PBAvatarModifierArea> { |
| 2 | 53 | | private static readonly pb::MessageParser<PBAvatarModifierArea> _parser = new pb::MessageParser<PBAvatarModifierArea |
| | 54 | | private pb::UnknownFieldSet _unknownFields; |
| | 55 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 0 | 56 | | public static pb::MessageParser<PBAvatarModifierArea> Parser { get { return _parser; } } |
| | 57 | |
|
| | 58 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 59 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 60 | | get { return global::DCL.ECSComponents.AvatarModifierAreaReflection.Descriptor.MessageTypes[0]; } |
| | 61 | | } |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 65 | | get { return Descriptor; } |
| | 66 | | } |
| | 67 | |
|
| | 68 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 5 | 69 | | public PBAvatarModifierArea() { |
| | 70 | | OnConstruction(); |
| 5 | 71 | | } |
| | 72 | |
|
| | 73 | | partial void OnConstruction(); |
| | 74 | |
|
| | 75 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| 0 | 76 | | public PBAvatarModifierArea(PBAvatarModifierArea other) : this() { |
| 0 | 77 | | area_ = other.area_ != null ? other.area_.Clone() : null; |
| 0 | 78 | | excludeIds_ = other.excludeIds_.Clone(); |
| 0 | 79 | | modifiers_ = other.modifiers_.Clone(); |
| 0 | 80 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 81 | | } |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | public PBAvatarModifierArea Clone() { |
| 0 | 85 | | return new PBAvatarModifierArea(this); |
| | 86 | | } |
| | 87 | |
|
| | 88 | | /// <summary>Field number for the "area" field.</summary> |
| | 89 | | public const int AreaFieldNumber = 1; |
| | 90 | | private global::Vector3 area_; |
| | 91 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 92 | | public global::Vector3 Area { |
| 12 | 93 | | get { return area_; } |
| | 94 | | set { |
| 4 | 95 | | area_ = value; |
| 4 | 96 | | } |
| | 97 | | } |
| | 98 | |
|
| | 99 | | /// <summary>Field number for the "exclude_ids" field.</summary> |
| | 100 | | public const int ExcludeIdsFieldNumber = 2; |
| 1 | 101 | | private static readonly pb::FieldCodec<string> _repeated_excludeIds_codec |
| | 102 | | = pb::FieldCodec.ForString(18); |
| 5 | 103 | | private readonly pbc::RepeatedField<string> excludeIds_ = new pbc::RepeatedField<string>(); |
| | 104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 105 | | public pbc::RepeatedField<string> ExcludeIds { |
| 4 | 106 | | get { return excludeIds_; } |
| | 107 | | } |
| | 108 | |
|
| | 109 | | /// <summary>Field number for the "modifiers" field.</summary> |
| | 110 | | public const int ModifiersFieldNumber = 3; |
| 1 | 111 | | private static readonly pb::FieldCodec<global::DCL.ECSComponents.AvatarModifier> _repeated_modifiers_codec |
| 4 | 112 | | = pb::FieldCodec.ForEnum(26, x => (int) x, x => (global::DCL.ECSComponents.AvatarModifier) x); |
| 5 | 113 | | private readonly pbc::RepeatedField<global::DCL.ECSComponents.AvatarModifier> modifiers_ = new pbc::RepeatedField<gl |
| | 114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 115 | | public pbc::RepeatedField<global::DCL.ECSComponents.AvatarModifier> Modifiers { |
| 4 | 116 | | get { return modifiers_; } |
| | 117 | | } |
| | 118 | |
|
| | 119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 120 | | public override bool Equals(object other) { |
| 0 | 121 | | return Equals(other as PBAvatarModifierArea); |
| | 122 | | } |
| | 123 | |
|
| | 124 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 125 | | public bool Equals(PBAvatarModifierArea other) { |
| 0 | 126 | | if (ReferenceEquals(other, null)) { |
| 0 | 127 | | return false; |
| | 128 | | } |
| 0 | 129 | | if (ReferenceEquals(other, this)) { |
| 0 | 130 | | return true; |
| | 131 | | } |
| 0 | 132 | | if (!object.Equals(Area, other.Area)) return false; |
| 0 | 133 | | if(!excludeIds_.Equals(other.excludeIds_)) return false; |
| 0 | 134 | | if(!modifiers_.Equals(other.modifiers_)) return false; |
| 0 | 135 | | return Equals(_unknownFields, other._unknownFields); |
| | 136 | | } |
| | 137 | |
|
| | 138 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 139 | | public override int GetHashCode() { |
| 0 | 140 | | int hash = 1; |
| 0 | 141 | | if (area_ != null) hash ^= Area.GetHashCode(); |
| 0 | 142 | | hash ^= excludeIds_.GetHashCode(); |
| 0 | 143 | | hash ^= modifiers_.GetHashCode(); |
| 0 | 144 | | if (_unknownFields != null) { |
| 0 | 145 | | hash ^= _unknownFields.GetHashCode(); |
| | 146 | | } |
| 0 | 147 | | return hash; |
| | 148 | | } |
| | 149 | |
|
| | 150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 151 | | public override string ToString() { |
| 0 | 152 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 153 | | } |
| | 154 | |
|
| | 155 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 156 | | public void WriteTo(pb::CodedOutputStream output) { |
| 1 | 157 | | if (area_ != null) { |
| 1 | 158 | | output.WriteRawTag(10); |
| 1 | 159 | | output.WriteMessage(Area); |
| | 160 | | } |
| 1 | 161 | | excludeIds_.WriteTo(output, _repeated_excludeIds_codec); |
| 1 | 162 | | modifiers_.WriteTo(output, _repeated_modifiers_codec); |
| 1 | 163 | | if (_unknownFields != null) { |
| 0 | 164 | | _unknownFields.WriteTo(output); |
| | 165 | | } |
| 1 | 166 | | } |
| | 167 | |
|
| | 168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 169 | | public int CalculateSize() { |
| 1 | 170 | | int size = 0; |
| 1 | 171 | | if (area_ != null) { |
| 1 | 172 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Area); |
| | 173 | | } |
| 1 | 174 | | size += excludeIds_.CalculateSize(_repeated_excludeIds_codec); |
| 1 | 175 | | size += modifiers_.CalculateSize(_repeated_modifiers_codec); |
| 1 | 176 | | if (_unknownFields != null) { |
| 0 | 177 | | size += _unknownFields.CalculateSize(); |
| | 178 | | } |
| 1 | 179 | | return size; |
| | 180 | | } |
| | 181 | |
|
| | 182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 183 | | public void MergeFrom(PBAvatarModifierArea other) { |
| 0 | 184 | | if (other == null) { |
| 0 | 185 | | return; |
| | 186 | | } |
| 0 | 187 | | if (other.area_ != null) { |
| 0 | 188 | | if (area_ == null) { |
| 0 | 189 | | Area = new global::Vector3(); |
| | 190 | | } |
| 0 | 191 | | Area.MergeFrom(other.Area); |
| | 192 | | } |
| 0 | 193 | | excludeIds_.Add(other.excludeIds_); |
| 0 | 194 | | modifiers_.Add(other.modifiers_); |
| 0 | 195 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 196 | | } |
| | 197 | |
|
| | 198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 199 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 200 | | uint tag; |
| 4 | 201 | | while ((tag = input.ReadTag()) != 0) { |
| | 202 | | switch(tag) { |
| | 203 | | default: |
| 0 | 204 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 205 | | break; |
| | 206 | | case 10: { |
| 1 | 207 | | if (area_ == null) { |
| 1 | 208 | | Area = new global::Vector3(); |
| | 209 | | } |
| 1 | 210 | | input.ReadMessage(Area); |
| 1 | 211 | | break; |
| | 212 | | } |
| | 213 | | case 18: { |
| 1 | 214 | | excludeIds_.AddEntriesFrom(input, _repeated_excludeIds_codec); |
| 1 | 215 | | break; |
| | 216 | | } |
| | 217 | | case 26: |
| | 218 | | case 24: { |
| 1 | 219 | | modifiers_.AddEntriesFrom(input, _repeated_modifiers_codec); |
| | 220 | | break; |
| | 221 | | } |
| | 222 | | } |
| | 223 | | } |
| 1 | 224 | | } |
| | 225 | |
|
| | 226 | | } |
| | 227 | |
|
| | 228 | | #endregion |
| | 229 | |
|
| | 230 | | } |
| | 231 | |
|
| | 232 | | #endregion Designer generated code |