Adds basic lucker stats component holding score, removes unused client input fixes up lucker entity setting to properly set owner on the target entity

This commit is contained in:
gamer147
2023-08-03 21:31:47 -04:00
parent 8650c75f2b
commit 5f804f5c24
4 changed files with 78 additions and 17 deletions

View File

@@ -12,8 +12,19 @@ namespace LuckerGame.Entities;
/// </summary>
public partial class MinigameManager : Entity
{
/// <summary>
/// The currently loaded minigame
/// </summary>
[Net] public Minigame LoadedMinigame { get; private set; }
/// <summary>
/// A cached list of available minigames. Gets reloaded on a hotreload
/// </summary>
private List<TypeDescription> AvailableMinigames { get; set; }
/// <summary>
/// The players involved in the current minigame
/// </summary>
private List<Lucker> InvolvedPlayers { get; set; }
public override void Spawn()