Skip to content

Commit 496361b

Browse files
committed
Version update (config key components)
1 parent 0d80fa4 commit 496361b

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

FlexibleContactsSort/ContactsSortingConfig.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ internal sealed class ContactsSortingConfig : ConfigSection
1919
private readonly DefiningConfigKey<int> _onlineStatusPriorityKey = new("OnlineStatusPriority", "Priority of the contact's online status. Set 0 to ignore; negative to invert.", () => 1_000);
2020
private readonly DefiningConfigKey<int> _outgoingContactRequestPriorityKey = new("OutgoingContactRequestPriority", "Priority of the contact being an outgoing request. Set 0 to ignore; negative to invert.", () => 1_000_000);
2121
private readonly DefiningConfigKey<HashSet<string>> _pinnedContactsKey = new("PinnedContacts", "List of Contacts to always keep at the top.", () => new(), internalAccessOnly: true);
22-
private readonly QuantifiedDefiningConfigKey<int, Time> _readMessageCooldownKey = new("ReadMessageCooldown", new UnitConfiguration("s", "F0", " ", new[] { "m", "s" }), null, "Delay before a contact with freshly-read messages is counted as such. Set 0 to disable.", () => 120, 0, int.MaxValue);
22+
23+
private readonly DefiningConfigKey<int> _readMessageCooldownKey = new("ReadMessageCooldown", "Delay before a contact with freshly-read messages is counted as such. Set 0 to disable.", () => 120)
24+
{
25+
new ConfigKeyQuantity<int, Time>(new UnitConfiguration("s", "0", " ", new[] { "m", "s" }), null, 0, int.MaxValue )
26+
};
2327

2428
public int AlphabeticPriority => _alphabeticPriorityKey.GetValue();
2529
public override string Description => "Contains options for how to sort the Contacts list.";

FlexibleContactsSort/FlexibleContactsSort.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageId>FlexibleContactSorting</PackageId>
1212
<Title>Flexible Contact Sorting</Title>
1313
<Authors>Banane9</Authors>
14-
<Version>0.4.1-beta</Version>
14+
<Version>0.4.2-beta</Version>
1515
<Description>This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top.</Description>
1616
<PackageReadmeFile>README.md</PackageReadmeFile>
1717
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
@@ -42,15 +42,15 @@
4242
</ItemGroup>
4343

4444
<ItemGroup>
45-
<PackageReference Include="MonkeyLoader" Version="0.15.3-beta" />
46-
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.14.1-beta" />
45+
<PackageReference Include="MonkeyLoader" Version="0.16.3-beta" />
46+
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.15.1-beta" />
4747
<PackageReference Include="PolySharp" Version="1.14.1">
4848
<PrivateAssets>all</PrivateAssets>
4949
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5050
</PackageReference>
5151
<PackageReference Include="Resonite.Elements.Core" Version="1.0.2" />
5252
<PackageReference Include="Resonite.Elements.Quantity" Version="1.0.2" />
53-
<PackageReference Include="Resonite.FrooxEngine" Version="2024.4.26.1426" />
53+
<PackageReference Include="Resonite.FrooxEngine" Version="2024.4.32.495" />
5454
<PackageReference Include="Resonite.SkyFrost.Base" Version="1.0.2" />
5555
<PackageReference Include="System.Text.Json" Version="8.0.2">
5656
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)