Add entities for online matching
This commit is contained in:
parent
fe6ff27ffa
commit
728415902b
8
Domain/Entities/OnlineMatch.cs
Normal file
8
Domain/Entities/OnlineMatch.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
namespace Domain.Entities;
|
||||||
|
|
||||||
|
public class OnlineMatch
|
||||||
|
{
|
||||||
|
public long MatchId { get; set; }
|
||||||
|
|
||||||
|
public List<OnlineMatchEntry> Entries { get; set; } = new();
|
||||||
|
}
|
45
Domain/Entities/OnlineMatchEntry.cs
Normal file
45
Domain/Entities/OnlineMatchEntry.cs
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
namespace Domain.Entities;
|
||||||
|
|
||||||
|
public partial class OnlineMatchEntry
|
||||||
|
{
|
||||||
|
public long MatchId { get; set; }
|
||||||
|
|
||||||
|
public long EntryId { get; set; }
|
||||||
|
|
||||||
|
public long MachineId { get; set; }
|
||||||
|
|
||||||
|
public long EventId { get; set; }
|
||||||
|
|
||||||
|
public DateTime StartTime { get; set; }
|
||||||
|
|
||||||
|
public long Status { get; set; }
|
||||||
|
|
||||||
|
public long CardId { get; set; }
|
||||||
|
|
||||||
|
public string PlayerName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public long AvatarId { get; set; }
|
||||||
|
|
||||||
|
public long TitleId { get; set; }
|
||||||
|
|
||||||
|
public long ClassId { get; set; }
|
||||||
|
|
||||||
|
public long GroupId { get; set; }
|
||||||
|
|
||||||
|
public long TenpoId { get; set; } = 1337;
|
||||||
|
|
||||||
|
public string TenpoName { get; set; } = "GCLocalServer";
|
||||||
|
|
||||||
|
public long PrefId { get; set; }
|
||||||
|
|
||||||
|
public string Pref { get; set; } = "nesys";
|
||||||
|
|
||||||
|
public long MessageId { get; set; }
|
||||||
|
|
||||||
|
public long MatchTimeout { get; set; } = 99;
|
||||||
|
|
||||||
|
public long MatchWaitTime { get; set; } = 10;
|
||||||
|
|
||||||
|
public long MatchRemainingTime { get; set; } = 89;
|
||||||
|
|
||||||
|
}
|
@ -2,15 +2,16 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>11</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BinarySerializer" Version="8.6.3-alpha" />
|
<PackageReference Include="BinarySerializer" Version="8.6.3.2" />
|
||||||
<PackageReference Include="NetCoreServer" Version="6.6.0" />
|
<PackageReference Include="NetCoreServer" Version="7.0.0" />
|
||||||
<PackageReference Include="Swan.Logging" Version="6.0.2-beta.69" />
|
<PackageReference Include="Swan.Logging" Version="6.0.2-beta.96" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
Reference in New Issue
Block a user