您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- 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;
- }
- }
- }
|