Namespaces | |
namespace | RakNet |
Classes | |
struct | PlayerID |
Unique identifier for a system. Corresponds to a network address. More... | |
struct | Packet |
This represents a user message from another system. More... | |
struct | RPCParameters |
All RPC functions have the same parameter list - this structure. More... | |
Defines | |
#define | PlayerID_Size 6 |
Size of PlayerID data. | |
#define | REGISTER_STATIC_RPC(networkObject, functionName) (networkObject)->RegisterAsRemoteProcedureCall((#functionName),(functionName)) |
#define | CLASS_MEMBER_ID(className, functionName) #className "_" #functionName |
Concatenate two strings. | |
#define | REGISTER_CLASS_MEMBER_RPC(networkObject, className, functionName) {union {void (__cdecl className::*cFunc)( RPCParameters *rpcParms ); void* voidFunc;}; cFunc=&className::functionName; networkObject->RegisterClassMemberRPC(CLASS_MEMBER_ID(className, functionName),voidFunc);} |
Register a member function of an instantiated object as a Remote procedure call. RPC member Functions MUST be marked __cdecl! | |
#define | UNREGISTER_STATIC_RPC(networkObject, functionName) (networkObject)->UnregisterAsRemoteProcedureCall((#functionName)) |
#define | UNREGISTER_CLASS_MEMBER_RPC(networkObject, className, functionName) (networkObject)->UnregisterAsRemoteProcedureCall((#className "_" #functionName)) |
Typedefs | |
typedef unsigned short | ObjectID |
typedef unsigned char | UniqueIDType |
typedef unsigned short | PlayerIndex |
typedef unsigned char | RPCIndex |
Variables | |
const int | MAX_RPC_MAP_SIZE = ((RPCIndex)-1)-1 |
const int | UNDEFINED_RPC_INDEX = ((RPCIndex)-1) |
const PlayerIndex | UNASSIGNED_PLAYER_INDEX = 65535 |
Index of an unassigned player. | |
const PlayerID | UNASSIGNED_PLAYER_ID |
Index of an invalid PlayerID. | |
const ObjectID | UNASSIGNED_OBJECT_ID = 65535 |
Unassigned object ID. | |
const int | PING_TIMES_ARRAY_SIZE = 5 |
This file is part of RakNet Copyright 2003 Kevin Jenkins.
Usage of Raknet is subject to the appropriate licence agreement. "Shareware" Licensees with Rakkarsoft LLC are subject to the shareware license found at http://www.rakkarsoft.com/shareWareLicense.html "Commercial" Licensees are subject to the commercial license found at http://www.rakkarsoft.com/sourceCodeLicense.html Custom license users are subject to the terms therein. All other users are subject to the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
|
|
Initial value: { 0xFFFFFFFF, 0xFFFF }
|