TrinityCore
range.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: global_extensions/range.proto
3
4#ifndef PROTOBUF_global_5fextensions_2frange_2eproto__INCLUDED
5#define PROTOBUF_global_5fextensions_2frange_2eproto__INCLUDED
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 2006000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/generated_message_util.h>
23#include <google/protobuf/message.h>
24#include <google/protobuf/repeated_field.h>
25#include <google/protobuf/extension_set.h>
26#include <google/protobuf/unknown_field_set.h>
27#include "Define.h" // for TC_PROTO_API
28// @@protoc_insertion_point(includes)
29
30namespace bgs {
31namespace protocol {
32
33// Internal implementation detail -- do not call these.
37
39class SignedIntRange;
40class FloatRange;
41
42// ===================================================================
43
44class TC_PROTO_API UnsignedIntRange : public ::google::protobuf::Message {
45 public:
48
50
52 CopyFrom(from);
53 return *this;
54 }
55
56 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
57 return _unknown_fields_;
58 }
59
60 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
61 return &_unknown_fields_;
62 }
63
64 static const ::google::protobuf::Descriptor* descriptor();
66
67 void Swap(UnsignedIntRange* other);
68
69 // implements Message ----------------------------------------------
70
72 int GetCachedSize() const { return _cached_size_; }
73 private:
74 void SharedCtor();
75 void SharedDtor();
76 void SetCachedSize(int size) const;
77 public:
78 ::google::protobuf::Metadata GetMetadata() const;
79
80 // nested types ----------------------------------------------------
81
82 // accessors -------------------------------------------------------
83
84 // optional uint64 min = 1;
85 inline bool has_min() const;
86 inline void clear_min();
87 static const int kMinFieldNumber = 1;
89 inline void set_min(::google::protobuf::uint64 value);
90
91 // optional uint64 max = 2;
92 inline bool has_max() const;
93 inline void clear_max();
94 static const int kMaxFieldNumber = 2;
96 inline void set_max(::google::protobuf::uint64 value);
97
98 // @@protoc_insertion_point(class_scope:bgs.protocol.UnsignedIntRange)
99 private:
100 inline void set_has_min();
101 inline void clear_has_min();
102 inline void set_has_max();
103 inline void clear_has_max();
104
105 ::google::protobuf::UnknownFieldSet _unknown_fields_;
106
108 mutable int _cached_size_;
114
117};
118// -------------------------------------------------------------------
119
120class TC_PROTO_API SignedIntRange : public ::google::protobuf::Message {
121 public:
124
126
128 CopyFrom(from);
129 return *this;
130 }
131
132 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
133 return _unknown_fields_;
134 }
135
136 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
137 return &_unknown_fields_;
138 }
139
140 static const ::google::protobuf::Descriptor* descriptor();
142
143 void Swap(SignedIntRange* other);
144
145 // implements Message ----------------------------------------------
146
148 int GetCachedSize() const { return _cached_size_; }
149 private:
152 void SetCachedSize(int size) const;
153 public:
154 ::google::protobuf::Metadata GetMetadata() const;
155
156 // nested types ----------------------------------------------------
157
158 // accessors -------------------------------------------------------
159
160 // optional int64 min = 1;
161 inline bool has_min() const;
162 inline void clear_min();
163 static const int kMinFieldNumber = 1;
165 inline void set_min(::google::protobuf::int64 value);
166
167 // optional int64 max = 2;
168 inline bool has_max() const;
169 inline void clear_max();
170 static const int kMaxFieldNumber = 2;
172 inline void set_max(::google::protobuf::int64 value);
173
174 // @@protoc_insertion_point(class_scope:bgs.protocol.SignedIntRange)
175 private:
176 inline void set_has_min();
177 inline void clear_has_min();
178 inline void set_has_max();
179 inline void clear_has_max();
180
181 ::google::protobuf::UnknownFieldSet _unknown_fields_;
182
184 mutable int _cached_size_;
190
193};
194// -------------------------------------------------------------------
195
196class TC_PROTO_API FloatRange : public ::google::protobuf::Message {
197 public:
199 virtual ~FloatRange();
200
201 FloatRange(const FloatRange& from);
202
203 inline FloatRange& operator=(const FloatRange& from) {
204 CopyFrom(from);
205 return *this;
206 }
207
208 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
209 return _unknown_fields_;
210 }
211
212 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
213 return &_unknown_fields_;
214 }
215
216 static const ::google::protobuf::Descriptor* descriptor();
218
219 void Swap(FloatRange* other);
220
221 // implements Message ----------------------------------------------
222
223 FloatRange* New() const;
224 int GetCachedSize() const { return _cached_size_; }
225 private:
228 void SetCachedSize(int size) const;
229 public:
230 ::google::protobuf::Metadata GetMetadata() const;
231
232 // nested types ----------------------------------------------------
233
234 // accessors -------------------------------------------------------
235
236 // optional float min = 1;
237 inline bool has_min() const;
238 inline void clear_min();
239 static const int kMinFieldNumber = 1;
240 inline float min() const;
241 inline void set_min(float value);
242
243 // optional float max = 2;
244 inline bool has_max() const;
245 inline void clear_max();
246 static const int kMaxFieldNumber = 2;
247 inline float max() const;
248 inline void set_max(float value);
249
250 // @@protoc_insertion_point(class_scope:bgs.protocol.FloatRange)
251 private:
252 inline void set_has_min();
253 inline void clear_has_min();
254 inline void set_has_max();
255 inline void clear_has_max();
256
257 ::google::protobuf::UnknownFieldSet _unknown_fields_;
258
260 mutable int _cached_size_;
261 float min_;
262 float max_;
266
269};
270// ===================================================================
271
272// ===================================================================
273
274// ===================================================================
275
276// UnsignedIntRange
277
278// optional uint64 min = 1;
279inline bool UnsignedIntRange::has_min() const {
280 return (_has_bits_[0] & 0x00000001u) != 0;
281}
283 _has_bits_[0] |= 0x00000001u;
284}
286 _has_bits_[0] &= ~0x00000001u;
287}
289 min_ = GOOGLE_ULONGLONG(0);
291}
293 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedIntRange.min)
294 return min_;
295}
297 set_has_min();
298 min_ = value;
299 // @@protoc_insertion_point(field_set:bgs.protocol.UnsignedIntRange.min)
300}
301
302// optional uint64 max = 2;
303inline bool UnsignedIntRange::has_max() const {
304 return (_has_bits_[0] & 0x00000002u) != 0;
305}
307 _has_bits_[0] |= 0x00000002u;
308}
310 _has_bits_[0] &= ~0x00000002u;
311}
313 max_ = GOOGLE_ULONGLONG(0);
315}
317 // @@protoc_insertion_point(field_get:bgs.protocol.UnsignedIntRange.max)
318 return max_;
319}
321 set_has_max();
322 max_ = value;
323 // @@protoc_insertion_point(field_set:bgs.protocol.UnsignedIntRange.max)
324}
325
326// -------------------------------------------------------------------
327
328// SignedIntRange
329
330// optional int64 min = 1;
331inline bool SignedIntRange::has_min() const {
332 return (_has_bits_[0] & 0x00000001u) != 0;
333}
335 _has_bits_[0] |= 0x00000001u;
336}
338 _has_bits_[0] &= ~0x00000001u;
339}
341 min_ = GOOGLE_LONGLONG(0);
343}
345 // @@protoc_insertion_point(field_get:bgs.protocol.SignedIntRange.min)
346 return min_;
347}
349 set_has_min();
350 min_ = value;
351 // @@protoc_insertion_point(field_set:bgs.protocol.SignedIntRange.min)
352}
353
354// optional int64 max = 2;
355inline bool SignedIntRange::has_max() const {
356 return (_has_bits_[0] & 0x00000002u) != 0;
357}
359 _has_bits_[0] |= 0x00000002u;
360}
362 _has_bits_[0] &= ~0x00000002u;
363}
365 max_ = GOOGLE_LONGLONG(0);
367}
369 // @@protoc_insertion_point(field_get:bgs.protocol.SignedIntRange.max)
370 return max_;
371}
373 set_has_max();
374 max_ = value;
375 // @@protoc_insertion_point(field_set:bgs.protocol.SignedIntRange.max)
376}
377
378// -------------------------------------------------------------------
379
380// FloatRange
381
382// optional float min = 1;
383inline bool FloatRange::has_min() const {
384 return (_has_bits_[0] & 0x00000001u) != 0;
385}
387 _has_bits_[0] |= 0x00000001u;
388}
390 _has_bits_[0] &= ~0x00000001u;
391}
393 min_ = 0;
395}
396inline float FloatRange::min() const {
397 // @@protoc_insertion_point(field_get:bgs.protocol.FloatRange.min)
398 return min_;
399}
400inline void FloatRange::set_min(float value) {
401 set_has_min();
402 min_ = value;
403 // @@protoc_insertion_point(field_set:bgs.protocol.FloatRange.min)
404}
405
406// optional float max = 2;
407inline bool FloatRange::has_max() const {
408 return (_has_bits_[0] & 0x00000002u) != 0;
409}
411 _has_bits_[0] |= 0x00000002u;
412}
414 _has_bits_[0] &= ~0x00000002u;
415}
417 max_ = 0;
419}
420inline float FloatRange::max() const {
421 // @@protoc_insertion_point(field_get:bgs.protocol.FloatRange.max)
422 return max_;
423}
424inline void FloatRange::set_max(float value) {
425 set_has_max();
426 max_ = value;
427 // @@protoc_insertion_point(field_set:bgs.protocol.FloatRange.max)
428}
429
430// @@protoc_insertion_point(namespace_scope)
431
432} // namespace protocol
433} // namespace bgs
434
435#ifndef SWIG
436namespace google {
437namespace protobuf {
438} // namespace google
439} // namespace protobuf
440#endif // SWIG
441
442// @@protoc_insertion_point(global_scope)
443
444#endif // PROTOBUF_global_5fextensions_2frange_2eproto__INCLUDED
int64_t int64
Definition: Define.h:137
#define TC_PROTO_API
Definition: Define.h:105
uint64_t uint64
Definition: Define.h:141
uint32_t uint32
Definition: Define.h:142
FloatRange(const FloatRange &from)
bool has_min() const
Definition: range.pb.h:383
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: range.pb.h:212
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: range.pb.h:208
void Swap(FloatRange *other)
::google::protobuf::uint32 _has_bits_[1]
Definition: range.pb.h:259
void set_min(float value)
Definition: range.pb.h:400
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2frange_2eproto()
static const ::google::protobuf::Descriptor * descriptor()
FloatRange * New() const
::google::protobuf::Metadata GetMetadata() const
int GetCachedSize() const
Definition: range.pb.h:224
void SetCachedSize(int size) const
friend void protobuf_ShutdownFile_global_5fextensions_2frange_2eproto()
static FloatRange * default_instance_
Definition: range.pb.h:268
bool has_max() const
Definition: range.pb.h:407
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: range.pb.h:257
void set_max(float value)
Definition: range.pb.h:424
FloatRange & operator=(const FloatRange &from)
Definition: range.pb.h:203
friend void protobuf_AssignDesc_global_5fextensions_2frange_2eproto()
static const FloatRange & default_instance()
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: range.pb.h:136
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: range.pb.h:132
SignedIntRange * New() const
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::uint32 _has_bits_[1]
Definition: range.pb.h:183
static SignedIntRange * default_instance_
Definition: range.pb.h:192
SignedIntRange(const SignedIntRange &from)
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2frange_2eproto()
inline ::google::protobuf::int64 max() const
Definition: range.pb.h:368
void SetCachedSize(int size) const
::google::protobuf::int64 max_
Definition: range.pb.h:186
static const SignedIntRange & default_instance()
friend void protobuf_ShutdownFile_global_5fextensions_2frange_2eproto()
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: range.pb.h:181
::google::protobuf::Metadata GetMetadata() const
void set_max(::google::protobuf::int64 value)
Definition: range.pb.h:372
void Swap(SignedIntRange *other)
SignedIntRange & operator=(const SignedIntRange &from)
Definition: range.pb.h:127
::google::protobuf::int64 min_
Definition: range.pb.h:185
inline ::google::protobuf::int64 min() const
Definition: range.pb.h:344
friend void protobuf_AssignDesc_global_5fextensions_2frange_2eproto()
void set_min(::google::protobuf::int64 value)
Definition: range.pb.h:348
::google::protobuf::uint32 _has_bits_[1]
Definition: range.pb.h:107
void set_max(::google::protobuf::uint64 value)
Definition: range.pb.h:320
void set_min(::google::protobuf::uint64 value)
Definition: range.pb.h:296
static UnsignedIntRange * default_instance_
Definition: range.pb.h:116
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: range.pb.h:105
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::uint64 min_
Definition: range.pb.h:109
void SetCachedSize(int size) const
UnsignedIntRange & operator=(const UnsignedIntRange &from)
Definition: range.pb.h:51
friend void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2frange_2eproto()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: range.pb.h:56
void Swap(UnsignedIntRange *other)
static const UnsignedIntRange & default_instance()
UnsignedIntRange * New() const
friend void protobuf_ShutdownFile_global_5fextensions_2frange_2eproto()
inline ::google::protobuf::uint64 min() const
Definition: range.pb.h:292
friend void protobuf_AssignDesc_global_5fextensions_2frange_2eproto()
inline ::google::protobuf::uint64 max() const
Definition: range.pb.h:316
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: range.pb.h:60
::google::protobuf::uint64 max_
Definition: range.pb.h:110
static const ::google::protobuf::Descriptor * descriptor()
UnsignedIntRange(const UnsignedIntRange &from)
constexpr std::size_t size()
Definition: UpdateField.h:796
void TC_PROTO_API protobuf_AddDesc_global_5fextensions_2frange_2eproto()
void protobuf_ShutdownFile_global_5fextensions_2frange_2eproto()
void protobuf_AssignDesc_global_5fextensions_2frange_2eproto()
Definition: Session.h:36