Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
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

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.

References execute(), getChangeEngineTranslations(), pChangeEngineTranslations, pTranslationManager, and setChangeEngineTranslations().

Referenced by execute().

◆ getChangeEngineTranslations()

bool Dragengine.Commands.LanguageConsoleCommand.getChangeEngineTranslations ( )

Change also engine translations.

Version
1.20

Enabled by default.

References getTranslationManager(), and pTranslationManager.

Referenced by execute().

◆ getTranslationManager()

TranslationManager Dragengine.Commands.LanguageConsoleCommand.getTranslationManager ( )

Translation manager.

References pChangeEngineTranslations, and pTranslationManager.

Referenced by getChangeEngineTranslations().

◆ new()

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

Create console command.

References new().

Referenced by new(), and setChangeEngineTranslations().

◆ setChangeEngineTranslations()

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

Set to change also engine translations.

Version
1.20

References new(), pTranslationManager, and setTranslationManager().

Referenced by execute().

◆ setTranslationManager()

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

Member Data Documentation

◆ pChangeEngineTranslations

bool Dragengine.Commands.LanguageConsoleCommand.pChangeEngineTranslations

Referenced by execute(), and getTranslationManager().

◆ pTranslationManager

TranslationManager Dragengine.Commands.LanguageConsoleCommand.pTranslationManager

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