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
ConstructorsConstructorDescriptionReadHallOfFamePointsCommand(String playername, String fametype) creates a new ReadHallOfFamePointsCommand -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DBTransaction transaction) processes the database request.intgets 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:AbstractDBCommandprocesses the database request.- Specified by:
executein interfaceDBCommand- Specified by:
executein 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.
-