private void OnPlayerHasBeenUpdated() { PlayerEventArgs playerEventArgs = new PlayerEventArgs(); playerEventArgs.Name = this.ProfileInfo.Name; PlayerHasBeenUpdated?.Invoke(this, playerEventArgs); }
private void OnPlayerHasBeenUpdated(BigNumber scoreToAdd) { PlayerEventArgs playerEventArgs = new PlayerEventArgs(); playerEventArgs.Name = this.ProfileInfo.Name; playerEventArgs.MoneyToAdd = scoreToAdd; PlayerHasBeenUpdated?.Invoke(this, playerEventArgs); }