コード例 #1
0
 private void OnFlavourText(object sender, FlavourTextEventArgs e)
 {
     FlavourTextEventHandler?.Invoke(sender, e);
 }
コード例 #2
0
 protected void OnFlavourText(string name, string message, int level = FlavourTextEventArgs.LEVEL_INTERNAL)
 {
     FlavourTextEventHandler?.Invoke(this, new FlavourTextEventArgs {
         name = name, message = message, level = level
     });
 }
コード例 #3
0
ファイル: Ship.cs プロジェクト: wulfderay/SpaceBattle
 private void OnFlavourText(object sender, FlavourTextEventArgs e)
 {
     FlavourTextEventHandler?.Invoke(sender, new FlavourTextEventArgs {
         name = Name + "." + e.name, message = e.message, level = e.level, team = Team
     });
 }