#include <ReplicaManager.h>
Public Member Functions | |
SendDownloadCompleteInterface () | |
virtual | ~SendDownloadCompleteInterface () |
virtual ReplicaReturnResult | SendDownloadComplete (RakNet::BitStream *outBitStream, RakNetTime currentTime, SystemAddress senderId, ReplicaManager *caller)=0 |
An interface for a class that handles the call to send the download complete notification See ReplicaManager::SetDownloadCompleteCB
Definition at line 63 of file ReplicaManager.h.
SendDownloadCompleteInterface::SendDownloadCompleteInterface | ( | ) | [inline] |
Definition at line 66 of file ReplicaManager.h.
virtual SendDownloadCompleteInterface::~SendDownloadCompleteInterface | ( | ) | [inline, virtual] |
Definition at line 67 of file ReplicaManager.h.
virtual ReplicaReturnResult SendDownloadCompleteInterface::SendDownloadComplete | ( | RakNet::BitStream * | outBitStream, | |
RakNetTime | currentTime, | |||
SystemAddress | senderId, | |||
ReplicaManager * | caller | |||
) | [pure virtual] |
[out] | outBitStream | Write whatever you want to this bitstream. It will arrive in the receiveDownloadCompleteCB callback. |
[in] | currentTime | The current time that would be returned by RakNet::GetTime(). That's a slow call I do already, so you can use the parameter instead of having to call it yourself. |
[in] | senderId | Who we are sending to |
[in] | caller | Which instance of ReplicaManager is calling this interface |