generate type data
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "../dependency/minidef/src/TypeDef.h"
|
||||
#include "../game/Log.h"
|
||||
|
||||
#include "bx/string.h"
|
||||
@@ -7,6 +8,12 @@
|
||||
|
||||
namespace Generated
|
||||
{
|
||||
struct EmbeddedTypeDef
|
||||
{
|
||||
uint32_t Size = sizeof(Def::DefinitionFile);
|
||||
Def::DefinitionFile Data;
|
||||
};
|
||||
|
||||
struct Serializer
|
||||
{
|
||||
bx::Error Err;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "Def.h"
|
||||
#include "Generated.h"
|
||||
|
||||
namespace Generated
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
#pragma once
|
||||
#include "Def.h"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Generated
|
||||
{
|
||||
struct Serializer;
|
||||
struct Deserializer;
|
||||
struct PuzzleElementType
|
||||
{
|
||||
static constexpr uint32_t Hash = 2024002654;
|
||||
static constexpr int32_t EntryCount = 8;
|
||||
static constexpr uint32_t Hash = 2024002654;
|
||||
enum Enum : int32_t
|
||||
{
|
||||
None,
|
||||
@@ -100,9 +102,9 @@ namespace Generated
|
||||
};
|
||||
struct StaticPuzzleCard
|
||||
{
|
||||
static constexpr uint32_t Hash = 2507139249;
|
||||
static constexpr uint32_t Hash = 1414289929;
|
||||
PuzzleElementType::Enum Elements[4] = {};
|
||||
uint16_t ModelHandle = {};
|
||||
uint32_t ModelHandle = {};
|
||||
};
|
||||
struct StaticPuzzleCardHandle
|
||||
{
|
||||
@@ -111,7 +113,7 @@ namespace Generated
|
||||
};
|
||||
struct StaticPuzzleData
|
||||
{
|
||||
static constexpr uint32_t Hash = 3210954810;
|
||||
static constexpr uint32_t Hash = 84985581;
|
||||
StaticPuzzleCard Cards[64] = {};
|
||||
};
|
||||
struct PuzzleCardStack
|
||||
|
||||
BIN
src/gen/TypeData.bin
LFS
Normal file
BIN
src/gen/TypeData.bin
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user