For example I made this function for a specific brick I made:
function FuelDepotBrickData::useStructure(%data, %player)
{
//dostuff
}
How will I execute it on all bricks having this datablock? I want to have the same effect as with onPlant,onActivate,onDeath, etc.