载入中...
搜索中...
未找到
LevelDocument.h
浏览该文件的文档.
128 [[nodiscard]] eve::OptionalRef<const LevelObject> object(int layerIndex, int objectIndex) const;
Vocabulary aliases for nullable and checked borrowed references.
Share string attribute map operations through the Windows Foundation DLL.
Owning, renderer-independent dynamic values.
Format-neutral, editable top-down level model.
Definition LevelDocument.h:61
LevelDocument(LevelDocument &&)=default
Level document.
LevelDocument & operator=(const LevelDocument &)=delete
LevelDocument & operator=(LevelDocument &&)=default
Operator =.
LevelDocument(const LevelDocument &)=delete
std::unordered_map< std::string, std::string > & properties()
Definition LevelDocument.h:137
const std::unordered_map< std::string, std::string > & properties() const
Definition LevelDocument.h:138
Definition Brush.cpp:10
LevelChange
Whether a requested level mutation changed authoritative document state.
Definition LevelDocument.h:18
@ Unchanged
std::optional< std::reference_wrapper< T > > OptionalRef
Optional borrowed reference; it does not extend T's lifetime.
Definition BorrowedRef.h:24
A tile or object layer in a LevelDocument.
Definition LevelDocument.h:34
std::unique_ptr< TileBuffer > tiles
Definition LevelDocument.h:46
std::unordered_map< std::string, std::string > properties
Definition LevelDocument.h:49
std::vector< LevelObject > objects
Definition LevelDocument.h:47
eve::Value::Object extensions
Owned format fields not represented above; codec excludes authoritative fields.
Definition LevelDocument.h:51
One freely extensible object placed in a top-down level.
Definition LevelDocument.h:21
std::unordered_map< std::string, std::string > properties
Definition LevelDocument.h:28
eve::Value::Object extensions
Owned format fields not represented above; codec excludes authoritative fields.
Definition LevelDocument.h:30