breakpoint
This commit is contained in:
16
Assets/BITFALL/Player/BITFALL.Player.Core.asmdef
Normal file
16
Assets/BITFALL/Player/BITFALL.Player.Core.asmdef
Normal 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
|
||||
}
|
29
Assets/BITFALL/Player/IPlayerService.cs
Normal file
29
Assets/BITFALL/Player/IPlayerService.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user