Table of Contents

Enum MonkeyLoader.ExecutionPhase

Namespace
MonkeyLoader
Assembly
MonkeyLoader.dll

Denotes the different stages of the loader's execution.
Some actions may only work before, in, or after certain phases.

public enum MonkeyLoader.ExecutionPhase

Fields

Initialized = 1

After the constructor has run.

LoadedGameAssemblies = 9

After LoadGameAssemblies() is done.
No EarlyMonkey<TMonkey>s that target the now loaded assemblies can work anymore now.

LoadedGameAssemblyDefinitions = 3

After LoadGameAssemblyDefinitions() is done.

LoadingGameAssemblies = 8

While LoadGameAssemblies() is executing.

LoadingGameAssemblyDefinitions = 2

While LoadGameAssemblyDefinitions() is executing.

RanGamePackEarlyMonkeys = 5

After RunGamePackEarlyMonkeys() is done.

RanGamePackMonkeys = 11

After RunGamePackMonkeys() is done.

RanRegularEarlyMonkeys = 7

After RunRegularEarlyMonkeys() is done.

RanRegularMonkeys = 13

After RunRegularMonkeys() is done.
This is the active phase until Shutdown(bool) is triggered.

RunningGamePackEarlyMonkeys = 4

While RunGamePackEarlyMonkeys() is executing.

RunningGamePackMonkeys = 10

While RunGamePackMonkeys() is executing.

RunningRegularEarlyMonkeys = 6

While RunRegularEarlyMonkeys() is executing.

RunningRegularMonkeys = 12

While RunRegularMonkeys() is executing.

Shutdown = 15

After Shutdown(bool) is done.
Nothing should be done with this loader anymore when in this phase.

ShuttingDown = 14

While Shutdown(bool) is executing.

Uninitialized = 0

Before the constructor has run. Shouldn't be encountered.