2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-03 17:51:54 +00:00

feat: dump t6 WeaponCamo asset as json

This commit is contained in:
Jan
2024-03-24 01:20:49 +01:00
parent cf02d7ac83
commit 73d6d2bf5c
7 changed files with 251 additions and 1 deletions

View File

@ -0,0 +1,33 @@
#pragma once
#include <nlohmann/json.hpp>
class JsonVec2
{
public:
float x;
float y;
};
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(JsonVec2, x, y);
class JsonVec3
{
public:
float x;
float y;
float z;
};
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(JsonVec3, x, y, z);
class JsonVec4
{
public:
float x;
float y;
float z;
float w;
};
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(JsonVec4, x, y, z, w);