private void OnTellHealth_Global(PlayerLife life)
        {
            var player = GetUnturnedPlayer(life.player) !;
            var @event = new UnturnedPlayerHealthUpdatedEvent(player, life.health);

            Emit(@event);
        }
Exemplo n.º 2
0
        private void Events_OnHealthUpdated(Player nativePlayer, byte health)
        {
            var player = GetUnturnedPlayer(nativePlayer) !;
            var @event = new UnturnedPlayerHealthUpdatedEvent(player, health);

            Emit(@event);
        }