Skip to content

Source Glossary ​

English | 简体中文

This glossary records the abstract layers found by reading the current sources, not the directory names that happen to contain them. Each entry cites the defining contract or first implementation boundary.

Glossary ​

TermEnglishDefinitionEvidence
进程装配Process AssemblyA main-level boundary that parses process input, wires transport/store/app dependencies, and drives init → tick → stop without owning business protocols.apps/baseapp/main.cpp:117
基础设施FoundationShared primitives for streams, routing, timers, logging, metrics, tracing, Redis-shaped state, and rate limiting; owns no game or process policy.src/foundation/include/theseed/foundation/ChannelRouter.h:13
运行时传输Runtime TransportThe component-to-component invocation channel: a frame, delivery class, queue/backpressure, peer registration, TCP/in-memory pipes, and periodic pump/flush.src/runtime/include/theseed/runtime/RuntimeTransport.h:15
调度器Tick SchedulerThe ordered six-phase game loop that snapshots tickables, executes queued tasks, reports duration, and exposes stop control.src/runtime/include/theseed/runtime/TickScheduler.h:16
实体EntityThe runtime game object with identity/type/side, state, properties, timers, controllers, events, and base/cell relations.src/runtime/include/theseed/runtime/Entity.h:34
实体定义EntityDefThe parsed XML contract for an entity: properties, exposed methods, events, inheritance, and defaults.src/runtime/include/theseed/runtime/EntityDef.h:19
实体定义注册表EntityDef RegistryThe load/inheritance/factory boundary that turns XML files into executable entity factories.src/db/include/theseed/db/EntityDefRegistry.h:15
属性块PropertyBlockContiguous per-entity storage laid out from an EntityDef, with typed accessors, defaults, and serialization.src/runtime/include/theseed/runtime/PropertyBlock.h:21
AOIArea of InterestCross-linked X/Z coordinate indexes and range triggers that derive entity visibility and enter/leave events.src/runtime/include/theseed/runtime/AOI.h:71
观察者视图WitnessPer-observer distance bands and staged property/position deltas that turn AOI state into client updates.src/runtime/include/theseed/runtime/Witness.h:41
幽灵GhostThe real/ghost authority relation and bounded forwarding route used during entity migration.src/runtime/include/theseed/runtime/GhostManager.h:17
实体迁移Entity MigrationThe epoch/version-safe route table and snapshot protocol that move an entity while callers preserve old IDs.src/runtime/include/theseed/runtime/EntityMigration.h:32
空间SpaceThe authoritative spatial topology, entity membership, and range queries; SpaceRuntime adds observers, replication, and timers.src/runtime/include/theseed/runtime/Space.h:19
Base/Cell 双体Base/Cell SplitThe ownership split between persistent session-side Base entities and spatial Cell entities, connected by typed EntityCalls.src/core/include/theseed/core/BaseApp.h:26
应用服务Application ServiceA process-level use case that combines protocols, entity runtime, sessions, storage, and observability (Base, Cell, Login, Realm, or DB).src/core/include/theseed/core/BaseApp.h:26
客户端会话Client SessionThe framed client connection state and parser/sender; it does not interpret business results.src/login/include/theseed/login/ClientSession.h:13
登录协议Login ProtocolThe compact length/type/payload protocol and encoders for login, realm selection, and errors.src/login/include/theseed/login/LoginProtocol.h:36
会话令牌Session TokenThe stateless token format that carries and validates account/realm identity across access hops.src/login/include/theseed/login/SessionToken.h:7
实体存储Entity StoreThe persistence abstraction for load/save/remove/id allocation/listing, implemented by memory, file, MySQL, PostgreSQL, and a remote DB adapter.src/db/include/theseed/db/IEntityStore.h:16
文件存储File StoreThe filesystem-backed entity format under a root directory, with mutex-guarded ID allocation.src/db/include/theseed/db/FileEntityStore.h:12
SQL 存储后端SQL Store BackendThe MySQL/PostgreSQL store family sharing one binary entity payload plus SQL-specific ID/account indexes and schema creation.src/db/include/theseed/db/MySQLEntityStore.h:28
远程存储适配器Remote Store AdapterThe BaseEntity-side client that hides DBApp request/response calls behind IEntityStore with timeout handling.src/db/include/theseed/db/RemoteEntityStore.h:17
Redis 形状态Redis-Shaped StateThe provider seam for strings, sorted sets, locks, and atomic owned writes; current production wiring uses the in-memory implementation.src/foundation/include/theseed/foundation/RedisProvider.h:28
会话登记Session RegistryThe cross-process login-session index backed by Redis-shaped state, including list/renew/revoke views.src/foundation/include/theseed/foundation/SessionStore.h:20
运维检查器Ops InspectorThe process-local read-only snapshot and renderer for health, runtime, entities, Prometheus metrics, and dashboard HTML.src/ops/include/theseed/ops/OpsInspector.h:32
运维服务器Ops ServerThe non-blocking HTTP/1.0 surface exposing /metrics, /health, /inspect, /entities, and dashboard assets.src/ops/include/theseed/ops/OpsServer.h:24
主机代理Machine AgentThe local probe/supervisor facade that snapshots host state and executes allowed commands.src/control/include/theseed/control/machine/MachineAgent.h:43
守护代理Machine DaemonThe agent's TCP RPC lifecycle: policy/role gates, audit/report/artifact sinks, session operations, OTLP export, and graceful shutdown.src/control/include/theseed/control/machine/MachineDaemon.h:168
运维控制中心Ops Control CenterThe in-memory node/audit/profile aggregation state machine with bounded rings and stale pruning.src/control/include/theseed/control/ops/OpsControlCenter.h:45
OTLP 导出器OTLP ExporterThe opt-in trace/metrics HTTP/JSON exporters installed and uninstalled with daemon lifecycle.src/control/include/theseed/control/machine/OtlpTraceExporter.h:38
诊断策略Diagnostics PolicyThe source allowlist and read/trigger permission model for profiler metadata and artifacts.src/control/include/theseed/control/machine/ProfileRelay.h:9
访问角色Access RoleThe monotonic None/ReadOnly/Operator/Admin gate applied above method-specific policy allowlists.src/control/include/theseed/control/machine/AccessControl.h:14
审计条目Audit EntryThe request-scoped operation record retained as a bounded local/central ring.src/control/include/theseed/control/machine/AuditEntry.h:18
负载剖面Load ProfilerCell-side per-entity dispatch/load samples used for scheduling and operational feedback.src/runtime/include/theseed/runtime/LoadProfiler.h:31
备份拓扑协调器Backup Topology CoordinatorThe staged process membership/backup-route state machine with version/epoch acknowledgements.src/runtime/include/theseed/runtime/BackupTopologyCoordinator.h:48
热更新Hot UpdateThe L1/L2 classification, validation, snapshot apply, and rollback model for config/script changes; L3/L4 are blocked.src/scripting/include/theseed/scripting/HotUpdate.h:25
协议机器人Protocol BotThe external login/base protocol state machine and ramp manager used to exercise and load the access path.tools/bots/BotClient.h:18
代码生成器Code GeneratorThe offline EntityDef-to-C# emitter and CLI that write generated client assets.tools/codegen/main.cpp:1

