HolyLib Wiki

steamworks

steamworks

This library adds a few functions related to steam.
Supports: Linux32 | Linux64

Methods

steamworks.Activate()
Starts/Activates the Steam Server.
steamworks.ForceActivate()
Calls the SV_InitGameServerSteam function to activate the steam server exactly like the engine does it.
boolean steamworks.ForceAuthenticate( number userID )
Marks the given client as Authenticated even if they aren't.
Returns the SteamID64 of the Game Server. Throws a lua error if the Steam Server hasn't been created yet.
boolean steamworks.IsConnected( )
Returns true if the Steam Server is connected.
boolean steamworks.IsSecure( )
Returns true if the Steam Server is VAC secure.
steamworks.Shutdown()
Shutdowns the Steam Server.