LuaDocs/ConsoleManager

From Data Realms Wiki

Jump to: navigation, search

Contents

Has no parent class

Generic Class. The singleton manager of the lua console.

Go back to Class Index


Properties

ScreenSize

Gets how much of the screen that the console is covering when opened.The ratio of the screen that is covered: 0 - 1.0.


Functions

PrintString

Prints a string into the console.

Arguments:

  • The string to print.

Return value:

None.


SaveInputLog

Writes all the input strings to a log in the order they were entered.

Arguments:

  • The filename of the file to write to.

Return value:

None.


SaveAllText

Writes the entire console buffer to a file.

Arguments:

  • The filename of the file to write to.

Return value:

None.


Clear

Clears all previous input.

Arguments:

  • None.

Return value:

None.


Go back to Class Index

Personal tools