-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor activities and add lobby joining support
- Loading branch information
Showing
25 changed files
with
426 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
namespace fluXis.Game.Integration; | ||
|
||
public class DiscordRichPresence | ||
{ | ||
public string State { get; set; } = ""; | ||
public string Details { get; set; } = ""; | ||
|
||
public string LargeImage { get; set; } = ""; | ||
public string LargeImageText { get; set; } = ""; | ||
|
||
public string SmallImage { get; set; } = ""; | ||
public string SmallImageText { get; set; } = ""; | ||
|
||
public long PartyID { get; set; } | ||
public string PartySecret { get; set; } | ||
public int PartySize { get; set; } | ||
public int PartyMax { get; set; } | ||
|
||
public ulong StartTime { get; set; } | ||
public ulong EndTime { get; set; } | ||
|
||
public Button[] Buttons { get; set; } | ||
|
||
public class Button | ||
{ | ||
public string Label { get; } | ||
public string Url { get; } | ||
|
||
public Button(string label, string url) | ||
{ | ||
Label = label; | ||
Url = url; | ||
} | ||
} | ||
} |
Oops, something went wrong.