trumank / uesave-rs

Rust library to read and write Unreal Engine save files
MIT License
269 stars 53 forks source link

IntVector struct type support #35

Closed ThaCheeseBun closed 5 months ago

ThaCheeseBun commented 5 months ago

Adds support for IntVector found in Voices of the Void save file (used in the property with name savedTime). Seems equal to a regular vector but with i32. Unsure if large world coordinates affects it, could not find any other games with IntVector. Should not break anything as it just adds a new type but idk code is magic.

trumank commented 5 months ago

I suspect it's not affected by large world coordinates since it's an int and not a float, but easy to amend if anyone runs into such a case in the future.