Skip to content

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:

ModuleRole
BaseTime, thread pool, memory, strings, IDs and other infrastructure
CoreConfig, logging, lifecycle, DI, module registration and other framework kernel pieces
RuntimeApplicationHost, WorldHost, ServiceHost and other host runtimes
ScriptLua sandbox host (scripting-lua.md: whitelist / budget / fault isolation / module injection)
DataConnection abstraction, SQL templates, write-behind journal, in-process cache
NetTransport, protocol, message codec, session communication
GameEntities, AOI, battle, attributes, session directory and world logic
BigWorldBigWorld API compatibility layer (thin migration surface for entities/callbacks/timers)
ContractContract message definition and generation (messages.xml → C++/Lua/JSON)
ProtocolMessage codec and URL routing (codec + url)

Recommended reading order:

  1. Base
  2. Core
  3. Runtime
  4. Net
  5. Data
  6. Game
  7. BigWorld

Released under the MIT License