Click or drag to resize
GeneralRulesIncludeCounterInSaveUnit Method
Include the specified counter in the SaveUnit that will be saved with the next call to SaveGame(Int32, Boolean).

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void IncludeCounterInSaveUnit(
	Counter Counter
)

Parameters

Counter
Type: (Default Namespace)Counter
Specifies a counter whose value will be saved when SaveGame(Int32, Boolean) is called.
Remarks
If you want to include only a few select counters in a SaveUnit, you can use this function to select them before calling SaveGame(Int32, Boolean). See IncludeInSaveUnit(SaveUnitInclusion) for more information about save units.
See Also