FSteamSharedModule::ObtainSteamServerInstanceHandle

Initializes Steam Server API and provides a handler that will keep the API valid for the lifetime of the the object.

Windows
MacOS
Linux

References

Module

SteamShared

Header

/Engine/Plugins/Runtime/Steam/SteamShared/Source/SteamShared/Public/SteamSharedModule.h

Include

#include "SteamSharedModule.h"

Source

/Engine/Plugins/Runtime/Steam/SteamShared/Source/SteamShared/Private/SteamSharedModule.cpp

Syntax

TSharedPtr< class FSteamServerInstanceHandler > ObtainSteamServerInstanceHandle()

Remarks

Initializes Steam Server API and provides a handler that will keep the API valid for the lifetime of the the object. Several Handlers can be active at once.

Returns

A handler to the Steam Server API, use IsValid to check if the handle is initialized.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss