ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
|
Module base interface. More...
#include <ModuleBase.hpp>
Public Member Functions | |
void | SetEnabled (bool p_Enabled) override |
Set enabled. | |
void | CheckForActivation (EIModuleBaseActivationType p_Kind) override |
Check for module activation. | |
void | OnApplicationExit () override |
On application exit. | |
![]() | |
virtual EIModuleBaseType | Type () const =0 |
virtual std::u16string_view | Name () const =0 |
virtual std::u16string_view | FancyName () const =0 |
virtual std::u16string_view | Description () const =0 |
virtual std::u16string_view | DocumentationURL () const =0 |
virtual bool | UseChatFeatures () const =0 |
virtual bool | IsEnabled () const =0 |
virtual void | IsEnabled (bool p_Enabled)=0 |
virtual EIModuleBaseActivationType | ActivationType () const =0 |
virtual t_InitialViews | GetSettingsViewControllers () |
Get Module settings UI. | |
Protected Member Functions | |
ModuleBase () | |
Constructor. | |
virtual | ~ModuleBase () |
Destructor. | |
virtual void | SetInstance (t_Type *p_Instance)=0 |
Set singleton instance. | |
virtual void | OnEnable ()=0 |
Enable the Module. | |
virtual void | OnDisable ()=0 |
Disable the Module. | |
![]() | |
IModuleBase ()=default | |
Constructor. | |
virtual | ~IModuleBase () |
Destructor. | |
Module base interface.
Definition at line 94 of file ModuleBase.hpp.
|
inlineprotected |
Constructor.
Definition at line 101 of file ModuleBase.hpp.
|
inlineprotectedvirtual |
Destructor.
Definition at line 107 of file ModuleBase.hpp.
|
inlineoverridevirtual |
Check for module activation.
p_Kind | Activation type |
Implements CP_SDK::IModuleBase.
Definition at line 126 of file ModuleBase.hpp.
|
inlineoverridevirtual |
|
protectedpure virtual |
Disable the Module.
|
protectedpure virtual |
Enable the Module.
|
inlineoverridevirtual |
Set enabled.
p_Enabled | New state |
Implements CP_SDK::IModuleBase.
Definition at line 115 of file ModuleBase.hpp.
|
protectedpure virtual |
Set singleton instance.