metaforce/Runtime/Character/CPOINode.hpp

36 lines
770 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CPOINODE_HPP__
#define __URDE_CPOINODE_HPP__
2016-04-11 07:10:28 +00:00
#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_;
2016-04-28 04:52:41 +00:00
float x2c_weight;
2016-04-11 07:10:28 +00:00
u32 x30_;
u32 x34_;
public:
2016-04-28 04:52:41 +00:00
CPOINode(const std::string& name, u16, const CCharAnimTime& time, u32 index, bool, float weight, u32, u32);
2016-04-11 07:10:28 +00:00
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-28 04:52:41 +00:00
float GetWeight() const { return x2c_weight; }
2016-04-11 07:10:28 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CPOINODE_HPP__