gwnavruntime/queries/blobs/timeslicedqueryinfoblob.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_TimeSlicedQueryInfoBlob_H
9 #define Navigation_TimeSlicedQueryInfoBlob_H
18 class TimeSlicedQueryInfoBlob
22 TimeSlicedQueryInfoBlob() :
24 m_lastAdvanceFrameIdx(0)
32 SwapEndianness(e,
self.m_advanceCount );
33 SwapEndianness(e,
self.m_lastAdvanceFrameIdx );
36 class TimeSlicedQueryBlobBuilder :
public BaseBlobBuilder<TimeSlicedQueryInfoBlob>
39 TimeSlicedQueryBlobBuilder(ITimeSlicedQuery* query) { m_query = query; }
40 virtual void DoBuild()
43 BLOB_SET(
m_blob->m_lastAdvanceFrameIdx , m_query->m_lastAdvanceFrameIdx );
47 ITimeSlicedQuery* m_query;
51 #endif // Navigation_TimeSlicedQueryInfoBlob_H
#define BLOB_SET(blob, value)
Use this macro only in implementations of BaseBlobBuilder::DoBuild().
Definition: baseblobbuilder.h:136
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
TimeSlicedQueryInfoBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:117
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36