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

◆ TryOpeningFullscreenMap()

void Terraria.Player.TryOpeningFullscreenMap ( )
inline

Definition at line 26952 of file Player.cs.

26953 {
26954 if (Main.mapEnabled)
26955 {
26956 Main.playerInventory = false;
26957 sign = -1;
26958 Main.editSign = false;
26959 SetTalkNPC(-1);
26960 Main.npcChatCornerItem = 0;
26962 Main.mapFullscreenScale = 2.5f;
26963 Main.mapFullscreen = true;
26964 Main.resetMapFull = true;
26965 Main.buffString = string.Empty;
26966 releaseInventory = false;
26967 }
26968 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
void SetTalkNPC(int npcIndex, bool fromNet=false)
Definition Player.cs:4880
bool releaseInventory
Definition Player.cs:1930

References Terraria.Main.mapEnabled, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Player.releaseInventory, Terraria.Player.SetTalkNPC(), and Terraria.Player.sign.

Referenced by Terraria.Player.TileInteractionsUse(), and Terraria.Player.Update().

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