Nutcake / ReCon

GNU General Public License v3.0
63 stars 8 forks source link

(Enchancement) Expose unused user profile fields to ReCon #14

Open dfgHiatus opened 8 months ago

dfgHiatus commented 8 months ago

Resonite has a number of unused user profile cloud descriptors, including favorite worlds, favorite items, a user description (bio!), and more.

The transition from Neos to Resonite changed where some of these are, but most of them still exist/work. An example of how these are modified can be seen with my mod Status

It would be nice to see/edit these!

Nutcake commented 8 months ago

Oh cool, didn't know about these. Do you have a list of fields that are available for editing?

dfgHiatus commented 8 months ago

Sure. Here is what I was able to find under UserProfile:

public const int MAX_DISPLAY_BADGES = 32;
public string IconUrl { get; set; }
public string Tagline { get; set; }
public List<EntityId> DisplayBadges { get; set; } = new List<EntityId>();
public string Description { get; set; }
...

The IconURL is already in use, this corresponds to the profile picture you see in your dash menu. Tagline, DisplayBadges, and Description seem to be unused as of now. Here's what my profile looks like from https://api.resonite.com/users/U-dfgHiatus

image

Finally, EntityId is defined as:

public string Id { get; set; }
public string OwnerId { get; set; }
...
Nutcake commented 8 months ago

Awesome thanks. I can't say when exactly I'll work on this as there's lots of other stuff that has priority but I'll definitely add this at some point!