| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: Billboard.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 Billboard.proto</summary> |
| | 15 | | public static partial class BillboardReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for Billboard.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| 0 | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static BillboardReflection() { |
| 0 | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Cg9CaWxsYm9hcmQucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MiLgoLUEJCaWxs", |
| | 28 | | "Ym9hcmQSCQoBeBgBIAEoCBIJCgF5GAIgASgIEgkKAXoYAyABKAhCFKoCEURD", |
| | 29 | | "TC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| 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.PBBillboard), global::DCL.ECSComponents.PBBil |
| | 34 | | })); |
| 0 | 35 | | } |
| | 36 | | #endregion |
| | 37 | |
|
| | 38 | | } |
| | 39 | | #region Messages |
| | 40 | | public sealed partial class PBBillboard : pb::IMessage<PBBillboard> { |
| | 41 | | private static readonly pb::MessageParser<PBBillboard> _parser = new pb::MessageParser<PBBillboard>(() => new PBBill |
| | 42 | | private pb::UnknownFieldSet _unknownFields; |
| | 43 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 44 | | public static pb::MessageParser<PBBillboard> Parser { get { return _parser; } } |
| | 45 | |
|
| | 46 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 47 | | public static pbr::MessageDescriptor Descriptor { |
| | 48 | | get { return global::DCL.ECSComponents.BillboardReflection.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 PBBillboard() { |
| | 58 | | OnConstruction(); |
| | 59 | | } |
| | 60 | |
|
| | 61 | | partial void OnConstruction(); |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | public PBBillboard(PBBillboard other) : this() { |
| | 65 | | x_ = other.x_; |
| | 66 | | y_ = other.y_; |
| | 67 | | z_ = other.z_; |
| | 68 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 69 | | } |
| | 70 | |
|
| | 71 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 72 | | public PBBillboard Clone() { |
| | 73 | | return new PBBillboard(this); |
| | 74 | | } |
| | 75 | |
|
| | 76 | | /// <summary>Field number for the "x" field.</summary> |
| | 77 | | public const int XFieldNumber = 1; |
| | 78 | | private bool x_; |
| | 79 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 80 | | public bool X { |
| | 81 | | get { return x_; } |
| | 82 | | set { |
| | 83 | | x_ = value; |
| | 84 | | } |
| | 85 | | } |
| | 86 | |
|
| | 87 | | /// <summary>Field number for the "y" field.</summary> |
| | 88 | | public const int YFieldNumber = 2; |
| | 89 | | private bool y_; |
| | 90 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 91 | | public bool Y { |
| | 92 | | get { return y_; } |
| | 93 | | set { |
| | 94 | | y_ = value; |
| | 95 | | } |
| | 96 | | } |
| | 97 | |
|
| | 98 | | /// <summary>Field number for the "z" field.</summary> |
| | 99 | | public const int ZFieldNumber = 3; |
| | 100 | | private bool z_; |
| | 101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 102 | | public bool Z { |
| | 103 | | get { return z_; } |
| | 104 | | set { |
| | 105 | | z_ = value; |
| | 106 | | } |
| | 107 | | } |
| | 108 | |
|
| | 109 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 110 | | public override bool Equals(object other) { |
| | 111 | | return Equals(other as PBBillboard); |
| | 112 | | } |
| | 113 | |
|
| | 114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 115 | | public bool Equals(PBBillboard other) { |
| | 116 | | if (ReferenceEquals(other, null)) { |
| | 117 | | return false; |
| | 118 | | } |
| | 119 | | if (ReferenceEquals(other, this)) { |
| | 120 | | return true; |
| | 121 | | } |
| | 122 | | if (X != other.X) return false; |
| | 123 | | if (Y != other.Y) return false; |
| | 124 | | if (Z != other.Z) return false; |
| | 125 | | return Equals(_unknownFields, other._unknownFields); |
| | 126 | | } |
| | 127 | |
|
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | public override int GetHashCode() { |
| | 130 | | int hash = 1; |
| | 131 | | if (X != false) hash ^= X.GetHashCode(); |
| | 132 | | if (Y != false) hash ^= Y.GetHashCode(); |
| | 133 | | if (Z != false) hash ^= Z.GetHashCode(); |
| | 134 | | if (_unknownFields != null) { |
| | 135 | | hash ^= _unknownFields.GetHashCode(); |
| | 136 | | } |
| | 137 | | return hash; |
| | 138 | | } |
| | 139 | |
|
| | 140 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 141 | | public override string ToString() { |
| | 142 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 143 | | } |
| | 144 | |
|
| | 145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 146 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 147 | | if (X != false) { |
| | 148 | | output.WriteRawTag(8); |
| | 149 | | output.WriteBool(X); |
| | 150 | | } |
| | 151 | | if (Y != false) { |
| | 152 | | output.WriteRawTag(16); |
| | 153 | | output.WriteBool(Y); |
| | 154 | | } |
| | 155 | | if (Z != false) { |
| | 156 | | output.WriteRawTag(24); |
| | 157 | | output.WriteBool(Z); |
| | 158 | | } |
| | 159 | | if (_unknownFields != null) { |
| | 160 | | _unknownFields.WriteTo(output); |
| | 161 | | } |
| | 162 | | } |
| | 163 | |
|
| | 164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 165 | | public int CalculateSize() { |
| | 166 | | int size = 0; |
| | 167 | | if (X != false) { |
| | 168 | | size += 1 + 1; |
| | 169 | | } |
| | 170 | | if (Y != false) { |
| | 171 | | size += 1 + 1; |
| | 172 | | } |
| | 173 | | if (Z != false) { |
| | 174 | | size += 1 + 1; |
| | 175 | | } |
| | 176 | | if (_unknownFields != null) { |
| | 177 | | size += _unknownFields.CalculateSize(); |
| | 178 | | } |
| | 179 | | return size; |
| | 180 | | } |
| | 181 | |
|
| | 182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 183 | | public void MergeFrom(PBBillboard other) { |
| | 184 | | if (other == null) { |
| | 185 | | return; |
| | 186 | | } |
| | 187 | | if (other.X != false) { |
| | 188 | | X = other.X; |
| | 189 | | } |
| | 190 | | if (other.Y != false) { |
| | 191 | | Y = other.Y; |
| | 192 | | } |
| | 193 | | if (other.Z != false) { |
| | 194 | | Z = other.Z; |
| | 195 | | } |
| | 196 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 197 | | } |
| | 198 | |
|
| | 199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 200 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 201 | | uint tag; |
| | 202 | | while ((tag = input.ReadTag()) != 0) { |
| | 203 | | switch(tag) { |
| | 204 | | default: |
| | 205 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 206 | | break; |
| | 207 | | case 8: { |
| | 208 | | X = input.ReadBool(); |
| | 209 | | break; |
| | 210 | | } |
| | 211 | | case 16: { |
| | 212 | | Y = input.ReadBool(); |
| | 213 | | break; |
| | 214 | | } |
| | 215 | | case 24: { |
| | 216 | | Z = input.ReadBool(); |
| | 217 | | break; |
| | 218 | | } |
| | 219 | | } |
| | 220 | | } |
| | 221 | | } |
| | 222 | |
|
| | 223 | | } |
| | 224 | |
|
| | 225 | | #endregion |
| | 226 | |
|
| | 227 | | } |
| | 228 | |
|
| | 229 | | #endregion Designer generated code |