Class LogSplitItemEventCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.AbstractLogItemEventCommand
games.stendhal.server.core.engine.dbcommand.LogSplitItemEventCommand
- All Implemented Interfaces:
DBCommand
logs splitting off items from a stack.
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionLogSplitItemEventCommand(RPEntity player, RPObject item, RPObject newItem)
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
-
LogSplitItemEventCommand
logs merging of item stacks- Parameters:
player
- Player performing the mergeitem
- item to split out fromnewItem
- new item created out of the old stack
-
-
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.
-