VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::IPluginServices Struct Referenceabstract

#include <IPluginServices.hpp>

+ Inheritance diagram for VoltMod::IPluginServices:

Public Member Functions

virtual void Publish (std::string_view name, void *implementation)=0
 
virtual void Unpublish (std::string_view name)=0
 
virtual void * Find (std::string_view name)=0
 

Protected Member Functions

 ~IPluginServices ()=default
 

Detailed Description

Interfaces plugins publish to each other. A pointer lives only while its publisher is loaded, so look it up where it is used; the host never unloads a plugin mid-dispatch.

Definition at line 10 of file IPluginServices.hpp.

Constructor & Destructor Documentation

◆ ~IPluginServices()

VoltMod::IPluginServices::~IPluginServices ( )
protecteddefault

Member Function Documentation

◆ Find()

virtual void * VoltMod::IPluginServices::Find ( std::string_view  name)
pure virtual

Implemented in VoltMod::PluginContext.

◆ Publish()

virtual void VoltMod::IPluginServices::Publish ( std::string_view  name,
void *  implementation 
)
pure virtual

Implemented in VoltMod::PluginContext.

◆ Unpublish()

virtual void VoltMod::IPluginServices::Unpublish ( std::string_view  name)
pure virtual

Implemented in VoltMod::PluginContext.


The documentation for this struct was generated from the following file: