Public Attributes

RPCParameters Struct Reference

#include <RakNetTypes.h>

Collaboration diagram for RPCParameters:
Collaboration graph
[legend]

List of all members.

Public Attributes

unsigned char * input
 The data from the remote system.
BitSize_t numberOfBitsOfData
 How many bits long input is.
SystemAddress sender
 Which system called this RPC.
RakPeerInterfacerecipient
 Which instance of RakPeer (or a derived RakPeer or RakPeer) got this call.
RakNetTime remoteTimestamp
char * functionName
 The name of the function that was called.
RakNet::BitStreamreplyToSender

Detailed Description

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

Deprecated:
use RakNet::RPC3 instead

Definition at line 117 of file RakNetTypes.h.


Member Data Documentation

The name of the function that was called.

Definition at line 134 of file RakNetTypes.h.

unsigned char* RPCParameters::input

The data from the remote system.

Definition at line 120 of file RakNetTypes.h.

How many bits long input is.

Definition at line 123 of file RakNetTypes.h.

Which instance of RakPeer (or a derived RakPeer or RakPeer) got this call.

Definition at line 129 of file RakNetTypes.h.

Definition at line 131 of file RakNetTypes.h.

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.

Definition at line 140 of file RakNetTypes.h.

Which system called this RPC.

Definition at line 126 of file RakNetTypes.h.


The documentation for this struct was generated from the following file: