载入中...
搜索中...
未找到
eve::detail::StrongUint64< Tag > 模板类 参考

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 <=>.
 

详细描述

template<typename Tag>
class eve::detail::StrongUint64< Tag >

StrongUint64 public API.

在文件 StrongUint64.h 第 16 行定义.

构造及析构函数说明

◆ StrongUint64() [1/2]

template<typename Tag >
constexpr eve::detail::StrongUint64< Tag >::StrongUint64 ( )
constexprdefaultnoexcept

Constructs the zero value.

被这些函数引用 eve::detail::StrongUint64< Tag >::incremented().

◆ StrongUint64() [2/2]

template<typename Tag >
constexpr eve::detail::StrongUint64< Tag >::StrongUint64 ( std::uint64_t  value)
inlineexplicitconstexprnoexcept

Constructs a value explicitly from its underlying integer.

在文件 StrongUint64.h 第 21 行定义.

成员函数说明

◆ incremented()

◆ isZero()

◆ value()

template<typename Tag >
constexpr std::uint64_t eve::detail::StrongUint64< Tag >::value ( ) const
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()

template<typename Tag >
static constexpr StrongUint64 eve::detail::StrongUint64< Tag >::zero ( )
inlinestaticconstexprnoexcept

Returns the zero value for this strong type.

在文件 StrongUint64.h 第 24 行定义.

被这些函数引用 eve::climbing::ClimbingServiceSelectionSystem::tryStart().

友元及相关函数文档

◆ operator<=>

template<typename Tag >
constexpr auto operator<=> ( const StrongUint64< Tag > &  ,
const StrongUint64< Tag > &   
)
friend

Operator <=>.

◆ operator==

template<typename Tag >
constexpr bool operator== ( const StrongUint64< Tag > &  ,
const StrongUint64< Tag > &   
)
friend

Operator ==.


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