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

◆ ReadKeyInternal()

ConsoleKeyInfo System.TermInfoDriver.ReadKeyInternal ( [Out] bool fresh)
inlineprivate

Definition at line 356 of file TermInfoDriver.cs.

357 {
358 do
359 {
360 bool flag = this.inited;
361 if (!flag)
362 {
363 this.Init();
364 }
365 this.InitKeys();
366 if (this.GetKeyFromBuffer(true) != null)
367 {
368 }
369 if (!flag)
370 {
371 }
373 bool flag2 = this.stdin.DataAvailable();
375 bool flag3 = this.stdin.DataAvailable();
376 long num = 0L;
377 if (this.GetKeyFromBuffer(num != 0L) != null)
378 {
379 goto IL_0071;
380 }
382 }
383 while (this.GetKeyFromBuffer(true) == null);
384 fresh.m_value = true;
385 IL_0071:
386 throw new InvalidCastException();
387 }
class f__AnonymousType0<< Count > j__TPar
object GetKeyFromBuffer(bool cooked)

References System.IO.StreamReader.DataAvailable(), System.TermInfoDriver.GetKeyFromBuffer(), System.TermInfoDriver.Init(), System.TermInfoDriver.inited, System.TermInfoDriver.InitKeys(), j__TPar, System.L, and System.TermInfoDriver.stdin.

Referenced by System.TermInfoDriver.ReadKey(), and System.TermInfoDriver.ReadUntilConditionInternal().