I am currently making a login/registering system for my game and i am following along with Rama’s “Custom Save Systems, Write Any Data to Compressed Binary Files”. I am was wondering if it was possible and how if i can save my own custom UStruct to a compressed Binary File.
So far i have gotten most of the logic down, but i am getting an error here:
void AMyGameMode::SaveLoadData(FArchive& Ar, TArray<FPlayerRegisterInfo>& SaveDataArray)
{
Ar << SaveDataArray;
}
“binary ‘<<’ : no operator found which takes a right-hand operand of type ‘FPlayerRegisterInfo’ (or there is no acceptable conversion)”
I’m good with logic, but i’m still trying to get used to UE’s variable conversions. Anyone know any solutions?