-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ME1 Savegame serialization issue #3
Comments
Yes but shouldn't this have a unique name? This would not compile in C++
either.
…On Sat, Apr 8, 2023, 8:54 PM Karlitos ***@***.***> wrote:
It's not a class name like Soldier or Adept but an Unreal class name
needed by the game when it deserialize the file.
In your example this is the class name of the squad and the inventory.
[image: Capture]
<https://user-images.githubusercontent.com/7722685/230751650-55dc022a-07f1-4ea9-8888-d7898919bbfb.PNG>
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAU4VFFMQEOCSIA3DT6RAFTXAIQHRANCNFSM6AAAAAAWXZVJMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It's just a string that tells the deserializer how to deserialize the next bytes. You have to read this string to know which class to use. Just like I did here: In the same way, when you serialize you must indicate the name of the class before serializing the object. Throughout the |
I'm working on converting this to C# classes and am seeing a duplicate variable declared here of
ClassName
:https://github.com/electronicarts/MELE_ModdingSupport/blob/master/DataFormats/ME1_Savegame.h#L377
I assume this is an accident?
The text was updated successfully, but these errors were encountered: