no need for casting, you are confusing pointers with the data.
FS_YourStruct YourStruct;
FS_YourStruct* StructPtr = YourDataTable->FindRow<FS_YourStruct>("ARowName", "");
if (StructPtr) {
YourStruct = *StructPtr;
}
no need for casting, you are confusing pointers with the data.
FS_YourStruct YourStruct;
FS_YourStruct* StructPtr = YourDataTable->FindRow<FS_YourStruct>("ARowName", "");
if (StructPtr) {
YourStruct = *StructPtr;
}