1
0
mirror of synced 2024-11-23 22:10:59 +01:00

Add entities for online matching

This commit is contained in:
asesidaa 2023-02-26 00:57:03 +08:00
parent fe6ff27ffa
commit 728415902b
3 changed files with 58 additions and 4 deletions

View File

@ -0,0 +1,8 @@
namespace Domain.Entities;
public class OnlineMatch
{
public long MatchId { get; set; }
public List<OnlineMatchEntry> Entries { get; set; } = new();
}

View 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;
}

View File

@ -2,15 +2,16 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>11</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BinarySerializer" Version="8.6.3-alpha" />
<PackageReference Include="NetCoreServer" Version="6.6.0" />
<PackageReference Include="Swan.Logging" Version="6.0.2-beta.69" />
<PackageReference Include="BinarySerializer" Version="8.6.3.2" />
<PackageReference Include="NetCoreServer" Version="7.0.0" />
<PackageReference Include="Swan.Logging" Version="6.0.2-beta.96" />
</ItemGroup>
</Project>