Layer Map ​

LayerResponsibilityRepresentative modules
LAY-001 Process AssemblyTurn CLI defaults/overrides into a wired process and run its lifecycle.apps/baseapp/main.cpp:117
LAY-002 FoundationProvide cross-cutting state, transport queues, time, logging, metrics, and tracing primitives.src/foundation/include/theseed/foundation/ChannelRouter.h:13
LAY-003 Runtime Transport & SchedulingMove framed invocations and drive deterministic phased ticks.src/runtime/include/theseed/runtime/TickScheduler.h:16
LAY-004 Entity & Space RuntimeOwn entities, properties, spatial interest, replication, migration, and topology/load state.src/runtime/include/theseed/runtime/CellRuntime.h:26
LAY-005 Application ServicesImplement process use cases above the runtime, storage, and observability seams.src/core/include/theseed/core/BaseApp.h:26
LAY-006 PersistenceNormalize file/SQL/local remote persistence behind store interfaces.src/db/include/theseed/db/RemoteEntityStore.h:17
LAY-007 Observability & ControlSeparate read-only inspection, host control, aggregation, and telemetry from the game tick.src/ops/include/theseed/ops/OpsServer.h:24
LAY-008 Tooling & VerificationConsume public definitions/protocols from external codegen and bot tools.tools/codegen/main.cpp:3