C4 Engine Terathon Software C4 Engine API Documentation

• Message Manager

API Links
Developer Links

MessageMgr::SetSnapshotInterval

Defined in:  C4Messages.h
Sets the time in between snapshots.
Prototype

void SetSnapshotInterval(long time) const;

Parameters
time The time between snapshots, in milliseconds.
Description
The SetSnapshotInterval function sets the time, in millseconds, that the Message Manager waits after sending a state snapshot before the next snapshot is sent. The default snapshot interval is 50 millseconds, corresponding to 20 snapshots per second.
See Also

MessageMgr::GetSnapshotInterval

MessageMgr::GetSnapshotFrequency

SnapshotSender