#include <RedstoneSimulatorChunkData.h>
|
std::unordered_set< Vector3i, VectorHasher< int > > | AlwaysTickedPositions |
|
std::unordered_map< Vector3i, std::pair< int, bool >, VectorHasher< int > > | m_MechanismDelays |
| Structure storing position of mechanism + it's delay ticks (countdown) & if to power on. More...
|
|
std::unordered_map< Vector3i, std::pair< BLOCKTYPE, NIBBLETYPE >, VectorHasher< int > > | ObserverCache |
| Structure storing an observer's last seen block. More...
|
|
std::unordered_map< Vector3i, BlockState, VectorHasher< int > > | WireStates |
| Temporary, should be chunk data: wire block store, to avoid recomputing states every time. More...
|
|
◆ ErasePowerData()
void cIncrementalRedstoneSimulatorChunkData::ErasePowerData |
( |
const Vector3i |
Position | ) |
|
|
inline |
◆ ExchangeUpdateOncePowerData()
◆ GetActiveBlocks()
auto& cIncrementalRedstoneSimulatorChunkData::GetActiveBlocks |
( |
| ) |
|
|
inline |
◆ GetCachedPowerData()
PowerLevel cIncrementalRedstoneSimulatorChunkData::GetCachedPowerData |
( |
const Vector3i |
Position | ) |
const |
|
inline |
◆ GetMechanismDelayInfo()
std::pair<int, bool>* cIncrementalRedstoneSimulatorChunkData::GetMechanismDelayInfo |
( |
const Vector3i |
Position | ) |
|
|
inline |
◆ RebaseRelativePosition()
static Vector3i cIncrementalRedstoneSimulatorChunkData::RebaseRelativePosition |
( |
const cChunk & |
From, |
|
|
const cChunk & |
To, |
|
|
const Vector3i |
Position |
|
) |
| |
|
inlinestatic |
◆ SetCachedPowerData()
void cIncrementalRedstoneSimulatorChunkData::SetCachedPowerData |
( |
const Vector3i |
Position, |
|
|
const PowerLevel |
PowerLevel |
|
) |
| |
|
inline |
◆ WakeUp()
void cIncrementalRedstoneSimulatorChunkData::WakeUp |
( |
const Vector3i & |
a_Position | ) |
|
|
inline |
◆ cRedstoneHandlerFactory
friend class cRedstoneHandlerFactory |
|
friend |
◆ AlwaysTickedPositions
std::unordered_set<Vector3i, VectorHasher<int> > cIncrementalRedstoneSimulatorChunkData::AlwaysTickedPositions |
◆ m_ActiveBlocks
std::stack<Vector3i, std::vector<Vector3i> > cIncrementalRedstoneSimulatorChunkData::m_ActiveBlocks |
|
private |
◆ m_CachedPowerLevels
◆ m_MechanismDelays
std::unordered_map<Vector3i, std::pair<int, bool>, VectorHasher<int> > cIncrementalRedstoneSimulatorChunkData::m_MechanismDelays |
◆ ObserverCache
◆ WireStates
Temporary, should be chunk data: wire block store, to avoid recomputing states every time.
Definition at line 86 of file RedstoneSimulatorChunkData.h.
The documentation for this class was generated from the following file: