Update SteamServer.cs

Added the possibility to login using token. Fixes #633 #620
This commit is contained in:
Sven Mawby 2023-02-04 01:52:50 +01:00 committed by GitHub
parent 4e7e0ef8c4
commit 72f3f31b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,6 +290,15 @@ public static void LogOnAnonymous()
ForceHeartbeat();
}
/// <summary>
/// Log onto Steam using a token.
/// </summary>
public static void LogOn(string token)
{
Internal.LogOn(token);
ForceHeartbeat();
}
/// <summary>
/// Log off of Steam.
/// </summary>