Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemSteam
Inheritance Hierarchy
- IOnlineSubsystem
- FTSTickerObjectBase
- FOnlineSubsystemImpl
- FOnlineSubsystemSteam
References
| Module | OnlineSubsystemSteam |
| Header | /Engine/Plugins/Online/OnlineSubsystemSteam/Source/Public/OnlineSubsystemSteam.h |
| Include | #include "OnlineSubsystemSteam.h" |
Syntax
class FOnlineSubsystemSteam : public FOnlineSubsystemImpl
Remarks
OnlineSubsystemSteam - Implementation of the online subsystem for STEAM services
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnlineAchievementsSteamPtr | AchievementsInterface | Interface for achievements | |
| FOnlineAuthSteamPtr | AuthInterface | Interface for Steam Session Auth | |
| FOnlineAuthSteamUtilsPtr | AuthInterfaceUtils | ||
| bool | bSteamworksClientInitialized | Has the STEAM client APIs been initialized | |
| bool | bSteamworksGameServerInitialized | Whether or not the Steam game server API is initialized | |
| bool | bUsingSteamNetworking | If we are using the SteamNetworking protocol or not. | |
| bool | bVoiceInterfaceInitialized | Interface for voice communication | |
| FOnlineEncryptedAppTicketSteamPtr | EncryptedAppTicketInterface | Interface for Steam encrypted application tickets. | |
| FOnlineExternalUISteamPtr | ExternalUIInterface | Interface to the external UI services | |
| FOnlineFriendsSteamPtr | FriendInterface | Interface to the friend services | |
| int32 | GameServerGamePort | Game port - the port that clients will connect to for gameplay | |
| int32 | GameServerQueryPort | Query port - the port that will manage server browser related duties and info | |
| FOnlineIdentitySteamPtr | IdentityInterface | Interface to the profile services | |
| FOnlineLeaderboardsSteamPtr | LeaderboardsInterface | Interface to the leaderboard services | |
| FRunnableThread * | OnlineAsyncTaskThread | Online async task thread | |
| FOnlineAsyncTaskManagerSteam * | OnlineAsyncTaskThreadRunnable | Online async task runnable | |
| FOnSteamServerLoginCompleted | OnSteamServerLoginCompletedDelegates | This delegate fires whenever a steam login has succeeded or failed its async task. | |
| FOnlinePingSteamPtr | PingInterface | Interface for dynamically calculating SteamNetworking ping based off protocol | |
| FOnlinePresenceSteamPtr | PresenceInterface | Interface for presence | |
| FOnlineSessionSteamPtr | SessionInterface | Interface to the session services | |
| FOnlineSharedCloudSteamPtr | SharedCloudInterface | Interface to the shared cloud services | |
| TSharedPtr< class FSteamClientInstanceHandler > | SteamAPIClientHandle | Steam Client API Handle | |
| TSharedPtr< class FSteamServerInstanceHandler > | SteamAPIServerHandle | Steam Server API Handle | |
| uint32 | SteamAppID | Steam App ID for the running game | |
| TArray< struct FSteamUserCloudData * > | UserCloudData | Array of the files in the cloud for a given user | |
| FCriticalSection | UserCloudDataLock | Critical sections for thread safe operation of the cloud files | |
| FOnlineUserCloudSteamPtr | UserCloudInterface | Interface to the user cloud services | |
| IOnlineVoicePtr | VoiceInterface | Interface to the voice engine |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Only the factory makes instances | |||
FOnlineSubsystemSteam
(
FName InInstanceName |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddOnSteamServerLoginCompletedDelegate_Handle
(
const FOnSteamServerLoginCompletedDelegate& Delegate |
||
| void | |||
| void | ClearOnSteamServerLoginCompletedDelegates
(
void* Object |
||
| void | Clear out all the data related to user cloud storage | ||
| bool | ClearUserCloudMetadata
(
const FUniqueNetId& UserId, |
INTERNAL Clear the metadata related to a given user's file on Steam This information is only available after calling EnumerateUserFiles It doesn't actually delete any of the actual data on disk | |
| FOnlineAuthSteamPtr | |||
| FOnlineAuthSteamUtilsPtr | |||
| FOnlineEncryptedAppTicketSteamPtr | |||
| int32 | |||
| int32 | |||
| FOnlineLeaderboardsSteam * | INTERNAL Get the interface for accessing leaderboards/stats | ||
| FOnlinePingSteamPtr | |||
| uint32 | |||
| FSteamUserCloudData * | GetUserCloudEntry
(
const FUniqueNetId& UserId |
INTERNAL Get the metadata related to a given user This information is only available after calling EnumerateUserFiles | |
| bool | InitSteamworksClient
(
bool bRelaunchInSteam, |
Initialize the client side APIs for Steam | |
| bool | Initialize the server side APIs for Steam | ||
| bool | Whether or not the Steam Client interfaces are available; these interfaces are only available, if the Steam Client program is running NOTE: These interfaces are made unavailable, when running a dedicated server | ||
| bool | Whether or not the Steam game server interfaces are available; these interfaces are always available, so long as they were initialized correctly NOTE: The Steam Client does not need to be running for the game server interfaces to initialize NOTE: These interfaces are made unavailable, when not running a server | ||
| bool | |||
| void | QueueAsyncOutgoingItem
(
FOnlineAsyncItem* AsyncItem |
Add an async task onto the outgoing task queue for processing | |
| void | QueueAsyncTask
(
FOnlineAsyncTask* AsyncTask |
Add an async task onto the task queue for processing | |
| void | SetPingInterface
(
FOnlinePingSteamPtr InPingInterface |
||
| void | Shutdown the Steam APIs | ||
| void | TriggerOnSteamServerLoginCompletedDelegates
(
bool Param1 |
Overridden from IOnlineSubsystem
| Type | Name | Description | |
|---|---|---|---|
| bool | Exec
(
UWorld* InWorld, |
Exec handler that allows the online subsystem to process exec commands | |
| IOnlineAchievementsPtr | Get the interface for accessing online achievements | ||
| FString | GetAppId () |
Each online subsystem has a global id for the app | |
| IOnlineChatPtr | Get the interface for user-user and user-room chat functionality | ||
| IOnlineEntitlementsPtr | Get the interface for accessing user entitlements | ||
| IOnlineEventsPtr | Get the interface for accessing online achievements | ||
| IOnlineExternalUIPtr | Get the interface for accessing the external UIs of a service | ||
| IOnlineFriendsPtr | Get the interface for accessing the player friends services | ||
| IOnlineGroupsPtr | IOnlineSubsystem. | ||
| IOnlineIdentityPtr | Get the interface for accessing identity online services | ||
| IOnlineLeaderboardsPtr | Get the interface for accessing leaderboards/rankings of a service | ||
| IOnlineMessagePtr | Get the interface for accessing online messages | ||
| FText | |||
| IOnlinePartyPtr | Get the interface for accessing the player party services | ||
| IOnlinePresencePtr | Get the interface for managing rich presence information | ||
| IOnlinePurchasePtr | Get the interface for purchasing | ||
| IOnlineSessionPtr | Get the interface for accessing the session management services | ||
| IOnlineSharedCloudPtr | Get the interface for sharing user files in the cloud | ||
| IOnlineSharingPtr | Get the interface for accessing online sharing | ||
| IOnlineStatsPtr | Get the interface for accessing online stats | ||
| IOnlineStoreV2Ptr | Get the interface for accessing an online store | ||
| IOnlineTimePtr | Get the interface for accessing the server time from an online service | ||
| IOnlineTitleFilePtr | Get the interface for accessing title file online services | ||
| IOnlineTournamentPtr | Get the interface for managing tournament information | ||
| IOnlineTurnBasedPtr | Get the interface for managing turn based multiplayer games | ||
| IOnlineUserCloudPtr | Get the interface for accessing user files in the cloud | ||
| IOnlineUserPtr | Get the interface for accessing online user information | ||
| IOnlineVoicePtr | Get the interface for accessing voice related data | ||
| bool | Init () |
Initialize the underlying subsystem APIs | |
| bool | IsEnabled () |
||
| bool | IsLocalPlayer
(
const FUniqueNetId& UniqueId |
Is a player local to this machine by unique id | |
| bool | Shutdown () |
Shutdown the underlying subsystem APIs |
Overridden from FTSTickerObjectBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Tick
(
float DeltaTime |
FTSTickerObjectBase. |