载入中...
搜索中...
未找到
eve::rts::RTSStateSnapshot结构体 参考

Complete RTS-owned state; v2 adds movement groups, v1 imports with no groups. @cost Linear in saved entity and relationship counts; capture/restore copies owned snapshot vectors at checkpoint boundaries. 更多...

#include <RTSSnapshot.h>

Public 属性

std::uint32_t version = 2
 
std::vector< RTSMovementGroupSnapshot > movementGroups
 
std::vector< RTSUnitSnapshot > units
 
std::vector< RTSBuildingSnapshot > buildings
 
std::vector< RTSResourceNodeSnapshot > resourceNodes
 
std::vector< RTSPlayerSnapshot > players
 
std::vector< RTSFactionSnapshot > factions
 
std::vector< RTSMatchSnapshot > matches
 
RTSProjectileSystemSnapshot projectiles
 

详细描述

Complete RTS-owned state; v2 adds movement groups, v1 imports with no groups. @cost Linear in saved entity and relationship counts; capture/restore copies owned snapshot vectors at checkpoint boundaries.

在文件 RTSSnapshot.h 第 172 行定义.

类成员变量说明

◆ buildings

std::vector<RTSBuildingSnapshot> eve::rts::RTSStateSnapshot::buildings

◆ factions

std::vector<RTSFactionSnapshot> eve::rts::RTSStateSnapshot::factions

◆ matches

std::vector<RTSMatchSnapshot> eve::rts::RTSStateSnapshot::matches

◆ movementGroups

std::vector<RTSMovementGroupSnapshot> eve::rts::RTSStateSnapshot::movementGroups

在文件 RTSSnapshot.h 第 174 行定义.

被这些函数引用 eve::rts::RTS::snapshotState().

◆ players

std::vector<RTSPlayerSnapshot> eve::rts::RTSStateSnapshot::players

◆ projectiles

RTSProjectileSystemSnapshot eve::rts::RTSStateSnapshot::projectiles

在文件 RTSSnapshot.h 第 181 行定义.

被这些函数引用 eve::rts::RTS::restoreState().

◆ resourceNodes

std::vector<RTSResourceNodeSnapshot> eve::rts::RTSStateSnapshot::resourceNodes

◆ units

std::vector<RTSUnitSnapshot> eve::rts::RTSStateSnapshot::units

◆ version

std::uint32_t eve::rts::RTSStateSnapshot::version = 2

在文件 RTSSnapshot.h 第 173 行定义.

被这些函数引用 eve::rts::RTS::rebuildState() , 以及 eve::rts::RTS::restoreState().


该结构体的文档由以下文件生成: