i've been trying to port my java code into c++ using structs or constructors but they none seem to fit for something like DEBUGNAME(id,name,description);
public enum blockInfo {
SWIVEL("swiv1","swivel joint","A swivel joint, unpowered"),
ARMOR("arm1","armor","A structurally sound block that protects from hits"),
BATTERY("batt1","battery","A battery, stores energy from generators and depletes as a component draws from it");
private string id;
private string name;
private string description;
private blockInfo(string id, string name, string description)
{
this.id = id;
this.name = name;
this.description = description;
}
}```