21 lines
407 B
C#
21 lines
407 B
C#
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace Luski.net.Structures.Public;
|
||
|
|
||
|
public class RoleOveride
|
||
|
{
|
||
|
public long ID { get; init; }
|
||
|
public long ParentRoleID { get; init; }
|
||
|
internal string[] RawOverides { get; init; }
|
||
|
private Role? Parent = null;
|
||
|
|
||
|
public Task<Role> GetRole()
|
||
|
{
|
||
|
if (Parent is null)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
return Task.FromResult(Parent)!;
|
||
|
}
|
||
|
}
|