Skip to content

[REQUEST] add global IsDuringSerialize and IsDuringDeserialize flags #437

@Darxo

Description

@Darxo

Is your feature request related to a problem? Please describe.

Some functionality or events should probably not trigger during deserialization.
I don't have an example just yet. Initially I thought these flags might solve one of my problems but that was not the case.

Describe the solution you'd like

Hook the world_state.nut -> onDeserialize and onSerialize functions very late and toggle two new flags for them respectively:

  • ::MSU.System.Serialization.IsDuringOnSerialize
  • ::MSU.System.Serialization.IsDuringOnDeserialize

They should behave similar to the already existing ::MSU.System.Serialization.IsDuringOnBeforeSerialize flag

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature requested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions