Discord integration for Gamecraft
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.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Security.Cryptography;
-
- using RobocraftX.Common;
-
- using Discord;
-
- namespace GamecraftRPC
- {
- public static class PresenceUtility
- {
- public static ulong LastGameStart = 0;
-
- public static uint PlayerCount = 1;
-
- public static Activity Activity;
-
- public static ulong SteamId { get => Steamworks.SteamClient.SteamId.Value; }
-
- public static Lobby? Lobby;
-
- public static bool IsActivityHost = false;
-
- public static bool IsServerActive = false;
-
- public static bool IsConnecting = false;
-
- public static bool IsVoiceConnected = false;
- }
- }
|