mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 21:08:04 +03:00
20 lines
484 B
C++
20 lines
484 B
C++
// Copyright 2023 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <picojson.h>
|
|
|
|
#include "VideoCommon/Assets/CustomAssetLibrary.h"
|
|
#include "VideoCommon/Assets/Types.h"
|
|
|
|
struct GraphicsModAssetConfig
|
|
{
|
|
VideoCommon::CustomAssetLibrary::AssetID m_asset_id;
|
|
VideoCommon::Assets::AssetMap m_map;
|
|
|
|
void SerializeToConfig(picojson::object& json_obj) const;
|
|
bool DeserializeFromConfig(const picojson::object& obj);
|
|
};
|