Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
GeneralRules Class
GeneralRules Methods
ApplyLights Method
CanReturnToPreviousMap Method
ChangeCounter Method
ClearAllMessages Method
ClearOverlay Method
Clicked Method
DeactivateTargetSpriteFor Method
DeleteSave Method
DragMap Method
DrawMessages Method
ExcludeCounterFromSaveUnit Method
ExcludeMapFromSaveUnit Method
GetRandomNumber Method
GetSelectedTargetFor Method
GetTargetParameterFor Method
IncludeCounterInSaveUnit Method
IncludeInSaveUnit Method
IncludeMapInSaveUnit Method
IsKeyPressed Method
IsMapFlagOn Method
IsMouseButtonPressed Method
IsSpriteForTargetOfType Method
IsTargetSpriteSelectedFor Method
LimitFrameRate Method
LoadGame Method
LogDebugLabel Method
LogDebugValue Method
PlayerPressButton Method
QuitGame Method
ResetLights Method
ReturnToPreviousMap Method
SaveExists Method
SaveGame Method
SelectLastCreatedSprite Method
SelectLastCreatedSpriteFor Method
SelectTargetSprite Method
SelectTargetSpriteFor Method
SetCategorySpriteState Method
SetMapFlag Method
SetMessageBackground Method
SetMessageDismissal Method
SetMessageFont Method
SetMessagePosition Method
SetOverlay Method
SetTargetMapFlag Method
SetTargetParameter Method
SetTargetParameterFor Method
SetViewLayout Method
ShowMessage Method
SwitchToMap Method
UnloadBackgroundMaps Method
UnloadMap Method
GeneralRules
IncludeCounterInSaveUnit 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#
Copy
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
Reference
GeneralRules Class
(Default Namespace) Namespace
GeneralRules
ExcludeCounterFromSaveUnit(Counter)
GeneralRules
IncludeMapInSaveUnit(Type)
GeneralRules
ExcludeMapFromSaveUnit(Type)
GeneralRules
SaveGame(Int32, Boolean)
Send comments on this topic to
bluemonkmn@users.sourceforge.net