Class LogKillEventCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.LogKillEventCommand
- All Implemented Interfaces:
DBCommand
logs kill events
- Author:
- hendrik
-
Constructor Summary
ConstructorsConstructorDescriptionLogKillEventCommand(Entity killed, Killer killer) creates a new LogKillEventCommand -
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
-
LogKillEventCommand
creates a new LogKillEventCommand- Parameters:
killed- killed entitykiller- killer entity
-
-
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.
-