mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06:00
* Implemented guest-to-host function pointers (WIP) Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com> * function: support more types for function pointers * api: ported BlueBlur headers and misc. research * Move over function-pointers changes from options-menu branch. --------- Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
40 lines
860 B
C++
40 lines
860 B
C++
#pragma once
|
|
|
|
#include "Hedgehog/Base/hhObject.h"
|
|
|
|
namespace Hedgehog::Database
|
|
{
|
|
enum EDatabaseDataFlags : uint8_t
|
|
{
|
|
eDatabaseDataFlags_IsMadeOne = 0x1,
|
|
eDatabaseDataFlags_IsMadeAll = 0x2,
|
|
eDatabaseDataFlags_CreatedFromArchive = 0x4,
|
|
eDatabaseDataFlags_IsMadeMakingOne = 0x8
|
|
};
|
|
|
|
class CDatabaseData : public Base::CObject
|
|
{
|
|
public:
|
|
struct Vftable
|
|
{
|
|
be<uint32_t> m_fpDtor;
|
|
be<uint32_t> m_fpCheckMadeAll;
|
|
};
|
|
|
|
xpointer<Vftable> m_pVftable;
|
|
uint8_t m_Flags;
|
|
Base::CSharedString m_TypeAndName;
|
|
|
|
~CDatabaseData();
|
|
bool CheckMadeAll();
|
|
|
|
bool IsMadeOne() const;
|
|
void SetMadeOne();
|
|
|
|
bool IsMadeAllInternal();
|
|
bool IsMadeAll();
|
|
};
|
|
}
|
|
|
|
#include "Hedgehog/Database/System/hhDatabaseData.inl"
|