Drag[en]gine Script Module DragonScript  1.23
Dragengine.Commands.LanguageConsoleCommand Class Reference

Console command shows available languages and changing active language. More...

Inheritance diagram for Dragengine.Commands.LanguageConsoleCommand:
Dragengine.Commands.ConsoleCommand

Public Member Functions

void execute (Console console, Array params)
 Execute command. More...
 
bool getChangeEngineTranslations ()
 Change also engine translations. More...
 
TranslationManager getTranslationManager ()
 Translation manager. More...
 
LanguageConsoleCommand new (TranslationManager translationManager)
 Create console command. More...
 
void setChangeEngineTranslations (bool change)
 Set to change also engine translations. More...
 
void setTranslationManager (TranslationManager translationManager)
 Set translation manager. More...
 
- Public Member Functions inherited from Dragengine.Commands.ConsoleCommand
String getDescription ()
 Description to display to user. More...
 
String getName ()
 Unique name of command. More...
 
String getSyntax ()
 Command syntax. More...
 
ConsoleCommand new ()
 Create console command. More...
 
void setDescription (String description)
 
void setName (String name)
 Set unique name of command. More...
 
void setSyntax (String syntax)
 Set command syntax. More...
 

Public Attributes

bool pChangeEngineTranslations
 
TranslationManager pTranslationManager
 

Detailed Description

Console command shows available languages and changing active language.

Member Function Documentation

◆ execute()

void Dragengine.Commands.LanguageConsoleCommand.execute ( Console  console,
Array  params 
)

Execute command.

Parameters
consoleConsole to send output to.
paramsList of parameters. Has to match command syntax.

Reimplemented from Dragengine.Commands.ConsoleCommand.

◆ getChangeEngineTranslations()

bool Dragengine.Commands.LanguageConsoleCommand.getChangeEngineTranslations ( )

Change also engine translations.

Version
1.20

Enabled by default.

◆ getTranslationManager()

TranslationManager Dragengine.Commands.LanguageConsoleCommand.getTranslationManager ( )

Translation manager.

◆ new()

LanguageConsoleCommand Dragengine.Commands.LanguageConsoleCommand.new ( TranslationManager  translationManager)

Create console command.

◆ setChangeEngineTranslations()

void Dragengine.Commands.LanguageConsoleCommand.setChangeEngineTranslations ( bool  change)

Set to change also engine translations.

Version
1.20

◆ setTranslationManager()

void Dragengine.Commands.LanguageConsoleCommand.setTranslationManager ( TranslationManager  translationManager)

Set translation manager.

Member Data Documentation

◆ pChangeEngineTranslations

bool Dragengine.Commands.LanguageConsoleCommand.pChangeEngineTranslations

◆ pTranslationManager

TranslationManager Dragengine.Commands.LanguageConsoleCommand.pTranslationManager

The documentation for this class was generated from the following file: