mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
PUBG Black Budget support
Valorant mappings endpoint
This commit is contained in:
parent
8b95b403bb
commit
2415c50698
|
|
@ -1 +1 @@
|
|||
Subproject commit d2f6ce6e618576dbbe7f6dd9ed3171f14513182a
|
||||
Subproject commit ab20414ab3661fbfda06afdd00c8b54bc7797c90
|
||||
|
|
@ -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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user