LightningGeneratorShouldCreateFork Method |
Determines if a fork should be created
Namespace:
DigitalRuby.ThunderAndLightning
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public bool ShouldCreateFork(
LightningBoltParameters parameters,
int generation,
int totalGenerations
)
Public Function ShouldCreateFork (
parameters As LightningBoltParameters,
generation As Integer,
totalGenerations As Integer
) As Boolean
public:
bool ShouldCreateFork(
LightningBoltParameters^ parameters,
int generation,
int totalGenerations
)
member ShouldCreateFork :
parameters : LightningBoltParameters *
generation : int *
totalGenerations : int -> bool
Parameters
- parameters
- Type: DigitalRuby.ThunderAndLightningLightningBoltParameters
Parameters - generation
- Type: SystemInt32
Generation - totalGenerations
- Type: SystemInt32
Max generation
Return Value
Type:
BooleanTrue if fork should be created, false otherwise
See Also