private void OnFlavourText(object sender, FlavourTextEventArgs e) { FlavourTextEventHandler?.Invoke(sender, e); }
protected void OnFlavourText(string name, string message, int level = FlavourTextEventArgs.LEVEL_INTERNAL) { FlavourTextEventHandler?.Invoke(this, new FlavourTextEventArgs { name = name, message = message, level = level }); }
private void OnFlavourText(object sender, FlavourTextEventArgs e) { FlavourTextEventHandler?.Invoke(sender, new FlavourTextEventArgs { name = Name + "." + e.name, message = e.message, level = e.level, team = Team }); }