2 files changed
+4
-9
No files matched your search
+1
-3
@@ -6,13 +6,11 @@ public:
|
||||
std::string_view name() const noexcept override { return "Example.MyMod"; }
|
||||
std::string_view version() const noexcept override { return "1.0.0"; }
|
||||
|
||||
explicit MyMod(const vl::mod::Context& ctx) : m_ctx(ctx) {}
|
||||
explicit MyMod(const vl::mod::Context& ctx) : vl::mod::Mod<MyMod>(ctx) {}
|
||||
MyMod() = delete;
|
||||
~MyMod() = default;
|
||||
|
||||
void onStart() override;
|
||||
void onStop() override;
|
||||
|
||||
private:
|
||||
vl::mod::Context m_ctx;
|
||||
};
|
||||
Reference in new issue
Block a user