Class ExecutableFunctionLibrary
Derived from this class to add custom static functions
Inheritance
object
ExecutableFunctionLibrary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Ceres.Graph.Flow.Utilities
Assembly: cs.temp.dll.dll
Syntax
public abstract class ExecutableFunctionLibrary
Remarks
Must add partial modifier
Constructors
ExecutableFunctionLibrary()
Declaration
protected ExecutableFunctionLibrary()
Remarks
Must add partial modifier
Methods
CollectExecutableFunctions()
Collect all static executable functions in this library
Declaration
protected virtual void CollectExecutableFunctions()
Remarks
Must add partial modifier
RegisterExecutableFunctionFileInfo<TLibrary>(string, int, string, int)
Register static executable function file info to the reflection system, only works in editor and development build
Declaration
protected static void RegisterExecutableFunctionFileInfo<TLibrary>(string functionName, int parameterCount, string filePath, int lineNumber) where TLibrary : ExecutableFunctionLibrary
Parameters
Type | Name | Description |
---|---|---|
string | functionName | |
int | parameterCount | |
string | filePath | |
int | lineNumber |
Type Parameters
Name | Description |
---|---|
TLibrary |
Remarks
Must add partial modifier
RegisterExecutableFunctionPtr<TLibrary>(string, int, void*)
Register static executable function pointer to the reflection system
Declaration
protected static void RegisterExecutableFunctionPtr<TLibrary>(string functionName, int parameterCount, void* functionPtr) where TLibrary : ExecutableFunctionLibrary
Parameters
Type | Name | Description |
---|---|---|
string | functionName | |
int | parameterCount | |
void* | functionPtr |
Type Parameters
Name | Description |
---|---|
TLibrary |
Remarks
Must add partial modifier