Beispiel #1
0
        /// <inheritdoc />
        public override async Task HandleAsync()
        {
            await PlayerRegistry.SetPlayerDefeated(GameEvent.PlayerName);

            await Chat.AddMessageAsync($"Player '{GameEvent.DefeatingPlayerName}' has defeated player '{GameEvent.PlayerName}'.");

            Logger.LogInformation("Player {playerName} has been set as defeated.", GameEvent.PlayerName);
        }