函数 | |
| Value | definitionValue (const BuildingDefinition &d) |
| Value | definitionsFor (const PlacementWorld &w) |
| Result< void > | checkDefinitions (const Value &value) |
| uint64_t | nextEpoch () |
| Result< void > | checkGrid (const PlacementWorld &world) |
| Result< PlacedBuilding > | transformPart (const PlacedBuilding &part, const PlacementWorld &world, AssemblyPose from, AssemblyPose to) |
| Value | poseValue (AssemblyPose p) |
| Result< AssemblyPose > | parsePose (const Value &v) |
| void | removeMembership (AssemblyState &state, int member) |
| template<class T > | |
| Result< T > | fail (std::string message, DiagnosticCode code=DiagnosticCode::InvalidArgument) |
函数说明
◆ checkDefinitions()
◆ checkGrid()
| Result< void > eve::building::assembly_detail::checkGrid | ( | const PlacementWorld & | world | ) |
在文件 BuildingAssemblyGeometry.cpp 第 15 行定义.
引用了 g, eve::grid::Rectangle , 以及 eve::Result< T >::success().
被这些函数引用 eve::building::AssemblyService::capture() , 以及 eve::building::AssemblyService::snapshotWorld().
◆ definitionsFor()
| Value eve::building::assembly_detail::definitionsFor | ( | const PlacementWorld & | w | ) |
在文件 BuildingAssemblyDefinitions.cpp 第 81 行定义.
引用了 d, definitionValue(), eve::building::BuildingRegistry::find(), p, result , 以及 w.
◆ definitionValue()
| Value eve::building::assembly_detail::definitionValue | ( | const BuildingDefinition & | d | ) |
在文件 BuildingAssemblyDefinitions.cpp 第 4 行定义.
被这些函数引用 eve::building::AssemblyService::capture(), checkDefinitions() , 以及 definitionsFor().
◆ fail()
| Result< T > eve::building::assembly_detail::fail | ( | std::string | message, |
| DiagnosticCode | code = DiagnosticCode::InvalidArgument |
||
| ) |
在文件 BuildingAssemblyInternal.h 第 35 行定义.
引用了 code, eve::Diagnostic::error(), eve::Result< T >::failure() , 以及 message.
◆ nextEpoch()
| uint64_t eve::building::assembly_detail::nextEpoch | ( | ) |
在文件 BuildingAssemblyGeometry.cpp 第 11 行定义.
引用了 sequence.
被这些函数引用 eve::building::AssemblyService::commit() , 以及 eve::building::PlacementWorld::PlacementWorld().
◆ parsePose()
| Result< AssemblyPose > eve::building::assembly_detail::parsePose | ( | const Value & | v | ) |
在文件 BuildingAssemblyGeometry.cpp 第 124 行定义.
引用了 key, n, out, p, parsePose() , 以及 v.
被这些函数引用 parsePose().
◆ poseValue()
| Value eve::building::assembly_detail::poseValue | ( | AssemblyPose | p | ) |
◆ removeMembership()
| void eve::building::assembly_detail::removeMembership | ( | AssemblyState & | state, |
| int | member | ||
| ) |
在文件 BuildingAssemblyGeometry.cpp 第 143 行定义.
引用了 removeMembership() , 以及 state.
被这些函数引用 removeMembership().
◆ transformPart()
| Result< PlacedBuilding > eve::building::assembly_detail::transformPart | ( | const PlacedBuilding & | part, |
| const PlacementWorld & | world, | ||
| AssemblyPose | from, | ||
| AssemblyPose | to | ||
| ) |
在文件 BuildingAssemblyGeometry.cpp 第 33 行定义.
引用了 eve::building::PlacedBuilding::buildingId, cx, cy, eve::building::PlacedBuilding::elevation, eve::building::BuildingRegistry::find(), eve::building::PlacementSystem::foreachFootprintCell(), from, eve::building::PlacedBuilding::level, level, limit, eve::building::PlacedBuilding::originCellX, eve::building::PlacedBuilding::originCellY, out, eve::building::PlacedBuilding::placementKind, point, q, eve::building::PlacedBuilding::rotationDeg, to, v, valid, x , 以及 y.
被这些函数引用 eve::building::AssemblyService::capture(), eve::building::AssemblyService::prepareMove() , 以及 eve::building::AssemblyService::preparePlacement().