Optional read-only discovery surface implemented beside a gameplay provider. 更多...
#include <GameplayInstanceCatalog.h>
Public 成员函数 | |
| virtual | ~IGameplayInstanceCatalog ()=default |
| Releases IGameplayInstanceCatalog resources. | |
| virtual std::string_view | gameplayDomain () const noexcept=0 |
| Provider domain these instances belong to; matches the provider's domain. | |
| virtual std::vector< SubjectRef > | gameplayInstances () const =0 |
| Instances currently served, in publication order. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IGameplayInstanceCatalog" |
详细描述
Optional read-only discovery surface implemented beside a gameplay provider.
IGameplayControlProvider addresses one instance per call, and the shared router allows exactly one provider per domain, so nothing in that interface tells an unattended agent which instances exist. A provider that can enumerate its published instances implements this interface as well and registers it with eve::cap::addListener; the instances gameplay-control operation reports every catalogue and, separately, the domains that cannot enumerate.
Registration and every method are owner-simulation-thread affine, like the provider itself. Implementations return owning vectors and retain no argument.
@ownership The implementation is owned by whichever module publishes the domain; callers only read it during the call. @thread Owner-simulation thread only.
在文件 GameplayInstanceCatalog.h 第 32 行定义.
构造及析构函数说明
◆ ~IGameplayInstanceCatalog()
|
virtualdefault |
Releases IGameplayInstanceCatalog resources.
成员函数说明
◆ gameplayDomain()
|
pure virtualnoexcept |
Provider domain these instances belong to; matches the provider's domain.
在 eve::card::CardControl, eve::climbing::ClimbingControl, eve::dialogue::DialogueControl, eve::economy::EconomyControl, eve::inventory::InventoryControl, eve::rpg::BattleControl, eve::rpg::ProductControl, eve::rts::RTS, eve::tactics::Tactics , 以及 eve::weapon::WeaponControl 内被实现.
◆ gameplayInstances()
|
pure virtual |
Instances currently served, in publication order.
在 eve::card::CardControl, eve::climbing::ClimbingControl, eve::dialogue::DialogueControl, eve::economy::EconomyControl, eve::inventory::InventoryControl, eve::rpg::BattleControl, eve::rpg::ProductControl, eve::rts::RTS, eve::tactics::Tactics , 以及 eve::weapon::WeaponControl 内被实现.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 GameplayInstanceCatalog.h 第 34 行定义.
该类的文档由以下文件生成:
- src/engine/common/GameplayInstanceCatalog.h