StrongUint64 public API. 更多...
#include <StrongUint64.h>
Public 成员函数 | |
| constexpr | StrongUint64 () noexcept=default |
| Constructs the zero value. | |
| constexpr | StrongUint64 (std::uint64_t value) noexcept |
| Constructs a value explicitly from its underlying integer. | |
| constexpr std::uint64_t | value () const noexcept |
| Returns the underlying value at an explicit protocol boundary. | |
| constexpr bool | isZero () const noexcept |
| Returns whether this value is zero. | |
| constexpr std::optional< StrongUint64 > | incremented () const noexcept |
| Returns the next value, or empty instead of unsigned wraparound. | |
静态 Public 成员函数 | |
| static constexpr StrongUint64 | zero () noexcept |
| Returns the zero value for this strong type. | |
友元 | |
| constexpr bool | operator== (const StrongUint64 &, const StrongUint64 &) noexcept=default |
| Operator ==. | |
| constexpr auto | operator<=> (const StrongUint64 &, const StrongUint64 &) noexcept=default |
| Operator <=>. | |
详细描述
class eve::detail::StrongUint64< Tag >
StrongUint64 public API.
在文件 StrongUint64.h 第 16 行定义.
构造及析构函数说明
◆ StrongUint64() [1/2]
|
constexprdefaultnoexcept |
Constructs the zero value.
◆ StrongUint64() [2/2]
|
inlineexplicitconstexprnoexcept |
Constructs a value explicitly from its underlying integer.
在文件 StrongUint64.h 第 21 行定义.
成员函数说明
◆ incremented()
|
inlineconstexprnoexcept |
Returns the next value, or empty instead of unsigned wraparound.
Constructs a StrongUint64.
在文件 StrongUint64.h 第 30 行定义.
引用了 eve::detail::StrongUint64< Tag >::StrongUint64().
被这些函数引用 eve::SimulationClock::advance(), eve::game_event::GameEventLog::append(), eve::definitions::DefinitionRegistry::clearEvents(), eve::policyregistry::PolicyRegistry::clearEvents(), eve::policyregistry::PolicyRegistry::enable(), eve::policyregistry::PolicyRegistry::insert(), eve::definitions::DefinitionRegistry::insert(), eve::animation::detail::legacyStep(), eve::building::BuildingGarrisonContainerAdapter::prepare(), eve::card::CardContainerAdapter::prepare(), eve::inventory::InventoryContainerAdapter::prepare(), eve::vehicle::VehicleSeatContainerAdapter::prepare(), eve::policyregistry::PolicyRegistry::remove(), eve::definitions::DefinitionRegistry::remove(), eve::policyregistry::PolicyRegistry::replace(), eve::definitions::DefinitionRegistry::replace(), eve::container::TransferService::transfer(), eve::animation::Animation::update(), eve::animation::AnimPlayer::update() , 以及 eve::animation::AnimStateMachine::update().
◆ isZero()
|
inlineconstexprnoexcept |
Returns whether this value is zero.
在文件 StrongUint64.h 第 28 行定义.
被这些函数引用 eve::detail::EventLogValidator::accept(), eve::game_event::GameEventLog::append(), eve::climbing::ClimbingInputSystem::consume(), eve::definition::InstanceIdentity::create(), eve::climbing::driveClimbingGraph(), eve::action::PlayerAbilityIntentQueue::enqueue(), eve::detail::EventLogValidator::finish(), eve::definition::DefinitionHandle::isValid(), eve::definition::InstanceIdentity::isValid(), eve::VersionedRegistry< Key, Value, EventData, Compare >::Handle::isValid(), eve::animation::MontagePlayer::play(), eve::animation::MontagePlayer::rebindExecution(), eve::climbing::ClimbingAnchorGraphInstance::releaseOccupant(), eve::climbing::ClimbingAnchorGraphInstance::reserve(), eve::definitions::DefinitionRegistry::restoreJson(), eve::policyregistry::PolicyRegistry::restoreJson(), eve::climbing::ClimbingAnchorGraphInstance::restoreReservation(), eve::climbing::ClimbingRuntime::tryBeginAnchor(), eve::climbing::ClimbingServiceSelectionSystem::tryStart() , 以及 eve::detail::validateRegistryNextSequence().
◆ value()
|
inlineconstexprnoexcept |
Returns the underlying value at an explicit protocol boundary.
在文件 StrongUint64.h 第 26 行定义.
被这些函数引用 eve::action::AbilityRuntime::activate(), eve::combat::CombatCharacterRuntime::advance(), eve::combat::HitFeelRuntime::advance(), eve::SimulationClock::advance(), eve::combat::MeleeHitRuntime::advance(), eve::physics::trajectory::TrajectoryCollisionRuntime::advance(), eve::production::WorkQueue::advanceTo(), eve::pixelworld_replay::PixelReplayLog::append(), eve::pixelworld::PixelWorld::applyChunkBatch(), eve::combat::MeleeHitRuntime::armHitbox(), eve::editor::EditorPropertyModel::beginTransaction(), eve::asset::buildEvpack(), eve::animation::AnimStateMachine::captureState(), eve::game_event::GameEventLog::clearBefore(), eve::attributes::AttributeSetResourceAccount::commit(), eve::economy::EconomyLedgerResourceAccount::commit(), eve::inventory::InventoryResourceAccount::commit(), eve::attributes::AttributeSetResourceAccount::credit(), eve::economy::EconomyLedgerResourceAccount::credit(), eve::inventory::InventoryResourceAccount::credit(), eve::attributes::AttributeSetResourceAccount::debit(), eve::economy::EconomyLedgerResourceAccount::debit(), eve::inventory::InventoryResourceAccount::debit(), eve::pixelworld_streaming::decodeChunkBatchArchive(), eve::combat::MeleeHitRuntime::disarmHitbox(), eve::particles_graphics_editing::ParticleEmitterOffscreenPresenter::draw(), eve::climbing::encodeClimbingPredictionDecision(), eve::action::input::ActionInputBuffer::expire(), eve::action::AbilityRuntime::grant(), eve::animation::MontagePlayer::jumpToSection(), eve::SnapshotMigrationChain::migrate(), eve::game_event::GameEventLog::querySequence(), eve::rts::RTSCommandLog::queue(), eve::pixelworld_replay::PixelReplayLog::replay(), eve::attributes::AttributeSetResourceAccount::reserve(), eve::economy::EconomyLedgerResourceAccount::reserve(), eve::inventory::InventoryResourceAccount::reserve(), eve::physics::World::restore(), eve::physics::World3D::restore(), eve::climbing::ClimbingRuntime::restore(), eve::definitions::DefinitionRegistry::restoreJson(), eve::policyregistry::PolicyRegistry::restoreJson(), eve::game_event::GameEventLog::restoreSnapshot(), eve::pixelworld_replay::PixelReplayLog::restoreSnapshot(), eve::game_event::EventConsumer::seek(), eve::production::WorkQueue::snapshot(), eve::snapshotEnvelopeValue(), eve::game_event::GameEventLog::snapshotJson(), eve::rts::RTSLockstep::step(), eve::scene_editor::ScenePhysicsPlacementBackend::step(), eve::climbing::ClimbingInputSystem::submit(), eve::climbing::ClimbingRuntime::tryBeginAnchor(), eve::climbing::ClimbingRuntime::tryBeginPredicted(), eve::climbing::ClimbingServiceSelectionSystem::tryStart(), eve::action::ActionTimeline::validate(), eve::validateSnapshotPayloadMetadata() , 以及 eve::editor::EditorPropertyModel::write().
◆ zero()
|
inlinestaticconstexprnoexcept |
Returns the zero value for this strong type.
在文件 StrongUint64.h 第 24 行定义.
被这些函数引用 eve::climbing::ClimbingServiceSelectionSystem::tryStart().
友元及相关函数文档
◆ operator<=>
|
friend |
Operator <=>.
◆ operator==
|
friend |
Operator ==.
该类的文档由以下文件生成:
- src/engine/common/StrongUint64.h