RPCParameters Struct Reference

All RPC functions have the same parameter list - this structure. More...

#include <NetworkTypes.h>

List of all members.

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.
RakPeerInterfacerecipient
 Which instance of RakPeer (or a derived RakServer or RakClient) got this call.
RakNet::BitStreamreplyToSender


Detailed Description

All RPC functions have the same parameter list - this structure.


Member Data Documentation

RakNet::BitStream* RPCParameters::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.


The documentation for this struct was generated from the following file:
Generated on Sat Oct 14 08:37:40 2006 for RakNet by  doxygen 1.4.6-NO