43 lines
963 B
C#
43 lines
963 B
C#
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 int LastGameStart = 0;
|
|
|
|
public static string GameSecret {
|
|
get
|
|
{
|
|
return _gameSecret == null? Steamworks.SteamClient.SteamId.AccountId.ToString() : _gameSecret;
|
|
}
|
|
set
|
|
{
|
|
_gameSecret = value;
|
|
}
|
|
}
|
|
|
|
private static string _gameSecret = null;
|
|
|
|
public static int PlayerCount = 1;
|
|
|
|
public static Activity Activity;
|
|
|
|
public static uint PartyId { get => Steamworks.SteamClient.SteamId.AccountId; }
|
|
|
|
public static long LobbyId;
|
|
|
|
public static int LobbySize = 10;
|
|
|
|
public static Relationship[] Users;
|
|
}
|
|
}
|