diff --git a/Source/Engine/Scripting/ManagedCLR/MClass.h b/Source/Engine/Scripting/ManagedCLR/MClass.h index 343ec4fd0..b275081ad 100644 --- a/Source/Engine/Scripting/ManagedCLR/MClass.h +++ b/Source/Engine/Scripting/ManagedCLR/MClass.h @@ -154,6 +154,13 @@ public: bool IsSubClassOf(const MonoClass* monoClass) const; #endif + /// + /// Checks if this class implements the specified interface (including any base types). + /// + /// The interface class. + /// True if this class implements the specified interface. + bool HasInterface(const MClass* klass) const; + /// /// Checks is the provided object instance of this class' type. ///