#include <NetworkTypes.h>
Public Attributes | |
unsigned char * | input |
The data from the remote system. | |
unsigned int | numberOfBitsOfData |
How many bits long input is. | |
PlayerID | sender |
Which system called this RPC. | |
RakPeerInterface * | recipient |
Which instance of RakPeer (or a derived RakServer or RakClient) got this call. | |
RakNet::BitStream * | replyToSender |
|
You can return values from RPC calls by writing them to this BitStream. This is only sent back if the RPC call originally passed a BitStream to receive the reply. If you do so and your send is reliable, it will block until you get a reply or you get disconnected from the system you are sending to, whichever is first. If your send is not reliable, it will block for triple the ping time, or until you are disconnected, or you get a reply, whichever is first. |