Castleville Buildings come under different categories and each type of building provides different outcomes. The crafting type will enable a player to gather materials to produce higher quality materials and consumables. Resource buildings will enable a player to produce things such as Wood and Stone. Royal buildings will grant the player a set amount of Nobility upon placing the building and will enable a player to collect a certain amount of Coins every so often whereas housing will only enable the player to collect a certain amount of Coins every so often.
For the list of buildings go here http://castlevillegame.blogspot.com/p/castleville-buildings.html