mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
Add UseApplicationAssets option to RPC API and configuration (#879)
This commit is contained in:
parent
70a66e6034
commit
9cb9fb62e4
3 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,7 @@ public class RpcResponse
|
|||
UsernameType = configuration.UsernameType,
|
||||
Assets = new RpcAssets
|
||||
{
|
||||
UseApplicationAssets = configuration.Assets.UseApplicationAssets,
|
||||
PodAsset = AssetConvertNull(configuration.Assets.PodAsset),
|
||||
MoonAsset = AssetConvertNull(configuration.Assets.MoonAsset),
|
||||
RemoteMoonAsset = AssetConvertNull(configuration.Assets.RemoteMoonAsset),
|
||||
|
|
|
@ -15,6 +15,7 @@ public class RichPresenceConfiguration
|
|||
|
||||
public class RpcAssets
|
||||
{
|
||||
public bool UseApplicationAssets { get; init; }
|
||||
public string PodAsset { get; init; }
|
||||
public string MoonAsset { get; init; }
|
||||
public string RemoteMoonAsset { get; init; }
|
||||
|
|
|
@ -11,7 +11,7 @@ public class ServerConfiguration : ConfigurationBase<ServerConfiguration>
|
|||
// This is so Lighthouse can properly identify outdated configurations and update them with newer settings accordingly.
|
||||
// If you are modifying anything here, this value MUST be incremented.
|
||||
// Thanks for listening~
|
||||
public override int ConfigVersion { get; set; } = 22;
|
||||
public override int ConfigVersion { get; set; } = 23;
|
||||
|
||||
public override string ConfigName { get; set; } = "lighthouse.yml";
|
||||
public string WebsiteListenUrl { get; set; } = "http://localhost:10060";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue