Class LogMergeItemEventCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.AbstractLogItemEventCommand
games.stendhal.server.core.engine.dbcommand.LogMergeItemEventCommand
- All Implemented Interfaces:
DBCommand
logs merging of items into a stack
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionLogMergeItemEventCommand(RPEntity player, RPObject oldItem, RPObject outlivingItem)
logs merging of item stacks -
Method Summary
Modifier and TypeMethodDescriptionprotected void
log(DBTransaction transaction)
logs the event to the database.toString()
returns a string suitable for debug output of this DBCommand.Methods inherited from class games.stendhal.server.core.engine.dbcommand.AbstractLogItemEventCommand
execute, getQuantity
Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
LogMergeItemEventCommand
logs merging of item stacks- Parameters:
player
- Player performing the mergeoldItem
- old item being destroyed during the mergeoutlivingItem
- item which survives the merge
-
-
Method Details
-
log
Description copied from class:AbstractLogItemEventCommand
logs the event to the database.- Specified by:
log
in classAbstractLogItemEventCommand
- Parameters:
transaction
- DBTransaction- Throws:
SQLException
- in case of an database error
-
toString
returns a string suitable for debug output of this DBCommand.
-