|
Message Manager
C4Messages.h
class SnapshotSenderThe base class for objects that need to send snapshot data.Definition
Member Functions
Constructor
Description
The SnapshotSender class is the base class that objects should inherit from if they need to send snapshot data to client machines in a multiplayer game. Snapshots are sent by the Message Manager at the interval set by the MessageMgr::SetSnapshotInterval function. When a snapshot is sent, the SnapshotSender::SendSnapshot function is called for each snapshot sender that is currently registered. (A subclass of SnapshotSender must override this function.) A snapshot sender is registered by calling the MessageMgr::AddSnapshotSender function.
Base Classes
See Also
MessageMgr::AddSnapshotSender
MessageMgr::RemoveSnapshotSender
MessageMgr::GetSnapshotInterval
MessageMgr::GetSnapshotFrequency
MessageMgr::SetSnapshotInterval
|