mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-01 09:12:37 -06:00
35 lines
966 B
C++
35 lines
966 B
C++
#pragma once
|
|
|
|
#include <SWA.inl>
|
|
#include <CSD/Manager/csdmBase.h>
|
|
#include <CSD/Manager/csdmResourceBase.h>
|
|
#include <CSD/Manager/csdmNodeObserver.h>
|
|
#include <CSD/Manager/csdmSubjectBase.h>
|
|
#include <Hedgehog/Math/Vector2.h>
|
|
|
|
namespace Chao::CSD
|
|
{
|
|
struct Node;
|
|
|
|
class CNode : public CResourceBase<Node>, SubjectBase<CNodeObserver, CNode>, CBase
|
|
{
|
|
public:
|
|
SWA_INSERT_PADDING(0x34);
|
|
xpointer<CMotionPattern> m_pMotionPattern;
|
|
SWA_INSERT_PADDING(0x18);
|
|
|
|
~CNode();
|
|
|
|
void SetText(const char* in_pText);
|
|
void SetText(const wchar_t* in_pText);
|
|
void GetPosition(Hedgehog::Math::CVector2& out_rResult) const;
|
|
void SetPosition(float in_X, float in_Y);
|
|
void SetHideFlag(uint32_t in_HideFlag);
|
|
void SetRotation(float in_Rotation);
|
|
void SetScale(float in_X, float in_Y);
|
|
void SetPatternIndex(uint32_t in_PatternIndex);
|
|
};
|
|
}
|
|
|
|
#include <CSD/Manager/csdmNode.inl>
|