mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 15:39:01 -07:00
11 lines
324 B
C#
11 lines
324 B
C#
using RadicadeServer.DB;
|
|
|
|
namespace RadicadeServer.RecNet.Avatar;
|
|
|
|
public static class LockerAccess
|
|
{
|
|
public static bool HasFullInventory(RecDBContext db, long? accountId) =>
|
|
accountId.HasValue && db.Profiles.FirstOrDefault(p => p.accountId == accountId.Value)
|
|
?.HasRole("unlockedlocker") == true;
|
|
}
|