Click or drag to resize
GeneralRulesExcludeCounterFromSaveUnit Method
Exclude the specified counter from 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 ExcludeCounterFromSaveUnit(
	Counter Counter
)

Parameters

Counter
Type: (Default Namespace)Counter
Specifies a counter to remove from the SaveUnit
Remarks
If you want to save most counters, but exclude a few, you can call IncludeInSaveUnit(SaveUnitInclusion) to include all counters and then exclude a few with this function. See IncludeInSaveUnit(SaveUnitInclusion) for more information about save units.
See Also