Cuberite
A lightweight, fast and extensible game server for Minecraft
Namespaces | Functions
RedstoneToggleHandler.h File Reference
#include "../../Blocks/BlockButton.h"
#include "../../Blocks/BlockLever.h"
Include dependency graph for RedstoneToggleHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 RedstoneToggleHandler
 

Functions

static void RedstoneToggleHandler::ForValidSourcePositions (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, ForEachSourceCallback &Callback)
 
static Vector3i RedstoneToggleHandler::GetOffsetAttachedTo (Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta)
 
static PowerLevel RedstoneToggleHandler::GetPowerDeliveredToPosition (const cChunk &a_Chunk, Vector3i a_Position, BLOCKTYPE a_BlockType, Vector3i a_QueryPosition, BLOCKTYPE a_QueryBlockType, bool IsLinked)
 
static unsigned char RedstoneToggleHandler::GetPowerLevel (BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta)
 
static void RedstoneToggleHandler::Update (cChunk &a_Chunk, cChunk &CurrentlyTicking, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, const PowerLevel Power)