metaforce/Runtime/Character/CPOINode.hpp

35 lines
709 B
C++
Raw Normal View History

2016-04-11 07:10:28 +00:00
#ifndef __PSHAG_CPOINODE_HPP__
#define __PSHAG_CPOINODE_HPP__
#include "IOStreams.hpp"
#include "CCharAnimTime.hpp"
namespace urde
{
class CPOINode
{
2016-04-12 06:15:32 +00:00
protected:
2016-04-11 07:10:28 +00:00
u16 x4_ = 1;
std::string x8_name;
u16 x18_;
CCharAnimTime x1c_time;
u32 x24_index;
bool x28_;
float x2c_;
u32 x30_;
u32 x34_;
public:
CPOINode(const std::string& name, u16, const CCharAnimTime& time, u32 index, bool, float, u32, u32);
CPOINode(CInputStream& in);
virtual ~CPOINode() = default;
2016-04-11 07:47:21 +00:00
const std::string& GetName() const {return x8_name;}
const CCharAnimTime& GetTime() const {return x1c_time;}
2016-04-12 06:15:32 +00:00
u32 GetIndex() const {return x24_index;}
2016-04-11 07:10:28 +00:00
};
}
#endif // __PSHAG_CPOINODE_HPP__