mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
and some more stragglers
This commit is contained in:
@@ -1463,26 +1463,6 @@ static void commandFuncAuctionAccept(Command const &, NetworkId const &actor, Ne
|
||||
|
||||
static void commandFuncAuctionQuery(Command const &, NetworkId const &actor, NetworkId const &, Unicode::String const ¶ms)
|
||||
{
|
||||
#if 0
|
||||
size_t pos = 0;
|
||||
NetworkId auctionContainerId(nextOidParm(params, pos));
|
||||
int requestId = nextIntParm(params, pos);
|
||||
int type = nextIntParm(params, pos);
|
||||
int category = nextIntParm(params, pos);
|
||||
|
||||
CreatureObject *actorCreature = dynamic_cast<CreatureObject *>(NetworkIdManager::getObjectById(actor));
|
||||
ServerObject *auctionContainer = dynamic_cast<ServerObject *>(NetworkIdManager::getObjectById(auctionContainerId));
|
||||
|
||||
if (actorCreature && auctionContainer)
|
||||
{
|
||||
CommoditiesMarket::auctionQuery(
|
||||
*actorCreature,
|
||||
requestId,
|
||||
type,
|
||||
category,
|
||||
*auctionContainer);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user