UpdateModule.MethodNode
A protected class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
One registered update method in an UpdateModule's linked list. RegisterMethod hands it back as an IUnityUpdateMethod handle.
- Listed in Global namespace: T to X
- Nested in
UpdateModule - Inherits or implements
IUnityUpdateMethod
Constructors
| Member | What it is |
|---|---|
MethodNode() | Creates an UpdateModule.MethodNode with default values. |
Fields
| Member | What it is |
|---|---|
Action Method | The method called each update. |
UpdateModule Module | The update module this node is registered with. |
UpdateModule.MethodNode Next | Next node in the module's list. |
UpdateModule.MethodNode Previous | Previous node in the module's list. |
Properties
| Member | What it is |
|---|---|
bool IsRunning { get; private set; } | True until the node is deregistered. DeregisterMethod only unlinks running nodes. |
Methods
| Member | What it is |
|---|---|
void Reset() | Clears the links and method and marks the node as not running. Called on deregister. |
Used in
Members of other types that take, return or hold a MethodNode:
BudgetedUpdateModule.DeregisterMethod, BudgetedUpdateModule.ProcessNode, UpdateModule.AddMethodToProfiling, UpdateModule.CheckedIterateOverLinkedList, UpdateModule.CheckedIterateOverLinkedListWithProfiling, UpdateModule.checkedIterationMethod, UpdateModule.DeregisterMethod, UpdateModule.first, UpdateModule.IterateOverLinkedList, UpdateModule.IterateOverLinkedListWithProfiling, UpdateModule.iterationMethod, UpdateModule.methodsPerNode, UpdateModule.RemoveMethodFromProfiling, UpdateModule.StartProfilingForNode.