2023-07-11 03:23:32 +00:00
|
|
|
// Copyright 2023 Dolphin Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <picojson.h>
|
|
|
|
|
|
|
|
#include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h"
|
|
|
|
|
|
|
|
struct GraphicsModAssetConfig
|
|
|
|
{
|
2023-11-11 22:48:18 +00:00
|
|
|
VideoCommon::CustomAssetLibrary::AssetID m_asset_id;
|
2023-07-11 03:23:32 +00:00
|
|
|
VideoCommon::DirectFilesystemAssetLibrary::AssetMap m_map;
|
|
|
|
|
2023-11-11 22:48:18 +00:00
|
|
|
void SerializeToConfig(picojson::object& json_obj) const;
|
2023-07-11 03:23:32 +00:00
|
|
|
bool DeserializeFromConfig(const picojson::object& obj);
|
|
|
|
};
|