C4 Engine
C4 Engine API Documentation

Player::GetReceiveFileSize

Defined in:  C4Messages.h
Returns the size of the file being received from a player.
Prototype

uint64 GetReceiveFileSize(voidconst;

Description
If a file is currently being received from a player, then the total size of this file can be retrieved by calling the GetReceiveFileSize function. If no file is currently being received, then the value returned by GetReceiveFileSize is zero.

The Player::ReceivingFile function returns a boolean value indicating whether a file is currently being received.
See Also

Player::GetReceiveFilePosition

Player::ReceivingFile

Player::RequestFile