File pool policy check

This commit is contained in:
2025-07-26 19:46:38 +08:00
parent eaf0b366d3
commit b0683576b9
23 changed files with 255 additions and 1575 deletions

View File

@@ -0,0 +1,16 @@
namespace DysonNetwork.Shared.Auth;
public static class PerkSubscriptionPrivilege
{
public static int GetPrivilegeFromIdentifier(string identifier)
{
// Reference from the DysonNetwork.Pass
return identifier switch
{
"solian.stellar.primary" => 1,
"solian.stellar.nova" => 2,
"solian.stellar.supernova" => 3,
_ => 0
};
}
}