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

Owning replayable edit command. Sequence must be exactly previous + 1. 更多...

#include <PixelWorld.h>

Public 属性

std::uint64_t sequence = 0
 
PixelEditKind kind = PixelEditKind::PaintCircle
 
int centerX = 0
 
int centerY = 0
 
int radius = 0
 
MaterialId material = MaterialId::Air
 
int strength = 0
 
std::int16_t temperatureDelta = 0
 

详细描述

Owning replayable edit command. Sequence must be exactly previous + 1.

备注
material is used by PaintCircle; strength by Explosion; and temperatureDelta by HeatCircle/Explosion.

在文件 PixelWorld.h 第 155 行定义.

类成员变量说明

◆ centerX

int eve::pixelworld::PixelEditCommand::centerX = 0

在文件 PixelWorld.h 第 158 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().

◆ centerY

int eve::pixelworld::PixelEditCommand::centerY = 0

在文件 PixelWorld.h 第 159 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().

◆ kind

PixelEditKind eve::pixelworld::PixelEditCommand::kind = PixelEditKind::PaintCircle

在文件 PixelWorld.h 第 157 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().

◆ material

MaterialId eve::pixelworld::PixelEditCommand::material = MaterialId::Air

在文件 PixelWorld.h 第 161 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit().

◆ radius

int eve::pixelworld::PixelEditCommand::radius = 0

在文件 PixelWorld.h 第 160 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().

◆ sequence

std::uint64_t eve::pixelworld::PixelEditCommand::sequence = 0

◆ strength

int eve::pixelworld::PixelEditCommand::strength = 0

在文件 PixelWorld.h 第 162 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().

◆ temperatureDelta

std::int16_t eve::pixelworld::PixelEditCommand::temperatureDelta = 0

在文件 PixelWorld.h 第 163 行定义.

被这些函数引用 eve::pixelworld::PixelWorld::applyEdit() , 以及 eve::pixelworld::PixelWorld::explode().


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