Метод | Описание | |
---|---|---|
CreateEditor ( IList |
Creates an editor for the script type.
|
|
CreateExecutor ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, |
Creates an executor that can run the script type.
|
|
LoadScript ( string p_strScriptData ) : IScript |
Loads the script from the given text representation.
|
|
SaveScript ( IScript p_scpScript ) : string |
Saves the given script into a text representation.
|
|
ValidateScript ( IScript p_scpScript ) : bool |
Determines if the given script is valid.
|
Метод | Описание | |
---|---|---|
GetScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, |
Returns a proxy that implements the functions available to C# scripts.
|
public CreateEditor ( IList |
||
p_lstModFiles | IList |
The list of files if the current mod. |
Результат | IScriptEditor |
public CreateExecutor ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, |
||
p_modMod | IMod | The mod being installed. |
p_gmdGameMode | IGameMode | The game mode currently bieng managed. |
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_igpInstallers | InstallerGroup | The utility class to use to install the mod items. |
p_scxUIContext | The |
|
Результат | IScriptExecutor |
protected GetScriptFunctionProxy ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, InstallerGroup p_igpInstallers, |
||
p_modMod | IMod | The mod being installed. |
p_gmdGameMode | IGameMode | The game mode currently bieng managed. |
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_igpInstallers | InstallerGroup | The utility class to use to install the mod items. |
p_scxUIContext | The |
|
Результат |
public LoadScript ( string p_strScriptData ) : IScript | ||
p_strScriptData | string | The text to convert into a script. |
Результат | IScript |
public SaveScript ( IScript p_scpScript ) : string | ||
p_scpScript | IScript | The |
Результат | string |
public ValidateScript ( IScript p_scpScript ) : bool | ||
p_scpScript | IScript | The script to validate. |
Результат | bool |