mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-29 03:33:47 +02:00
Add Discord RPC options
This commit is contained in:
@@ -18,11 +18,31 @@ class ActivityType {
|
||||
}
|
||||
}
|
||||
|
||||
class StatusDisplayType {
|
||||
static _Name = 0;
|
||||
static _State = 1;
|
||||
static _Details = 2;
|
||||
|
||||
static get Name() {
|
||||
return this._Name;
|
||||
}
|
||||
static get State() {
|
||||
return this._State;
|
||||
}
|
||||
static get Details() {
|
||||
return this._Details;
|
||||
}
|
||||
}
|
||||
|
||||
Object.freeze(ActivityType);
|
||||
Object.freeze(StatusDisplayType);
|
||||
|
||||
Object.defineProperty(ActivityType, '_Playing', { writable: false });
|
||||
Object.defineProperty(ActivityType, '_Listening', { writable: false });
|
||||
Object.defineProperty(ActivityType, '_Watching', { writable: false });
|
||||
Object.defineProperty(ActivityType, '_Competing', { writable: false });
|
||||
Object.defineProperty(StatusDisplayType, '_Name', { writable: false });
|
||||
Object.defineProperty(StatusDisplayType, '_State', { writable: false });
|
||||
Object.defineProperty(StatusDisplayType, '_Details', { writable: false });
|
||||
|
||||
export { ActivityType };
|
||||
export { ActivityType, StatusDisplayType };
|
||||
|
||||
Reference in New Issue
Block a user