blob: f1657c49bb213cbf6f6b81acac9062074046fe3e [file]
#ifndef _RIVE_TRANSITION_CONDITION_BASE_HPP_
#define _RIVE_TRANSITION_CONDITION_BASE_HPP_
#include "rive/core.hpp"
#ifdef WITH_RIVE_EDITOR
#include "editor_native/generated/editor_field_types.hpp"
#endif
namespace rive
{
class TransitionConditionBase : public Core
{
protected:
typedef Core Super;
public:
static const uint16_t typeKey = 476;
uint16_t coreType() const override { return typeKey; }
public:
void copy(const TransitionConditionBase& object)
{
RIVE_EDITOR_COPY(object);
RIVE_EDITOR_COPY_VALIDATED(object);
}
bool deserialize(uint16_t propertyKey, BinaryReader& reader) override
{
RIVE_EDITOR_DESERIALIZE(propertyKey, reader);
return false;
}
#ifdef WITH_RIVE_EDITOR
#include "editor_native/generated/animation/transition_condition_ext.inl"
#endif
};
} // namespace rive
#endif