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
ConstructorsConstructorDescriptionLogMergeItemEventCommand(RPEntity player, RPObject oldItem, RPObject outlivingItem) logs merging of item stacks -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlog(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, getQuantityMethods 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:AbstractLogItemEventCommandlogs the event to the database.- Specified by:
login classAbstractLogItemEventCommand- Parameters:
transaction- DBTransaction- Throws:
SQLException- in case of an database error
-
toString
returns a string suitable for debug output of this DBCommand.
-