C4 Engine
C4 Engine API Documentation

Packable::PackType

Defined in:  C4Packing.h
Packs the sequence of type codes.
Prototype

virtual void PackType(Packer& data) const;

Parameters
data The Packer object into which the type codes are written.
Description
The PackType function is called when the engine needs to pack the type of an object. The implementation of an override should first call the direct base class's PackType function and then use the << operator for the Packer object to pack its own type identifier.
See Also

Packer