| | 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 { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static BillboardReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Cg9CaWxsYm9hcmQucHJvdG8SEGRlY2VudHJhbGFuZC5lY3MiTwoLUEJCaWxs", |
| | 28 | | "Ym9hcmQSDgoBeBgBIAEoCEgAiAEBEg4KAXkYAiABKAhIAYgBARIOCgF6GAMg", |
| | 29 | | "ASgISAKIAQFCBAoCX3hCBAoCX3lCBAoCX3pCFKoCEURDTC5FQ1NDb21wb25l", |
| | 30 | | "bnRzYgZwcm90bzM=")); |
| | 31 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 32 | | new pbr::FileDescriptor[] { }, |
| | 33 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 34 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBBillboard), global::DCL.ECSComponents.PBBil |
| | 35 | | })); |
| | 36 | | } |
| | 37 | | #endregion |
| | 38 | |
|
| | 39 | | } |
| | 40 | | #region Messages |
| | 41 | | public sealed partial class PBBillboard : pb::IMessage<PBBillboard> |
| | 42 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 43 | | , pb::IBufferMessage |
| | 44 | | #endif |
| | 45 | | { |
| 2 | 46 | | private static readonly pb::MessageParser<PBBillboard> _parser = new pb::MessageParser<PBBillboard>(() => new PBBill |
| | 47 | | private pb::UnknownFieldSet _unknownFields; |
| | 48 | | private int _hasBits0; |
| | 49 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 50 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 51 | | public static pb::MessageParser<PBBillboard> Parser { get { return _parser; } } |
| | 52 | |
|
| | 53 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 54 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 55 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 56 | | get { return global::DCL.ECSComponents.BillboardReflection.Descriptor.MessageTypes[0]; } |
| | 57 | | } |
| | 58 | |
|
| | 59 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 60 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 61 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 62 | | get { return Descriptor; } |
| | 63 | | } |
| | 64 | |
|
| | 65 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 66 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 2 | 67 | | public PBBillboard() { |
| | 68 | | OnConstruction(); |
| 2 | 69 | | } |
| | 70 | |
|
| | 71 | | partial void OnConstruction(); |
| | 72 | |
|
| | 73 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 74 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 75 | | public PBBillboard(PBBillboard other) : this() { |
| 0 | 76 | | _hasBits0 = other._hasBits0; |
| 0 | 77 | | x_ = other.x_; |
| 0 | 78 | | y_ = other.y_; |
| 0 | 79 | | z_ = other.z_; |
| 0 | 80 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 81 | | } |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 85 | | public PBBillboard Clone() { |
| 0 | 86 | | return new PBBillboard(this); |
| | 87 | | } |
| | 88 | |
|
| | 89 | | /// <summary>Field number for the "x" field.</summary> |
| | 90 | | public const int XFieldNumber = 1; |
| | 91 | | private bool x_; |
| | 92 | | /// <summary> |
| | 93 | | /// default=true |
| | 94 | | /// </summary> |
| | 95 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 96 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 97 | | public bool X { |
| 4 | 98 | | get { if ((_hasBits0 & 1) != 0) { return x_; } else { return false; } } |
| | 99 | | set { |
| 3 | 100 | | _hasBits0 |= 1; |
| 3 | 101 | | x_ = value; |
| 3 | 102 | | } |
| | 103 | | } |
| | 104 | | /// <summary>Gets whether the "x" field is set</summary> |
| | 105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 107 | | public bool HasX { |
| 0 | 108 | | get { return (_hasBits0 & 1) != 0; } |
| | 109 | | } |
| | 110 | | /// <summary>Clears the value of the "x" field</summary> |
| | 111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 113 | | public void ClearX() { |
| 0 | 114 | | _hasBits0 &= ~1; |
| 0 | 115 | | } |
| | 116 | |
|
| | 117 | | /// <summary>Field number for the "y" field.</summary> |
| | 118 | | public const int YFieldNumber = 2; |
| | 119 | | private bool y_; |
| | 120 | | /// <summary> |
| | 121 | | /// default=true |
| | 122 | | /// </summary> |
| | 123 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 124 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 125 | | public bool Y { |
| 4 | 126 | | get { if ((_hasBits0 & 2) != 0) { return y_; } else { return false; } } |
| | 127 | | set { |
| 3 | 128 | | _hasBits0 |= 2; |
| 3 | 129 | | y_ = value; |
| 3 | 130 | | } |
| | 131 | | } |
| | 132 | | /// <summary>Gets whether the "y" field is set</summary> |
| | 133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 135 | | public bool HasY { |
| 0 | 136 | | get { return (_hasBits0 & 2) != 0; } |
| | 137 | | } |
| | 138 | | /// <summary>Clears the value of the "y" field</summary> |
| | 139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 140 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 141 | | public void ClearY() { |
| 0 | 142 | | _hasBits0 &= ~2; |
| 0 | 143 | | } |
| | 144 | |
|
| | 145 | | /// <summary>Field number for the "z" field.</summary> |
| | 146 | | public const int ZFieldNumber = 3; |
| | 147 | | private bool z_; |
| | 148 | | /// <summary> |
| | 149 | | /// default=true |
| | 150 | | /// </summary> |
| | 151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 153 | | public bool Z { |
| 4 | 154 | | get { if ((_hasBits0 & 4) != 0) { return z_; } else { return false; } } |
| | 155 | | set { |
| 3 | 156 | | _hasBits0 |= 4; |
| 3 | 157 | | z_ = value; |
| 3 | 158 | | } |
| | 159 | | } |
| | 160 | | /// <summary>Gets whether the "z" field is set</summary> |
| | 161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 163 | | public bool HasZ { |
| 0 | 164 | | get { return (_hasBits0 & 4) != 0; } |
| | 165 | | } |
| | 166 | | /// <summary>Clears the value of the "z" field</summary> |
| | 167 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 168 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 169 | | public void ClearZ() { |
| 0 | 170 | | _hasBits0 &= ~4; |
| 0 | 171 | | } |
| | 172 | |
|
| | 173 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 174 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 175 | | public override bool Equals(object other) { |
| 0 | 176 | | return Equals(other as PBBillboard); |
| | 177 | | } |
| | 178 | |
|
| | 179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 181 | | public bool Equals(PBBillboard other) { |
| 0 | 182 | | if (ReferenceEquals(other, null)) { |
| 0 | 183 | | return false; |
| | 184 | | } |
| 0 | 185 | | if (ReferenceEquals(other, this)) { |
| 0 | 186 | | return true; |
| | 187 | | } |
| 0 | 188 | | if (X != other.X) return false; |
| 0 | 189 | | if (Y != other.Y) return false; |
| 0 | 190 | | if (Z != other.Z) return false; |
| 0 | 191 | | return Equals(_unknownFields, other._unknownFields); |
| | 192 | | } |
| | 193 | |
|
| | 194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 196 | | public override int GetHashCode() { |
| 0 | 197 | | int hash = 1; |
| 0 | 198 | | if (HasX) hash ^= X.GetHashCode(); |
| 0 | 199 | | if (HasY) hash ^= Y.GetHashCode(); |
| 0 | 200 | | if (HasZ) hash ^= Z.GetHashCode(); |
| 0 | 201 | | if (_unknownFields != null) { |
| 0 | 202 | | hash ^= _unknownFields.GetHashCode(); |
| | 203 | | } |
| 0 | 204 | | return hash; |
| | 205 | | } |
| | 206 | |
|
| | 207 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 208 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 209 | | public override string ToString() { |
| 0 | 210 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 211 | | } |
| | 212 | |
|
| | 213 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 214 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 215 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 216 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 217 | | output.WriteRawMessage(this); |
| | 218 | | #else |
| 1 | 219 | | if (HasX) { |
| 1 | 220 | | output.WriteRawTag(8); |
| 1 | 221 | | output.WriteBool(X); |
| | 222 | | } |
| 1 | 223 | | if (HasY) { |
| 1 | 224 | | output.WriteRawTag(16); |
| 1 | 225 | | output.WriteBool(Y); |
| | 226 | | } |
| 1 | 227 | | if (HasZ) { |
| 1 | 228 | | output.WriteRawTag(24); |
| 1 | 229 | | output.WriteBool(Z); |
| | 230 | | } |
| 1 | 231 | | if (_unknownFields != null) { |
| 0 | 232 | | _unknownFields.WriteTo(output); |
| | 233 | | } |
| | 234 | | #endif |
| 1 | 235 | | } |
| | 236 | |
|
| | 237 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 238 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 239 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 240 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 241 | | if (HasX) { |
| | 242 | | output.WriteRawTag(8); |
| | 243 | | output.WriteBool(X); |
| | 244 | | } |
| | 245 | | if (HasY) { |
| | 246 | | output.WriteRawTag(16); |
| | 247 | | output.WriteBool(Y); |
| | 248 | | } |
| | 249 | | if (HasZ) { |
| | 250 | | output.WriteRawTag(24); |
| | 251 | | output.WriteBool(Z); |
| | 252 | | } |
| | 253 | | if (_unknownFields != null) { |
| | 254 | | _unknownFields.WriteTo(ref output); |
| | 255 | | } |
| | 256 | | } |
| | 257 | | #endif |
| | 258 | |
|
| | 259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 261 | | public int CalculateSize() { |
| 1 | 262 | | int size = 0; |
| 1 | 263 | | if (HasX) { |
| 1 | 264 | | size += 1 + 1; |
| | 265 | | } |
| 1 | 266 | | if (HasY) { |
| 1 | 267 | | size += 1 + 1; |
| | 268 | | } |
| 1 | 269 | | if (HasZ) { |
| 1 | 270 | | size += 1 + 1; |
| | 271 | | } |
| 1 | 272 | | if (_unknownFields != null) { |
| 0 | 273 | | size += _unknownFields.CalculateSize(); |
| | 274 | | } |
| 1 | 275 | | return size; |
| | 276 | | } |
| | 277 | |
|
| | 278 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 279 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 280 | | public void MergeFrom(PBBillboard other) { |
| 0 | 281 | | if (other == null) { |
| 0 | 282 | | return; |
| | 283 | | } |
| 0 | 284 | | if (other.HasX) { |
| 0 | 285 | | X = other.X; |
| | 286 | | } |
| 0 | 287 | | if (other.HasY) { |
| 0 | 288 | | Y = other.Y; |
| | 289 | | } |
| 0 | 290 | | if (other.HasZ) { |
| 0 | 291 | | Z = other.Z; |
| | 292 | | } |
| 0 | 293 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 294 | | } |
| | 295 | |
|
| | 296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 298 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 299 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 300 | | input.ReadRawMessage(this); |
| | 301 | | #else |
| | 302 | | uint tag; |
| 4 | 303 | | while ((tag = input.ReadTag()) != 0) { |
| | 304 | | switch(tag) { |
| | 305 | | default: |
| 0 | 306 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 307 | | break; |
| | 308 | | case 8: { |
| 1 | 309 | | X = input.ReadBool(); |
| 1 | 310 | | break; |
| | 311 | | } |
| | 312 | | case 16: { |
| 1 | 313 | | Y = input.ReadBool(); |
| 1 | 314 | | break; |
| | 315 | | } |
| | 316 | | case 24: { |
| 1 | 317 | | Z = input.ReadBool(); |
| | 318 | | break; |
| | 319 | | } |
| | 320 | | } |
| | 321 | | } |
| | 322 | | #endif |
| 1 | 323 | | } |
| | 324 | |
|
| | 325 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 328 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 329 | | uint tag; |
| | 330 | | while ((tag = input.ReadTag()) != 0) { |
| | 331 | | switch(tag) { |
| | 332 | | default: |
| | 333 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 334 | | break; |
| | 335 | | case 8: { |
| | 336 | | X = input.ReadBool(); |
| | 337 | | break; |
| | 338 | | } |
| | 339 | | case 16: { |
| | 340 | | Y = input.ReadBool(); |
| | 341 | | break; |
| | 342 | | } |
| | 343 | | case 24: { |
| | 344 | | Z = input.ReadBool(); |
| | 345 | | break; |
| | 346 | | } |
| | 347 | | } |
| | 348 | | } |
| | 349 | | } |
| | 350 | | #endif |
| | 351 | |
|
| | 352 | | } |
| | 353 | |
|
| | 354 | | #endregion |
| | 355 | |
|
| | 356 | | } |
| | 357 | |
|
| | 358 | | #endregion Designer generated code |