From 3674b94e13a9b144743482e6bcc45ecce6f1d079 Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:38:38 +0200 Subject: [PATCH] Add new status --- Fika.Core/UI/Custom/MainMenuUIPlayer.cs | 3 ++- Fika.Core/UI/FikaUIGlobals.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Fika.Core/UI/Custom/MainMenuUIPlayer.cs b/Fika.Core/UI/Custom/MainMenuUIPlayer.cs index 6b3a5e2b..5d472d17 100644 --- a/Fika.Core/UI/Custom/MainMenuUIPlayer.cs +++ b/Fika.Core/UI/Custom/MainMenuUIPlayer.cs @@ -24,6 +24,7 @@ public void SetActivity(string nickname, int level, EFikaPlayerPresence presence EFikaPlayerPresence.IN_RAID => "In Raid", EFikaPlayerPresence.IN_STASH => "In Stash", EFikaPlayerPresence.IN_HIDEOUT => "In Hideout", + EFikaPlayerPresence.IN_FLEA => "In Flea", _ => "In Menu", }; PlayerStatus.text = status; @@ -36,7 +37,7 @@ private void SetImageColor(EFikaPlayerPresence presence) { EFikaPlayerPresence.IN_MENU => Color.green, EFikaPlayerPresence.IN_RAID => Color.red, - EFikaPlayerPresence.IN_STASH or EFikaPlayerPresence.IN_HIDEOUT => Color.yellow, + EFikaPlayerPresence.IN_STASH or EFikaPlayerPresence.IN_HIDEOUT or EFikaPlayerPresence.IN_FLEA => Color.yellow, _ => Color.green, }; } diff --git a/Fika.Core/UI/FikaUIGlobals.cs b/Fika.Core/UI/FikaUIGlobals.cs index 2853c0f0..e6353729 100644 --- a/Fika.Core/UI/FikaUIGlobals.cs +++ b/Fika.Core/UI/FikaUIGlobals.cs @@ -159,7 +159,8 @@ public enum EFikaPlayerPresence IN_MENU, IN_RAID, IN_STASH, - IN_HIDEOUT + IN_HIDEOUT, + IN_FLEA } ///