载入中...
搜索中...
未找到
eve::IGameplayInstanceCatalog类 参考abstract

Optional read-only discovery surface implemented beside a gameplay provider. 更多...

#include <GameplayInstanceCatalog.h>

类 eve::IGameplayInstanceCatalog 继承关系图:
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

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()

virtual eve::IGameplayInstanceCatalog::~IGameplayInstanceCatalog ( )
virtualdefault

Releases IGameplayInstanceCatalog resources.

成员函数说明

◆ gameplayDomain()

virtual std::string_view eve::IGameplayInstanceCatalog::gameplayDomain ( ) const
pure virtualnoexcept

◆ gameplayInstances()

virtual std::vector< SubjectRef > eve::IGameplayInstanceCatalog::gameplayInstances ( ) const
pure virtual

类成员变量说明

◆ capabilityName

constexpr const char* eve::IGameplayInstanceCatalog::capabilityName = "IGameplayInstanceCatalog"
staticconstexpr

在文件 GameplayInstanceCatalog.h 第 34 行定义.


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