载入中...
搜索中...
未找到
eve::building::PreparedAssembly类 参考

Move-only proof of a fully validated house operation. @ownership Owns its candidate; destruction cancels without side effects. @lifetime Independent of the world; commit rejects a destroyed/replaced owner's epoch. @thread Owner-thread only; pure validation may run during preparation; observers run after commit. 更多...

#include <BuildingAssembly.h>

Public 成员函数

 PreparedAssembly (PreparedAssembly &&) noexcept
 
PreparedAssembly & operator= (PreparedAssembly &&) noexcept
 
 ~PreparedAssembly ()
 
 PreparedAssembly (const PreparedAssembly &)=delete
 
PreparedAssembly & operator= (const PreparedAssembly &)=delete
 
std::span< const PlacedBuilding > preview () const
 Borrow the validated member preview until this token moves or is consumed.
 

友元

class AssemblyService
 
EVENGINE_API_WORLD Result< Value > executeHouseRequest (PlacementWorld &world, const Value &request)
 Execute the version-1 house authoring protocol used by scripts and tools. @ownership Synchronously borrows the world and request; returns an owning payload. @thread World owner thread only; validation callbacks must be pure. @reentrancy Mutation publishes complete state before observer callbacks. @cost Capture/save copy selected/world state; preview/mutations stage a whole world once per gesture.
 

详细描述

Move-only proof of a fully validated house operation. @ownership Owns its candidate; destruction cancels without side effects. @lifetime Independent of the world; commit rejects a destroyed/replaced owner's epoch. @thread Owner-thread only; pure validation may run during preparation; observers run after commit.

在文件 BuildingAssembly.h 第 73 行定义.

构造及析构函数说明

◆ PreparedAssembly() [1/2]

eve::building::PreparedAssembly::PreparedAssembly ( PreparedAssembly &&  )
defaultnoexcept

◆ ~PreparedAssembly()

eve::building::PreparedAssembly::~PreparedAssembly ( )
default

◆ PreparedAssembly() [2/2]

eve::building::PreparedAssembly::PreparedAssembly ( const PreparedAssembly &  )
delete

成员函数说明

◆ operator=() [1/2]

PreparedAssembly & eve::building::PreparedAssembly::operator= ( const PreparedAssembly &  )
delete

◆ operator=() [2/2]

PreparedAssembly & eve::building::PreparedAssembly::operator= ( PreparedAssembly &&  )
defaultnoexcept

◆ preview()

std::span< const PlacedBuilding > eve::building::PreparedAssembly::preview ( ) const

Borrow the validated member preview until this token moves or is consumed.

在文件 BuildingAssembly.cpp 第 14 行定义.

友元及相关函数文档

◆ AssemblyService

friend class AssemblyService
friend

在文件 BuildingAssembly.h 第 84 行定义.

◆ executeHouseRequest

EVENGINE_API_WORLD Result< Value > executeHouseRequest ( PlacementWorld &  world,
const Value &  request 
)
friend

Execute the version-1 house authoring protocol used by scripts and tools. @ownership Synchronously borrows the world and request; returns an owning payload. @thread World owner thread only; validation callbacks must be pure. @reentrancy Mutation publishes complete state before observer callbacks. @cost Capture/save copy selected/world state; preview/mutations stage a whole world once per gesture.

返回
Structured result; mutations return exact before/after receipt endpoints.

在文件 BuildingAssemblyProtocol.cpp 第 29 行定义.


该类的文档由以下文件生成: