Skip to main content

BA Replication - FBA_FFA_Object - FFastArraySerializerItem

tip

The Struct 'FBA_FFA_Object' encapsulate the FFastArraySerializerItem. It hosts the storage object itself, but also some convinience properties that makes it easier to identify or sort.

Properties

info
  • Instance Guid: A 32 bit Guid that is generated on construct
  • Instance Identifier: A String composed of two random adjectives and one name - useful for debugging your array to not rely on remembering Guids. The text files for the names and adjectives are hosted in /PluginDir/Resources/DataFiles.

Compare & Sorting

info
  • The struct implements compare functions for 'equals', '=' and '!='. The Instance Guid is used as comparer.
  • The struct implements sorting functions for 'larger', 'larger or equal', 'smaller' and 'smaller or equal'. The Instance Identifier is used as comparer. If you actually dont want to the Instance Identifier to be generated, just empty the files for Adjectives.txt and Names.txt - in this case, the Instance Identifier will be the Instance Guid as FString.

Sort Index

info

The FFastArraySerializer will not keep the sorting sequence of the array while replicating, so the Sort Index ist stored within the FBA_FFA_Object itself. Sorting can be done using this with the ReplicationInfo function 'SortByArrayIndex'