Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Namespaces | Defines | Typedefs | Enumerations | Functions | Variables
RakNetTypes.h File Reference

Types used by RakNet, most of which involve user code. More...

#include "RakNetDefines.h"
#include "NativeTypes.h"
#include "RakNetTime.h"
#include "Export.h"
#include "SocketIncludes.h"
#include "WindowsIncludes.h"
#include "XBox360Includes.h"
Include dependency graph for RakNetTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RakNet::AddressOrGUID
struct  RakNet::Packet
 This represents a user message from another system. More...
struct  RakNet::PublicKey
 Passed to RakPeerInterface::Connect() More...
struct  RakNet::RakNetGUID
struct  RakNet::SocketDescriptor
 Describes the local socket to use for RakPeer::Startup. More...
struct  RakNet::SystemAddress
 Network address for a system. More...
struct  RakNet::uint24_t

Namespaces

namespace  RakNet
 

Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc.


Defines

#define BITS_TO_BYTES(x)   (((x)+7)>>3)
 Given a number of bits, return how many bytes are needed to represent that.
#define BYTES_TO_BITS(x)   ((x)<<3)
#define PRINTF_64_BIT_MODIFIER   "ll"

Typedefs

typedef uint32_t RakNet::BitSize_t
typedef unsigned char RakNet::MessageID
 First byte of a network message.
typedef uint64_t RakNet::NetworkID
typedef unsigned char RakNet::RPCIndex
typedef unsigned short RakNet::SystemIndex
typedef unsigned char RakNet::UniqueIDType

Enumerations

enum  RakNet::ConnectionAttemptResult {
  RakNet::CONNECTION_ATTEMPT_STARTED, RakNet::INVALID_PARAMETER, RakNet::CANNOT_RESOLVE_DOMAIN_NAME, RakNet::ALREADY_CONNECTED_TO_ENDPOINT,
  RakNet::CONNECTION_ATTEMPT_ALREADY_IN_PROGRESS, RakNet::SECURITY_INITIALIZATION_FAILED
}
enum  RakNet::ConnectionState {
  RakNet::IS_PENDING, RakNet::IS_CONNECTING, RakNet::IS_CONNECTED, RakNet::IS_DISCONNECTING,
  RakNet::IS_SILENTLY_DISCONNECTING, RakNet::IS_DISCONNECTED, RakNet::IS_NOT_CONNECTED
}
 Returned from RakPeerInterface::GetConnectionState() More...
enum  RakNet::PublicKeyMode { RakNet::PKM_INSECURE_CONNECTION, RakNet::PKM_ACCEPT_ANY_PUBLIC_KEY, RakNet::PKM_USE_KNOWN_PUBLIC_KEY, RakNet::PKM_USE_TWO_WAY_AUTHENTICATION }
 Used with the PublicKey structure. More...
enum  RakNet::StartupResult {
  RakNet::RAKNET_STARTED, RakNet::RAKNET_ALREADY_STARTED, RakNet::INVALID_SOCKET_DESCRIPTORS, RakNet::INVALID_MAX_CONNECTIONS,
  RakNet::SOCKET_FAMILY_NOT_SUPPORTED, RakNet::SOCKET_PORT_ALREADY_IN_USE, RakNet::SOCKET_FAILED_TO_BIND, RakNet::SOCKET_FAILED_TEST_SEND,
  RakNet::PORT_CANNOT_BE_ZERO, RakNet::FAILED_TO_CREATE_NETWORK_THREAD, RakNet::STARTUP_OTHER_FAILURE
}

Functions

bool RakNet::NonNumericHostString (const char *host)
const RakNetGUID RakNet::UNASSIGNED_RAKNET_GUID ((uint64_t)-1)

Variables

const int RakNet::MAX_RPC_MAP_SIZE = ((RPCIndex)-1)-1
const int RakNet::PING_TIMES_ARRAY_SIZE = 5
const NetworkID RakNet::UNASSIGNED_NETWORK_ID = (uint64_t) -1
 Unassigned object ID.
const SystemIndex RakNet::UNASSIGNED_PLAYER_INDEX = 65535
 Index of an unassigned player.
const SystemAddress RakNet::UNASSIGNED_SYSTEM_ADDRESS
 Index of an invalid SystemAddress.
const int RakNet::UNDEFINED_RPC_INDEX = ((RPCIndex)-1)

Detailed Description

This file is part of RakNet Copyright 2003 Jenkins Software LLC

Usage of RakNet is subject to the appropriate license agreement.

Definition in file RakNetTypes.h.


Define Documentation

#define BITS_TO_BYTES (   x)    (((x)+7)>>3)

Definition at line 76 of file RakNetTypes.h.

Referenced by RakNet::BitStream::GetNumberOfBytesUsed().

#define BYTES_TO_BITS (   x)    ((x)<<3)
#define PRINTF_64_BIT_MODIFIER   "ll"

Definition at line 94 of file RakNetTypes.h.


Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net