localcc / gvas

GVAS file format parsing library for rust
MIT License
18 stars 4 forks source link

Refactor TextProperty None type #88

Closed scottanderson closed 4 months ago

scottanderson commented 4 months ago

In serialized form, gvas is unable to represent FTextHistory::None { culture_invariant_string: Some(None) } because the double-option gets flattened to null. To allow lossless serialization, add a separate FTextHistory discriminant to differentiate between culture_invariant_string: None and culture_invariant_string: Some(None).

localcc commented 4 months ago

merge conflicts