Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serializes the current instance of the InventCostClosing class.
Syntax
public container pack()
Run On
Called
Return Value
Type: container
A container that contains the current instance of the InventCostClosing class.
Remarks
When the isSwappingPrompt method returns true, you might also have to pack some prompt-related variables.
Typically, a macro that is declared in the class declaration is used to list the variables that should be packed. Another macro holds a version number. This number refers to the version of the variable list.
When a new variable is introduced, you should typically follow these steps:
Increment the version number in the version macro.
Copy the current list to the unpack method (For details, see unpack method).
Add the new variable to the bottom of the list.
Recompile the class.