C4 Engine
C4 Engine API Documentation

Unpacker::GetType

Defined in:  C4Packing.h
Returns the generic type appearing next in the input stream.
Prototype

Type GetType(voidconst;

Description
The GetType function returns the generic type appearing next in the input stream encapsulated by an Unpacker object. This function does not advance the pointer into the stream. If it is necessary to read additional types, the preincrement operator (++) should be used on the Unpacker object to explicitly advance the pointer to the next type.