PUBG Black Budget support

Valorant mappings endpoint
This commit is contained in:
LongerWarrior 2025-12-22 01:00:24 +02:00
parent 8b95b403bb
commit 2415c50698
2 changed files with 13 additions and 13 deletions

@ -1 +1 @@
Subproject commit d2f6ce6e618576dbbe7f6dd9ed3171f14513182a
Subproject commit ab20414ab3661fbfda06afdd00c8b54bc7797c90

View File

@ -10,18 +10,18 @@ public class EndpointSettings : ViewModel
{
public static EndpointSettings[] Default(string gameName)
{
switch (gameName)
return gameName switch
{
case "Fortnite":
case "Fortnite [LIVE]":
return new EndpointSettings[]
{
new("https://uedb.dev/svc/api/v1/fortnite/aes", "$.['mainKey','dynamicKeys']"),
new("https://uedb.dev/svc/api/v1/fortnite/mappings", "$.mappings.ZStandard")
};
default:
return new EndpointSettings[] { new(), new() };
}
"Fortnite" or "Fortnite [LIVE]" => [
new("https://uedb.dev/svc/api/v1/fortnite/aes", "$.['mainKey','dynamicKeys']"),
new("https://uedb.dev/svc/api/v1/fortnite/mappings", "$.mappings.ZStandard")
],
"VALORANT" or "VALORANT [LIVE]" => [
new("https://uedb.dev/svc/api/v1/valorant/aes", "$.['mainKey','dynamicKeys']"),
new("https://uedb.dev/svc/api/v1/valorant/mappings", "$.mappings.ZStandard")
],
_ => [new(), new()],
};
}
private string _url;
@ -106,4 +106,4 @@ public class EndpointSettings : ViewModel
}
}
}
}
}