lua/wrappers/game/lua_store.cpp
/**
	 * Returns an array of all the inventories in this store.
	 *
	 * @returns array All the inventories.
	 */
Returns an array of all the inventories in this store.
@returns array All the inventories.
Returns an array of all the inventories in this store . @returns array All the inventories .
int Store_num_inventories(lua_State *lua)
	{
		Store *store = castUData<Store>(lua, 1);
		if (store)
		{
			auto inventories = store->getStoreInventories();
			lua_pushinteger(lua, inventories.size());
			return 1;
		}
		return LuaState::expectedContext(lua, "num_inventories", "am.store");
	}
int Store_num_inventories ( lua_State * lua ) { Store * store = castUData < Store > ( lua , 1 ) ; if ( store ) { auto inventories = store -> getStoreInventories ( ) ; lua_pushinteger ( lua , inventories . size ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns an array of all the inventories in this store.
Returns an array of all the inventories in this store .