From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../src/Impostor.Server/Events/Game/GameEndedEvent.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Impostor-dev/src/Impostor.Server/Events/Game/GameEndedEvent.cs (limited to 'Impostor-dev/src/Impostor.Server/Events/Game/GameEndedEvent.cs') diff --git a/Impostor-dev/src/Impostor.Server/Events/Game/GameEndedEvent.cs b/Impostor-dev/src/Impostor.Server/Events/Game/GameEndedEvent.cs new file mode 100644 index 0000000..4ec4dcf --- /dev/null +++ b/Impostor-dev/src/Impostor.Server/Events/Game/GameEndedEvent.cs @@ -0,0 +1,19 @@ +using Impostor.Api.Events; +using Impostor.Api.Games; +using Impostor.Api.Innersloth; + +namespace Impostor.Server.Events +{ + public class GameEndedEvent : IGameEndedEvent + { + public GameEndedEvent(IGame game, GameOverReason gameOverReason) + { + Game = game; + GameOverReason = gameOverReason; + } + + public IGame Game { get; } + + public GameOverReason GameOverReason { get; } + } +} -- cgit v1.1-26-g67d0