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
ConstructorDescriptionWriteHallOfFamePointsCommand(String playername, String fametype, int points, boolean add)
creates a new WriteHallOfFamePointsCommand -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(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
-true
to add points to the existing ones,false
to set the specified number of points.
-
-
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
-
toString
returns a string suitable for debug output of this DBCommand.
-