载入中...
搜索中...
未找到
eve::game_event 命名空间参考

类

class  CausationRef
 Tagged direct causation reference to an event or command. 更多...
 
class  CorrelationId
 Strong business-workflow correlation identity. 更多...
 
class  EventConsumer
 Independent sequence cursor used to consume an GameEventLog in batches. 更多...
 
struct  GameEvent
 Envelope metadata shared by event domains. 更多...
 
class  GameEventLog
 Deterministic in-memory stream of topic-neutral event envelopes. 更多...
 
class  GameEventModule
 Script module factory for generic GameEventLog objects. 更多...
 
struct  TypedEventEnvelope
 Strongly typed event value used before serialization into a stream. 更多...
 

类型定义

using EventSequence = eve::EventSequence
 
using SimulationTick = eve::SimulationTick
 
using SchemaId = eve::LogicalId
 
using SchemaVersion = eve::SchemaVersion
 
using EventId = eve::EventId
 Event and command identities are aliases of the common UUID type.
 
using CommandId = eve::CommandId
 

函数

std::ostream & operator<< (std::ostream &stream, CorrelationId::Kind kind)
 Writes a correlation representation tag for diagnostics.
 
std::ostream & operator<< (std::ostream &stream, CausationRef::Kind kind)
 Writes a causation representation tag for diagnostics.
 

变量

ModuleRegister GameEventModule_register ("GameEvent",(ModuleManager::creator_t)(GameEventModule::create), GameEventModule::expose)
 

类型定义说明

◆ CommandId

在文件 GameEvent.h 第 41 行定义.

◆ EventId

Event and command identities are aliases of the common UUID type.

The aliases preserve the game_event namespace as a source-compatible facade while keeping parsing, formatting, hashing and domain separation in one implementation (common/Identity.h).

在文件 GameEvent.h 第 40 行定义.

◆ EventSequence

在文件 GameEvent.h 第 28 行定义.

◆ SchemaId

在文件 GameEvent.h 第 30 行定义.

◆ SchemaVersion

在文件 GameEvent.h 第 31 行定义.

◆ SimulationTick

在文件 GameEvent.h 第 29 行定义.

函数说明

◆ operator<<() [1/2]

std::ostream & eve::game_event::operator<< ( std::ostream &  stream,
CausationRef::Kind  kind 
)
inline

Writes a causation representation tag for diagnostics.

在文件 GameEvent.h 第 164 行定义.

引用了 eve::game_event::CausationRef::Command, eve::game_event::CausationRef::Event, kind, eve::game_event::CausationRef::Legacy , 以及 eve::game_event::CausationRef::None.

◆ operator<<() [2/2]

std::ostream & eve::game_event::operator<< ( std::ostream &  stream,
CorrelationId::Kind  kind 
)
inline

Writes a correlation representation tag for diagnostics.

在文件 GameEvent.h 第 154 行定义.

引用了 eve::game_event::CorrelationId::Id, kind, eve::game_event::CorrelationId::Legacy , 以及 eve::game_event::CorrelationId::None.

变量说明

◆ GameEventModule_register

ModuleRegister eve::game_event::GameEventModule_register("GameEvent",(ModuleManager::creator_t)(GameEventModule::create), GameEventModule::expose) ( "GameEvent"  ,
(ModuleManager::creator_t)(GameEventModule::create)  ,
GameEventModule::expose   
)