Added admin commands for everything but abandon and close. Changed selection time weighted payout to a property instead of having different types

This commit is contained in:
barelyprofessional
2025-11-25 00:54:11 -06:00
parent 24db30b789
commit 3c70fea2ba
4 changed files with 392 additions and 4 deletions

View File

@@ -85,6 +85,10 @@ public class KasinoEventModel
/// State of the kasino event
/// </summary>
public required KasinoEventState EventState { get; set; } = KasinoEventState.Incomplete;
/// <summary>
/// Whether the payout is weighted based on the selection delay
/// </summary>
public required bool SelectionTimeWeightedPayout { get; set; } = false;
}
public class KasinoEventOptionModel
@@ -109,10 +113,6 @@ public enum KasinoEventType
WinLose,
[Description("Closest to prediction")]
Prediction,
[Description("Closest to prediction (payout weighted to favor early bets)")]
PredictionSelectionTimeWeighted,
[Description("Win/Lose (payout weighted to favor early bets)")]
WinLoseSelectionTimeWeighted
}
public enum KasinoEventState