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

◆ PressButton()

void Terraria.Graphics.Capture.CaptureInterface.ModeChangeSettings.PressButton ( int button)
inlineprivate

Definition at line 691 of file CaptureInterface.cs.

692 {
693 bool flag = false;
694 switch (button)
695 {
696 case 0:
697 Settings.PackImage = !Settings.PackImage;
698 flag = true;
699 break;
700 case 1:
701 Settings.IncludeEntities = !Settings.IncludeEntities;
702 flag = true;
703 break;
704 case 2:
705 Settings.TransparentBackground = !Settings.TransparentBackground;
706 flag = true;
707 break;
708 case 6:
709 Settings.PackImage = true;
710 Settings.IncludeEntities = true;
711 Settings.TransparentBackground = false;
712 Settings.BiomeChoiceIndex = -1;
713 flag = true;
714 break;
715 }
716 if (flag)
717 {
719 }
720 }
static void PlaySound(int type, Vector2 position, int style=1)

References Terraria.Graphics.Capture.CaptureInterface.Settings.IncludeEntities, Terraria.Graphics.Capture.CaptureInterface.Settings.PackImage, Terraria.Audio.SoundEngine.PlaySound(), and Terraria.Graphics.Capture.CaptureInterface.Settings.TransparentBackground.

Referenced by Terraria.Graphics.Capture.CaptureInterface.ModeChangeSettings.Update().