Navigation
API > API/Plugins > API/Plugins/SteamSockets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNetDriver
- USteamSocketsNetDriver
References
| Module | SteamSockets |
| Header | /Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Public/SteamSocketsNetDriver.h |
| Include | #include "SteamSocketsNetDriver.h" |
Syntax
UCLASS&40;Transient, Config&61;Engine&41;
class USteamSocketsNetDriver : public UNetDriver
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsDelayedNetworkAccess | ||
| FSteamSocket * | Socket |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| UNetConnection * | FindClientConnectionForHandle
(
SteamSocketHandles SocketHandle |
||
| void | OnConnectionCreated
(
SteamSocketHandles ListenParentHandle, |
||
| void | OnConnectionDisconnected
(
SteamSocketHandles SocketHandle |
||
| void | OnConnectionUpdated
(
SteamSocketHandles SocketHandle, |
||
| void | ResetSocketInfo
(
const FSteamSocket* RemovedSocket |
Overridden from UNetDriver
| Type | Name | Description | |
|---|---|---|---|
| ISocketSubsystem * | Get the socket subsytem appropriate for this net driver | ||
| bool | InitBase
(
bool bInitAsClient, |
Common initialization between server and client connection setup | |
| bool | InitConnect
(
FNetworkNotify* InNotify, |
Initialize the net driver in client mode | |
| bool | InitListen
(
FNetworkNotify* InNotify, |
Initialize the network driver in server mode (listener) | |
| bool | IsAvailable () |
Returns true if this net driver is valid for the current configuration. | |
| bool | |||
| void | Close socket and Free the memory the OS allocated for this socket | ||
| void | LowLevelSend
(
TSharedPtr< const FInternetAddr > Address, |
Sends a 'connectionless' (not associated with a UNetConection) packet, to the specified address. | |
| void | Shutdown () |
Shutdown all connections managed by this net driver | |
| void | TickDispatch
(
float DeltaTime |
Handle time update: read and process packets |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |