Show / Hide Table of Contents

    Interface ISaveLoad

    Allows saving/loading a game.

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface ISaveLoad

    Methods

    | Improve this Doc View Source

    Load(String)

    Load the game with the specified saveName.

    Declaration
    void Load(string saveName)
    Parameters
    Type Name Description
    System.String saveName

    Save name.

    | Improve this Doc View Source

    LoadAsync(String)

    Load the game asynchronously with the specified saveName.

    Declaration
    Task LoadAsync(string saveName)
    Parameters
    Type Name Description
    System.String saveName

    Save name.

    Returns
    Type Description
    System.Threading.Tasks.Task

    The load.

    | Improve this Doc View Source

    Restart()

    Restarts the game by loading the last set restart point.

    Declaration
    void Restart()
    See Also
    SetRestartPoint()
    | Improve this Doc View Source

    Save(String)

    Save the game with the specified saveName.

    Declaration
    void Save(string saveName)
    Parameters
    Type Name Description
    System.String saveName

    Save name.

    | Improve this Doc View Source

    SaveAsync(String)

    Save the game asynchronously with the specified saveName.

    Declaration
    Task SaveAsync(string saveName)
    Parameters
    Type Name Description
    System.String saveName

    Save name.

    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    SetRestartPoint()

    Sets the restart point. This will save the game and will be loaded when restarting the game.

    Declaration
    void SetRestartPoint()
    See Also
    Restart()
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX