Class NativeOnlyBinaryModule
The C++ scripting assembly container.
Inheritance
NativeOnlyBinaryModule
Inherited Members
NativeOnlyBinaryModule
Assembly: FlaxEngine.dll
File: Engine/Scripting/BinaryModule.h
Syntax
public class NativeOnlyBinaryModule : public BinaryModule
Constructors
NativeOnlyBinaryModule(const StringAnsiView& name)
Initializes a new instance of the NativeOnlyBinaryModule class.
Declaration
public NativeOnlyBinaryModule(const StringAnsiView& name)
Parameters
|
StringAnsiView
name
The module name. |
Fields
Library
The native library (C++ DLL).
Declaration
public void* Library
Field Value
|
void
|
Methods
Destroy(bool isReloading)
Unloads the module (native library and C# assembly and any other scripting data). Unregisters the module.
Declaration
public virtual void Destroy(bool isReloading) override
Parameters
|
bool
isReloading
If true module is during reloading and should force release the runtime data. Used for C# assembly to clean up it's runtime data in Mono (or other scripting runtime). |
Overrides
GetName()
Gets the assembly name.
Declaration
public virtual StringAnsi GetName() const override
Returns
|
StringAnsi
The assembly name. |
Overrides
IsLoaded()
Returns true if module is loaded, otherwise false (it might not be loaded yet or failed to load).
Declaration
public virtual bool IsLoaded() const override
Returns
|
bool
|