Introducing:
Buildings is building piece associated with a buildpart and a buildtier, like Test Wall, or Stone Stairs etc.Building is the thing that player place in world (ok is place the actor but ...).
Building can be part of construction, or decoration, you can choose which building to place on Build Window
Buildings aren't defined in enum like others datas, and data for each are in Data_Buildings (Using Struct_Building)
Structure of Datatable:
Row Name -> the name is composed of the building information, [tier]_[BuildPart(without Buildpart_)]_S[Shape]_[Variant(2 digits)], for exampl, basic wall of Stone tier would be Stone_Wall_S1_01, if you wan Wood Ark so Wood_Wall_S1_03 because Ark is third variant off wall.Name -> Name that show on HUD.
Icon -> Texture2D as icon to show on Build Window and HUD.
BuildMesh -> The Static Mesh (3D model).
DestructActor -> Actor asset for destroy version (BP_DM_Building child)
Tier -> BuildTier from E_BuildTier.
Part -> BuildPart from E_BuildPart.
Variant -> Variant number, for building which behaves exactly the same but with deffirent shape of 3D model (like wall and ark).
Shape -> Is kind of variant too, but which used automatically like railing, you use 1 railing, but it adapt that shape for snaps.
Spawn -> Sound and VFX to use when spawning.
Destroy -> Sound and VFX to use when destroying.