Modules Overview
Apollo's module split follows one principle:
Stabilize the underlying capabilities first, then assemble by game domain, and never let BigWorld semantics pollute the base layer in reverse.
Current modules, by responsibility:
| Module | Role |
|---|---|
| Base | Time, thread pool, memory, strings, IDs and other infrastructure |
| Core | Config, logging, lifecycle, DI, module registration and other framework kernel pieces |
| Runtime | ApplicationHost, WorldHost, ServiceHost and other host runtimes |
| Script | Lua sandbox host (scripting-lua.md: whitelist / budget / fault isolation / module injection) |
| Data | Connection abstraction, SQL templates, write-behind journal, in-process cache |
| Net | Transport, protocol, message codec, session communication |
| Game | Entities, AOI, battle, attributes, session directory and world logic |
| BigWorld | BigWorld API compatibility layer (thin migration surface for entities/callbacks/timers) |
| Contract | Contract message definition and generation (messages.xml → C++/Lua/JSON) |
| Protocol | Message codec and URL routing (codec + url) |
Recommended reading order:
