Class ReadHallOfFamePointsCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.ReadHallOfFamePointsCommand
- All Implemented Interfaces:
DBCommand
Reads the points from the hall of fame.
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionReadHallOfFamePointsCommand(String playername, String fametype)
creates a new ReadHallOfFamePointsCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.int
gets the number of points.toString()
returns a string suitable for debug output of this DBCommand.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
ReadHallOfFamePointsCommand
creates a new ReadHallOfFamePointsCommand- Parameters:
playername
- name of playerfametype
- type of fame
-
-
Method Details
-
execute
Description copied from class:AbstractDBCommand
processes the database request.- Specified by:
execute
in interfaceDBCommand
- Specified by:
execute
in classAbstractDBCommand
- Parameters:
transaction
- DBTransaction- Throws:
SQLException
- in case of an database error
-
getPoints
public int getPoints()gets the number of points.- Returns:
- points
-
toString
returns a string suitable for debug output of this DBCommand.
-