• Create a Save State from the given game.

    Only objects, variables etc... tagged with at least one of the profiles given in options.profileNames will be saved.

    Parameters

    • runtimeGame: RuntimeGame
    • options: {
          profileNames: string[];
      }
      • profileNames: string[]

    Returns GameSaveState