23 lines
820 B
C#
23 lines
820 B
C#
using Microsoft.AspNetCore.Mvc.RazorPages;
|
|
|
|
namespace ReboundEmulator.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; } = [];
|
|
}
|
|
} |