载入中...
搜索中...
未找到
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 第 175 行定义.

类成员变量说明

◆ buildings

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

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

◆ factions

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

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

◆ matches

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

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

◆ movementGroups

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

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

◆ players

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

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

◆ projectiles

RTSProjectileSystemSnapshot eve::rts::RTSStateSnapshot::projectiles

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

◆ resourceNodes

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

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

◆ units

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

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

◆ version

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

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


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