RakNet.RakPeer Class Reference

Inherits RakNet.RakPeerInterface.

Public Member Functions

override void Dispose ()
 
override void GetIncomingPassword (ref string passwordData, ref int passwordDataLength)
 
override void GetOfflinePingResponse (byte[] inOutByteArray, out uint length)
 
override bool GetConnectionList (out SystemAddress[] remoteSystems, ref ushort numberOfSystems)
 
override StartupResult Startup (uint maxConnections, RakNetListSocketDescriptor socketDescriptors, int threadPriority)
 
override StartupResult Startup (uint maxConnections, RakNetListSocketDescriptor socketDescriptors)
 
override bool InitializeSecurity (string publicKey, string privateKey, bool bRequireClientKey)
 
override bool InitializeSecurity (string publicKey, string privateKey)
 
override void DisableSecurity ()
 
override void AddToSecurityExceptionList (string ip)
 
override void RemoveFromSecurityExceptionList (string ip)
 
override bool IsInSecurityExceptionList (string ip)
 
override void SetMaximumIncomingConnections (ushort numberAllowed)
 
override uint GetMaximumIncomingConnections ()
 
override ushort NumberOfConnections ()
 
override void SetIncomingPassword (string passwordData, int passwordDataLength)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS, uint timeoutTime)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey)
 
override ConnectionAttemptResult Connect (string host, ushort remotePort, string passwordData, int passwordDataLength)
 
override void Shutdown (uint blockDuration, byte orderingChannel, PacketPriority disconnectionNotificationPriority)
 
override void Shutdown (uint blockDuration, byte orderingChannel)
 
override void Shutdown (uint blockDuration)
 
override bool IsActive ()
 
override uint GetNextSendReceipt ()
 
override uint IncrementNextSendReceipt ()
 
override uint Send (string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber)
 
override uint Send (string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast)
 
override void SendLoopback (string data, int length)
 
override uint Send (BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber)
 
override uint Send (BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast)
 
override Packet Receive ()
 
override void DeallocatePacket (Packet packet)
 
override uint GetMaximumNumberOfPeers ()
 
override void CloseConnection (AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel, PacketPriority disconnectionNotificationPriority)
 
override void CloseConnection (AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel)
 
override void CloseConnection (AddressOrGUID target, bool sendDisconnectionNotification)
 
override void CancelConnectionAttempt (SystemAddress target)
 
override ConnectionState GetConnectionState (AddressOrGUID systemIdentifier)
 
override int GetIndexFromSystemAddress (SystemAddress systemAddress)
 
override SystemAddress GetSystemAddressFromIndex (uint index)
 
override RakNetGUID GetGUIDFromIndex (uint index)
 
override void GetSystemList (RakNetListSystemAddress addresses, RakNetListRakNetGUID guids)
 
override void AddToBanList (string IP, uint milliseconds)
 
override void AddToBanList (string IP)
 
override void RemoveFromBanList (string IP)
 
override void ClearBanList ()
 
override bool IsBanned (string IP)
 
override void SetLimitIPConnectionFrequency (bool b)
 
override void Ping (SystemAddress target)
 
override bool Ping (string host, ushort remotePort, bool onlyReplyOnAcceptingConnections, uint connectionSocketIndex)
 
override bool Ping (string host, ushort remotePort, bool onlyReplyOnAcceptingConnections)
 
override int GetAveragePing (AddressOrGUID systemIdentifier)
 
override int GetLastPing (AddressOrGUID systemIdentifier)
 
override int GetLowestPing (AddressOrGUID systemIdentifier)
 
override void SetOccasionalPing (bool doPing)
 
override ulong GetClockDifferential (AddressOrGUID systemIdentifier)
 
override void SetOfflinePingResponse (string data, uint length)
 
override SystemAddress GetInternalID (SystemAddress systemAddress, int index)
 
override SystemAddress GetInternalID (SystemAddress systemAddress)
 
override SystemAddress GetInternalID ()
 
override void SetInternalID (SystemAddress systemAddress, int index)
 
override void SetInternalID (SystemAddress systemAddress)
 
override SystemAddress GetExternalID (SystemAddress target)
 
override RakNetGUID GetMyGUID ()
 
override SystemAddress GetMyBoundAddress (int socketIndex)
 
override SystemAddress GetMyBoundAddress ()
 
override RakNetGUID GetGuidFromSystemAddress (SystemAddress input)
 
override SystemAddress GetSystemAddressFromGuid (RakNetGUID input)
 
