| | 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 { |
| 0 | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static AvatarAttachReflection() { |
| 0 | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChJBdmF0YXJBdHRhY2gucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MiPAoOUEJB", |
| | 28 | | "dmF0YXJBdHRhY2gSEQoJYXZhdGFyX2lkGAEgASgJEhcKD2FuY2hvcl9wb2lu", |
| | 29 | | "dF9pZBgCIAEoBUIUqgIRRENMLkVDU0NvbXBvbmVudHNiBnByb3RvMw==")); |
| 0 | 30 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 31 | | new pbr::FileDescriptor[] { }, |
| | 32 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 33 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBAvatarAttach), global::DCL.ECSComponents.PB |
| | 34 | | })); |
| 0 | 35 | | } |
| | 36 | | #endregion |
| | 37 | |
|
| | 38 | | } |
| | 39 | | #region Messages |
| | 40 | | public sealed partial class PBAvatarAttach : pb::IMessage<PBAvatarAttach> { |
| | 41 | | private static readonly pb::MessageParser<PBAvatarAttach> _parser = new pb::MessageParser<PBAvatarAttach>(() => new |
| | 42 | | private pb::UnknownFieldSet _unknownFields; |
| | 43 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 44 | | public static pb::MessageParser<PBAvatarAttach> Parser { get { return _parser; } } |
| | 45 | |
|
| | 46 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 47 | | public static pbr::MessageDescriptor Descriptor { |
| | 48 | | get { return global::DCL.ECSComponents.AvatarAttachReflection.Descriptor.MessageTypes[0]; } |
| | 49 | | } |
| | 50 | |
|
| | 51 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 52 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 53 | | get { return Descriptor; } |
| | 54 | | } |
| | 55 | |
|
| | 56 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 57 | | public PBAvatarAttach() { |
| | 58 | | OnConstruction(); |
| | 59 | | } |
| | 60 | |
|
| | 61 | | partial void OnConstruction(); |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | public PBAvatarAttach(PBAvatarAttach other) : this() { |
| | 65 | | avatarId_ = other.avatarId_; |
| | 66 | | anchorPointId_ = other.anchorPointId_; |
| | 67 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 68 | | } |
| | 69 | |
|
| | 70 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 71 | | public PBAvatarAttach Clone() { |
| | 72 | | return new PBAvatarAttach(this); |
| | 73 | | } |
| | 74 | |
|
| | 75 | | /// <summary>Field number for the "avatar_id" field.</summary> |
| | 76 | | public const int AvatarIdFieldNumber = 1; |
| | 77 | | private string avatarId_ = ""; |
| | 78 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 79 | | public string AvatarId { |
| | 80 | | get { return avatarId_; } |
| | 81 | | set { |
| | 82 | | avatarId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 83 | | } |
| | 84 | | } |
| | 85 | |
|
| | 86 | | /// <summary>Field number for the "anchor_point_id" field.</summary> |
| | 87 | | public const int AnchorPointIdFieldNumber = 2; |
| | 88 | | private int anchorPointId_; |
| | 89 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 90 | | public int AnchorPointId { |
| | 91 | | get { return anchorPointId_; } |
| | 92 | | set { |
| | 93 | | anchorPointId_ = value; |
| | 94 | | } |
| | 95 | | } |
| | 96 | |
|
| | 97 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 98 | | public override bool Equals(object other) { |
| | 99 | | return Equals(other as PBAvatarAttach); |
| | 100 | | } |
| | 101 | |
|
| | 102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 103 | | public bool Equals(PBAvatarAttach other) { |
| | 104 | | if (ReferenceEquals(other, null)) { |
| | 105 | | return false; |
| | 106 | | } |
| | 107 | | if (ReferenceEquals(other, this)) { |
| | 108 | | return true; |
| | 109 | | } |
| | 110 | | if (AvatarId != other.AvatarId) return false; |
| | 111 | | if (AnchorPointId != other.AnchorPointId) return false; |
| | 112 | | return Equals(_unknownFields, other._unknownFields); |
| | 113 | | } |
| | 114 | |
|
| | 115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 116 | | public override int GetHashCode() { |
| | 117 | | int hash = 1; |
| | 118 | | if (AvatarId.Length != 0) hash ^= AvatarId.GetHashCode(); |
| | 119 | | if (AnchorPointId != 0) hash ^= AnchorPointId.GetHashCode(); |
| | 120 | | if (_unknownFields != null) { |
| | 121 | | hash ^= _unknownFields.GetHashCode(); |
| | 122 | | } |
| | 123 | | return hash; |
| | 124 | | } |
| | 125 | |
|
| | 126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 127 | | public override string ToString() { |
| | 128 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 129 | | } |
| | 130 | |
|
| | 131 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 132 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 133 | | if (AvatarId.Length != 0) { |
| | 134 | | output.WriteRawTag(10); |
| | 135 | | output.WriteString(AvatarId); |
| | 136 | | } |
| | 137 | | if (AnchorPointId != 0) { |
| | 138 | | output.WriteRawTag(16); |
| | 139 | | output.WriteInt32(AnchorPointId); |
| | 140 | | } |
| | 141 | | if (_unknownFields != null) { |
| | 142 | | _unknownFields.WriteTo(output); |
| | 143 | | } |
| | 144 | | } |
| | 145 | |
|
| | 146 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 147 | | public int CalculateSize() { |
| | 148 | | int size = 0; |
| | 149 | | if (AvatarId.Length != 0) { |
| | 150 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AvatarId); |
| | 151 | | } |
| | 152 | | if (AnchorPointId != 0) { |
| | 153 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(AnchorPointId); |
| | 154 | | } |
| | 155 | | if (_unknownFields != null) { |
| | 156 | | size += _unknownFields.CalculateSize(); |
| | 157 | | } |
| | 158 | | return size; |
| | 159 | | } |
| | 160 | |
|
| | 161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 162 | | public void MergeFrom(PBAvatarAttach other) { |
| | 163 | | if (other == null) { |
| | 164 | | return; |
| | 165 | | } |
| | 166 | | if (other.AvatarId.Length != 0) { |
| | 167 | | AvatarId = other.AvatarId; |
| | 168 | | } |
| | 169 | | if (other.AnchorPointId != 0) { |
| | 170 | | AnchorPointId = other.AnchorPointId; |
| | 171 | | } |
| | 172 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 173 | | } |
| | 174 | |
|
| | 175 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 176 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 177 | | uint tag; |
| | 178 | | while ((tag = input.ReadTag()) != 0) { |
| | 179 | | switch(tag) { |
| | 180 | | default: |
| | 181 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 182 | | break; |
| | 183 | | case 10: { |
| | 184 | | AvatarId = input.ReadString(); |
| | 185 | | break; |
| | 186 | | } |
| | 187 | | case 16: { |
| | 188 | | AnchorPointId = input.ReadInt32(); |
| | 189 | | break; |
| | 190 | | } |
| | 191 | | } |
| | 192 | | } |
| | 193 | | } |
| | 194 | |
|
| | 195 | | } |
| | 196 | |
|
| | 197 | | #endregion |
| | 198 | |
|
| | 199 | | } |
| | 200 | |
|
| | 201 | | #endregion Designer generated code |