C# Class AGS.Types.Script

Inheritance: IScript, IToXml
Afficher le fichier Open project: adventuregamestudio/ags Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
LoadFromDisk ( ) : void
SaveToDisk ( ) : void
Script ( XmlNode node ) : System
Script ( string fileName, string text, bool isHeader ) : System

Creates a new Script which can be compiled with the AGS Script Compiler.

Script ( string fileName, string text, string name, string description, string author, string version, int uniqueKey, bool isHeader ) : System
ToXml ( XmlTextWriter writer ) : void

Method Details

LoadFromDisk() public méthode

public LoadFromDisk ( ) : void
Résultat void

SaveToDisk() public méthode

public SaveToDisk ( ) : void
Résultat void

Script() public méthode

public Script ( XmlNode node ) : System
node System.Xml.XmlNode
Résultat System

Script() public méthode

Creates a new Script which can be compiled with the AGS Script Compiler.
public Script ( string fileName, string text, bool isHeader ) : System
fileName string The script filename. If the script is internally /// generated and not stored on disk, make up a name and prefix it with /// an underscore.
text string The script itself.
isHeader bool Is this a script header or an actual script?
Résultat System

Script() public méthode

public Script ( string fileName, string text, string name, string description, string author, string version, int uniqueKey, bool isHeader ) : System
fileName string
text string
name string
description string
author string
version string
uniqueKey int
isHeader bool
Résultat System

ToXml() public méthode

public ToXml ( XmlTextWriter writer ) : void
writer System.Xml.XmlTextWriter
Résultat void