Skip to content

Commit 181a7e8

Browse files
committed
Release v0.1.0-beta
1 parent 88d6156 commit 181a7e8

5 files changed

Lines changed: 44 additions & 58 deletions

File tree

FlexibleContactsSort/FlexibleContactSorting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private static void Postfix(bool __state, SyncRef<Slot> ____listRoot)
120120
}
121121

122122
[HarmonyPrefix]
123-
[HarmonyPatch(nameof(ContactsDialog.OnCommonUpdate))]
123+
[HarmonyPatch("OnCommonUpdate")]
124124
private static void Prefix(ref bool ___sortList, out bool __state)
125125
{
126126
// steal the sortList bool's value, and force it to false from Resonite's perspective

FlexibleContactsSort/FlexibleContactsSort.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212
</Target>
1313

1414
<ItemGroup>
15-
<PackageReference Include="MonkeyLoader" Version="0.3.0-beta" />
16-
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.3.1-beta" />
15+
<PackageReference Include="MonkeyLoader" Version="0.4.0-beta" />
16+
<PackageReference Include="MonkeyLoader.GamePacks.Resonite" Version="0.4.0-beta" />
1717
<PackageReference Include="PolySharp" Version="1.14.1">
1818
<PrivateAssets>all</PrivateAssets>
1919
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2020
</PackageReference>
21-
<PackageReference Include="Lib.Harmony" Version="2.3.0-prerelease.5" />
22-
<PackageReference Include="Krafs.Publicizer" Version="2.2.1" />
2321

2422
<Reference Include="FrooxEngine">
2523
<HintPath>$(ResonitePath)\Resonite_Data\Managed\FrooxEngine.dll</HintPath>

README.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Flexible Contacts Sort
22
======================
33

4-
A [MonkeyLoader](https://github.com/MonkeyModdingTroop/MonkeyLoader) mod for [Resonite](https://resonite.com/) that sorts contacts Better™ and to your liking.
4+
A [MonkeyLoader](https://github.com/MonkeyModdingTroop/MonkeyLoader) mod for [Resonite](https://resonite.com/) that sorts contacts Better™ and to your liking, including pinning your favorites to the top..
55

66
Semi-relevant Resonite issue: [#41](https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/41).
77

@@ -25,18 +25,20 @@ I've made a few noteworthy changes to the sorting order:
2525
4. Even further ties broken by username alphabetical order
2626

2727
### Default Modded Sort
28-
Sort Order can be changed to liking. Ordering of friends can additionally include sorting by whether
29-
a contact is in a world you can just join.
28+
Sort Order can be changed to liking - this is just the default:
3029

31-
0. Neos Bot
32-
1. Unread messages and pinned contacts
33-
2. Incoming Friend Requests
34-
3. Online status
35-
1. Online Friends
36-
2. Away Friends
37-
3. Busy Friends
38-
39-
4. Sent Requests (background color changed from gray to yellow!)
40-
5. Offline Friends
41-
6. Search results
42-
7. Remaining ties broken by username alphabetical order
30+
0. Your Account
31+
1. Resonite Bot
32+
2. Unread messages
33+
3. Pinned contacts
34+
3. Incoming contacts requests
35+
4. Contacts in joinable sessions
36+
5. Online status
37+
1. Online
38+
2. Away
39+
3. Busy
40+
6. Headless hosts
41+
7. Sent Requests (background color changed from gray to yellow!)
42+
8. Offline Friends
43+
9. Search results
44+
10. Remaining ties broken by Username+UserId alphabetical order
Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,42 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
4-
<id>MonkeyLoader.GamePacks.Resonite</id>
5-
<version>0.3.1-beta</version>
6-
<title>Resonite GamePack</title>
4+
<id>MonkeyLoader.Resonite.FlexibleContactSorting</id>
5+
<version>0.1.0-beta</version>
6+
<title>Resonite Flexible Contact Sorting</title>
77
<authors>Banane9</authors>
88
<owners>Banane9</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<description>
11-
This Game Pack for MonkeyLoader provides basic hooks for modding the game Resonite,
12-
which uses FrooxEngine. It provides hooks for the beginning of initialization,
13-
when initialization is done, and when the game shuts down.
11+
This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top.
1412
</description>
1513
<readme>README.md</readme>
1614
<license type="expression">LGPL-3.0-or-later</license>
17-
<projectUrl>https://github.com/ResoniteModdingGroup/MonkeyLoader.GamePacks.Resonite</projectUrl>
18-
<repository type="git" url="https://github.com/ResoniteModdingGroup/MonkeyLoader.GamePacks.Resonite.git" />
19-
<tags>mod mods modding mod loader harmony unity game games mono config configuration nuget logging monkeyloader</tags>
15+
<projectUrl>https://github.com/ResoniteModdingGroup/FlexibleContactsSort</projectUrl>
16+
<repository type="git" url="https://github.com/ResoniteModdingGroup/FlexibleContactsSort.git" />
17+
<tags>mod mods modding mod loader harmony unity game games mono config configuration nuget logging monkeyloader resonite</tags>
2018

2119
<dependencies>
2220
<group targetFramework=".NETFramework4.6.2">
23-
<dependency id="MonkeyLoader" version="0.3.0-beta" />
24-
<dependency id="MonkeyLoader.GamePacks.Unity" version="0.3.0-beta" />
21+
<dependency id="MonkeyLoader" version="0.4.0-beta" />
22+
<dependency id="MonkeyLoader.GamePacks.Resonite" version="0.4.0-beta" />
2523
</group>
2624
</dependencies>
2725
</metadata>
2826

2927
<files>
3028
<file
31-
src="..\README.md"
29+
src="README.md"
3230
target="README.md" />
33-
34-
<file
35-
src="../MonkeyLoader.Resonite.Data/bin\Debug\net472\MonkeyLoader.Resonite.Data.dll"
36-
target="lib\net462\pre-patchers\MonkeyLoader.Resonite.Data.dll" />
37-
<file
38-
src="../MonkeyLoader.Resonite.Data/bin\Debug\net472\MonkeyLoader.Resonite.Data.xml"
39-
target="lib\net462\pre-patchers\MonkeyLoader.Resonite.Data.xml" />
40-
<file
41-
src="../MonkeyLoader.Resonite.Data/bin\Debug\net472\MonkeyLoader.Resonite.Data.pdb"
42-
target="lib\net462\pre-patchers\MonkeyLoader.Resonite.Data.pdb" />
43-
31+
4432
<file
45-
src="bin\Debug\net472\MonkeyLoader.Resonite.Integration.dll"
46-
target="lib\net462\MonkeyLoader.Resonite.Integration.dll" />
33+
src="FlexibleContactsSort\bin\Debug\net472\FlexibleContactsSort.dll"
34+
target="lib\net462\FlexibleContactsSort.dll" />
4735
<file
48-
src="bin\Debug\net472\MonkeyLoader.Resonite.Integration.xml"
49-
target="lib\net462\MonkeyLoader.Resonite.Integration.xml" />
36+
src="FlexibleContactsSort\bin\Debug\net472\FlexibleContactsSort.xml"
37+
target="lib\net462\FlexibleContactsSort.xml" />
5038
<file
51-
src="bin\Debug\net472\MonkeyLoader.Resonite.Integration.pdb"
52-
target="lib\net462\MonkeyLoader.Resonite.Integration.pdb" />
39+
src="FlexibleContactsSort\bin\Debug\net472\FlexibleContactsSort.pdb"
40+
target="lib\net462\FlexibleContactsSort.pdb" />
5341
</files>
5442
</package>

Resonite.FlexibleContactsSort.nuspec

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
4-
<id>Resonite.FlexibleContactsSort</id>
4+
<id>MonkeyLoader.Resonite.FlexibleContactSorting</id>
55
<version>0.1.0-beta</version>
6-
<title>Flexible Contacts Sort</title>
6+
<title>Resonite Flexible Contact Sorting</title>
77
<authors>Banane9</authors>
88
<owners>Banane9</owners>
99
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1010
<description>
11-
This Game Pack for MonkeyLoader provides basic hooks for modding the game Resonite,
12-
which uses FrooxEngine. It provides hooks for the beginning of initialization,
13-
when initialization is done, and when the game shuts down.
11+
This MonkeyLoader mod for Resonite allows sorting contacts flexibly and to your liking, including pinning your favorites to the top.
1412
</description>
1513
<readme>README.md</readme>
1614
<license type="expression">LGPL-3.0-or-later</license>
17-
<projectUrl>https://github.com/Banane9/ResoniteFlexibleContactsSort</projectUrl>
18-
<repository type="git" url="https://github.com/Banane9/ResoniteFlexibleContactsSort.git" />
15+
<projectUrl>https://github.com/ResoniteModdingGroup/FlexibleContactsSort</projectUrl>
16+
<repository type="git" url="https://github.com/ResoniteModdingGroup/FlexibleContactsSort.git" />
1917
<tags>mod mods modding mod loader harmony unity game games mono config configuration nuget logging monkeyloader resonite</tags>
2018

2119
<dependencies>
2220
<group targetFramework=".NETFramework4.6.2">
23-
<dependency id="MonkeyLoader" version="0.3.0-beta" />
24-
<dependency id="MonkeyLoader.GamePacks.Resonite" version="0.3.1-beta" />
21+
<dependency id="MonkeyLoader" version="0.4.0-beta" />
22+
<dependency id="MonkeyLoader.GamePacks.Resonite" version="0.4.0-beta" />
2523
</group>
2624
</dependencies>
2725
</metadata>

0 commit comments

Comments
 (0)