Cast based on RTTI. This is used to check if an object is exactly the class needed. Returns nullptr on failure.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)
#include <Geode/utils/casts.hpp>
Cast based on RTTI. This is used to check if an object is exactly the class needed. Returns nullptr on failure.