C# Class AGS.Types.Script

Inheritance: IScript, IToXml
Datei anzeigen Open project: adventuregamestudio/ags Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

public LoadFromDisk ( ) : void
return void

SaveToDisk() public method

public SaveToDisk ( ) : void
return void

Script() public method

public Script ( XmlNode node ) : System
node System.Xml.XmlNode
return System

Script() public method

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?
return System

Script() public method

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
return System

ToXml() public method

public ToXml ( XmlTextWriter writer ) : void
writer System.Xml.XmlTextWriter
return void