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

◆ Update()

bool Controller.ControllerDevice.Update ( float elapsedTime)
inline

Definition at line 368 of file ControllerDevice.cs.

369 {
370 bool flag2;
371 float[] axisTime3;
372 if (this.Device != null)
373 {
374 float[] axisValue = this.AxisValue;
375 float[] axisValueScaled = this.AxisValueScaled;
378 if (this.Device2 != null)
379 {
380 }
381 float[] axisValue2 = this.AxisValue;
382 float[] axisValueScaled2 = this.AxisValueScaled;
383 float[] axisTime = this._AxisTime;
385 float[] axisTime2 = this._AxisTime;
386 if (this.Device != null)
387 {
389 bool[] keyState = this._KeyState;
390 if (this.Device2 != null)
391 {
392 bool flag;
393 return flag;
394 }
396 bool[] keyStateUp = this._KeyStateUp;
397 bool[] keyState2 = this._KeyState;
398 bool[] keyStateDown = this._KeyStateDown;
399 bool[] keyState3 = this._KeyState;
400 long num;
401 if (keyState2 != null)
402 {
403 num = 0L;
404 return flag2;
405 }
406 if (keyStateDown != null)
407 {
408 float[] keyTime = this._KeyTime;
409 if (num == 0L)
410 {
411 return flag2;
412 }
413 }
414 else
415 {
416 float[] keyTime;
417 if (keyTime != null)
418 {
419 return flag2;
420 }
421 float[] keyTime2 = this._KeyTime;
422 }
423 bool[] keyConsumed = this._KeyConsumed;
424 return flag2;
425 }
426 }
427 else if (this._fakedAxisValues != null)
428 {
431 float[] axisValue3 = this.AxisValue;
432 float[] axisValueScaled3 = this.AxisValueScaled;
433 axisTime3 = this._AxisTime;
434 return flag2;
435 }
436 if (this._fakedDeviceButtons != null)
437 {
438 bool[] keyStateUp2 = this._KeyStateUp;
439 bool[] keyStateDown2 = this._KeyStateDown;
441 bool[] keyState4 = this._KeyState;
442 int num2;
443 if (num2 != 0)
444 {
445 }
447 long num3;
448 if (num2 != 0)
449 {
450 num3 = 0L;
451 return flag2;
452 }
456 if (num3 != 0L)
457 {
458 float[] keyTime3 = this._KeyTime;
459 if (axisTime3 != null)
460 {
461 bool[] keyConsumed2 = this._KeyConsumed;
462 return flag2;
463 }
464 }
465 }
466 return flag2;
467 }
class f__AnonymousType0<< Count > j__TPar
readonly float[] PreviousAxisValueScaled

References Controller.ControllerDevice._AxisTime, Controller.ControllerDevice._fakedAxisValues, Controller.ControllerDevice._fakedDeviceButtons, Controller.ControllerDevice._KeyConsumed, Controller.ControllerDevice._KeyState, Controller.ControllerDevice._KeyStateDown, Controller.ControllerDevice._KeyStateUp, Controller.ControllerDevice._KeyTime, Controller.ControllerDevice._PreviousKeyState, Controller.ControllerDevice.AxisValue, Controller.ControllerDevice.AxisValueScaled, Controller.ControllerDevice.Device, Controller.ControllerDevice.Device2, j__TPar, InControl.L, Controller.ControllerDevice.PreviousAxisValue, and Controller.ControllerDevice.PreviousAxisValueScaled.