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 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;
- }
- }
|