C# Class SphereStudio.Project

Represents a Sphere Studio project.
Inheritance: IProject
Afficher le fichier Open project: Radnen/spherestudio Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string rootPath, string name ) : Project

Creates a new, empty Sphere Studio project.

FromSgm ( string fileName ) : Project

Creates a new Sphere Studio project from a Sphere 1.x game.sgm file.

GetAllBreakpoints ( ) : int[]>.IReadOnlyDictionary
GetBreakpoints ( string scriptPath ) : int[]
Open ( string fileName ) : Project

Loads an existing project.

Save ( ) : void

Saves any changes made to the project.

SetBreakpoints ( string scriptPath, int lineNumbers ) : void

Private Methods

Méthode Description
MakeFileName ( string name ) : string
Project ( string fileName ) : System

Method Details

Create() public static méthode

Creates a new, empty Sphere Studio project.
public static Create ( string rootPath, string name ) : Project
rootPath string Path of the directory where the project will reside. Must be empty.
name string The name of the project to create.
Résultat Project

FromSgm() public static méthode

Creates a new Sphere Studio project from a Sphere 1.x game.sgm file.
public static FromSgm ( string fileName ) : Project
fileName string The fully qualified filename of the game.sgm to import.
Résultat Project

GetAllBreakpoints() public méthode

public GetAllBreakpoints ( ) : int[]>.IReadOnlyDictionary
Résultat int[]>.IReadOnlyDictionary

GetBreakpoints() public méthode

public GetBreakpoints ( string scriptPath ) : int[]
scriptPath string
Résultat int[]

Open() public static méthode

Loads an existing project.
public static Open ( string fileName ) : Project
fileName string
Résultat Project

Save() public méthode

Saves any changes made to the project.
public Save ( ) : void
Résultat void

SetBreakpoints() public méthode

public SetBreakpoints ( string scriptPath, int lineNumbers ) : void
scriptPath string
lineNumbers int
Résultat void