Blockland Forums > Modification Help
[BL SOURCE CODE/REFERENCE] Building related functions
Mocha:
Included:
fxDTSBrick::onAdd (calls parent)
fxDTSBrick::onPlant (calls parent)
fxDTSBrick::onLoadPlant (calls parent)
fxDTSBrick::onDeath
fxDTSBrick::onRemove
fxDTSBrickData::onAdd (empty)
fxDTSBrickData::onPlant (empty)
fxDTSBrickData::onLoadPlant (empty)
fxDTSBrickData::onDeath (empty)
fxDTSBrickData::onRemove (empty)
serverCmdShiftBrick
serverCmdRotateBrick
serverCmdPlantBrick
Marios:
Cool beans.
PhantOS:
Why are all those functions there if they simply call the parent/are empty?
Mocha:
--- Quote from: PhantOS on November 18, 2017, 05:14:58 PM ---Why are all those functions there if they simply call the parent/are empty?
--- End quote ---
Likely for trace and dump to pick up that these callbacks exist, and to clarify when they are called in the trace, as there is no proper bl documentation on callbacks.
Potatoh:
nevermind im a big do do head