private void OnBattleError(BattleErrorEvent e) { if (BattleError != null) BattleError(e); }
// Called when the game sends out an error message during the battle private static void BattleError(BattleErrorEvent e) { Console.WriteLine("Err> " + e.Error); }