2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00
metaforce/Runtime/Character/CTransitionDatabase.hpp
Lioncash f0ff83e39a CTransitionDatabase: Add virtual destructor
Prevents any undefined behavior from occurring through polymorphic
usage.
2020-04-07 06:04:58 -04:00

16 lines
286 B
C++

#pragma once
#include <memory>
#include "Runtime/RetroTypes.hpp"
namespace urde {
class IMetaTrans;
class CTransitionDatabase {
public:
virtual ~CTransitionDatabase() = default;
virtual const std::shared_ptr<IMetaTrans>& GetMetaTrans(u32, u32) const = 0;
};
} // namespace urde