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