This commit is contained in:
zznty
2023-11-20 19:36:35 +07:00
parent 3e09ef63fb
commit e1ca099dd9
14 changed files with 45 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
using net.luckperms.api.query;
using net.luckperms.api.util;
using Torch.API;
namespace LuckPerms.Torch.Api;
public interface ILpPlayerModel : IPlayer
{
Tristate HasPermission(string permission);
Tristate HasPermission(string permission, QueryOptions queryOptions);
string? GetOption(string key);
string? GetOption(string key, QueryOptions queryOptions);
}

View File

@@ -0,0 +1,8 @@
using Torch.API.Managers;
namespace LuckPerms.Torch.Api.Managers;
public interface ILuckPermsPlatformManager : IManager
{
net.luckperms.api.LuckPerms Api { get; }
}