Activate |
Invoked when the lights turn on. This value is immutable for vanilla modules, and an exception will be thrown when attempted.
|
Id |
The identifier for the module as referenced in missions. e.g. "BigButton" Also known as a "Module ID". This value is immutable for vanilla modules, and an exception will be thrown when attempted.
|
IsEmptyOrTimer |
Determines whether this instance is a non-module, which are Empty or Timer.
|
IsModded |
Determines whether this instance contains a modded module.
|
IsModule |
Determines whether this instance isn't a non-module, which are Empty or Timer.
|
IsNeedy |
Determines whether this instance contains a needy module.
|
IsSolvable |
Determines whether this instance contains a solvable module.
|
IsVanilla |
Determines whether this instance contains a vanilla module.
|
Module |
Returns KMBombModule, or if null, KMNeedyModule, or if null, BombComponent, or if null, throws.
|
Name |
The nice display name shown to players. e.g. "The Button". This value is immutable for vanilla modules, and an exception will be thrown when attempted.
|
Needy |
Returns KMNeedyModule, or if null, throws a System.NullReferenceException.
|
NeedyActivate |
Modded Needy Only: Invoked when the needy activates.
|
NeedyDeactivate |
Modded Needy Only: Invoked when the needy deactivates.
|
NeedyMaxResetInterval |
Needy Only: The maximum delay for the needy to activate.
|
NeedyMinResetInterval |
Needy Only: The minimum delay for the needy to activate.
|
NeedyStartingTime |
Needy Only: The amount of time on the needy timer whenever this module is activated.
|
NeedyTimerExpired |
Needy Only: Invoked when the needy timer expires.
|
NeedyTimerGet |
Needy Only: An encapsulated System.Func<> that when called, gets the time remaining. This value is immutable for vanilla modules, and an exception will be thrown when attempted.
|
NeedyTimerSet |
Needy Only: An encapsulated System.Action<> that when called, sets the time remaining to the parameter passed in. This value is immutable for vanilla modules, and an exception will be thrown when attempted.
|
NeedyWarnAtFiveSeconds |
Needy Only: Determines whether NeedyWarning plays when 5 seconds or less remain.
|
RequiresTimerVisibility |
Set to true to only allow this module to be placed on the same face as the timer. Useful when the rules involve the timer in some way (like the Big Button), but should be used sparingly as it limits generation possibilities.
|
RuleGeneration |
Modded Only: Returns the random seed used to generate the rules for this game. Not currently used.
|
Solvable |
Returns KMBombModule, or if null, throws a System.NullReferenceException.
|
Solve |
Call this when the entire module has been solved.
|
Strike |
Call this on any mistake that you want to cause a bomb strike.
|
Vanilla |
Returns BombComponent boxed as System.Object, or if null, throws a System.NullReferenceException.
|