✨ File pool policy check
This commit is contained in:
16
DysonNetwork.Shared/Auth/PerkSubscriptionPrivilege.cs
Normal file
16
DysonNetwork.Shared/Auth/PerkSubscriptionPrivilege.cs
Normal 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
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user