[This is preliminary documentation and is subject to change.]
The PluginAttribute type exposes the following members.
Properties
Name | Description | |
---|---|---|
Author |
Gets or sets the author of the plugin.
| |
DefaultObjectType |
Gets or sets the full name of the default type that will be used to represent objects. The type must inherit from [!:Rage::Object]. If null, [!:Rage::Object] will be used.
| |
DefaultPedType | ||
DefaultVehicleType | ||
Description |
Gets or sets the description of the plugin.
| |
EntryPoint |
Gets or sets the full name of the method to serve as entry point of the plugin (Eg. "EntryPoint.Main". If null, the first found method that's static, returns void and is named "Main" will be used.
| |
ExitPoint |
Gets or sets the full name of the method to serve as exit point of the plugin (Eg. "EntryPoint.OnUnload". If null, the first found method that's static, returns void, takes a bool and is named "OnUnload" will be used.
| |
Name |
Gets or sets the name of the plugin.
| |
PrefersSingleInstance | Gets or sets a value indicating whether this plugin prefers to only have one instance of itself loaded at any given time. If true the plugin can still be loaded multiple times, but requires the force parameter of the LoadPlugin command to be set to true. | |
ShouldTickInPauseMenu | Gets or sets a value indicating whether this plugin should tick while the pause menu is open. | |
SupportUrl |
Gets or sets the support URL for this plugin. If specified, this URL will be presented to the user if the plugin crashes (Or if the game crashes while the plugin was ticking).
|
See Also