C4 Engine
C4 Engine API Documentation

MessageMgr::SetSnapshotInterval

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

void SetSnapshotInterval(int32 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