NanoSave API

Visual Scripting

Browse the exact NanoSave instructions, triggers, and properties available to Game Creator 2 visual scripting.

Visual Scripting

The entries below are copied from the package definitions. Use the child pages to browse them by type.

Instructions

Refresh Save Slots UI (InstructionRefreshSaveSlotsUI)

  • Title: Refresh Save Slots UI
  • Description: Refreshes the Save Slots UI by reloading the available saves.
  • Category: NanoSave/Refresh UI
  • Parameters: None specified
  • Keywords: Refresh, UI, Save, Slots
  • Source: NanoSave/Runtime/Instructions/InstructionRefreshSaveSlotsUI.cs

Triggers

On Corrupted Save Detected (EventOnCorruptedSaveDetected)

  • Title: On Corrupted Save Detected
  • Description: Triggers when a corrupted save file is detected by NanoSave.
  • Category: NanoSave/On Corrupted Save Detected
  • Parameters: None specified
  • Keywords: Save, Corrupt, NanoSave
  • Source: NanoSave/Runtime/Events/EventOnCorruptedSaveDetected.cs

Properties

Get properties

Current Hover Save Slot (GetDecimalCurrentHoverSaveSlot)
  • Title: Current Hover Save Slot
  • Description: Gets the slot number from the current hovered save slot in the component SaveSlotLoaderUI.
  • Category: NanoSave/Current Hover Save Slot
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalCurrentHoverSaveSlot.cs
Highest Save Slot (GetDecimalHighestSaveSlot)
  • Title: Highest Save Slot
  • Description: Returns the highest existing save slot number.
  • Category: NanoSave/Highest Save Slots
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalHighestSaveSlot.cs
Loaded Save Slot (GetDecimalLoadedSaveSlot)
  • Title: Loaded Save Slot
  • Description: Returns the currently loaded save slot.
  • Category: NanoSave/Loaded Save Slot
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalLoadedSaveSlot.cs
Next Save Slot (GetDecimalNextSaveSlot)
  • Title: Next Save Slot
  • Description: Gets the next available save slot
  • Category: NanoSave/Next Save Slot
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalNextSaveSlot.cs
Total Save Slot Count (GetDecimalSaveSlotCount)
  • Title: Total Save Slot Count
  • Description: Returns the number of save slots.
  • Category: NanoSave/Total Save Slots Count
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalSaveSlotCount.cs
Save Slot From SaveSlotComponent (GetDecimalSaveSlotFromSaveSlotComponent)
  • Title: Save Slot From SaveSlotComponent
  • Description: Extracts the slot number from a SaveSlotComponent.
  • Category: NanoSave/Save Slot From SaveSlotComponent
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetDecimalSaveSlotFromSaveSlotComponent.cs
Save Slot Screenshot (GetSpriteSaveSlotScreenshot)
  • Title: Save Slot Screenshot
  • Description: Gets the screenshot sprite for a specified save slot
  • Category: NanoSave/Save Slot Screenshot
  • Type: Sprite
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetSpriteSaveSlotScreenshot.cs
Save Slot Metadata (GetStringSaveSlotMetadata)
  • Title: Save Slot Metadata
  • Description: Returns specified metadata from a save game slot
  • Category: NanoSave/Save Slot Metadata
  • Type: String
  • Parameters: None specified
  • Keywords: None specified
  • Source: NanoSave/Runtime/Properties/Get/GetStringSaveSlotMetadata.cs

Set properties

None.