terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ReadUntilConditionInternal()

string System.TermInfoDriver.ReadUntilConditionInternal ( bool haltOnNewLine)
inlineprivate

Definition at line 489 of file TermInfoDriver.cs.

490 {
491 for (;;)
492 {
493 if (!this.inited)
494 {
495 this.Init();
496 }
497 this.GetCursorPosition();
498 long num = 0L;
499 int num2 = this.cursorLeft;
500 byte[] array = this.control_characters;
503 int num3;
504 if (num3 == 0)
505 {
506 return;
507 }
508 if (true)
509 {
510 long num4 = 0L;
511 this.Echo(consoleKeyInfo);
512 while (num4 == 0L)
513 {
514 }
515 if (false)
516 {
517 break;
518 }
519 }
520 }
521 int num5 = this.echon;
522 if (num5 != 0)
523 {
525 char[] array2 = this.echobuf;
526 cstreamWriter.InternalWriteChars(array2, num5);
527 return;
528 }
529 }
class f__AnonymousType0<< Count > j__TPar
void InternalWriteChars(char[] buffer, int n)
ConsoleKeyInfo ReadKeyInternal([Out] bool fresh)
void Echo(ConsoleKeyInfo key)

References System.array, System.TermInfoDriver.control_characters, System.TermInfoDriver.cursorLeft, System.TermInfoDriver.Echo(), System.TermInfoDriver.echobuf, System.TermInfoDriver.echon, System.TermInfoDriver.GetCursorPosition(), System.TermInfoDriver.Init(), System.TermInfoDriver.inited, System.IO.CStreamWriter.InternalWriteChars(), j__TPar, System.L, System.TermInfoDriver.ReadKeyInternal(), and System.TermInfoDriver.stdout.

Referenced by System.TermInfoDriver.ReadLine(), and System.TermInfoDriver.ReadToEnd().