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
ConstructorsConstructorDescriptionLogTradeEventCommand(Player player, Item item, int quantity, int price) logs a trade event -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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:AbstractDBCommandprocesses the database request.- Specified by:
executein interfaceDBCommand- Specified by:
executein classAbstractDBCommand- Parameters:
transaction- DBTransaction- Throws:
SQLException- in case of an database errorIOException- in case of an input/output error
-