From 72f3f31b1624cb3a8f6305e50c898b463ccb2803 Mon Sep 17 00:00:00 2001 From: Sven Mawby Date: Sat, 4 Feb 2023 01:52:50 +0100 Subject: [PATCH] Update SteamServer.cs Added the possibility to login using token. Fixes #633 #620 --- Facepunch.Steamworks/SteamServer.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Facepunch.Steamworks/SteamServer.cs b/Facepunch.Steamworks/SteamServer.cs index 68431bb..df8d82d 100644 --- a/Facepunch.Steamworks/SteamServer.cs +++ b/Facepunch.Steamworks/SteamServer.cs @@ -289,6 +289,15 @@ namespace Steamworks Internal.LogOnAnonymous(); ForceHeartbeat(); } + + /// + /// Log onto Steam using a token. + /// + public static void LogOn(string token) + { + Internal.LogOn(token); + ForceHeartbeat(); + } /// /// Log off of Steam.