Defined in:Called before packing to allow object linking.
virtual void Prepack(List<Object> *linkList) const;
||A list to which linked objects should be added.|
Prepackfunction is called before a packable object is packed. If the packable object owns references to
Objectinstances, then it should use the
List::AppendListElementfunction to add those objects to the list specified by the
linkListparameter. This is necessary in order for the object to be included in the packed data so that it can be restored when the data is unpacked.