#include <LevelSection.h>
|
| | LevelSection ()=default |
| | ~LevelSection () override |
| SectionType | type () override |
| void | setBlockLight (int localX, int localY, int localZ, uint8_t lightLevel) override |
| void | setSkyLight (int localX, int localY, int localZ, uint8_t lightLevel) override |
| const block::instance::BlockInstance & | getBlock (int localX, int localY, int localZ) const override |
| void | setBlock (block::instance::BlockInstance &&block, int localX, int localY, int localZ) override |
| lodestone::common::storage::bits::AbstractBitStorage * | getBlockLightStorage () override |
| lodestone::common::storage::bits::AbstractBitStorage * | getSkyLightStorage () override |
| const common::storage::palette::PalletizedStorage< block::instance::BlockInstance > & | getBlockStorage () override |
| uint64_t | getModificationCount () override |
| constexpr | IHasDerivedTypes ()=default |
| virtual constexpr | ~IHasDerivedTypes ()=default |
| bool constexpr | instanceOf (EType type) |
◆ LevelSection()
| lodestone::level::chunk::section::LevelSection::LevelSection |
( |
| ) |
|
|
default |
◆ ~LevelSection()
| lodestone::level::chunk::section::LevelSection::~LevelSection |
( |
| ) |
|
|
override |
9 {
11 }
const char ** m_biomes
Definition LevelSection.h:50
◆ getBlock()
Implements lodestone::level::chunk::section::Section.
39 {
42 }
#define INDEX_YZX(x, y, z, w, d)
common::storage::palette::PalletizedStorage< block::instance::BlockInstance > m_blockStorage
Definition LevelSection.h:41
static constexpr int CHUNK_WIDTH
static constexpr int CHUNK_DEPTH
◆ getBlockLightStorage()
◆ getBlockStorage()
◆ getModificationCount()
| uint64_t lodestone::level::chunk::section::LevelSection::getModificationCount |
( |
| ) |
|
|
overridevirtual |
◆ getSkyLightStorage()
◆ setBlock()
◆ setBlockLight()
| void lodestone::level::chunk::section::LevelSection::setBlockLight |
( |
int | localX, |
|
|
int | localY, |
|
|
int | localZ, |
|
|
uint8_t | lightLevel ) |
|
overridevirtual |
◆ setSkyLight()
| void lodestone::level::chunk::section::LevelSection::setSkyLight |
( |
int | localX, |
|
|
int | localY, |
|
|
int | localZ, |
|
|
uint8_t | lightLevel ) |
|
overridevirtual |
◆ type()
| SectionType lodestone::level::chunk::section::LevelSection::type |
( |
| ) |
|
|
overridevirtual |
◆ m_biomes
| const char** lodestone::level::chunk::section::LevelSection::m_biomes = new const char *[TOTAL_SECTION_2D_SIZE]() |
|
private |
◆ m_blockLightStorage
◆ m_blockStorage
Initial value:
Wraps a block with runtime-modifiable properties.
Definition BlockInstance.h:19
static ImmutableBlockInstance * getInstance()
Definition ImmutableBlockInstance.cpp:10
static constexpr int TOTAL_SECTION_3D_SIZE
Definition Section.h:23
◆ m_modificationCount
| unsigned long lodestone::level::chunk::section::LevelSection::m_modificationCount = 0 |
|
private |
◆ m_skyLightStorage
The documentation for this class was generated from the following files:
- /home/runner/work/libLodestone/libLodestone/projects/Libraries/Level/include/Lodestone.Level/chunk/section/LevelSection.h
- /home/runner/work/libLodestone/libLodestone/projects/Libraries/Level/src/chunk/section/LevelSection.cpp