Skip to content

Commit 1003d59

Browse files
committed
Prevent precision issues with application ID
1 parent 9a32846 commit 1003d59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ProjectLighthouse.Servers.API/Responses/RpcResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace LBPUnion.ProjectLighthouse.Servers.API.Responses;
66

77
public class RpcResponse
88
{
9-
public long ApplicationId { get; set; }
9+
public string ApplicationId { get; set; }
1010
public string PartyIdPrefix { get; set; }
1111
public UsernameType UsernameType { get; set; }
1212
public RpcAssets Assets { get; set; }

ProjectLighthouse/Configuration/ConfigurationCategories/RichPresenceConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace LBPUnion.ProjectLighthouse.Configuration.ConfigurationCategories;
77
[Serializable]
88
public class RichPresenceConfiguration
99
{
10-
public long ApplicationId { get; set; } = 1060973475151495288;
10+
public string ApplicationId { get; set; } = "1060973475151495288";
1111
public string PartyIdPrefix { get; set; } = "project-lighthouse";
1212
public UsernameType UsernameType { get; set; } = UsernameType.Integer;
1313
public RpcAssets Assets { get; set; } = new();

0 commit comments

Comments
 (0)