LuaDocs/ConsoleManager

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
(ConsoleManager - Automatically generated by LuaBot)
(ConsoleManager - Automatically generated by LuaBot)
 
Line 44: Line 44:
* The filename of the file to write to.
* The filename of the file to write to.
 +
 +
'''Return value:'''
 +
 +
None.
 +
 +
 +
===Clear===
 +
Clears all previous input.
 +
 +
'''Arguments:'''
 +
 +
* None.
'''Return value:'''
'''Return value:'''

Latest revision as of 08:57, 15 May 2014

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