Source2Toolkit
Core apiLow level

IToolkitPlugin

IToolkitPlugin

Methods

Load(id, api, error, maxlen, late)

Called when plugin is loaded.

Parameters
  • id PluginId — Plugin identifier
  • api IToolkitAPI* — Toolkit API instance
  • error char* — Buffer for error message
  • maxlen size_t — Error buffer size
  • late bool — True if loaded after server start

GetAuthor()

Called when plugin is unloaded.Plugin author name

GetName()

Plugin name

GetDescription()

Plugin description

GetVersion()

Plugin version

On this page