Implement Experimental Pogo Bowl Support (and in turn Leaderboard games in general) Remove "StaticFiles" In Favor Of App Base Directory Storage New `logn` Sequence Fixed Incorrect Jackpot Result Response (although it did uncover lost media with spin.rslt=1)
23 lines
812 B
C#
23 lines
812 B
C#
using Microsoft.AspNetCore.Mvc.RazorPages;
|
|
|
|
namespace NotPogo.Model
|
|
{
|
|
public class AppletDefinition
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Code { get; set; } = string.Empty;
|
|
public string Codebase { get; set; } = string.Empty;
|
|
public string Archive { get; set; } = string.Empty;
|
|
public int Width { get; set; }
|
|
public int Height { get; set; }
|
|
public Dictionary<string, string> Parameters { get; set; } = [];
|
|
}
|
|
|
|
public class GamePage : PageModel
|
|
{
|
|
public string GameName { get; set; } = string.Empty;
|
|
public string InternalName { get; set; } = string.Empty;
|
|
public string PatchName { get; set; } = string.Empty;
|
|
public List<AppletDefinition> Applets { get; set; } = [];
|
|
}
|
|
} |