This repository has moved! Please check out the latest version at the new location https://git.exmods.org/NGnius/GameSDKcraft
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

33 lines
658B

  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. }
  22. }