metaforce/Runtime/Character/CInt32POINode.hpp

26 lines
660 B
C++
Raw Normal View History

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