TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ TryOpeningInGameOptionsBasedOnInput()

void Terraria.Player.TryOpeningInGameOptionsBasedOnInput ( )
inlineprivate

Definition at line 15621 of file Player.cs.

15622 {
15623 if (controlInv)
15624 {
15625 if (releaseInventory)
15626 {
15627 releaseInventory = false;
15628 if (Main.ingameOptionsWindow)
15629 {
15630 IngameOptions.Close();
15631 }
15632 else
15633 {
15634 IngameOptions.Open();
15635 }
15636 }
15637 }
15638 else
15639 {
15640 releaseInventory = true;
15641 }
15642 }
bool releaseInventory
Definition Player.cs:1930

References Terraria.IngameOptions.Close(), Terraria.Player.controlInv, Terraria.Main.ingameOptionsWindow, Terraria.IngameOptions.Open(), and Terraria.Player.releaseInventory.

Referenced by Terraria.Player.Ghost(), and Terraria.Player.UpdateDead().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: