mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-07-04 16:29:37 +03:00
Update SteamServer.cs
Added the possibility to login using token. Fixes #633 #620
This commit is contained in:
parent
4e7e0ef8c4
commit
72f3f31b16
@ -289,6 +289,15 @@ namespace Steamworks
|
|||||||
Internal.LogOnAnonymous();
|
Internal.LogOnAnonymous();
|
||||||
ForceHeartbeat();
|
ForceHeartbeat();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Log onto Steam using a token.
|
||||||
|
/// </summary>
|
||||||
|
public static void LogOn(string token)
|
||||||
|
{
|
||||||
|
Internal.LogOn(token);
|
||||||
|
ForceHeartbeat();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Log off of Steam.
|
/// Log off of Steam.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user