Understand the runtime. Ship the feature.
Start with a small addon, move shared behavior into services and connect packages through explicit contracts.
Getting started
Create a discoverable addon, own its lifecycle and keep package identity explicit from the first file.
Read guideAddons
Addon is the smallest lifecycle boundary in Lithium — one manifest, one initialization path and an explicit teardown.
Read guideServices
ComponentService keeps global-style systems inside the same scene and lifecycle model used by s&box.
Read guideConfiguration
Addon configuration loads before the addon lifecycle and persists changes in the addon's own data directory.
Read guideEvents
Lithium's experimental event API discovers callable endpoints and listeners in the active scene without direct references between packages.
Read guideAddon
Base class for a Lithium addon.
Read guideMigrate from v0 to v1
Upgrade a pre-1.0 Lithium addon to the current lifecycle, configuration and service contracts.
Read guideAddon<TConfig>
An addon backed by a strongly typed, persistent configuration.
Read guideAddonAttribute
Declares the package identity and display name of a Lithium addon.
Read guideAddonConfig
Base settings shared by configurable addons.
Read guideAddonDependency
Describes another addon required or optionally used by an addon.
Read guideAddonManifest
Runtime metadata used to initialize and order a Lithium addon.
Read guideAddonManifestExtensions
Convenience queries for addon manifest dependencies.
Read guideIAddonManifestInfo
Common identity fields shared by addon declarations and runtime manifests.
Read guideEvent
Provides named calls and events between addons. Instance handlers are limited to components in the target scene. Static handlers are discovered through Sandbox.Internal.TypeLibrary.
Read guideCallableAttribute
Marks a component or static method as callable by another addon through Call(string, object[]).
Read guideListenerAttribute
Marks a component or static method as a listener for a named event.
Read guidePropagateAttribute
Emits the named event after the decorated method completes successfully.
Read guideEventCodeGenerator
Public compiler bridge used by generated addon code. Event dispatch logic remains internal to Event.
Read guideComponentService
A component that will be automatically registered by the ComponentServiceManager and added into the Scene.
Read guideIComponentServiceEvent
Scene event contract notified after a component service is mounted.
Read guide