Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
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;
}