Skip to content

Commit

Permalink
Add new status
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Oct 16, 2024
1 parent a0421bb commit 3674b94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Fika.Core/UI/Custom/MainMenuUIPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
};
}
Expand Down
3 changes: 2 additions & 1 deletion Fika.Core/UI/FikaUIGlobals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ public enum EFikaPlayerPresence
IN_MENU,
IN_RAID,
IN_STASH,
IN_HIDEOUT
IN_HIDEOUT,
IN_FLEA
}

/// <summary>
Expand Down

0 comments on commit 3674b94

Please sign in to comment.