GameFiber ClassRAGE Plugin Hook Documentation

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

Represents a multi-tasking fiber. Natives can only be invoked from a fiber. Not meant to be inherited.
Inheritance Hierarchy

SystemObject
  RageGameFiber

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

[SerializableAttribute]
public class GameFiber

The GameFiber type exposes the following members.

Constructors

  NameDescription
Public methodGameFiber(ThreadStart)
Initializes a new instance of the GameFiber class.
Public methodGameFiber(ThreadStart, String)
Initializes a new instance of the GameFiber class.
Top
Properties

  NameDescription
Public propertyStatic memberCanSleepNow
Gets a value indicating whether the calling code is executing in the active GameFiber instance.
Public propertyIsAlive
Gets a value indicating whether this instance is still running.
Public propertyIsEntryFiber
Gets or sets a value indicating whether this fiber is the original fiber created when this plugin was loaded.
Public propertyIsHibernating
Gets a value indicating whether this instance is hibernating.
Public propertyIsSleeping
Gets a value indicating whether this instance is sleeping.
Public propertyName
Gets the name of this instance.
Top
Methods

  NameDescription
Public methodAbort
Aborts this instance.
Public methodStatic memberHibernate

Makes the active GameFiber sleep indefinitely.

Other GameFibers can awaken this instance by calling Wake() on the instance.

Protected methodHibernateThis
Hibernates this instance. Note that only the active GameFiber can be set to hibernate.
Public methodStatic memberSleep
Sleeps the active instance the specified duration.
Protected methodSleepThis
Sleeps this instance the specified duration. Note that only the active GameFiber can be set to sleep.
Public methodStart
Starts this instance.
Public methodStatic memberStartNew(ThreadStart)
Starts a new GameFiber instance.
Public methodStatic memberStartNew(ThreadStart, String)
Starts a new GameFiber instance.
Public methodStatic memberWait

Waits the active instance the specified duration.

Unlike sleep, wait is scaled based on game time dilation.

Protected methodWaitThis

Waits this instance the specified duration. Note that only the active GameFiber can be set to wait.

Unlike sleep, wait is scaled based on game time dilation.

Public methodWake
Awakens this instance from hibernation.
Public methodStatic memberYield
Yields this instance allowing other instances to be processed. Equivalent to Sleep(0);
Top
See Also

Reference