App.Server
Like what your seeing?
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Introduction
Provides for initialization and registration of a Steam Game Server configuraiton.
Fields and Attributes
ID
Returns the ID issued to the Steam Game Server on initalization.
LoggedOn
Indicates rather or not the server is logged on
Configuration
Defines the configuration of the server, this will be set by the Initialize method
Initialized
This is a global field located on API.App.Initialized and indicates rather or not the system is initialized.
This is *Not* located in the API.App.Server class rather its in the parent API.App class so to access it
Methods
Initialize
Initializes the Steam API for client processing. If your using SteamSettings or SteamworksBehaviour this is done for you. You should only call this if you are not using SteamSettings.Initialize or the SteamworksBehaviour.
If used you will need to provide a Steam Game Server Configuration, this can be write and read from a JSON formatted file or set up as a structure and passed in.
LogOn
Logs the initialized server API on to the steam backend. If your Steam Game Server Settings is configured for auto logon this will be called for you once the API is initialized.
Send Updated Server Details To Steam
Updates the server details based on the active configuration. This is called for you when the server first connects.
Last updated