Class WriteHallOfFamePointsCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.WriteHallOfFamePointsCommand
- All Implemented Interfaces:
DBCommand
Writes the points to the hall of fame.
- Author:
- hendrik
-
Constructor Summary
ConstructorsConstructorDescriptionWriteHallOfFamePointsCommand(String playername, String fametype, int points, boolean add) creates a new WriteHallOfFamePointsCommand -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DBTransaction transaction) processes the database request.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
-
WriteHallOfFamePointsCommand
creates a new WriteHallOfFamePointsCommand- Parameters:
playername- name of playerfametype- type of famepoints- number of pointsadd-trueto add points to the existing ones,falseto set the specified number of points.
-
-
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
-
toString
returns a string suitable for debug output of this DBCommand.
-