metaforce/Runtime/Character/CInt32POINode.hpp

26 lines
679 B
C++
Raw Permalink Normal View History

2018-10-06 20:42:33 -07:00
#pragma once
2016-04-11 00:10:28 -07:00
#include <string>
#include "Runtime/GCNTypes.hpp"
#include "Runtime/Character/CPOINode.hpp"
2016-04-11 00:10:28 -07:00
2021-04-10 01:42:06 -07:00
namespace metaforce {
2016-04-11 23:15:32 -07:00
class IAnimSourceInfo;
2016-04-11 00:10:28 -07:00
2018-12-07 21:30:43 -08:00
class CInt32POINode : public CPOINode {
s32 x38_val;
std::string x3c_locatorName;
2016-04-11 00:10:28 -07:00
public:
2018-12-07 21:30:43 -08:00
CInt32POINode();
CInt32POINode(std::string_view, EPOIType, const CCharAnimTime&, s32, bool, float, s32, s32, s32, std::string_view);
explicit CInt32POINode(CInputStream& in);
2018-12-07 21:30:43 -08:00
s32 GetValue() const { return x38_val; }
std::string_view GetLocatorName() const { return x3c_locatorName; }
2016-04-11 23:15:32 -07:00
2018-12-07 21:30:43 -08:00
static CInt32POINode CopyNodeMinusStartTime(const CInt32POINode& node, const CCharAnimTime& startTime);
2016-04-11 00:10:28 -07:00
};
2021-04-10 01:42:06 -07:00
} // namespace metaforce