Change project using mud template, add test user pages
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>SharedProject</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace SharedProject.enums;
|
||||
|
||||
public static class PlayOptions
|
||||
{
|
||||
public enum FastSlowIndicator
|
||||
{
|
||||
NotUsed = 3,
|
||||
NearAvatar = 1,
|
||||
NearJudgement = 2
|
||||
}
|
||||
|
||||
public enum FeverTranceShow
|
||||
{
|
||||
NotUsed = 2,
|
||||
Show = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using SharedProject.enums;
|
||||
|
||||
namespace SharedProject.models;
|
||||
|
||||
public class PlayOption
|
||||
{
|
||||
public long CardId { get; set; }
|
||||
|
||||
public PlayOptions.FastSlowIndicator FastSlowIndicator { get; set; }
|
||||
|
||||
public PlayOptions.FeverTranceShow FeverTrance { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace SharedProject.models;
|
||||
|
||||
public record User(long CardId, string PlayerName);
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace SharedProject.models;
|
||||
|
||||
public record UserDetail(long CardId, string PlayerName, PlayOption PlayOption);
|
||||
Reference in New Issue
Block a user