Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 lines
340 B
C#
17 lines
340 B
C#
void GetSelectedBadges(InterceptArgs e)
|
|
{
|
|
try
|
|
{
|
|
int userId = e.Packet.ReadInt();
|
|
var userEntity = Users.FirstOrDefault(u => u.Id == userId);
|
|
if (userEntity != null)
|
|
{
|
|
Log(userEntity.Index);
|
|
}
|
|
}
|
|
catch {}
|
|
}
|
|
|
|
OnIntercept(Out["GetSelectedBadges"], GetSelectedBadges);
|
|
|
|
Wait(); |