Immutable owning capture; independent of Pathfinder and TileLayer lifetimes.
更多...
#include <Pathfinder.h>
|
| | NavigationGridSnapshot ()=default |
| | Construct an absent snapshot.
|
| |
| bool | valid () const noexcept |
| | Whether this value contains captured data.
|
| |
| int | width () const noexcept |
| | Read column count.
|
| |
| int | height () const noexcept |
| | Read row count.
|
| |
| std::uint64_t | revision () const noexcept |
| | Read content revision, advanced only on changed captured content.
|
| |
| NavigationTopology | topology () const noexcept |
| | Read captured adjacency.
|
| |
| bool | isStaggerAxisY () const noexcept |
| | Read hex stagger axis (normalized to Y for orthogonal captures).
|
| |
| bool | isStaggerOdd () const noexcept |
| | Read hex stagger parity (normalized to odd for orthogonal captures).
|
| |
| std::span< const float > | costs () const noexcept |
| | Borrow costs while at least one snapshot retains this capture; reassignment releases it.
|
| |
| std::span< const std::uint8_t > | enterMasks () const noexcept |
| | Borrow directional enter masks with the same snapshot lifetime.
|
| |
| std::span< const std::uint8_t > | exitMasks () const noexcept |
| | Borrow directional exit masks with the same snapshot lifetime.
|
| |
Immutable owning capture; independent of Pathfinder and TileLayer lifetimes.
在文件 Pathfinder.h 第 27 行定义.
◆ NavigationGridSnapshot()
| eve::map::NavigationGridSnapshot::NavigationGridSnapshot |
( |
| ) |
|
|
default |
Construct an absent snapshot.
◆ costs()
| std::span< const float > eve::map::NavigationGridSnapshot::costs |
( |
| ) |
const |
|
noexcept |
Borrow costs while at least one snapshot retains this capture; reassignment releases it.
在文件 Pathfinder.cpp 第 363 行定义.
◆ enterMasks()
| std::span< const std::uint8_t > eve::map::NavigationGridSnapshot::enterMasks |
( |
| ) |
const |
|
noexcept |
Borrow directional enter masks with the same snapshot lifetime.
在文件 Pathfinder.cpp 第 366 行定义.
◆ exitMasks()
| std::span< const std::uint8_t > eve::map::NavigationGridSnapshot::exitMasks |
( |
| ) |
const |
|
noexcept |
Borrow directional exit masks with the same snapshot lifetime.
在文件 Pathfinder.cpp 第 369 行定义.
◆ height()
| int eve::map::NavigationGridSnapshot::height |
( |
| ) |
const |
|
noexcept |
◆ isStaggerAxisY()
| bool eve::map::NavigationGridSnapshot::isStaggerAxisY |
( |
| ) |
const |
|
noexcept |
Read hex stagger axis (normalized to Y for orthogonal captures).
在文件 Pathfinder.cpp 第 361 行定义.
◆ isStaggerOdd()
| bool eve::map::NavigationGridSnapshot::isStaggerOdd |
( |
| ) |
const |
|
noexcept |
Read hex stagger parity (normalized to odd for orthogonal captures).
在文件 Pathfinder.cpp 第 362 行定义.
◆ revision()
| std::uint64_t eve::map::NavigationGridSnapshot::revision |
( |
| ) |
const |
|
noexcept |
Read content revision, advanced only on changed captured content.
在文件 Pathfinder.cpp 第 357 行定义.
◆ topology()
◆ valid()
| bool eve::map::NavigationGridSnapshot::valid |
( |
| ) |
const |
|
inlinenoexcept |
◆ width()
| int eve::map::NavigationGridSnapshot::width |
( |
| ) |
const |
|
noexcept |
◆ Pathfinder
该类的文档由以下文件生成: