Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
C_ScriptBindShop Methods

The methods of the C_ScriptBindShop class are listed here.

 
Name 
Description 
 
 
 
 
 
Looks for item in owned shop and returns inventory slot for this item (or same one)
 
 
Looks for shop's inventory id where this item belongs to
 
 
returns shop DB Id. Returns -1 in case entity is not shopkeeper
 
 
returns shop DB Id. Returns -1 in case entity is linked to no shop
 
 
 
 
WH_CTSW(WH_CTSW_EDITOR)
 
 
Finds shop by the linkedEntity (stash) and returns true if it is opened. False if it is closed or not a shop's linked entity.
 
 
 
 
Syntax: Shops.OpenInventory(entityId, bCanHaggle)
Opens the shop UI with the specified shopkeeper. 
 
This is OpenInventoryForItem, a member of class C_ScriptBindShop. 
 
This is SetShopModule, a member of class C_ScriptBindShop. 
Copyright (c) 2012. All rights reserved.