metaforce/Runtime/Character/CAnimPOIData.hpp

34 lines
1.1 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-04-11 23:35:37 +00:00
#include <vector>
#include "Runtime/CFactoryMgr.hpp"
#include "Runtime/GCNTypes.hpp"
#include "Runtime/Character/CBoolPOINode.hpp"
#include "Runtime/Character/CInt32POINode.hpp"
#include "Runtime/Character/CParticlePOINode.hpp"
#include "Runtime/Character/CSoundPOINode.hpp"
2016-04-11 23:35:37 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
class CAnimPOIData {
u32 x0_version;
std::vector<CBoolPOINode> x4_boolNodes;
std::vector<CInt32POINode> x14_int32Nodes;
std::vector<CParticlePOINode> x24_particleNodes;
std::vector<CSoundPOINode> x34_soundNodes;
2016-04-11 23:35:37 +00:00
public:
2018-12-08 05:30:43 +00:00
CAnimPOIData(CInputStream& in);
2016-04-11 23:35:37 +00:00
2018-12-08 05:30:43 +00:00
const std::vector<CBoolPOINode>& GetBoolPOIStream() const { return x4_boolNodes; }
const std::vector<CInt32POINode>& GetInt32POIStream() const { return x14_int32Nodes; }
const std::vector<CParticlePOINode>& GetParticlePOIStream() const { return x24_particleNodes; }
const std::vector<CSoundPOINode>& GetSoundPOIStream() const { return x34_soundNodes; }
2016-04-11 23:35:37 +00:00
};
2018-12-08 05:30:43 +00:00
CFactoryFnReturn AnimPOIDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& parms,
CObjectReference* selfRef);
2016-04-11 23:35:37 +00:00
2018-12-08 05:30:43 +00:00
} // namespace urde