GameFiberExecuteWhile Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Calls the specified method once every tick on the calling GameFiber, while the specified condition is true.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void ExecuteWhile(
	ThreadStart start,
	Func<bool> condition
)

Parameters

start
Type: System.ThreadingThreadStart
The method to call every tick.
condition
Type: SystemFuncBoolean

[Missing <param name="condition"/> documentation for "M:Rage.GameFiber.ExecuteWhile(System.Threading.ThreadStart,System.Func{System.Boolean})"]

Return Value

Type: 
An instance of GameFiber representing the created fiber.
See Also

Reference