| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: AvatarAttach.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 AvatarAttach.proto</summary> |
| | 15 | | public static partial class AvatarAttachReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for AvatarAttach.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static AvatarAttachReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChJBdmF0YXJBdHRhY2gucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MiYQoOUEJB", |
| | 28 | | "dmF0YXJBdHRhY2gSEQoJYXZhdGFyX2lkGAEgASgJEjwKD2FuY2hvcl9wb2lu", |
| | 29 | | "dF9pZBgCIAEoDjIjLmRlY2VudHJhbGFuZC5lY3MuQXZhdGFyQW5jaG9yUG9p", |
| | 30 | | "bnQqTgoRQXZhdGFyQW5jaG9yUG9pbnQSDAoIUE9TSVRJT04QABIMCghOQU1F", |
| | 31 | | "X1RBRxABEg0KCUxFRlRfSEFORBACEg4KClJJR0hUX0hBTkQQA0IUqgIRRENM", |
| | 32 | | "LkVDU0NvbXBvbmVudHNiBnByb3RvMw==")); |
| | 33 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 34 | | new pbr::FileDescriptor[] { }, |
| | 35 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.ECSComponents.AvatarAnchorPoint), }, null, new pbr::Ge |
| | 36 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarAttach), global::DCL.ECSComponents.PB |
| | 37 | | })); |
| | 38 | | } |
| | 39 | | #endregion |
| | 40 | |
|
| | 41 | | } |
| | 42 | | #region Enums |
| | 43 | | public enum AvatarAnchorPoint { |
| | 44 | | [pbr::OriginalName("POSITION")] Position = 0, |
| | 45 | | [pbr::OriginalName("NAME_TAG")] NameTag = 1, |
| | 46 | | [pbr::OriginalName("LEFT_HAND")] LeftHand = 2, |
| | 47 | | [pbr::OriginalName("RIGHT_HAND")] RightHand = 3, |
| | 48 | | } |
| | 49 | |
|
| | 50 | | #endregion |
| | 51 | |
|
| | 52 | | #region Messages |
| | 53 | | public sealed partial class PBAvatarAttach : pb::IMessage<PBAvatarAttach> |
| | 54 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 55 | | , pb::IBufferMessage |
| | 56 | | #endif |
| | 57 | | { |
| 1 | 58 | | private static readonly pb::MessageParser<PBAvatarAttach> _parser = new pb::MessageParser<PBAvatarAttach>(() => new |
| | 59 | | private pb::UnknownFieldSet _unknownFields; |
| | 60 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 61 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 62 | | public static pb::MessageParser<PBAvatarAttach> Parser { get { return _parser; } } |
| | 63 | |
|
| | 64 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 65 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 66 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 67 | | get { return global::DCL.ECSComponents.AvatarAttachReflection.Descriptor.MessageTypes[0]; } |
| | 68 | | } |
| | 69 | |
|
| | 70 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 71 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 72 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 73 | | get { return Descriptor; } |
| | 74 | | } |
| | 75 | |
|
| | 76 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 77 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 78 | | public PBAvatarAttach() { |
| | 79 | | OnConstruction(); |
| 1 | 80 | | } |
| | 81 | |
|
| | 82 | | partial void OnConstruction(); |
| | 83 | |
|
| | 84 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 85 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 86 | | public PBAvatarAttach(PBAvatarAttach other) : this() { |
| 0 | 87 | | avatarId_ = other.avatarId_; |
| 0 | 88 | | anchorPointId_ = other.anchorPointId_; |
| 0 | 89 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 90 | | } |
| | 91 | |
|
| | 92 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 93 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 94 | | public PBAvatarAttach Clone() { |
| 0 | 95 | | return new PBAvatarAttach(this); |
| | 96 | | } |
| | 97 | |
|
| | 98 | | /// <summary>Field number for the "avatar_id" field.</summary> |
| | 99 | | public const int AvatarIdFieldNumber = 1; |
| 1 | 100 | | private string avatarId_ = ""; |
| | 101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 102 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 103 | | public string AvatarId { |
| 0 | 104 | | get { return avatarId_; } |
| | 105 | | set { |
| 1 | 106 | | avatarId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 1 | 107 | | } |
| | 108 | | } |
| | 109 | |
|
| | 110 | | /// <summary>Field number for the "anchor_point_id" field.</summary> |
| | 111 | | public const int AnchorPointIdFieldNumber = 2; |
| | 112 | | private global::DCL.ECSComponents.AvatarAnchorPoint anchorPointId_ = global::DCL.ECSComponents.AvatarAnchorPoint.Pos |
| | 113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 115 | | public global::DCL.ECSComponents.AvatarAnchorPoint AnchorPointId { |
| 0 | 116 | | get { return anchorPointId_; } |
| | 117 | | set { |
| 0 | 118 | | anchorPointId_ = value; |
| 0 | 119 | | } |
| | 120 | | } |
| | 121 | |
|
| | 122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 124 | | public override bool Equals(object other) { |
| 0 | 125 | | return Equals(other as PBAvatarAttach); |
| | 126 | | } |
| | 127 | |
|
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 130 | | public bool Equals(PBAvatarAttach other) { |
| 0 | 131 | | if (ReferenceEquals(other, null)) { |
| 0 | 132 | | return false; |
| | 133 | | } |
| 0 | 134 | | if (ReferenceEquals(other, this)) { |
| 0 | 135 | | return true; |
| | 136 | | } |
| 0 | 137 | | if (AvatarId != other.AvatarId) return false; |
| 0 | 138 | | if (AnchorPointId != other.AnchorPointId) return false; |
| 0 | 139 | | return Equals(_unknownFields, other._unknownFields); |
| | 140 | | } |
| | 141 | |
|
| | 142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 144 | | public override int GetHashCode() { |
| 0 | 145 | | int hash = 1; |
| 0 | 146 | | if (AvatarId.Length != 0) hash ^= AvatarId.GetHashCode(); |
| 0 | 147 | | if (AnchorPointId != global::DCL.ECSComponents.AvatarAnchorPoint.Position) hash ^= AnchorPointId.GetHashCode(); |
| 0 | 148 | | if (_unknownFields != null) { |
| 0 | 149 | | hash ^= _unknownFields.GetHashCode(); |
| | 150 | | } |
| 0 | 151 | | return hash; |
| | 152 | | } |
| | 153 | |
|
| | 154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 156 | | public override string ToString() { |
| 0 | 157 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 158 | | } |
| | 159 | |
|
| | 160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 162 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 163 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 164 | | output.WriteRawMessage(this); |
| | 165 | | #else |
| 0 | 166 | | if (AvatarId.Length != 0) { |
| 0 | 167 | | output.WriteRawTag(10); |
| 0 | 168 | | output.WriteString(AvatarId); |
| | 169 | | } |
| 0 | 170 | | if (AnchorPointId != global::DCL.ECSComponents.AvatarAnchorPoint.Position) { |
| 0 | 171 | | output.WriteRawTag(16); |
| 0 | 172 | | output.WriteEnum((int) AnchorPointId); |
| | 173 | | } |
| 0 | 174 | | if (_unknownFields != null) { |
| 0 | 175 | | _unknownFields.WriteTo(output); |
| | 176 | | } |
| | 177 | | #endif |
| 0 | 178 | | } |
| | 179 | |
|
| | 180 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 183 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 184 | | if (AvatarId.Length != 0) { |
| | 185 | | output.WriteRawTag(10); |
| | 186 | | output.WriteString(AvatarId); |
| | 187 | | } |
| | 188 | | if (AnchorPointId != global::DCL.ECSComponents.AvatarAnchorPoint.Position) { |
| | 189 | | output.WriteRawTag(16); |
| | 190 | | output.WriteEnum((int) AnchorPointId); |
| | 191 | | } |
| | 192 | | if (_unknownFields != null) { |
| | 193 | | _unknownFields.WriteTo(ref output); |
| | 194 | | } |
| | 195 | | } |
| | 196 | | #endif |
| | 197 | |
|
| | 198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 200 | | public int CalculateSize() { |
| 0 | 201 | | int size = 0; |
| 0 | 202 | | if (AvatarId.Length != 0) { |
| 0 | 203 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AvatarId); |
| | 204 | | } |
| 0 | 205 | | if (AnchorPointId != global::DCL.ECSComponents.AvatarAnchorPoint.Position) { |
| 0 | 206 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) AnchorPointId); |
| | 207 | | } |
| 0 | 208 | | if (_unknownFields != null) { |
| 0 | 209 | | size += _unknownFields.CalculateSize(); |
| | 210 | | } |
| 0 | 211 | | return size; |
| | 212 | | } |
| | 213 | |
|
| | 214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 216 | | public void MergeFrom(PBAvatarAttach other) { |
| 0 | 217 | | if (other == null) { |
| 0 | 218 | | return; |
| | 219 | | } |
| 0 | 220 | | if (other.AvatarId.Length != 0) { |
| 0 | 221 | | AvatarId = other.AvatarId; |
| | 222 | | } |
| 0 | 223 | | if (other.AnchorPointId != global::DCL.ECSComponents.AvatarAnchorPoint.Position) { |
| 0 | 224 | | AnchorPointId = other.AnchorPointId; |
| | 225 | | } |
| 0 | 226 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 227 | | } |
| | 228 | |
|
| | 229 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 230 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 231 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 232 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 233 | | input.ReadRawMessage(this); |
| | 234 | | #else |
| | 235 | | uint tag; |
| 0 | 236 | | while ((tag = input.ReadTag()) != 0) { |
| | 237 | | switch(tag) { |
| | 238 | | default: |
| 0 | 239 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 240 | | break; |
| | 241 | | case 10: { |
| 0 | 242 | | AvatarId = input.ReadString(); |
| 0 | 243 | | break; |
| | 244 | | } |
| | 245 | | case 16: { |
| 0 | 246 | | AnchorPointId = (global::DCL.ECSComponents.AvatarAnchorPoint) input.ReadEnum(); |
| | 247 | | break; |
| | 248 | | } |
| | 249 | | } |
| | 250 | | } |
| | 251 | | #endif |
| 0 | 252 | | } |
| | 253 | |
|
| | 254 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 257 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 258 | | uint tag; |
| | 259 | | while ((tag = input.ReadTag()) != 0) { |
| | 260 | | switch(tag) { |
| | 261 | | default: |
| | 262 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 263 | | break; |
| | 264 | | case 10: { |
| | 265 | | AvatarId = input.ReadString(); |
| | 266 | | break; |
| | 267 | | } |
| | 268 | | case 16: { |
| | 269 | | AnchorPointId = (global::DCL.ECSComponents.AvatarAnchorPoint) input.ReadEnum(); |
| | 270 | | break; |
| | 271 | | } |
| | 272 | | } |
| | 273 | | } |
| | 274 | | } |
| | 275 | | #endif |
| | 276 | |
|
| | 277 | | } |
| | 278 | |
|
| | 279 | | #endregion |
| | 280 | |
|
| | 281 | | } |
| | 282 | |
|
| | 283 | | #endregion Designer generated code |