private void OnTellBleeding_Global(PlayerLife life) { var player = GetUnturnedPlayer(life.player) !; var @event = new UnturnedPlayerBleedingUpdatedEvent(player, life.isBleeding); Emit(@event); }
private void Events_OnBleedingUpdated(Player nativePlayer, bool isBleeding) { var player = GetUnturnedPlayer(nativePlayer) !; var @event = new UnturnedPlayerBleedingUpdatedEvent(player, isBleeding); Emit(@event); }