pub type GDExtensionInterfaceObjectHasScriptMethod = Option<unsafe extern "C" fn(p_object: GDExtensionConstObjectPtr, p_method: GDExtensionConstStringNamePtr) -> GDExtensionBool>;Expand description
@name object_has_script_method @since 4.3
Checks if this object has a script with the given method.
@param p_object A pointer to the Object. @param p_method A pointer to a StringName identifying the method.
@return true if the object has a script and that script has a method with the given name. Returns false if the object has no script.
Aliased Type§
pub enum GDExtensionInterfaceObjectHasScriptMethod {
None,
Some(unsafe extern "C" fn(*const __GdextObject, *const __GdextStringName) -> u8),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*const __GdextObject, *const __GdextStringName) -> u8)
Some value of type T.