This repository has moved! Please check out the latest version at the new location https://git.exmods.org/NGnius/GameSDKcraft
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

35 行
706B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Security.Cryptography;
  7. using RobocraftX.Common;
  8. using Discord;
  9. namespace GamecraftRPC
  10. {
  11. public static class PresenceUtility
  12. {
  13. public static ulong LastGameStart = 0;
  14. public static uint PlayerCount = 1;
  15. public static Activity Activity;
  16. public static ulong SteamId { get => Steamworks.SteamClient.SteamId.Value; }
  17. public static Lobby? Lobby;
  18. public static bool IsActivityHost = false;
  19. public static bool IsServerActive = false;
  20. public static bool IsConnecting = false;
  21. public static bool IsVoiceConnected = false;
  22. }
  23. }