Class ServerReportsHelper

java.lang.Object
megamek.server.ServerReportsHelper

public class ServerReportsHelper extends Object
  • Method Details

    • getUnitCount

      public static int getUnitCount(Player player, Game game)
    • getUnitDamageCount

      public static int getUnitDamageCount(Player player, int damageLevel, Game game)
    • getUnitDestroyedCount

      public static int getUnitDestroyedCount(Player player, Game game)
    • getUnitCrewEjectedCount

      public static int getUnitCrewEjectedCount(Player player, Game game)
    • getUnitCrewTrappedCount

      public static int getUnitCrewTrappedCount(Player player, Game game)
    • getUnitCrewKilledCount

      public static int getUnitCrewKilledCount(Player player, Game game)
    • getEjectedCrewCount

      public static int getEjectedCrewCount(Player player, Game game)
    • getEjectedCrewPickedUpByTeamCount

      public static int getEjectedCrewPickedUpByTeamCount(Player player, Game game)
    • getEjectedCrewPickedUpByEnemyTeamCount

      public static int getEjectedCrewPickedUpByEnemyTeamCount(Player player, Game game)
    • getEjectedCrewKilledCount

      public static int getEjectedCrewKilledCount(Player player, Game game)
    • getFledBV

      public static int getFledBV(Player player, Game game)
      get the total BV (unmodified by force size mod) for the units of this player that have fled the field
      Returns:
      the BV
    • getFledUnitsCount

      public static int getFledUnitsCount(Player player, Game game)
    • getFledEjectedCrew

      public static int getFledEjectedCrew(Player player, Game game)