|
Drag[en]gine Script Module DragonScript 1.35
|
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.
References execute(), getChangeEngineTranslations(), pChangeEngineTranslations, pTranslationManager, and setChangeEngineTranslations().
Referenced by execute().
| bool Dragengine.Commands.LanguageConsoleCommand.getChangeEngineTranslations | ( | ) |
Change also engine translations.
Enabled by default.
References getTranslationManager(), and pTranslationManager.
Referenced by execute().
| TranslationManager Dragengine.Commands.LanguageConsoleCommand.getTranslationManager | ( | ) |
Translation manager.
References pChangeEngineTranslations, and pTranslationManager.
Referenced by getChangeEngineTranslations().
| LanguageConsoleCommand Dragengine.Commands.LanguageConsoleCommand.new | ( | TranslationManager | translationManager | ) |
| void Dragengine.Commands.LanguageConsoleCommand.setChangeEngineTranslations | ( | bool | change | ) |
Set to change also engine translations.
References new(), pTranslationManager, and setTranslationManager().
Referenced by execute().
| void Dragengine.Commands.LanguageConsoleCommand.setTranslationManager | ( | TranslationManager | translationManager | ) |
Set translation manager.
References Dragengine.Commands.ConsoleCommand.setDescription(), Dragengine.Commands.ConsoleCommand.setName(), and Dragengine.Commands.ConsoleCommand.setSyntax().
Referenced by setChangeEngineTranslations().
| bool Dragengine.Commands.LanguageConsoleCommand.pChangeEngineTranslations |
Referenced by execute(), and getTranslationManager().
| TranslationManager Dragengine.Commands.LanguageConsoleCommand.pTranslationManager |
Referenced by execute(), getChangeEngineTranslations(), getTranslationManager(), and setChangeEngineTranslations().