-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from ChanyaVRC/dev/1.4.x
Release v1.4.3
- Loading branch information
Showing
38 changed files
with
1,152 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/VRCOscLib/VRCOscLib/Avatar/Delegate/OscAvatarParameterChangedEventHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
namespace BuildSoft.VRChat.Osc.Avatar; | ||
|
||
/// <summary> | ||
/// Represents a delegate for handling changes to an <see cref="OscAvatarParameter"/>. | ||
/// </summary> | ||
/// <param name="parameter">The <see cref="OscAvatarParameter"/> that has changed.</param> | ||
/// <param name="e">The <see cref="ValueChangedEventArgs"/> containing the old and new values.</param> | ||
public delegate void OscAvatarParameterChangedEventHandler(OscAvatarParameter parameter, ValueChangedEventArgs e); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
namespace BuildSoft.VRChat.Osc.Avatar; | ||
|
||
/// <summary> | ||
/// Represents a VRChat avatar, as identified by its unique ID. | ||
/// </summary> | ||
public struct OscAvatar | ||
{ | ||
/// <summary> | ||
/// The unique ID of the avatar. | ||
/// </summary> | ||
public string? Id { get; set; } | ||
|
||
/// <summary> | ||
/// Converts the avatar to an <see cref="OscAvatarConfig"/> object. | ||
/// </summary> | ||
/// <returns> | ||
/// An <see cref="OscAvatarConfig"/> object representing the avatar, | ||
/// or null if the avatar does not have a valid ID. | ||
/// </returns> | ||
public OscAvatarConfig? ToConfig() => Id == null ? null : OscAvatarConfig.Create(Id); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.