vrchat-community / osc

Files and Info on using OSC to communicate with VRChat
MIT License
234 stars 5 forks source link

Send the new avatar ID on avatar switch #5

Closed benaclejames closed 2 years ago

benaclejames commented 2 years ago

Discussed in https://github.com/vrchat-community/osc/discussions/3

Originally posted by **benaclejames** February 17, 2022 This would help avoid sending/processing unnescessary data when it's unneeded. Programs could reference the config file entry for said avatar ID to know what needs to be processed
bdunderscore commented 2 years ago

Note that the config file path contains the avatar name as well as ID, so it would be ideal to also have an OSC path that presents the full config file path on avatar change.

benaclejames commented 2 years ago

The new avatar load endpoints looking awesome so far! I'd still reccommend adding an input to get the current avatar ID too, just in case the OSC sending application loads after the avatar

bdunderscore commented 2 years ago

Overlaps with #51 perhaps?

momo-the-monster commented 2 years ago

we now have /avatar/change which send the id of a newly-loaded avatar once it's loaded.