override bool GetClientPublicKeyFromSystemAddress (SystemAddress input, string client_public_key)
 
override void SetTimeoutTime (uint timeMS, SystemAddress target)
 
override uint GetTimeoutTime (SystemAddress target)
 
override int GetMTUSize (SystemAddress target)
 
override uint GetNumberOfAddresses ()
 
override string GetLocalIP (uint index)
 
override bool IsLocalIP (string ip)
 
override void AllowConnectionResponseIPMigration (bool allow)
 
override bool AdvertiseSystem (string host, ushort remotePort, string data, int dataLength, uint connectionSocketIndex)
 
override bool AdvertiseSystem (string host, ushort remotePort, string data, int dataLength)
 
override void SetSplitMessageProgressInterval (int interval)
 
override int GetSplitMessageProgressInterval ()
 
override void SetUnreliableTimeout (uint timeoutMS)
 
override void SendTTL (string host, ushort remotePort, int ttl, uint connectionSocketIndex)
 
override void SendTTL (string host, ushort remotePort, int ttl)
 
override void AttachPlugin (PluginInterface2 plugin)
 
override void DetachPlugin (PluginInterface2 messageHandler)
 
override void PushBackPacket (Packet packet, bool pushAtHead)
 
override void ChangeSystemAddress (RakNetGUID guid, SystemAddress systemAddress)
 
override Packet AllocatePacket (uint dataSize)
 
override void GetSockets (SWIGTYPE_p_DataStructures__ListT_RakNetSocket2_p_t sockets)
 
override void WriteOutOfBandHeader (BitStream bitStream)
 
override void ApplyNetworkSimulator (float packetloss, ushort minExtraPing, ushort extraPingVariance)
 
override void SetPerConnectionOutgoingBandwidthLimit (uint maxBitsPerSecond)
 
override bool IsNetworkSimulatorActive ()
 
override RakNetStatistics GetStatistics (SystemAddress systemAddress, RakNetStatistics rns)
 
override RakNetStatistics GetStatistics (SystemAddress systemAddress)
 
override bool GetStatistics (uint index, RakNetStatistics rns)
 
override uint GetReceiveBufferSize ()
 
override bool RunUpdateCycle (BitStream updateBitStream)
 
override bool SendOutOfBand (string host, ushort remotePort, string data, uint dataLength, uint connectionSocketIndex)
 
override bool SendOutOfBand (string host, ushort remotePort, string data, uint dataLength)
 
new uint Send (byte[] inByteArray, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast)
 
new void SendLoopback (byte[] inByteArray, int length)
 
new void SetOfflinePingResponse (byte[] inByteArray, uint length)
 
new bool AdvertiseSystem (string host, ushort remotePort, byte[] inByteArray, int dataLength, uint connectionSocketIndex)
 
new bool AdvertiseSystem (string host, ushort remotePort, byte[] inByteArray, int dataLength)
 
new void SetIncomingPassword (byte[] passwordDataByteArray, int passwordDataLength)
 
new void GetIncomingPassword (byte[] passwordDataByteArray, ref int passwordDataLength)
 
new bool GetConnectionList (RakNetListSystemAddress remoteSystems, ref ushort numberOfSystems)
 
- Public Member Functions inherited from RakNet.RakPeerInterface
uint Send (byte[] inByteArray, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast)
 
void SendLoopback (byte[] inByteArray, int length)
 
void SetOfflinePingResponse (byte[] inByteArray, uint length)
 
bool AdvertiseSystem (string host, ushort remotePort, byte[] inByteArray, int dataLength, uint connectionSocketIndex)
 
bool AdvertiseSystem (string host, ushort remotePort, byte[] inByteArray, int dataLength)
 
void SetIncomingPassword (byte[] passwordDataByteArray, int passwordDataLength)
 
void GetIncomingPassword (byte[] passwordDataByteArray, ref int passwordDataLength)
 
bool GetConnectionList (RakNetListSystemAddress remoteSystems, ref ushort numberOfSystems)
 

Additional Inherited Members

- Static Public Member Functions inherited from RakNet.RakPeerInterface
static RakPeerInterface GetInstance ()
 
static void DestroyInstance (RakPeerInterface i)
 
static ulong Get64BitUniqueRandomNumber ()
 
- Protected Attributes inherited from RakNet.RakPeerInterface
bool swigCMemOwn
 

The documentation for this class was generated from the following file:
  • Raknet.scharp/RakPeer.cs