Logic inside struct

For example i need keep info about phone. I make 3 Enum: 1) phone maker(apple/samsung) 2) and 3) this is two different list of phones model. I make struct “PHONE” with two enum variables inside “MAKER” and “MODEL”. How i can switch between 2 lists of models?

If I understand you correctly, this is not possible. You cannot put logic inside struct. A struct is only a set of variables and you can’t change the type of variables in blueprints.

C++ can help in this case? Or maybe i can do this by another way?

Enumerators generally act as state controlling switches rather than data holders. Create data arrays with the phones’ information and use enums to switch between the arrays, pulling the necessary data.

Thanks alot!)