How to create a destructible actor in c++?

just like this in blueprints

273538-snipaste-2019-04-07-08-45-32.png