lua/wrappers/game/lua_store.cpp
/**
	 * Creates a new store inventory using the default inventory size.
	 *
	 * @returns am.inventory The new store inventory.
	 */
Creates a new store inventory using the default inventory size.
@returns am.inventory The new store inventory.
Creates a new store inventory using the default inventory size . @returns am . inventory The new store inventory .
int Store_create_inventory(lua_State *lua)
	{
		Store *store = castUData<Store>(lua, 1);
		if (store)
		{
			wrapRefObject<Inventory>(lua, store->createStoreInventory());
			return 1;
		}
		return LuaState::expectedContext(lua, "create_inventory", "am.store");
	}
int Store_create_inventory ( lua_State * lua ) { Store * store = castUData < Store > ( lua , 1 ) ; if ( store ) { wrapRefObject < Inventory > ( lua , store -> createStoreInventory ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Creates a new store inventory using the default inventory size.
Creates a new store inventory using the default inventory size .