File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1717using ECommons . Interop ;
1818using Dalamud . Game . ClientState . Conditions ;
1919using Dalamud . Game . ClientState . Objects . SubKinds ;
20- using ECommons . GameHelpers ;
20+ using ECommons . GameHelpers . LegacyPlayer ;
21+ using ECommons . ExcelServices ;
22+ using ECommons . GameFunctions ;
2123
2224namespace Splatoon ;
2325
@@ -110,8 +112,13 @@ private void Draw()
110112 {
111113 if ( col ) ImGui . PopStyleColor ( ) ;
112114 if ( ImGui . Selectable ( "No Override" , BasePlayerOverride == "" ) ) BasePlayerOverride = "" ;
113- foreach ( var x in Svc . Objects . OfType < IPlayerCharacter > ( ) )
115+ foreach ( var x in Svc . Objects . OfType < IPlayerCharacter > ( ) . OrderBy ( x => x . GetRole ( ) ) . ThenBy ( x => x . GetJob ( ) . IsRangedDps ( ) ) . ThenBy ( x => x . GetJob ( ) . IsMagicalRangedDps ( ) ) )
114116 {
117+ if ( ThreadLoadImageHandler . TryGetIconTextureWrap ( x . GetJob ( ) . GetIcon ( ) , false , out var tex ) )
118+ {
119+ ImGui . Image ( tex . Handle , new ( ImGui . GetTextLineHeight ( ) ) ) ;
120+ ImGui . SameLine ( ) ;
121+ }
115122 if ( ImGui . Selectable ( $ "{ x . GetNameWithWorld ( ) } ", x . GetNameWithWorld ( ) == BasePlayerOverride ) )
116123 {
117124 BasePlayerOverride = x . GetNameWithWorld ( ) ;
Original file line number Diff line number Diff line change 22<Project Sdk =" Microsoft.NET.Sdk" >
33 <PropertyGroup >
44 <Authors >NightmareXIV</Authors >
5- <Version >3.9.0.10 </Version >
5+ <Version >3.9.0.11 </Version >
66 </PropertyGroup >
77
88 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments