C++: Easy way to save a structure.

Aneos
Mon, 27 Aug 2018 20:36:28 +0000
Editor Scripting

Hi. I’d like to save an array of structures from my player controller to a save game class. I could easely save other types of variables, because you can just create a variable and then transfer it. But if I create the exact same structure in the save game class, I can’t pass over the struct.
So do I have to break the struct up and send every variable alone? Because my struct is pretty big and so I’d like to have an other option. Thanks!

4 posts - 1 participant