建筑放置模块入口:定义 / 放置世界 / 鬼影 / 变更事件的脚本绑定点。 设计文档:docs/dev/建筑放置系统设计.md 更多...
类 | |
| class | Building |
| 建筑放置模块(eve.Building)。 更多... | |
| struct | BuildingChangeEvent |
| 一次成功放置变更的事件(供脚本 poll / C++ hook)。 更多... | |
| struct | BuildingDefinition |
| 建筑模板(进程级注册表中的定义)。 更多... | |
| class | BuildingGarrisonContainerAdapter |
| Transactional adapter over one placed building's authoritative garrison. 更多... | |
| struct | BuildingGarrisonContainerObject |
| Owning payload carrying a garrison member's domain facts. 更多... | |
| class | BuildingRegistry |
| EVENGINE_API_WORLD public API. 更多... | |
| struct | CornerAddress |
| Canonical address of one logical grid vertex used by corner objects. 更多... | |
| struct | EdgeAddress |
| Canonical address of one grid edge. 更多... | |
| struct | EdgeCurveControlPoint |
| One cubic Bezier control point in logical grid-vertex space. 更多... | |
| struct | EdgeCurveGroup |
| World-owned authoritative description and membership of one committed edge curve. 更多... | |
| struct | EdgeCurveGroupId |
| Strong world-local identity of one authoritative edge-curve group. 更多... | |
| struct | EdgeCurveSurfaceSample |
| One committed 3D centerline frame sampled from a custom placement surface. 更多... | |
| struct | GarrisonMember |
| One persistent member of a placed building's logical garrison. 更多... | |
| class | Ghost |
| EVENGINE_API_WORLD public API. 更多... | |
| class | HeightfieldSurface |
| Immutable regularly sampled heightfield usable as an XY or XZ placement surface. 更多... | |
| struct | PlacedBuilding |
| 已放置的建筑实例。 更多... | |
| struct | PlacementEditReceipt |
| Owning before/after receipt produced by one committed placement edit. 更多... | |
| struct | PlacementQuery |
| 校验上下文:传给可插拔规则。 更多... | |
| class | PlacementSession |
| EVENGINE_API_WORLD public API. 更多... | |
| class | PlacementSystem |
| EVENGINE_API_WORLD public API. 更多... | |
| class | PlacementWorld |
| 格子型建筑放置世界(脚本可直接操作)。 更多... | |
| struct | SnapResult |
| 吸附结果。 更多... | |
| class | StaticMeshSurface |
| Immutable world-space triangle mesh accelerated for placement-surface projection. 更多... | |
| struct | StructuralLinkRebuildReceipt |
| Result metadata for an atomic rebuild of all derived structural links. 更多... | |
| struct | StructuralRemovalReceipt |
| Owning record of one committed dependent-first structural removal. 更多... | |
枚举 | |
| enum class | EdgeAxis : uint8_t { Horizontal , Vertical } |
| Canonical orientation of an edge in logical grid coordinates. 更多... | |
| enum class | EdgeUpdateStatus { Updated , Rejected } |
| Outcome of refreshing an edge placement preview. 更多... | |
| enum class | CornerUpdateStatus { Updated , Rejected } |
| Outcome of refreshing a corner placement preview. 更多... | |
| enum class | FreeUpdateStatus { Updated , Rejected } |
| Outcome of refreshing an exact free-object placement preview. 更多... | |
| enum class | EdgeLineExecuteStatus { Placed , Rejected } |
| Outcome of committing one continuous edge line. 更多... | |
| enum class | EdgePathUpdateStatus { Updated , Rejected } |
| Outcome of adding a logical vertex to an edge path preview. 更多... | |
| enum class | PlacementEditExecuteStatus { Committed , Rejected } |
| Outcome of committing one move or replace edit. 更多... | |
| enum class | AreaExecuteStatus { Accepted , Rejected } |
| Outcome of refreshing or committing an area tool request. 更多... | |
| enum class | PatternUpdateStatus { Updated , Rejected } |
| Outcome of configuring or previewing a unified placement pattern. 更多... | |
| enum class | PatternExecuteStatus { Placed , Rejected } |
| Outcome of atomically committing a unified placement pattern. 更多... | |
| enum class | PlacementRestoreStatus { Restored , Rejected } |
| Outcome of restoring an exact placement snapshot. 更多... | |
函数 | |
| Module_IMPL (Building, new Building()) | |
详细描述
建筑放置模块入口:定义 / 放置世界 / 鬼影 / 变更事件的脚本绑定点。 设计文档:docs/dev/建筑放置系统设计.md
建筑放置模块的核心数据结构:定义、实例、变更事件、鬼影状态。 全部策略名 / id / 标签使用字符串,便于 JSON 配置与跨版本兼容。
枚举类型说明
◆ AreaExecuteStatus
|
strong |
Outcome of refreshing or committing an area tool request.
| 枚举值 | |
|---|---|
| Accepted | |
| Rejected | |
在文件 PlacementSession.h 第 31 行定义.
◆ CornerUpdateStatus
|
strong |
Outcome of refreshing a corner placement preview.
| 枚举值 | |
|---|---|
| Updated | |
| Rejected | |
在文件 PlacementSession.h 第 21 行定义.
◆ EdgeAxis
|
strong |
Canonical orientation of an edge in logical grid coordinates.
| 枚举值 | |
|---|---|
| Horizontal | |
| Vertical | |
在文件 BuildingTypes.h 第 20 行定义.
◆ EdgeLineExecuteStatus
|
strong |
◆ EdgePathUpdateStatus
|
strong |
Outcome of adding a logical vertex to an edge path preview.
| 枚举值 | |
|---|---|
| Updated | |
| Rejected | |
在文件 PlacementSession.h 第 27 行定义.
◆ EdgeUpdateStatus
|
strong |
Outcome of refreshing an edge placement preview.
| 枚举值 | |
|---|---|
| Updated | |
| Rejected | |
在文件 PlacementSession.h 第 19 行定义.
◆ FreeUpdateStatus
|
strong |
Outcome of refreshing an exact free-object placement preview.
| 枚举值 | |
|---|---|
| Updated | |
| Rejected | |
在文件 PlacementSession.h 第 23 行定义.
◆ PatternExecuteStatus
|
strong |
Outcome of atomically committing a unified placement pattern.
| 枚举值 | |
|---|---|
| Placed | |
| Rejected | |
在文件 PlacementSession.h 第 35 行定义.
◆ PatternUpdateStatus
|
strong |
Outcome of configuring or previewing a unified placement pattern.
| 枚举值 | |
|---|---|
| Updated | |
| Rejected | |
在文件 PlacementSession.h 第 33 行定义.
◆ PlacementEditExecuteStatus
|
strong |
Outcome of committing one move or replace edit.
| 枚举值 | |
|---|---|
| Committed | |
| Rejected | |
在文件 PlacementSession.h 第 29 行定义.
◆ PlacementRestoreStatus
|
strong |
Outcome of restoring an exact placement snapshot.
| 枚举值 | |
|---|---|
| Restored | |
| Rejected | |
在文件 PlacementSystem.h 第 28 行定义.
函数说明
◆ Module_IMPL()
| eve::building::Module_IMPL | ( | Building | , |
| new | Building() | ||
| ) |