[This is preliminary documentation and is subject to change.]
Class for cleaning up IDeletables.
Examples
C#
using(CleanupManager cleanupManager = new CleanupManager()) { Vector3 spawnPosition = playerVehicle.GetOffsetPosition(new Vector3(-3f, 7f, 0f)); Vehicle car = new Vehicle("POLICE2", spawnPosition, playerVehicle.Heading); cleanupManager.Add(car); while (!car.IsDead) { GameFiber.Yield(); } GameFiber.Sleep(3000); }
Inheritance Hierarchy
RageCleanupManager
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The CleanupManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CleanupManager |
Initializes a new instance of the CleanupManager class.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds the specified IDeletable to this CleanupManager.
| |
Dispose |
Finalizes an instance of the CleanupManager class.
| |
Remove |
Removes the specified IDeletable from this CleanupManager.
|
See Also