Friends

Detailed Description

Builder class that reflects class members to the serialize context.

To reflect class members to the serialize context, use a builder pattern to call the Field() function of this class. You can reflect any number of class elements (logical elements) and data elements (member data).

Adds versioning to the class and specifies an optional VersionConverter function that converts old versions of the class to the latest version.

If you don't add versioning, the serialize context assigns the class version a value of zero.

Versioning works such that when Lumberyard reads the class data from persistent storage, it compares the version in persistent storage with the version in the current serialize context. If the version values do not match, Lumberyard calls the converter, if one was provided from Version().

If you use Version() to increase the version number but do not provide a converter, Lumberyard assumes that you don't need any class members that don't match the ones in the current serialize context for this class. Mismatching class members are defined as follows:

The class member's name doesn't match any names of the current class members.