类 | |
| struct | LiveLayer |
| struct | LivePhase |
| struct | Slot |
Public 成员函数 | |
| Result< AttackVfxInstanceState * > | resolve (AttackVfxHandle handle) |
| const AttackVfxInstanceState * | peek (AttackVfxHandle handle) const noexcept |
| Result< LogicalId > | resolveSkinId (const AttackVfxRecipe &recipe, const AttackVfxRequest &request) const |
| const AttackVfxSkin * | skinFor (const AttackVfxInstanceState &state) const |
| AttackVfxLayerStartRequest | makeLayerRequest (const AttackVfxInstanceState &state, AttackVfxPhaseKind phase, std::size_t phaseIndex, std::size_t layerIndex, const AttackVfxLayer *layer, const AttackVfxSkin *skin) const |
| Result< void > | startOneLayer (Slot &slot, std::size_t phaseIndex, const AttackVfxPhase &authored, const AttackVfxLayer &layer, std::size_t layerIndex, const AttackVfxSkin *skin, AttackVfxFrame &frame) |
| Result< void > | startPhaseLayers (Slot &slot, std::size_t phaseIndex, AttackVfxFrame &frame) |
| Result< void > | stopLiveLayer (LiveLayer &live, AttackVfxStopBehavior behavior) |
| Result< void > | stopPhaseLayers (Slot &slot, std::size_t phaseIndex, std::optional< AttackVfxStopBehavior > behaviorOverride=std::nullopt) |
| Result< void > | clearDraining (Slot &slot, AttackVfxStopBehavior behavior) |
| Result< void > | updateLiveLayer (Slot &slot, LiveLayer &live, double dtSeconds) |
| Result< void > | updatePhaseLayers (Slot &slot, std::size_t phaseIndex, double dtSeconds) |
| Result< void > | updateDraining (Slot &slot, double dtSeconds) |
| Result< void > | enterPhase (Slot &slot, std::size_t phaseIndex, AttackVfxFrame &frame) |
| Result< void > | exitPhase (Slot &slot, std::size_t phaseIndex, AttackVfxFrame &frame, std::string_view cue, std::optional< AttackVfxStopBehavior > behaviorOverride=std::nullopt) |
| void | armTimedPhases (AttackVfxInstanceState &state) |
| Result< void > | applyCue (Slot &slot, std::string_view cue, AttackVfxFrame &frame) |
| Result< void > | finishInstance (std::size_t slotIndex, AttackVfxFrame &frame, std::string_view cue, bool clearImmediately) |
| void | stopAllOccupied () |
Public 属性 | |
| std::vector< Slot > | slots {kDefaultCapacity} |
| std::unordered_map< std::string, AttackVfxRecipe > | recipes |
| std::unordered_map< std::string, AttackVfxSkin > | skins |
| std::uint64_t | tickSerial = 0 |
详细描述
在文件 AttackVfxRuntime.cpp 第 26 行定义.
成员函数说明
◆ applyCue()
|
inline |
在文件 AttackVfxRuntime.cpp 第 341 行定义.
引用了 consumed, eve::stylize::AttackVfxFrameEvent::CueConsumed, eve::stylize::AttackVfxFrameEvent::CueIgnored, enterPhase(), eve::stylize::AttackVfxFrame::events, exitPhase(), eve::stylize::AttackVfxFrameEvent::kind, recipes, state, eve::stylize::AttackVfxRuntime::Impl::Slot::state , 以及 eve::Result< T >::success().
◆ armTimedPhases()
|
inline |
在文件 AttackVfxRuntime.cpp 第 329 行定义.
◆ clearDraining()
|
inline |
◆ enterPhase()
|
inline |
◆ exitPhase()
|
inline |
在文件 AttackVfxRuntime.cpp 第 312 行定义.
引用了 eve::stylize::AttackVfxFrame::events, eve::stylize::AttackVfxFrameEvent::kind, phase, eve::stylize::AttackVfxFrameEvent::PhaseExit, eve::stylize::AttackVfxRuntime::Impl::Slot::state, stopPhaseLayers() , 以及 eve::Result< T >::success().
被这些函数引用 applyCue() , 以及 finishInstance().
◆ finishInstance()
|
inline |
在文件 AttackVfxRuntime.cpp 第 372 行定义.
引用了 clearDraining(), eve::stylize::ClearImmediately, eve::stylize::AttackVfxFrame::events, exitPhase(), eve::Result< T >::failure(), eve::stylize::AttackVfxFrameEvent::InstanceStopped, eve::stylize::AttackVfxFrameEvent::kind, slots, status, eve::stylize::AttackVfxFrame::stopped , 以及 eve::Result< T >::success().
被这些函数引用 stopAllOccupied().
◆ makeLayerRequest()
|
inline |
在文件 AttackVfxRuntime.cpp 第 88 行定义.
引用了 eve::stylize::AttackVfxLayerStartRequest::instance, layer, phase, request, state , 以及 tickSerial.
被这些函数引用 startOneLayer() , 以及 updateLiveLayer().
◆ peek()
|
inlinenoexcept |
在文件 AttackVfxRuntime.cpp 第 61 行定义.
◆ resolve()
|
inline |
◆ resolveSkinId()
|
inline |
◆ skinFor()
|
inline |
在文件 AttackVfxRuntime.cpp 第 82 行定义.
被这些函数引用 startPhaseLayers(), updateDraining() , 以及 updateLiveLayer().
◆ startOneLayer()
|
inline |
在文件 AttackVfxRuntime.cpp 第 103 行定义.
引用了 code, eve::stylize::AttackVfxFrame::events, eve::Result< T >::failure(), eve::stylize::AttackVfxRuntime::Impl::LiveLayer::handle, eve::stylize::AttackVfxFrameEvent::handle, eve::stylize::AttackVfxPhase::kind, layer, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::layerIndex, eve::stylize::AttackVfxPhase::layers, eve::stylize::AttackVfxFrameEvent::LayerSkipped, eve::stylize::AttackVfxFrameEvent::LayerStarted, makeLayerRequest(), eve::NotFound, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::phase, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::phaseIndex, eve::stylize::AttackVfxRuntime::Impl::Slot::phaseLayers, request, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::role, started, state, eve::stylize::AttackVfxRuntime::Impl::Slot::state, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::stopBehavior, eve::Result< T >::success() , 以及 eve::Unsupported.
被这些函数引用 startPhaseLayers().
◆ startPhaseLayers()
|
inline |
在文件 AttackVfxRuntime.cpp 第 144 行定义.
引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), layer, eve::stylize::MeshVfx, eve::NotFound, eve::stylize::AttackVfxRuntime::Impl::Slot::phaseLayers, recipes, eve::stylize::AttackVfxLayer::role, skinFor(), started, startOneLayer(), state, eve::stylize::AttackVfxRuntime::Impl::Slot::state, eve::stylize::Status, eve::stylize::AttackVfxSkin::statusOverlayUri, eve::Result< T >::success() , 以及 eve::stylize::AttackVfxLayer::uri.
被这些函数引用 enterPhase().
◆ stopAllOccupied()
|
inline |
在文件 AttackVfxRuntime.cpp 第 410 行定义.
引用了 draining, finishInstance(), slots , 以及 state.
◆ stopLiveLayer()
|
inline |
在文件 AttackVfxRuntime.cpp 第 182 行定义.
引用了 eve::stylize::ClearImmediately, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::handle, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::role, eve::Result< T >::success() , 以及 eve::stylize::AttackVfxLayerHandle::valid().
被这些函数引用 clearDraining() , 以及 stopPhaseLayers().
◆ stopPhaseLayers()
|
inline |
◆ updateDraining()
|
inline |
在文件 AttackVfxRuntime.cpp 第 254 行定义.
引用了 eve::stylize::AttackVfxRuntime::Impl::Slot::draining, eve::Result< T >::failure(), eve::stylize::AttackVfxLayerStartRequest::instance, eve::NoOp, eve::NotFound, eve::Rejected, request, skinFor(), eve::stylize::AttackVfxRuntime::Impl::Slot::state, status, eve::Result< T >::success(), tickSerial , 以及 updated.
◆ updateLiveLayer()
|
inline |
在文件 AttackVfxRuntime.cpp 第 224 行定义.
引用了 eve::stylize::AttackVfxRuntime::Impl::LiveLayer::handle, layer, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::layerIndex, makeLayerRequest(), eve::stylize::AttackVfxRuntime::Impl::LiveLayer::phase, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::phaseIndex, recipes, request, eve::stylize::AttackVfxRuntime::Impl::LiveLayer::role, skinFor(), eve::stylize::AttackVfxRuntime::Impl::Slot::state, eve::Result< T >::success() , 以及 eve::stylize::AttackVfxLayerHandle::valid().
被这些函数引用 updatePhaseLayers().
◆ updatePhaseLayers()
类成员变量说明
◆ recipes
| std::unordered_map<std::string, AttackVfxRecipe> eve::stylize::AttackVfxRuntime::Impl::recipes |
在文件 AttackVfxRuntime.cpp 第 48 行定义.
被这些函数引用 applyCue(), armTimedPhases(), startPhaseLayers() , 以及 updateLiveLayer().
◆ skins
| std::unordered_map<std::string, AttackVfxSkin> eve::stylize::AttackVfxRuntime::Impl::skins |
在文件 AttackVfxRuntime.cpp 第 49 行定义.
被这些函数引用 resolveSkinId() , 以及 skinFor().
◆ slots
| std::vector<Slot> eve::stylize::AttackVfxRuntime::Impl::slots {kDefaultCapacity} |
在文件 AttackVfxRuntime.cpp 第 47 行定义.
被这些函数引用 finishInstance(), peek(), resolve() , 以及 stopAllOccupied().
◆ tickSerial
| std::uint64_t eve::stylize::AttackVfxRuntime::Impl::tickSerial = 0 |
在文件 AttackVfxRuntime.cpp 第 50 行定义.
被这些函数引用 makeLayerRequest() , 以及 updateDraining().
该结构体的文档由以下文件生成:
- src/modules/stylize/AttackVfxRuntime.cpp