Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- using System;
- using Steamworks;
- using RobocraftX.Common;
- namespace Leadercraft.Server
- {
- public static class Tools
- {
- public static bool IsSteamAvailable
- {
- get => SteamClient.IsValid;
- }
-
- public static ulong UserId
- {
- get => SteamClient.SteamId.Value;
- }
-
- public static string UserName
- {
- get => SteamClient.Name;
- }
-
- public static ulong GameId
- {
- get => GameMode.SaveGameDetails.WorkshopId;
- }
- }
- }
|