Class RichPresenceHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public static class RichPresenceHandler
- Inheritance
-
RichPresenceHandler
- Inherited Members
-
Fields
_currentDay
public static int _currentDay
Field Value
- int
_currentGroup
public static string _currentGroup
Field Value
- string
_currentMaxPlayersInGroup
public static int _currentMaxPlayersInGroup
Field Value
- int
_currentPlayersInGroup
public static int _currentPlayersInGroup
Field Value
- int
_currentQuota
public static string _currentQuota
Field Value
- string
_currentState
public static RichPresenceState _currentState
Field Value
- RichPresenceState
_currentViews
public static string _currentViews
Field Value
- string
_discord
public static Discord _discord
Field Value
- Discord
m_isDiscordDirty
public static bool m_isDiscordDirty
Field Value
- bool
Methods
Clear()
public static void Clear()
Deinitialize()
public static void Deinitialize()
DirtyDiscord()
public static void DirtyDiscord()
GetDetailsString()
public static string GetDetailsString()
Returns
- string
GetStateString()
public static string GetStateString()
Returns
- string
Initialize()
public static void Initialize()
SetGroup(string)
public static void SetGroup(string group)
Parameters
group
string
SetGroupSize(int, int)
public static void SetGroupSize(int playersInServer, int maxSize)
Parameters
playersInServer
int
maxSize
int
SetPresenceState(RichPresenceState)
public static void SetPresenceState(RichPresenceState state)
Parameters
state
RichPresenceState
SetRoomsStats(string, string, int)
public static void SetRoomsStats(string views, string quota, int currentDay)
Parameters
views
string
quota
string
currentDay
int
Update()
public static void Update()
UpdateDiscord()
public static void UpdateDiscord()