gwnavruntime/world/pointofinterestblob.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_PointOfInterestBlob_H
10 #define Navigation_PointOfInterestBlob_H
21 class PointOfInterest;
26 class PointOfInterestBlob
29 KY_ROOT_BLOB_CLASS(Runtime, PointOfInterestBlob, 0)
35 DatabaseBindingBlob m_databaseBinding;
38 inline
void SwapEndianness(Endianness::Target e, PointOfInterestBlob& self)
40 SwapEndianness(e,
self.m_position);
41 SwapEndianness(e,
self.m_poiType);
42 SwapEndianness(e,
self.m_visualDebugId);
43 SwapEndianness(e,
self.m_databaseBinding);
49 class PointOfInterestBlobBuilder :
public BaseBlobBuilder<PointOfInterestBlob>
54 PointOfInterestBlobBuilder(const PointOfInterest* pointOfInterest,
VisualDebugLOD visualDebugLOD)
55 : m_pointOfInterest(pointOfInterest)
56 , m_visualDebugLOD(visualDebugLOD)
59 virtual void DoBuild();
62 const PointOfInterest* m_pointOfInterest;
68 #endif // Navigation_PointOfInterestBlob_H
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
VisualDebugLOD
Enumerates the visual debug levels of details.
Definition: worldelement.h:26
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36