metaforce/Runtime/Character/CAnimSysContext.hpp

23 lines
596 B
C++

#pragma once
#include <memory>
#include "Runtime/CRandom16.hpp"
#include "Runtime/CToken.hpp"
#include "Runtime/GCNTypes.hpp"
#include "Runtime/Character/CTransitionDatabaseGame.hpp"
namespace metaforce {
class CSimplePool;
struct CAnimSysContext {
TToken<CTransitionDatabaseGame> x0_transDB;
std::shared_ptr<CRandom16> x8_random;
CSimplePool& xc_store;
CAnimSysContext(TToken<CTransitionDatabaseGame> transDB, u32 randomSeed, CSimplePool& store)
: x0_transDB(std::move(transDB)), x8_random(std::make_shared<CRandom16>(randomSeed)), xc_store(store) {}
};
} // namespace metaforce