|
Drag[en]gine Script Module DragonScript 1.32.1
|
Console command shows available languages and changing active language. More...
Public Member Functions | |
| void | execute (Console console, Array params) |
| Execute command. | |
| bool | getChangeEngineTranslations () |
| Change also engine translations. | |
| TranslationManager | getTranslationManager () |
| Translation manager. | |
| LanguageConsoleCommand | new (TranslationManager translationManager) |
| Create console command. | |
| void | setChangeEngineTranslations (bool change) |
| Set to change also engine translations. | |
| void | setTranslationManager (TranslationManager translationManager) |
| Set translation manager. | |
Public Member Functions inherited from Dragengine.Commands.ConsoleCommand | |
| String | getDescription () |
| Description to display to user. | |
| String | getName () |
| Unique name of command. | |
| String | getSyntax () |
| Command syntax. | |
| ConsoleCommand | new () |
| Create console command. | |
| void | setDescription (String description) |
| void | setName (String name) |
| Set unique name of command. | |
| void | setSyntax (String syntax) |
| Set command syntax. | |
Public Attributes | |
| bool | pChangeEngineTranslations |
| TranslationManager | pTranslationManager |
Console command shows available languages and changing active language.
| void Dragengine.Commands.LanguageConsoleCommand.execute | ( | Console | console, |
| Array | params | ||
| ) |
Execute command.
| console | Console to send output to. |
| params | List of parameters. Has to match command syntax. |
Reimplemented from Dragengine.Commands.ConsoleCommand.
| bool Dragengine.Commands.LanguageConsoleCommand.getChangeEngineTranslations | ( | ) |
Change also engine translations.
Enabled by default.
| TranslationManager Dragengine.Commands.LanguageConsoleCommand.getTranslationManager | ( | ) |
Translation manager.
| LanguageConsoleCommand Dragengine.Commands.LanguageConsoleCommand.new | ( | TranslationManager | translationManager | ) |
Create console command.
| void Dragengine.Commands.LanguageConsoleCommand.setChangeEngineTranslations | ( | bool | change | ) |
Set to change also engine translations.
| void Dragengine.Commands.LanguageConsoleCommand.setTranslationManager | ( | TranslationManager | translationManager | ) |
Set translation manager.
| bool Dragengine.Commands.LanguageConsoleCommand.pChangeEngineTranslations |
| TranslationManager Dragengine.Commands.LanguageConsoleCommand.pTranslationManager |