gwnavruntime/queries/blobs/pathfinderqueryblob.h Source File
Go to the documentation of this file.
15 class PathFinderQueryBlob
17 KY_ROOT_BLOB_CLASS(Query, PathFinderQueryBlob, 0)
20 PathFinderQueryBlob() : m_queryType(
KyUInt32MAXVAL), m_result((
KyUInt32)IPathFinderQuery::PathFinderNotInitialized), m_isPathfinderWithDest(0) {}
26 BlobArray<char> m_errorMessage;
31 SwapEndianness(e,
self.m_startPos3f);
32 SwapEndianness(e,
self.m_destPos3f);
33 SwapEndianness(e,
self.m_queryType);
34 SwapEndianness(e,
self.m_result);
35 SwapEndianness(e,
self.m_errorMessage);
36 SwapEndianness(e,
self.m_isPathfinderWithDest);
39 class PathFinderInfoBlobBuilder:
public BaseBlobBuilder<PathFinderQueryBlob>
44 PathFinderInfoBlobBuilder(const IPathFinderQuery* pathFinderQuery): m_pathFinderQuery(pathFinderQuery) {}
45 ~PathFinderInfoBlobBuilder() {}
48 virtual void DoBuild()
50 if (m_pathFinderQuery != NULL)
53 const Vec3f* dest = m_pathFinderQuery->GetDestination();
68 m_pathFinderQuery->GetPathFinderTextResult(text);
74 const IPathFinderQuery* m_pathFinderQuery;
#define BLOB_SET(blob, value)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:130
#define KyFloat32MAXVAL
KyFloat32 max value
Definition: types.h:71
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
PathFinderQueryBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:113
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define BLOB_STRING(str, src)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:166
std::uint8_t KyUInt8
uint8_t
Definition: types.h:27
#define KyUInt32MAXVAL
KyUInt32 max value
Definition: types.h:68