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
+35
View File
@@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace RadicadeServer.RecNet.Leaderboards
{
[Index(nameof(RoomId), nameof(StatChannel), nameof(PlayerId))]
public class LeaderboardScore
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
public long RoomId { get; set; }
public long SubRoomId { get; set; } = 0;
public long PlayerId { get; set; }
public int StatChannel { get; set; }
public double Score { get; set; }
public long Time { get; set; }
public DateTime SubmittedAt { get; set; } = DateTime.UtcNow;
}
}