Class ReadHallOfFamePointsCommand

java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.ReadHallOfFamePointsCommand
All Implemented Interfaces:
DBCommand

public class ReadHallOfFamePointsCommand extends AbstractDBCommand
Reads the points from the hall of fame.
Author:
hendrik
  • Constructor Details

    • ReadHallOfFamePointsCommand

      public ReadHallOfFamePointsCommand(String playername, String fametype)
      creates a new ReadHallOfFamePointsCommand
      Parameters:
      playername - name of player
      fametype - type of fame
  • Method Details

    • execute

      public void execute(DBTransaction transaction) throws SQLException
      Description copied from class: AbstractDBCommand
      processes the database request.
      Specified by:
      execute in interface DBCommand
      Specified by:
      execute in class AbstractDBCommand
      Parameters:
      transaction - DBTransaction
      Throws:
      SQLException - in case of an database error
    • getPoints

      public int getPoints()
      gets the number of points.
      Returns:
      points
    • toString

      public String toString()
      returns a string suitable for debug output of this DBCommand.
      Overrides:
      toString in class Object
      Returns:
      debug string