Skip to content
3cxc edited this page Oct 11, 2026 · 5 revisions

NativePluginKit

License

Official NativeAOT-compatible client-side plugin system for the Unknown: Site-0 game.

中文文档: 首页


Overview

NativePluginKit provides lightweight plugin infrastructure that lets third-party developers extend the game client at runtime. Plugins are compiled as native shared libraries with .NET NativeAOT and loaded dynamically by the host.

The kit consists of three layers:

  • Host — the game client builds a HostApiTable and passes it to plugins through PluginLoader.
  • Contract — NativePluginKit defines HostApiTable, HostApiBridgeBuilder, the Plugin base class, event structures, and generated Features.* API classes.
  • Plugin — third-party libraries inherit from Plugin, implement lifecycle methods, and call host APIs through strongly-typed feature modules.

Contents

Page Description
Plugin Development Tutorial Write your first plugin

License

See LICENSE.

Table of contents

Getting Started


目录

快速开始

Clone this wiki locally