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

◆ GetKeyFromBuffer()

object System.TermInfoDriver.GetKeyFromBuffer ( bool cooked)
inlineprivate

Definition at line 328 of file TermInfoDriver.cs.

329 {
330 int num = this.readpos;
331 string text = this.keypadXmit;
332 char[] array = this.buffer;
333 bool flag = this.rootmap.StartsWith(43155456);
334 int num2 = this.readpos;
335 string text2 = this.keypadXmit;
337 char[] array2 = this.buffer;
338 if (this.keymap != null)
339 {
341 int num3 = this.readpos;
342 string text3 = this.keypadXmit;
343 int num4 = this.readpos;
344 string text4 = this.keypadXmit;
346 char[] array3 = this.buffer;
347 int num5 = this.writepos;
349 }
350 int num6 = this.readpos;
351 string text5 = this.keypadXmit;
352 throw new InvalidCastException();
353 }
class f__AnonymousType0<< Count > j__TPar
bool StartsWith(int c)

References System.array, System.TermInfoDriver.buffer, j__TPar, System.TermInfoDriver.keymap, System.TermInfoDriver.keypadXmit, System.TermInfoDriver.readpos, System.TermInfoDriver.rootmap, System.ByteMatcher.StartsWith(), System.text, and System.TermInfoDriver.writepos.

Referenced by System.TermInfoDriver.Read(), and System.TermInfoDriver.ReadKeyInternal().