mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Expose some information in EngineFunction exports for better interop capabilities
This commit is contained in:
parent
ee93dc3b57
commit
8748a2cac8
1 changed files with 7 additions and 1 deletions
|
|
@ -298,9 +298,15 @@ class EngineFunctionInfo : public EngineExport
|
||||||
|
|
||||||
/// Return the vector storing the default argument values.
|
/// Return the vector storing the default argument values.
|
||||||
const EngineFunctionDefaultArguments* getDefaultArguments() const { return mDefaultArgumentValues; }
|
const EngineFunctionDefaultArguments* getDefaultArguments() const { return mDefaultArgumentValues; }
|
||||||
|
|
||||||
|
/// Return the pointer to the C-API Function.
|
||||||
|
const void* getAddress() const { return mAddress; }
|
||||||
|
|
||||||
/// Reset all callout function pointers back to NULL. This deactivates all callbacks.
|
/// Reset all callout function pointers back to NULL. This deactivates all callbacks.
|
||||||
static void resetAllCallouts();
|
static void resetAllCallouts();
|
||||||
|
|
||||||
|
static const EngineFunctionInfo* getFirstFunction() { return smFirstFunction; }
|
||||||
|
const EngineFunctionInfo* getNextFunction() const { return mNextFunction; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue