Difference between revisions of "API GetStorageItemInfo"
From Vendetta Lua
(split) |
(→GetStorageItemInfo) |
||
Line 1: | Line 1: | ||
=== GetStorageItemInfo === | === GetStorageItemInfo === | ||
'''Definition:''' | '''Definition:''' | ||
− | GetStorageItemInfo() -> | + | GetStorageItemInfo(int itemid) -> int stationid :: get [[stationid]] of a storage container |
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
− | + | get location of a storage container (station storage) | |
+ | <br> | ||
+ | '''Arguments:'''<br> | ||
+ | ''itemid'' [[itemid]] of a storage container | ||
+ | <br> | ||
+ | '''Returns:'''<br> | ||
+ | ''stationid'' [[stationid]] or nil if itemid is invalid or points to an item that is not a storage container | ||
<br> | <br> |
Latest revision as of 02:38, 27 October 2010
GetStorageItemInfo
Definition:
GetStorageItemInfo(int itemid) -> int stationid :: get stationid of a storage container
Description:
get location of a storage container (station storage)
Arguments:
itemid itemid of a storage container
Returns:
stationid stationid or nil if itemid is invalid or points to an item that is not a storage container