Class LogTradeEventCommand
java.lang.Object
marauroa.server.db.command.AbstractDBCommand
games.stendhal.server.core.engine.dbcommand.LogTradeEventCommand
- All Implemented Interfaces:
DBCommand
Logs a Harold trade event
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionLogTradeEventCommand(Player player, Item item, int quantity, int price)
logs a trade event -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(DBTransaction transaction)
processes the database request.Methods inherited from class marauroa.server.db.command.AbstractDBCommand
getEnqueueTime, getException, setEnqueueTime, setException
-
Constructor Details
-
LogTradeEventCommand
logs a trade event- Parameters:
player
- Playeritem
- Itemquantity
- quantityprice
- price
-
-
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 errorIOException
- in case of an input/output error
-