Server-to-client decision carrying the authoritative runtime snapshot for reconciliation. 更多...
#include <Climbing.h>
Public 属性 | |
| ClimbingPredictionSequence | sequence = ClimbingPredictionSequence::zero() |
| eve::SimulationTick | clientTick = eve::SimulationTick::zero() |
| eve::SimulationTick | serverTick = eve::SimulationTick::zero() |
| ClimbingPredictionDisposition | disposition = ClimbingPredictionDisposition::Rejected |
| ClimbingPredictionReason | reason = ClimbingPredictionReason::InvalidRequest |
| ClimbingCandidateKey | authoritativeCandidate |
| Server-selected key; fingerprint zero means no authoritative candidate was available. | |
| eve::Value | authoritativeSnapshot |
| Canonical server runtime state after the decision, used for rollback/replay reconciliation. | |
| eve::Value::Object | extensionMetadata |
| Unknown schema fields retained across decode and encode. | |
静态 Public 属性 | |
| static constexpr std::string_view | SchemaId = "evengine.climbing-prediction-decision" |
| Canonical cross-process schema id. | |
| static constexpr std::int64_t | SchemaVersion = 1 |
| Current decision schema version. | |
详细描述
Server-to-client decision carrying the authoritative runtime snapshot for reconciliation.
在文件 Climbing.h 第 431 行定义.
类成员变量说明
◆ authoritativeCandidate
| ClimbingCandidateKey eve::climbing::ClimbingPredictionDecision::authoritativeCandidate |
Server-selected key; fingerprint zero means no authoritative candidate was available.
在文件 Climbing.h 第 443 行定义.
被这些函数引用 eve::climbing::decodeClimbingPredictionDecision(), eve::climbing::encodeClimbingPredictionDecision() , 以及 eve::climbing::ClimbingRuntime::tryBeginPredicted().
◆ authoritativeSnapshot
| eve::Value eve::climbing::ClimbingPredictionDecision::authoritativeSnapshot |
Canonical server runtime state after the decision, used for rollback/replay reconciliation.
在文件 Climbing.h 第 445 行定义.
被这些函数引用 eve::climbing::decodeClimbingPredictionDecision() , 以及 eve::climbing::encodeClimbingPredictionDecision().
◆ clientTick
| eve::SimulationTick eve::climbing::ClimbingPredictionDecision::clientTick = eve::SimulationTick::zero() |
◆ disposition
| ClimbingPredictionDisposition eve::climbing::ClimbingPredictionDecision::disposition = ClimbingPredictionDisposition::Rejected |
◆ extensionMetadata
| eve::Value::Object eve::climbing::ClimbingPredictionDecision::extensionMetadata |
Unknown schema fields retained across decode and encode.
在文件 Climbing.h 第 447 行定义.
被这些函数引用 eve::climbing::decodeClimbingPredictionDecision() , 以及 eve::climbing::encodeClimbingPredictionDecision().
◆ reason
| ClimbingPredictionReason eve::climbing::ClimbingPredictionDecision::reason = ClimbingPredictionReason::InvalidRequest |
◆ SchemaId
|
staticconstexpr |
Canonical cross-process schema id.
在文件 Climbing.h 第 433 行定义.
被这些函数引用 eve::climbing::decodeClimbingPredictionDecision() , 以及 eve::climbing::encodeClimbingPredictionDecision().
◆ SchemaVersion
|
staticconstexpr |
Current decision schema version.
在文件 Climbing.h 第 435 行定义.
◆ sequence
| ClimbingPredictionSequence eve::climbing::ClimbingPredictionDecision::sequence = ClimbingPredictionSequence::zero() |
◆ serverTick
| eve::SimulationTick eve::climbing::ClimbingPredictionDecision::serverTick = eve::SimulationTick::zero() |
该结构体的文档由以下文件生成:
- src/modules/climbing/Climbing.h