breakpoint

This commit is contained in:
CortexCore
2023-06-17 16:30:53 +08:00
parent cd02761be7
commit 877ba6e548
88 changed files with 8715 additions and 988 deletions

View File

@@ -0,0 +1,16 @@
{
"name": "BITFALL.Player.Core",
"rootNamespace": "",
"references": [
"GUID:14fe60d984bf9f84eac55c6ea033a8f4"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": true
}

View File

@@ -0,0 +1,29 @@
using System;
using System.IO;
using BITKit;
namespace BITFALL.Services
{
[Serializable]
public record PlayerModel
{
public int Id;
public string Name = "anonymous";
public ulong SteamId;
}
public interface IPlayerService
{
event Action<PlayerModel> OnVerifyPlayer;
event Action<PlayerModel> OnPlayerVerified;
}
[Serializable]
public record VerifyPlayerCommand
{
public PlayerModel PlayerModel;
}
[Serializable]
public record PlayerVerifiedCommand
{
public PlayerModel PlayerModel;
}
}