plugin

The plugin object is what you get when you create a new plugin in C3D.

register()marks this plugin to be registered by C3D
set_load_order(load_order)changes the load order of this plugin
get_c3d_bus()returns the main C3D data bus
get_plugin_bus()returns the part of the C3D data bus dedicated to this plugin
override(type, value)allows you to force-override callbacks, can be used to restrict the user or in some cases inject code directly into the user environment.
register()Source

marks this plugin to be registered by C3D

set_load_order(load_order)Source

changes the load order of this plugin

Parameters

  1. load_order number load_order to asign to this plugin (higher == loaded latter)
get_c3d_bus()Source

returns the main C3D data bus

Returns

  1. table main C3D data bus
get_plugin_bus()Source

returns the part of the C3D data bus dedicated to this plugin

Returns

  1. table data BUS for this plugin
override(type, value)Source

allows you to force-override callbacks, can be used to restrict the user or in some cases inject code directly into the user environment. can be changed back using the system module

Parameters

  1. type string the callback to override
  2. value value to set the callback to (must be possitive for the override to work)