GameSDKcraft/GamecraftRPC/PresenceUtility.cs

33 lines
658 B
C#
Raw Normal View History

2020-04-06 17:36:07 -04:00
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;
2020-04-06 17:36:07 -04:00
public static uint PlayerCount = 1;
2020-04-06 17:36:07 -04:00
public static Activity Activity;
2020-04-06 17:36:07 -04:00
public static ulong SteamId { get => Steamworks.SteamClient.SteamId.Value; }
2020-04-06 17:36:07 -04:00
public static Lobby? Lobby;
public static bool IsActivityHost = false;
2020-04-06 17:36:07 -04:00
public static bool IsServerActive = false;
2020-04-06 17:36:07 -04:00
public static bool IsConnecting = false;
2020-04-06 17:36:07 -04:00
}
}