mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
32 lines
839 B
C++
32 lines
839 B
C++
#pragma once
|
|
|
|
#include <SWA.inl>
|
|
#include <Hedgehog/Base/hhObject.h>
|
|
#include <Hedgehog/Universe/Engine/hhMessageProcess.h>
|
|
#include <Hedgehog/Universe/Engine/hhStateMachineMessageReceiver.h>
|
|
|
|
namespace Hedgehog::Universe
|
|
{
|
|
class CStateMachineBase : public IStateMachineMessageReceiver, public Base::CObject
|
|
{
|
|
public:
|
|
class CStateBase : public IMessageProcess
|
|
{
|
|
public:
|
|
SWA_INSERT_PADDING(0x08);
|
|
xpointer<void> m_pContext;
|
|
xpointer<CStateMachineBase> m_pStateMachine;
|
|
be<float> m_Time;
|
|
SWA_INSERT_PADDING(0x4C);
|
|
|
|
void* GetContextBase() const;
|
|
|
|
template<typename T>
|
|
T* GetContextBase() const;
|
|
};
|
|
|
|
SWA_INSERT_PADDING(0x60);
|
|
};
|
|
}
|
|
|
|
#include <Hedgehog/Universe/Engine/hhStateMachineBase.inl>
|