-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
3cxc edited this page Sep 13, 2026
·
4 revisions
Official NativeAOT-compatible client-side plugin system for the Unknown: Site-0 game.
中文文档: 首页
NativePluginKit provides a lightweight plugin infrastructure that lets third-party developers extend the game client at runtime. Plugins are compiled as native shared libraries (.dll on Windows, .so on Linux, .dylib on macOS) using .NET NativeAOT, and are dynamically loaded by the host via LoadLibrary / dlopen.
The kit consists of three layers:
-
Host — the game client builds a
HostApiTableand passes it to plugins throughPluginLoader. -
Contract —
NativePluginKitdefinesHostApiTable,HostApiBridgeBuilder, thePluginbase class, event structures, and generatedFeatures.*API classes. -
Plugin — third-party libraries inherit from
Plugin, implement lifecycle methods, and call host APIs through strongly-typed feature modules.
| Page | Description |
|---|---|
| Installation | Add NativePluginKit to a project |
| Plugin Development Tutorial | Write your first plugin |
| API Reference | Full API documentation |
See LICENSE.