SLikeNet
0.1.3
|
Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc. More...
Classes | |
class | AutopatcherRepositoryInterface |
An interface used by AutopatcherServer to get the data necessary to run an autopatcher. This is up to you to implement for custom repository solutions. More... | |
class | BitStream |
class | CCRakNetSlidingWindow |
class | CloudClient |
Performs Post() and Get() operations on CloudMemoryServer. More... | |
class | CloudClientCallback |
class | CloudAllocator |
struct | CloudKey |
struct | CloudQuery |
struct | CloudQueryRow |
struct | CloudQueryResult |
class | CloudServerQueryFilter |
Zero or more instances of CloudServerQueryFilter can be attached to CloudServer to restrict client queries All attached instances of CloudServerQueryFilter on each corresponding operation, from all directly connected clients If any attached instance returns false for a given operation, that operation is silently rejected. More... | |
class | CloudServer |
Stores client data, and allows cross-server communication to retrieve this data. More... | |
class | RakNetCommandParser |
This allows a console client to call most of the functions in RakPeer. More... | |
struct | RegisteredCommand |
class | CommandParserInterface |
The interface used by command parsers. More... | |
class | ConnectionGraph2 |
A one hop connection graph. More... | |
class | ConsoleServer |
The main entry point for the server portion of your remote console application support. More... | |
class | DataCompressor |
Does compression on a block of data. Not very good compression, but it's small and fast so is something you can compute at runtime. More... | |
class | DirectoryDeltaTransfer |
class | HuffmanEncodingTree |
This generates special cases of the huffman encoding tree using 8 bit keys with the additional condition that unused combinations of 8 bits are treated as a frequency of 1. More... | |
class | HuffmanEncodingTreeFactory |
Creates instances of the class HuffmanEncodingTree. More... | |
class | DynDNS |
class | EmailSender |
Rudimentary class to send email from code. More... | |
struct | FileListNode |
Represents once instance of a file. More... | |
class | FileListProgress |
Callback interface set with FileList::SetCallback() in case you want progress notifications when FileList::AddFilesFromDirectory() is called. More... | |
class | FLP_Printf |
Implementation of FileListProgress to use RAKNET_DEBUG_PRINTF. More... | |
class | FileList |
class | FileListTransfer |
A plugin to provide a simple way to compress and incrementally send the files in the FileList structure. More... | |
class | FileListTransferCBInterface |
Used by FileListTransfer plugin as a callback for when we get a file. More... | |
class | HTTPConnection |
Use HTTPConnection to communicate with a web server. More... | |
class | HTTPConnection2 |
Use HTTPConnection2 to communicate with a web server. More... | |
class | IncrementalReadInterface |
struct | InternalPacketFixedSizeTransmissionHeader |
struct | InternalPacketRefCountedData |
Used in InternalPacket when pointing to sharedDataBlock, rather than allocating itself. More... | |
struct | InternalPacket |
class | LocklessUint32_t |
class | LogCommandParser |
Adds the ability to send logging output to a remote console. More... | |
struct | FilterSet |
struct | FilteredSystem |
struct | PunchthroughConfiguration |
struct | NatPunchthroughDebugInterface |
struct | NatPunchthroughDebugInterface_Printf |
struct | NatPunchthroughDebugInterface_PacketLogger |
class | NatPunchthroughClient |
Client code for NATPunchthrough. More... | |
struct | NatPunchthroughServerDebugInterface |
struct | NatPunchthroughServerDebugInterface_Printf |
struct | NatPunchthroughServerDebugInterface_PacketLogger |
class | NatPunchthroughServer |
Server code for NATPunchthrough. More... | |
class | NatTypeDetectionClient |
Client code for NatTypeDetection. More... | |
class | NatTypeDetectionServer |
Server code for NatTypeDetection. More... | |
class | NetworkIDManager |
class | NetworkIDObject |
Unique shared ids for each object instance. More... | |
class | PacketConsoleLogger |
Packetlogger that logs to a remote command console. More... | |
class | PacketFileLogger |
Packetlogger that outputs to a file. More... | |
class | PacketizedTCP |
class | PacketLogger |
Writes incoming and outgoing messages to the screen. This will write all incoming and outgoing messages to the console window, or to a file if you override it and give it this functionality. More... | |
class | PacketOutputWindowLogger |
Packetlogger that outputs to the output window in the debugger. Windows only. More... | |
struct | RemoteSystemIndex |
class | RakPeer |
Main interface for network communications. More... | |
class | RakPeerInterface |
The main interface for network communications. More... | |
class | PluginInterface2 |
class | Rackspace2EventCallback |
Callback interface to receive the results of operations. More... | |
class | RackspaceEventCallback_Default |
Callback interface to receive the results of operations, with a default result. More... | |
class | Rackspace |
Code that uses the TCPInterface class to communicate with the Rackspace API servers. More... | |
class | RakNetRandom |
class | RakNetRandomSync |
class | ReadyEvent |
Peer to peer synchronized ready and unready events. More... | |
class | RelayPlugin |
A simple class to relay messages from one system to another, identifying remote systems by a string. More... | |
struct | SplitPacketChannel |
struct | BPSTracker |
class | ReliabilityLayer |
Datagram reliable, ordered, unordered and sequenced sends. Flow control. Message splitting, reassembly, and coalescence. More... | |
struct | PRO |
class | ReplicaManager3 |
System to help automate game object construction, destruction, and serialization. More... | |
struct | LastSerializationResultBS |
struct | LastSerializationResult |
struct | SerializeParameters |
struct | DeserializeParameters |
class | Connection_RM3 |
Each remote system is represented by Connection_RM3. Used to allocate Replica3 and track which instances have been allocated. More... | |
class | Replica3 |
Base class for your replicated objects for the ReplicaManager3 system. More... | |
class | Replica3Composite |
Use Replica3 through composition instead of inheritance by containing an instance of this templated class Calls to parent class for all functions Parent class must still define and functions though! More... | |
struct | Router2DebugInterface |
class | Router2 |
Class interface for the Router2 system. More... | |
class | RPC4GlobalRegistration |
Instantiate this class globally if you want to register a function with RPC4 at the global space. More... | |
class | RPC4 |
The RPC4 plugin is just an association between a C function pointer and a string. More... | |
class | SignaledEvent |
class | SimpleMutex |
An easy to use mutex. More... | |
class | ReferenceCounter |
class | RakNetSmartPtr |
struct | RNS2_SendParameters |
struct | RNS2RecvStruct |
class | RakNetSocket2Allocator |
class | RNS2EventHandler |
class | RakNetSocket2 |
struct | RNS2_BerkleyBindParameters |
class | IRNS2_Berkley |
class | RNS2_Berkley |
class | RNS2_Linux |
class | SocketLayer |
struct | RakNetStatistics |
Network Statisics Usage. More... | |
class | StatisticsHistory |
Input numerical values over time. Get sum, average, highest, lowest, standard deviation on recent or all-time values. More... | |
class | StatisticsHistoryPlugin |
Input numerical values over time. Get sum, average, highest, lowest, standard deviation on recent or all-time values. More... | |
class | RakString |
String class. More... | |
class | StringCompressor |
Writes and reads strings to and from bitstreams. More... | |
class | StringTable |
Writes a string index, instead of the whole string. More... | |
class | TableSerializer |
class | TCPInterface |
struct | RemoteClient |
Stores information about a remote client. More... | |
class | TeamBalancer |
Set and network team selection (supports peer to peer or client/server) More... | |
struct | TeamSelection |
Parameter to TM_World::ReferenceTeamMember() More... | |
class | TM_TeamMember |
A member of one or more teams. More... | |
class | TM_Team |
A team, containing a list of TM_TeamMember instances. More... | |
class | TM_World |
Stores a list of teams which may be enforcing a balanced number of members. More... | |
class | TeamManager |
Automates networking and list management for teams. More... | |
class | TelnetTransport |
Use TelnetTransport to easily allow windows telnet to connect to your ConsoleServer. More... | |
class | RakThread |
class | ThreadsafePacketLogger |
Same as PacketLogger, but writes output in the user thread. More... | |
class | RakNetTransport2 |
Use RakNetTransport if you need a secure connection between the client and the console server. More... | |
class | TransportInterface |
Defines an interface that is used to send and receive null-terminated strings. More... | |
class | TwoWayAuthentication |
Implements two way authentication. More... | |
struct | PublicKey |
Passed to RakPeerInterface::Connect() More... | |
struct | SocketDescriptor |
Describes the local socket to use for RakPeer::Startup. More... | |
struct | SystemAddress |
Network address for a system. More... | |
struct | RakNetGUID |
struct | AddressOrGUID |
struct | Packet |
This represents a user message from another system. More... | |
struct | uint24_t |
class | UDPForwarder |
Forwards UDP datagrams. Independent of RakNet's protocol. More... | |
struct | UDPProxyClientResultHandler |
class | UDPProxyClient |
Communicates with UDPProxyCoordinator, in order to find a UDPProxyServer to forward our datagrams. More... | |
class | UDPProxyCoordinator |
Middleman between UDPProxyServer and UDPProxyClient, maintaining a list of UDPProxyServer, and managing state for clients to find an available forwarding server. More... | |
struct | UDPProxyServerResultHandler |
class | UDPProxyServer |
UDPProxyServer to control our instance of UDPForwarder. More... | |
class | VariableDeltaSerializer |
Class to compare memory values of variables in a current state to a prior state Results of the comparisons will be written to a bitStream, such that only changed variables get written Can be used with ReplicaManager3 to Serialize a Replica3 per-variable, rather than comparing the entire object against itself Usage: BR> More... | |
class | VariableListDeltaTracker |
class | RakWString |
String class for Unicode. More... | |
union | TeamSelection.teamParameter |
Typedefs | |
typedef uint16_t | SplitPacketIdType |
typedef uint32_t | SplitPacketIndexType |
typedef uint24_t | MessageNumberType |
typedef MessageNumberType | OrderingIndexType |
typedef SLNet::TimeUS | RemoteSystemTimeType |
typedef uint32_t | NetworkIDType |
typedef uint64_t | reliabilityHeapWeightType |
typedef uint8_t | WorldId |
typedef int | RNS2Socket |
typedef int | RNS2SendResult |
typedef double | SHValueType |
typedef unsigned char | TeamId |
typedef unsigned char | NoTeamId |
A subcategory of not being on a team. For example, 0 may mean no team for a player, while 1 may mean no team for a spectator. Defined by the user. | |
typedef uint16_t | TeamMemberLimit |
typedef uint8_t | JoinPermissions |
typedef uint64_t | Time |
typedef uint32_t | TimeMS |
typedef uint64_t | TimeUS |
typedef unsigned char | UniqueIDType |
typedef unsigned short | SystemIndex |
typedef unsigned char | RPCIndex |
typedef unsigned char | MessageID |
First byte of a network message. | |
typedef uint32_t | BitSize_t |
typedef uint64_t | NetworkID |
Functions | |
RAK_THREAD_DECLARATION (UpdateNetworkLoop) | |
RAK_THREAD_DECLARATION (RecvFromLoop) | |
RAK_THREAD_DECLARATION (UDTConnect) | |
bool | ProcessOfflineNetworkPacket (SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, RakNetSocket2 *rakNetSocket, bool *isOfflineMessage, SLNet::TimeUS timeRead) |
void | ProcessNetworkPacket (SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, SLNet::TimeUS timeRead, BitStream &updateBitStream) |
void | ProcessNetworkPacket (SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, RakNetSocket2 *rakNetSocket, SLNet::TimeUS timeRead, BitStream &updateBitStream) |
void | ProcessNetworkPacket (const SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, SLNet::TimeUS timeRead) |
template<class templateType > | |
BitStream & | operator<< (BitStream &out, const templateType &c) |
template<class templateType > | |
BitStream & | operator>> (BitStream &in, templateType &c) |
int | CloudKeyComp (const CloudKey &key, const CloudKey &data) |
int RAK_DLL_EXPORT | RegisteredCommandComp (const char *const &key, const RegisteredCommand &data) |
List of commands registered with RegisterCommand() | |
SLNet::Time RAK_DLL_EXPORT | GetTime (void) |
SLNet::TimeMS RAK_DLL_EXPORT | GetTimeMS (void) |
SLNet::TimeUS RAK_DLL_EXPORT | GetTimeUS (void) |
RAK_DLL_EXPORT bool | GreaterThan (SLNet::Time a, SLNet::Time b) |
a > b? | |
RAK_DLL_EXPORT bool | LessThan (SLNet::Time a, SLNet::Time b) |
a < b? | |
template<class Type > | |
RAK_DLL_EXPORT Type * | OP_NEW (const char *file, unsigned int line) |
template<class Type , class P1 > | |
RAK_DLL_EXPORT Type * | OP_NEW_1 (const char *file, unsigned int line, const P1 &p1) |
template<class Type , class P1 , class P2 > | |
RAK_DLL_EXPORT Type * | OP_NEW_2 (const char *file, unsigned int line, const P1 &p1, const P2 &p2) |
template<class Type , class P1 , class P2 , class P3 > | |
RAK_DLL_EXPORT Type * | OP_NEW_3 (const char *file, unsigned int line, const P1 &p1, const P2 &p2, const P3 &p3) |
template<class Type , class P1 , class P2 , class P3 , class P4 > | |
RAK_DLL_EXPORT Type * | OP_NEW_4 (const char *file, unsigned int line, const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4) |
template<class Type > | |
RAK_DLL_EXPORT Type * | OP_NEW_ARRAY (const int count, const char *file, unsigned int line) |
template<class Type > | |
RAK_DLL_EXPORT void | OP_DELETE (Type *buff, const char *file, unsigned int line) |
template<class Type > | |
RAK_DLL_EXPORT void | OP_DELETE_ARRAY (Type *buff, const char *file, unsigned int line) |
void RAK_DLL_EXPORT * | _RakMalloc (size_t size) |
void RAK_DLL_EXPORT * | _RakRealloc (void *p, size_t size) |
void RAK_DLL_EXPORT | _RakFree (void *p) |
void RAK_DLL_EXPORT * | _RakMalloc_Ex (size_t size, const char *file, unsigned int line) |
void RAK_DLL_EXPORT * | _RakRealloc_Ex (void *p, size_t size, const char *file, unsigned int line) |
void RAK_DLL_EXPORT | _RakFree_Ex (void *p, const char *file, unsigned int line) |
void RAK_DLL_EXPORT * | _DLMallocMMap (size_t size) |
void RAK_DLL_EXPORT * | _DLMallocDirectMMap (size_t size) |
int RAK_DLL_EXPORT | _DLMallocMUnmap (void *p, size_t size) |
int RAK_DLL_EXPORT | MessageFilterStrComp (char *const &key, char *const &data) |
int RAK_DLL_EXPORT | FilterSetComp (const int &key, FilterSet *const &data) |
bool RAK_DLL_EXPORT | CanConnect (NATTypeDetectionResult type1, NATTypeDetectionResult type2) |
RAK_DLL_EXPORT const char * | NATTypeDetectionResultToString (NATTypeDetectionResult type) |
Return a technical string representin the enumeration. | |
RAK_DLL_EXPORT const char * | NATTypeDetectionResultToStringFriendly (NATTypeDetectionResult type) |
RAK_DLL_EXPORT RakNetSocket2 * | CreateNonblockingBoundSocket (const char *bindAddr, RNS2EventHandler *eventHandler) |
int RAK_DLL_EXPORT | SplitPacketChannelComp (SplitPacketIdType const &key, SplitPacketChannel *const &data) |
void RAK_DLL_EXPORT | StatisticsToString (RakNetStatistics *s, char *buffer, int verbosityLevel) |
void RAK_DLL_EXPORT | StatisticsToString (RakNetStatistics *s, char *buffer, size_t bufferLength, int verbosityLevel) |
int RAK_DLL_EXPORT | StrAndBoolComp (char *const &key, const StrAndBool &data) |
bool | NonNumericHostString (const char *host) |
const RakNetGUID | UNASSIGNED_RAKNET_GUID ((uint64_t)-1) |
Variables | |
static const int | RM3_NUM_OUTPUT_BITSTREAM_CHANNELS =16 |
const int | MAX_RPC_MAP_SIZE =((RPCIndex)-1)-1 |
const int | UNDEFINED_RPC_INDEX =((RPCIndex)-1) |
const SystemAddress | UNASSIGNED_SYSTEM_ADDRESS |
Index of an invalid SystemAddress. | |
const SystemIndex | UNASSIGNED_PLAYER_INDEX = 65535 |
Index of an unassigned player. | |
const NetworkID | UNASSIGNED_NETWORK_ID = (uint64_t) -1 |
Unassigned object ID. | |
const int | PING_TIMES_ARRAY_SIZE = 5 |
Simple class to send changes between directories. In essence, a simple autopatcher that can be used for transmitting levels, skins, etc.
Forward declaration.
To use, first set the path to your application. For example "C:/Games/MyRPG/"
To allow other systems to download files, call AddUploadsFromSubdirectory, where the parameter is a path relative
to the path to your application. This includes subdirectories.
For example:
SetApplicationDirectory("C:/Games/MyRPG/");
AddUploadsFromSubdirectory("Mods/Skins/");
would allow downloads from
"C:/Games/MyRPG/Mods/Skins/*.*" as well as "C:/Games/MyRPG/Mods/Skins/Level1/*.*"
It would NOT allow downloads from C:/Games/MyRPG/Levels, nor would it allow downloads from C:/Windows
While pathToApplication can be anything you want, applicationSubdirectory must match either partially or fully between systems.
struct SLNet::RegisteredCommand |
Definition at line 37 of file CommandParserInterface.h.
Class Members | ||
---|---|---|
const char * | command | |
const char * | commandHelp | |
unsigned char | parameterCount |
struct SLNet::FileListNode |
Represents once instance of a file.
Definition at line 46 of file FileList.h.
Class Members | ||
---|---|---|
FileListNodeContext | context | User specific data for whatever, describing this file. |
char * | data | File data (may be null if not ready) |
BitSize_t | dataLengthBytes | Length of data. May be greater than fileLength if prepended with a file hash. |
unsigned | fileLengthBytes | Length of the file. |
RakString | filename | Name of the file. |
RakString | fullPathToFile | Full path to the file, which may be different than filename. |
bool | isAReference | If true, data and dataLengthBytes should be empty. This is just storing the filename. |
struct SLNet::InternalPacketRefCountedData |
Used in InternalPacket when pointing to sharedDataBlock, rather than allocating itself.
Definition at line 76 of file InternalPacket.h.
Class Members | ||
---|---|---|
unsigned int | refCount | |
unsigned char * | sharedDataBlock |
struct SLNet::FilteredSystem |
Definition at line 65 of file MessageFilter.h.
Class Members | ||
---|---|---|
FilterSet * | filter | |
TimeMS | timeEnteredThisSet |
struct SLNet::RemoteSystemIndex |
Class Members | ||
---|---|---|
unsigned | index | |
RemoteSystemIndex * | next |
struct SLNet::SplitPacketChannel |
Definition at line 69 of file ReliabilityLayer.h.
Class Members | ||
---|---|---|
InternalPacket * | firstPacket | |
CCTimeType | lastUpdateTime | |
List< InternalPacket * > | splitPacketList |
struct SLNet::RNS2RecvStruct |
Class Members | ||
---|---|---|
int | bytesRead | |
char | data | |
RakNetSocket2 * | socket | |
SystemAddress | systemAddress | |
TimeUS | timeRead |
struct SLNet::RNS2_BerkleyBindParameters |
Class Members | ||
---|---|---|
unsigned short | addressFamily | |
int | doNotFragment | |
RNS2EventHandler * | eventHandler | |
char * | hostAddress | |
bool | nonBlockingSocket | |
int | pollingThreadPriority | |
unsigned short | port | |
int | protocol | |
unsigned short | remotePortRakNetWasStartedOn_PS3_PS4_PSP2 | |
int | setBroadcast | |
int | setIPHdrIncl | |
int | type |
struct SLNet::PublicKey |
Passed to RakPeerInterface::Connect()
Class Members | ||
---|---|---|
char * | myPrivateKey | (Optional) Pointer to a private key of length cat::EasyHandshake::PRIVATE_KEY_BYTES |
char * | myPublicKey | (Optional) Pointer to a public key of length cat::EasyHandshake::PUBLIC_KEY_BYTES |
PublicKeyMode | publicKeyMode | How to interpret the public key, see above. |
char * | remoteServerPublicKey | Pointer to a public key of length cat::EasyHandshake::PUBLIC_KEY_BYTES. See the Encryption sample. |
struct SLNet::Packet |
Class Members | ||
---|---|---|
BitSize_t | bitSize | The length of the data in bits. |
unsigned char * | data | The data from the sender. |
bool | deleteData | |
RakNetGUID | guid | A unique identifier for the system that sent this packet, regardless of IP address (internal / external / remote system) Only valid once a connection has been established (ID_CONNECTION_REQUEST_ACCEPTED, or ID_NEW_INCOMING_CONNECTION) Until that time, will be UNASSIGNED_RAKNET_GUID |
unsigned int | length | The length of the data in bytes. |
SystemAddress | systemAddress | The system that send this packet. |
bool | wasGeneratedLocally |
typedef uint32_t SLNet::BitSize_t |
typedef uint8_t SLNet::JoinPermissions |
Definition at line 71 of file TeamManager.h.
typedef unsigned char SLNet::MessageID |
typedef uint24_t SLNet::MessageNumberType |
This is the counter used for holding packet numbers, so we can detect duplicate packets. It should be large enough that if the variables Internally assumed to be 4 bytes, but written as 3 bytes in ReliabilityLayer::WriteToBitStreamFromInternalPacket
Definition at line 42 of file InternalPacket.h.
typedef uint64_t SLNet::NetworkID |
typedef uint32_t SLNet::NetworkIDType |
Definition at line 31 of file NetworkIDObject.h.
This is the counter used for holding ordered packet numbers, so we can detect out-of-order packets. It should be large enough that if the variables were to wrap, the newly wrapped values would no longer be in use. Warning: Too large of a value wastes bandwidth!
Definition at line 46 of file InternalPacket.h.
Definition at line 65 of file ReliabilityLayer.h.
Definition at line 48 of file InternalPacket.h.
typedef int SLNet::RNS2SendResult |
typedef int SLNet::RNS2Socket |
typedef unsigned char SLNet::RPCIndex |
typedef double SLNet::SHValueType |
Definition at line 40 of file StatisticsHistory.h.
typedef uint16_t SLNet::SplitPacketIdType |
Definition at line 37 of file InternalPacket.h.
typedef uint32_t SLNet::SplitPacketIndexType |
Definition at line 38 of file InternalPacket.h.
typedef unsigned short SLNet::SystemIndex |
typedef uint64_t SLNet::Time |
typedef uint32_t SLNet::TimeMS |
typedef uint64_t SLNet::TimeUS |
typedef unsigned char SLNet::UniqueIDType |
Returned from RakPeerInterface::GetConnectionState()
All possible types of NATs (except NAT_TYPE_COUNT, which is an internal value)
Definition at line 36 of file NatTypeDetectionCommon.h.
enum SLNet::PublicKeyMode |
Used with the PublicKey structure.
PKM_INSECURE_CONNECTION |
The connection is insecure. You can also just pass 0 for the pointer to PublicKey in RakPeerInterface::Connect() |
PKM_ACCEPT_ANY_PUBLIC_KEY |
Accept whatever public key the server gives us. This is vulnerable to man in the middle, but does not require distribution of the public key in advance of connecting. |
PKM_USE_KNOWN_PUBLIC_KEY |
Use a known remote server public key. PublicKey::remoteServerPublicKey must be non-zero. This is the recommended mode for secure connections. |
PKM_USE_TWO_WAY_AUTHENTICATION |
Use a known remote server public key AND provide a public key for the connecting client. PublicKey::remoteServerPublicKey, myPublicKey and myPrivateKey must be all be non-zero. The server must cooperate for this mode to work. I recommend not using this mode except for server-to-server communication as it significantly increases the CPU requirements during connections for both sides. Furthermore, when it is used, a connection password should be used as well to avoid DoS attacks. |
Result codes for Rackspace commands /sa Rackspace::EventTypeToString()
Definition at line 42 of file Rackspace.h.
Definition at line 63 of file Rackspace.h.
Definition at line 41 of file RelayPlugin.h.
enum SLNet::RNS2Type |
USER_MESSAGE_BYTES_PUSHED |
How many bytes per pushed via a call to RakPeerInterface::Send() |
USER_MESSAGE_BYTES_SENT |
How many user message bytes were sent via a call to RakPeerInterface::Send(). This is less than or equal to USER_MESSAGE_BYTES_PUSHED. A message would be pushed, but not yet sent, due to congestion control |
USER_MESSAGE_BYTES_RESENT |
How many user message bytes were resent. A message is resent if it is marked as reliable, and either the message didn't arrive or the message ack didn't arrive. |
USER_MESSAGE_BYTES_RECEIVED_PROCESSED |
How many user message bytes were received, and returned to the user successfully. |
USER_MESSAGE_BYTES_RECEIVED_IGNORED |
How many user message bytes were received, but ignored due to data format errors. This will usually be 0. |
ACTUAL_BYTES_SENT |
How many actual bytes were sent, including per-message and per-datagram overhead, and reliable message acks. |
ACTUAL_BYTES_RECEIVED |
How many actual bytes were received, including overead and acks. |
RNS_PER_SECOND_METRICS_COUNT |
Definition at line 32 of file statistics.h.
enum SLNet::StartupResult |
UDPFORWARDER_FORWARDING_ALREADY_EXISTS | |
UDPFORWARDER_NO_SOCKETS | |
UDPFORWARDER_BIND_FAILED | |
UDPFORWARDER_INVALID_PARAMETERS | |
UDPFORWARDER_NOT_RUNNING | |
UDPFORWARDER_SUCCESS | |
UDPFORWARDER_RESULT_COUNT |
Definition at line 43 of file UDPForwarder.h.
void * SLNet::_DLMallocDirectMMap | ( | size_t | size | ) |
Definition at line 274 of file RakMemoryOverride.cpp.
void * SLNet::_DLMallocMMap | ( | size_t | size | ) |
Definition at line 273 of file RakMemoryOverride.cpp.
int SLNet::_DLMallocMUnmap | ( | void * | p, |
size_t | size | ||
) |
Definition at line 275 of file RakMemoryOverride.cpp.
void SLNet::_RakFree | ( | void * | p | ) |
Definition at line 156 of file RakMemoryOverride.cpp.
void SLNet::_RakFree_Ex | ( | void * | p, |
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 177 of file RakMemoryOverride.cpp.
void * SLNet::_RakMalloc | ( | size_t | size | ) |
Definition at line 146 of file RakMemoryOverride.cpp.
void * SLNet::_RakMalloc_Ex | ( | size_t | size, |
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 161 of file RakMemoryOverride.cpp.
void * SLNet::_RakRealloc | ( | void * | p, |
size_t | size | ||
) |
Definition at line 151 of file RakMemoryOverride.cpp.
void * SLNet::_RakRealloc_Ex | ( | void * | p, |
size_t | size, | ||
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 169 of file RakMemoryOverride.cpp.
bool RAK_DLL_EXPORT SLNet::CanConnect | ( | NATTypeDetectionResult | type1, |
NATTypeDetectionResult | type2 | ||
) |
int SLNet::CloudKeyComp | ( | const CloudKey & | key, |
const CloudKey & | data | ||
) |
RAK_DLL_EXPORT RakNetSocket2* SLNet::CreateNonblockingBoundSocket | ( | const char * | bindAddr, |
RNS2EventHandler * | eventHandler | ||
) |
int RAK_DLL_EXPORT SLNet::FilterSetComp | ( | const int & | key, |
FilterSet *const & | data | ||
) |
SLNet::Time SLNet::GetTime | ( | void | ) |
Same as GetTimeMS Holds the time in either a 32 or 64 bit variable, depending on __GET_TIME_64BIT
Definition at line 88 of file GetTime.cpp.
References GetTimeUS().
Referenced by SLNet::RakPeer::OnConnectedPong(), SLNet::RakPeer::OnConnectionRequest(), SLNet::RakPeer::Ping(), SLNet::RakPeer::PingInternal(), ProcessOfflineNetworkPacket(), and SLNet::RakPeer::RunUpdateCycle().
SLNet::TimeMS SLNet::GetTimeMS | ( | void | ) |
Return the time as 32 bit
Definition at line 92 of file GetTime.cpp.
References GetTimeUS().
Referenced by SLNet::RakPeer::AddToBanList(), SLNet::RakPeer::AssignSystemAddressToRemoteSystemList(), SLNet::RNS2_Berkley::BlockOnStopRecvPollingThread(), SLNet::RakPeer::GetSocket(), SLNet::ReliabilityLayer::HandleSocketReceiveFromConnectedPlayer(), SLNet::RakPeer::IsBanned(), SLNet::RakPeer::SendConnectionRequest(), and SLNet::RakPeer::Shutdown().
SLNet::TimeUS SLNet::GetTimeUS | ( | void | ) |
Return the time as 64 bit
Definition at line 211 of file GetTime.cpp.
Referenced by SLNet::RakPeerInterface::Get64BitUniqueRandomNumber(), SLNet::ReliabilityLayer::GetStatistics(), GetTime(), GetTimeMS(), SLNet::RakPeer::NotifyAndFlagForShutdown(), SLNet::RakPeer::OnConnectionRequest(), SLNet::RakPeer::ParseConnectionRequestPacket(), SLNet::RakPeer::PingInternal(), SLNet::ReliabilityLayer::Reset(), SLNet::RakPeer::RunUpdateCycle(), StatisticsToString(), and SLNet::ReliabilityLayer::Update().
bool SLNet::GreaterThan | ( | SLNet::Time | a, |
SLNet::Time | b | ||
) |
a > b?
Definition at line 225 of file GetTime.cpp.
bool SLNet::LessThan | ( | SLNet::Time | a, |
SLNet::Time | b | ||
) |
a < b?
Definition at line 231 of file GetTime.cpp.
int RAK_DLL_EXPORT SLNet::MessageFilterStrComp | ( | char *const & | key, |
char *const & | data | ||
) |
RAK_DLL_EXPORT const char* SLNet::NATTypeDetectionResultToString | ( | NATTypeDetectionResult | type | ) |
Return a technical string representin the enumeration.
RAK_DLL_EXPORT const char* SLNet::NATTypeDetectionResultToStringFriendly | ( | NATTypeDetectionResult | type | ) |
Return a friendly string representing the enumeration None and relaxed can connect to anything Moderate can connect to moderate or less Strict can connect to relaxed or less
bool SLNet::NonNumericHostString | ( | const char * | host | ) |
Definition at line 85 of file RakNetTypes.cpp.
Referenced by SLNet::SystemAddress::SetBinaryAddress().
RAK_DLL_EXPORT void SLNet::OP_DELETE | ( | Type * | buff, |
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 182 of file memoryoverride.h.
References GetFree_Ex.
Referenced by DataStructures::Table::AddRow(), SLNet::RakPeer::CancelConnectionAttempt(), DataStructures::OrderedChannelHeap< channel_key_type, heap_data_type, channel_key_comparison_func >::Clear(), DataStructures::WeightedGraph< node_type, weight_type, allow_unlinkedNodes >::Clear(), DataStructures::SingleProducerConsumer< SingleProducerConsumerType >::Clear(), DataStructures::BinarySearchTree< BinarySearchTreeType >::Clear(), DataStructures::CircularLinkedList< CircularLinkedListType >::Clear(), SLNet::RakPeer::ClearBanList(), SLNet::RakPeer::ClearBufferedPackets(), DataStructures::Hash< key_type, data_type, HASH_SIZE, hashFunction >::ClearIndex(), DataStructures::Multilist< _MultilistType, _DataType, _KeyType, _IndexType >::ClearPointer(), DataStructures::Multilist< _MultilistType, _DataType, _KeyType, _IndexType >::ClearPointers(), SLNet::RakPeer::ClearRequestedConnectionList(), SLNet::TableSerializer::DeallocateQueryList(), SLNet::PluginInterface2::DeallocPacketUnified(), SLNet::RakNetSocket2Allocator::DeallocRNS2(), DataStructures::BinarySearchTree< BinarySearchTreeType >::Del(), DataStructures::CircularLinkedList< CircularLinkedListType >::Del(), DataStructures::Tree< TreeType >::DeleteDecendants(), DataStructures::DeletePtr_RakNet(), DataStructures::Table::DeleteRow(), RefCountedObj::Deref(), SLNet::RakPeer::DerefAllSockets(), SLNet::RakPeer::DisableSecurity(), SLNet::HuffmanEncodingTree::FreeMemory(), SLNet::RakString::FreeMemoryNoMutex(), FreeRow(), SLNet::StringCompressor::GenerateTreeFromStrings(), SLNet::RakPeer::InitializeSecurity(), SLNet::RakPeer::IsBanned(), SLNet::RakNetSmartPtr< T >::operator=(), DataStructures::Hash< key_type, data_type, HASH_SIZE, hashFunction >::Pop(), ProcessOfflineNetworkPacket(), DataStructures::Hash< key_type, data_type, HASH_SIZE, hashFunction >::RemoveAtIndex(), DataStructures::OrderedChannelHeap< channel_key_type, heap_data_type, channel_key_comparison_func >::RemoveChannel(), DataStructures::Table::RemoveColumn(), SLNet::RakPeer::RemoveFromBanList(), DataStructures::WeightedGraph< node_type, weight_type, allow_unlinkedNodes >::RemoveNode(), SLNet::StringTable::RemoveReference(), SLNet::StringCompressor::RemoveReference(), SLNet::RakPeer::RunUpdateCycle(), SLNet::RakPeer::SendConnectionRequest(), SLNet::RakNetSmartPtr< T >::SetNull(), SLNet::ReliabilityLayer::Update(), SLNet::RakNetSmartPtr< T >::~RakNetSmartPtr(), SLNet::RakPeer::~RakPeer(), DataStructures::SingleProducerConsumer< SingleProducerConsumerType >::~SingleProducerConsumer(), and SLNet::StringCompressor::~StringCompressor().
RAK_DLL_EXPORT void SLNet::OP_DELETE_ARRAY | ( | Type * | buff, |
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 197 of file memoryoverride.h.
References GetFree_Ex.
Referenced by DataStructures::Queue< queue_type >::Clear(), DataStructures::Hash< key_type, data_type, HASH_SIZE, hashFunction >::Clear(), DataStructures::List< list_type >::Clear(), DataStructures::Multilist< _MultilistType, _DataType, _KeyType, _IndexType >::Clear(), DataStructures::Queue< queue_type >::ClearAndForceAllocation(), DataStructures::WeightedGraph< node_type, weight_type, allow_unlinkedNodes >::ClearDijkstra(), SLNet::RakPeer::ClearRemoteSystemLookup(), DataStructures::Queue< queue_type >::Compress(), DataStructures::List< list_type >::Compress(), SLNet::TableSerializer::DeallocateQueryList(), VariadicSQLParser::FreeArguments(), GridSectorizer::Init(), DataStructures::List< list_type >::Insert(), DataStructures::List< list_type >::Preallocate(), DataStructures::Queue< queue_type >::Push(), DataStructures::Multilist< _MultilistType, _DataType, _KeyType, _IndexType >::ReallocToSize(), DataStructures::List< list_type >::Replace(), SLNet::SystemAddress::SetBinaryAddress(), SLNet::RakPeer::Shutdown(), GridSectorizer::~GridSectorizer(), DataStructures::List< list_type >::~List(), DataStructures::Multilist< _MultilistType, _DataType, _KeyType, _IndexType >::~Multilist(), and DataStructures::Queue< queue_type >::~Queue().
RAK_DLL_EXPORT Type* SLNet::OP_NEW | ( | const char * | file, |
unsigned int | line | ||
) |
Definition at line 87 of file memoryoverride.h.
References GetMalloc_Ex.
Referenced by DataStructures::WeightedGraph< node_type, weight_type, allow_unlinkedNodes >::AddNode().
RAK_DLL_EXPORT Type* SLNet::OP_NEW_1 | ( | const char * | file, |
unsigned int | line, | ||
const P1 & | p1 | ||
) |
Definition at line 101 of file memoryoverride.h.
References GetMalloc_Ex.
RAK_DLL_EXPORT Type* SLNet::OP_NEW_2 | ( | const char * | file, |
unsigned int | line, | ||
const P1 & | p1, | ||
const P2 & | p2 | ||
) |
Definition at line 115 of file memoryoverride.h.
References GetMalloc_Ex.
RAK_DLL_EXPORT Type* SLNet::OP_NEW_3 | ( | const char * | file, |
unsigned int | line, | ||
const P1 & | p1, | ||
const P2 & | p2, | ||
const P3 & | p3 | ||
) |
Definition at line 129 of file memoryoverride.h.
References GetMalloc_Ex.
RAK_DLL_EXPORT Type* SLNet::OP_NEW_4 | ( | const char * | file, |
unsigned int | line, | ||
const P1 & | p1, | ||
const P2 & | p2, | ||
const P3 & | p3, | ||
const P4 & | p4 | ||
) |
Definition at line 143 of file memoryoverride.h.
References GetMalloc_Ex.
RAK_DLL_EXPORT Type* SLNet::OP_NEW_ARRAY | ( | const int | count, |
const char * | file, | ||
unsigned int | line | ||
) |
Definition at line 158 of file memoryoverride.h.
References GetMalloc_Ex.
BitStream& SLNet::operator<< | ( | BitStream & | out, |
const templateType & | c | ||
) |
Definition at line 1864 of file BitStream.h.
References SLNet::BitStream::Write().
BitStream& SLNet::operator>> | ( | BitStream & | in, |
templateType & | c | ||
) |
Definition at line 1870 of file BitStream.h.
References RakAssert, and SLNet::BitStream::Read().
void SLNet::ProcessNetworkPacket | ( | const SystemAddress | systemAddress, |
const char * | data, | ||
const int | length, | ||
RakPeer * | rakPeer, | ||
SLNet::TimeUS | timeRead | ||
) |
void SLNet::ProcessNetworkPacket | ( | SystemAddress | systemAddress, |
const char * | data, | ||
const int | length, | ||
RakPeer * | rakPeer, | ||
SLNet::TimeUS | timeRead, | ||
BitStream & | updateBitStream | ||
) |
Definition at line 5398 of file RakPeer.cpp.
References SLNet::RakPeer::socketList.
void SLNet::ProcessNetworkPacket | ( | SystemAddress | systemAddress, |
const char * | data, | ||
const int | length, | ||
RakPeer * | rakPeer, | ||
RakNetSocket2 * | rakNetSocket, | ||
SLNet::TimeUS | timeRead, | ||
BitStream & | updateBitStream | ||
) |
Definition at line 5402 of file RakPeer.cpp.
References SLNet::SystemAddress::GetPort(), SLNet::RakPeer::GetRemoteSystemFromSystemAddress(), SLNet::ReliabilityLayer::HandleSocketReceiveFromConnectedPlayer(), SLNet::RakPeer::RemoteSystemStruct::MTUSize, SLNet::RakPeer::pluginListNTS, ProcessOfflineNetworkPacket(), RakAssert, SLNet::RakPeer::RemoteSystemStruct::reliabilityLayer, and rnr.
bool SLNet::ProcessOfflineNetworkPacket | ( | SystemAddress | systemAddress, |
const char * | data, | ||
const int | length, | ||
RakPeer * | rakPeer, | ||
RakNetSocket2 * | rakNetSocket, | ||
bool * | isOfflineMessage, | ||
SLNet::TimeUS | timeRead | ||
) |
Definition at line 4524 of file RakPeer.cpp.
References _FILE_AND_LINE_, SLNet::RakPeer::RequestedConnectionStruct::actionToTake, SLNet::RakPeer::AddPacketToProducer(), SLNet::SystemAddress::address, SLNet::RakPeer::AllocPacket(), SLNet::RakPeer::AllowIncomingConnections(), SLNet::RakPeer::AssignSystemAddressToRemoteSystemList(), SLNet::Packet::bitSize, BYTES_TO_BITS, CAT_AUDIT_PRINTF, SLNet::RakPeer::RequestedConnectionStruct::CONNECT, SLNet::RakPeer::RemoteSystemStruct::connectMode, SLNet::RNS2_SendParameters::data, SLNet::Packet::data, SLNet::RakPeer::DereferenceRemoteSystem(), SLNet::BitStream::GetData(), SLNet::RakPeer::GetGuidFromSystemAddress(), SLNet::RakPeer::GetIndexFromSystemAddress(), SLNet::BitStream::GetNumberOfBitsUsed(), SLNet::BitStream::GetNumberOfBytesUsed(), SLNet::RakPeer::GetRemoteSystemFromGUID(), SLNet::RakPeer::GetRemoteSystemFromSystemAddress(), GetTime(), SLNet::Packet::guid, ID_ADVERTISE_SYSTEM, ID_ALREADY_CONNECTED, ID_CONNECTION_ATTEMPT_FAILED, ID_CONNECTION_BANNED, ID_CONNECTION_REQUEST, ID_INCOMPATIBLE_PROTOCOL_VERSION, ID_INVALID_PASSWORD, ID_IP_RECENTLY_CONNECTED, ID_NO_FREE_INCOMING_CONNECTIONS, ID_OPEN_CONNECTION_REPLY_1, ID_OPEN_CONNECTION_REPLY_2, ID_OPEN_CONNECTION_REQUEST_1, ID_OPEN_CONNECTION_REQUEST_2, ID_OUR_SYSTEM_REQUIRES_SECURITY, ID_OUT_OF_BAND_INTERNAL, ID_PUBLIC_KEY_MISMATCH, ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY, ID_UNCONNECTED_PING, ID_UNCONNECTED_PING_OPEN_CONNECTIONS, ID_UNCONNECTED_PONG, SLNet::BitStream::IgnoreBits(), SLNet::BitStream::IgnoreBytes(), IMMEDIATE_PRIORITY, SLNet::RakPeer::RemoteSystemStruct::isActive, SLNet::RakPeer::IsBanned(), SLNet::RakPeer::IsInSecurityExceptionList(), SLNet::RNS2_SendParameters::length, SLNet::Packet::length, SLNet::SimpleMutex::Lock(), MAX_OFFLINE_DATA_LENGTH, MAXIMUM_MTU_SIZE, SLNet::RakPeer::myGuid, OFFLINE_MESSAGE_DATA_ID, SLNet::RakPeer::offlinePingResponse, SLNet::RakPeer::offlinePingResponse_Mutex, OP_DELETE(), SLNet::RakPeer::RequestedConnectionStruct::outgoingPassword, SLNet::RakPeer::RequestedConnectionStruct::outgoingPasswordLength, PKM_ACCEPT_ANY_PUBLIC_KEY, PKM_USE_TWO_WAY_AUTHENTICATION, SLNet::RakPeer::pluginListNTS, SLNet::RakPeer::RequestedConnectionStruct::publicKeyMode, RakAssert, RAKNET_PROTOCOL_VERSION, SLNet::RakPeer::rakPeerMutexes, SLNet::BitStream::Read(), SLNet::BitStream::ReadAlignedBytes(), SLNet::RakPeer::RemoteSystemStruct::reliabilityLayer, RELIABLE, DataStructures::Queue< queue_type >::RemoveAtIndex(), SLNet::RakPeer::RemoteSystemStruct::REQUESTED_CONNECTION, SLNet::RakPeer::requestedConnectionQueue, SLNet::RakPeer::requestedConnectionQueueMutex, SLNet::BitStream::ResetWritePointer(), SLNet::RakNetSocket2::Send(), SLNet::RakPeer::SendImmediate(), SLNet::ReliabilityLayer::SetTimeoutTime(), DataStructures::Queue< queue_type >::Size(), DataStructures::List< list_type >::Size(), SLNet::RakNetGUID::size(), SLNet::RakPeer::RequestedConnectionStruct::socket, SLNet::RNS2_SendParameters::systemAddress, SLNet::Packet::systemAddress, SLNet::RakPeer::RequestedConnectionStruct::systemAddress, SLNet::SystemAddress::systemIndex, SLNet::RakNetGUID::systemIndex, SLNet::RakPeer::RequestedConnectionStruct::timeoutTime, SLNet::SystemAddress::ToString(), UDP_HEADER_SIZE, UNASSIGNED_RAKNET_GUID(), UNASSIGNED_SYSTEM_ADDRESS, SLNet::SimpleMutex::Unlock(), SLNet::RakPeer::RemoteSystemStruct::UNVERIFIED_SENDER, SLNet::RakPeer::RemoteSystemStruct::weInitiatedTheConnection, SLNet::BitStream::Write(), SLNet::BitStream::WriteAlignedBytes(), and SLNet::BitStream::WriteCasted().
Referenced by ProcessNetworkPacket().
SLNet::RAK_THREAD_DECLARATION | ( | UpdateNetworkLoop | ) |
SLNet::RAK_THREAD_DECLARATION | ( | RecvFromLoop | ) |
SLNet::RAK_THREAD_DECLARATION | ( | UDTConnect | ) |
int SLNet::RegisteredCommandComp | ( | const char *const & | key, |
const RegisteredCommand & | data | ||
) |
List of commands registered with RegisterCommand()
Definition at line 41 of file CommandParserInterface.cpp.
References SLNet::RegisteredCommand::command.
int SLNet::SplitPacketChannelComp | ( | SplitPacketIdType const & | key, |
SplitPacketChannel *const & | data | ||
) |
Definition at line 246 of file ReliabilityLayer.cpp.
References SLNet::SplitPacketChannel::splitPacketList.
void RAK_DLL_EXPORT SLNet::StatisticsToString | ( | RakNetStatistics * | s, |
char * | buffer, | ||
int | verbosityLevel | ||
) |
Verbosity level currently supports 0 (low), 1 (medium), 2 (high)
[in] | s | The Statistical information to format out |
[in] | buffer | The buffer containing a formated report |
[in] | bufferLength | The size (in characters) of the buffer |
[in] | verbosityLevel | 0 low 1 medium 2 high 3 debugging congestion control |
Definition at line 32 of file RakNetStatistics.cpp.
References ACTUAL_BYTES_RECEIVED, ACTUAL_BYTES_SENT, SLNet::RakNetStatistics::BPSLimitByCongestionControl, SLNet::RakNetStatistics::BPSLimitByOutgoingBandwidthLimit, SLNet::RakNetStatistics::bytesInResendBuffer, SLNet::RakNetStatistics::bytesInSendBuffer, SLNet::RakNetStatistics::connectionStartTime, GetTimeUS(), HIGH_PRIORITY, IMMEDIATE_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY, SLNet::RakNetStatistics::messageInSendBuffer, SLNet::RakNetStatistics::messagesInResendBuffer, SLNet::RakNetStatistics::packetlossLastSecond, SLNet::RakNetStatistics::packetlossTotal, PRINTF_64_BIT_MODIFIER, SLNet::RakNetStatistics::runningTotal, USER_MESSAGE_BYTES_PUSHED, USER_MESSAGE_BYTES_RECEIVED_IGNORED, USER_MESSAGE_BYTES_RECEIVED_PROCESSED, USER_MESSAGE_BYTES_RESENT, USER_MESSAGE_BYTES_SENT, and SLNet::RakNetStatistics::valueOverLastSecond.
void RAK_DLL_EXPORT SLNet::StatisticsToString | ( | RakNetStatistics * | s, |
char * | buffer, | ||
size_t | bufferLength, | ||
int | verbosityLevel | ||
) |
Definition at line 188 of file RakNetStatistics.cpp.
References ACTUAL_BYTES_RECEIVED, ACTUAL_BYTES_SENT, SLNet::RakNetStatistics::BPSLimitByCongestionControl, SLNet::RakNetStatistics::BPSLimitByOutgoingBandwidthLimit, SLNet::RakNetStatistics::bytesInResendBuffer, SLNet::RakNetStatistics::bytesInSendBuffer, SLNet::RakNetStatistics::connectionStartTime, GetTimeUS(), HIGH_PRIORITY, IMMEDIATE_PRIORITY, LOW_PRIORITY, MEDIUM_PRIORITY, SLNet::RakNetStatistics::messageInSendBuffer, SLNet::RakNetStatistics::messagesInResendBuffer, SLNet::RakNetStatistics::packetlossLastSecond, SLNet::RakNetStatistics::packetlossTotal, PRINTF_64_BIT_MODIFIER, return, SLNet::RakNetStatistics::runningTotal, USER_MESSAGE_BYTES_PUSHED, USER_MESSAGE_BYTES_RECEIVED_IGNORED, USER_MESSAGE_BYTES_RECEIVED_PROCESSED, USER_MESSAGE_BYTES_RESENT, USER_MESSAGE_BYTES_SENT, and SLNet::RakNetStatistics::valueOverLastSecond.
int SLNet::StrAndBoolComp | ( | char *const & | key, |
const StrAndBool & | data | ||
) |
Definition at line 30 of file StringTable.cpp.
References StrAndBool::str.
const RakNetGUID SLNet::UNASSIGNED_RAKNET_GUID | ( | (uint64_t)- | 1 | ) |
Referenced by SLNet::AddressOrGUID::AddressOrGUID(), SLNet::PluginInterface2::AllocatePacketUnified(), SLNet::RakPeer::AllocPacket(), SLNet::VariableDeltaSerializer::BeginIdenticalSerialize(), SLNet::VariableDeltaSerializer::BeginUniqueSerialize(), SLNet::VariableDeltaSerializer::BeginUnreliableAckedSerialize(), SLNet::RakPeer::CloseConnection(), SLNet::RakPeer::CloseConnectionInternal(), SLNet::RakPeer::GetGUIDFromIndex(), SLNet::RakPeer::GetGuidFromSystemAddress(), SLNet::RakPeer::GetIndexFromGuid(), SLNet::PluginInterface2::GetMyGUIDUnified(), SLNet::RakPeer::GetRemoteSystem(), SLNet::RakPeer::GetRemoteSystemFromGUID(), SLNet::RakPeer::GetSystemAddressFromGuid(), SLNet::AddressOrGUID::GetSystemIndex(), SLNet::RakPeer::GetSystemIndexFromGuid(), SLNet::RakPeer::IsLoopbackAddress(), SLNet::AddressOrGUID::IsUndefined(), SLNet::AddressOrGUID::operator=(), SLNet::AddressOrGUID::operator==(), ProcessOfflineNetworkPacket(), SLNet::RakNetGUID::RakNetGUID(), SLNet::RakPeer::RakPeer(), SLNet::RakPeer::SendImmediate(), SLNet::PluginInterface2::SendUnified(), SLNet::AddressOrGUID::SetUndefined(), SLNet::RakPeer::Startup(), SLNet::AddressOrGUID::ToInteger(), SLNet::RakNetGUID::ToString(), and SLNet::AddressOrGUID::ToString().
const int SLNet::PING_TIMES_ARRAY_SIZE = 5 |
Definition at line 468 of file types.h.
Referenced by SLNet::RakPeer::AssignSystemAddressToRemoteSystemList(), SLNet::RakPeer::GetAveragePing(), SLNet::RakPeer::GetClockDifferentialInt(), SLNet::RakPeer::GetLastPing(), and SLNet::RakPeer::OnConnectedPong().
|
static |
Definition at line 356 of file ReplicaManager3.h.
Unassigned object ID.
Definition at line 466 of file types.h.
Referenced by SLNet::NetworkIDManager::GetNewNetworkID(), SLNet::NetworkIDObject::NetworkIDObject(), SLNet::NetworkIDObject::SetNetworkID(), SLNet::NetworkIDObject::SetNetworkIDManager(), SLNet::NetworkIDManager::StopTrackingNetworkIDObject(), and SLNet::NetworkIDManager::TrackNetworkIDObject().
const SystemIndex SLNet::UNASSIGNED_PLAYER_INDEX = 65535 |
const SystemAddress SLNet::UNASSIGNED_SYSTEM_ADDRESS |
Index of an invalid SystemAddress.
Definition at line 368 of file types.h.
Referenced by SLNet::AddressOrGUID::AddressOrGUID(), SLNet::PluginInterface2::AllocatePacketUnified(), SLNet::RakPeer::AssignSystemAddressToRemoteSystemList(), SLNet::RakPeer::CloseConnection(), SLNet::RakPeer::CloseConnectionInternal(), SLNet::RakPeer::FillIPList(), SLNet::SystemAddress::FromStringExplicitPort(), SLNet::RakPeer::GetClientPublicKeyFromSystemAddress(), SLNet::RakPeer::GetConnectionState(), SLNet::RakPeer::GetExternalID(), SLNet::SocketLayer::GetFirstBindableIP(), SLNet::RakPeer::GetGuidFromSystemAddress(), SLNet::RakPeer::GetIndexFromSystemAddress(), SLNet::RakPeer::GetInternalID(), SLNet::RakPeer::GetMTUSize(), SLNet::RakPeer::GetMyBoundAddress(), GetMyIP_Win32(), SLNet::RakPeer::GetNumberOfAddresses(), SLNet::RakPeer::GetRemoteSystemFromSystemAddress(), SLNet::RakPeer::GetSockets(), SLNet::RakPeer::GetStatistics(), SLNet::SocketLayer::GetSystemAddress_Old(), SLNet::RakPeer::GetSystemAddressFromGuid(), SLNet::RakPeer::GetSystemAddressFromIndex(), SLNet::RakPeer::GetTimeoutTime(), SLNet::RakPeer::IsLoopbackAddress(), SLNet::AddressOrGUID::IsUndefined(), SLNet::AddressOrGUID::operator=(), SLNet::AddressOrGUID::operator==(), SLNet::RakPeer::ParseConnectionRequestPacket(), SLNet::RakPeer::Ping(), ProcessOfflineNetworkPacket(), SLNet::RakPeer::RakPeer(), SLNet::RakPeer::ReferenceRemoteSystem(), SLNet::RakPeer::RunUpdateCycle(), SLNet::RakPeer::SendImmediate(), SLNet::PluginInterface2::SendUnified(), SLNet::SystemAddress::SetBinaryAddress(), SLNet::RakPeer::SetTimeoutTime(), SLNet::AddressOrGUID::SetUndefined(), SLNet::RakPeer::Startup(), and SLNet::SystemAddress::ToString_Old().