C# Class AGS.Editor.Tasks

Afficher le fichier Open project: adventuregamestudio/ags Class Usage Examples

Méthodes publiques

Méthode Description
CreateNewGameFromTemplate ( string templateFileName, string newGameDirectory ) : void
CreateTemplateFromCurrentGame ( string templateFileName ) : void
LoadGameFromDisk ( string gameToLoad, bool interactive ) : bool
RegenerateScriptHeader ( Game game, Room currentRoom ) : Script
RunGameSetup ( ) : void
TestGame ( bool withDebugger ) : void

Private Methods

Méthode Description
AddFontIfNotAlreadyThere ( int fontNumber ) : void
AppendAudioClipTypesToHeader ( StringBuilder sb, IList clipTypes ) : void
AppendAudioClipsToHeader ( StringBuilder sb, AudioClipFolder clips ) : void
AppendCharactersToHeader ( StringBuilder sb, CharacterFolder characters, Game game ) : void
AppendCursorsToHeader ( StringBuilder sb, IList cursors ) : void
AppendDialogsToHeader ( StringBuilder sb, IList dialogs ) : void
AppendFontsToHeader ( StringBuilder sb, IList fonts ) : void
AppendGUIsToHeader ( StringBuilder sb, IList guis ) : void
AppendInventoryToHeader ( StringBuilder sb, IList items ) : void
AppendRoomObjectsAndHotspotsToHeader ( StringBuilder sb, Room room ) : void
AppendViewsToHeader ( StringBuilder sb, ViewFolder viewFolder ) : void
ConstructBasicFileListForTemplate ( List filesToInclude, List filesToDeleteAfterwards ) : void
RemoveAllLeadingSpacesFromLines ( string script ) : string
RunEXEFile ( string exeName, string parameter, bool raiseEventOnExit ) : void
RunGameEXE ( string parameter, bool raiseEventOnExit ) : void
SetDefaultValuesForNewFeatures ( Game game ) : void
_testGameProcess_Exited ( object sender, EventArgs e ) : void

Method Details

CreateNewGameFromTemplate() public méthode

public CreateNewGameFromTemplate ( string templateFileName, string newGameDirectory ) : void
templateFileName string
newGameDirectory string
Résultat void

CreateTemplateFromCurrentGame() public méthode

public CreateTemplateFromCurrentGame ( string templateFileName ) : void
templateFileName string
Résultat void

LoadGameFromDisk() public méthode

public LoadGameFromDisk ( string gameToLoad, bool interactive ) : bool
gameToLoad string
interactive bool
Résultat bool

RegenerateScriptHeader() public méthode

public RegenerateScriptHeader ( Game game, Room currentRoom ) : Script
game AGS.Types.Game
currentRoom AGS.Types.Room
Résultat Script

RunGameSetup() public méthode

public RunGameSetup ( ) : void
Résultat void

TestGame() public méthode

public TestGame ( bool withDebugger ) : void
withDebugger bool
Résultat void