Skip to content

Commit 9498792

Browse files
committed
Upgrade .NET SDK to spec 2.20.8-nightly.20
1 parent 49a48da commit 9498792

4 files changed

Lines changed: 77 additions & 5 deletions

File tree

‎src/VRChat.API/Client/Configuration.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration
3333
/// Version of the package.
3434
/// </summary>
3535
/// <value>Version of the package.</value>
36-
public const string Version = "2.20.8-nightly.19";
36+
public const string Version = "2.20.8-nightly.20";
3737

3838
/// <summary>
3939
/// Identifier for ISO 8601 DateTime Format
@@ -540,7 +540,7 @@ public static string ToDebugReport()
540540
report += " OS: " + System.Environment.OSVersion + "\n";
541541
report += " .NET Framework Version: " + System.Environment.Version + "\n";
542542
report += " Version of the API: 1.20.7\n";
543-
report += " SDK Package Version: 2.20.8-nightly.19\n";
543+
report += " SDK Package Version: 2.20.8-nightly.20\n";
544544

545545
return report;
546546
}

‎src/VRChat.API/Model/CurrentUser.cs‎

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ protected CurrentUser() { }
7272
/// <param name="ageVerificationStatus">ageVerificationStatus (required).</param>
7373
/// <param name="ageVerified">&#x60;true&#x60; if, user is age verified (not 18+). (required).</param>
7474
/// <param name="allowAvatarCopying">allowAvatarCopying (required).</param>
75+
/// <param name="appleDetails">appleDetails.</param>
76+
/// <param name="appleId">appleId.</param>
7577
/// <param name="authToken">The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register).</param>
7678
/// <param name="badges"> .</param>
7779
/// <param name="bio">bio (required).</param>
@@ -132,6 +134,8 @@ protected CurrentUser() { }
132134
/// <param name="steamDetails">steamDetails (required).</param>
133135
/// <param name="steamId">steamId (required).</param>
134136
/// <param name="tags">tags (required).</param>
137+
/// <param name="twitchDetails">twitchDetails.</param>
138+
/// <param name="twitchId">twitchId.</param>
135139
/// <param name="twoFactorAuthEnabled">twoFactorAuthEnabled (required).</param>
136140
/// <param name="twoFactorAuthEnabledDate">twoFactorAuthEnabledDate.</param>
137141
/// <param name="unsubscribe">unsubscribe (required).</param>
@@ -142,7 +146,7 @@ protected CurrentUser() { }
142146
/// <param name="username">-| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429)..</param>
143147
/// <param name="usesGeneratedPassword">usesGeneratedPassword (required).</param>
144148
/// <param name="viveId">viveId.</param>
145-
public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion = default, DateOnly? accountDeletionDate = default, List<AccountDeletionLog> accountDeletionLog = default, List<string> activeFriends = default, AgeVerificationStatus ageVerificationStatus = default, bool ageVerified = default, bool allowAvatarCopying = default, string authToken = default, List<Badge> badges = default, string bio = default, List<string> bioLinks = default, List<string> contentFilters = default, string currentAvatar = default, string currentAvatarImageUrl = default, List<string> currentAvatarTags = default, string currentAvatarThumbnailImageUrl = default, DateOnly dateJoined = default, DeveloperType developerType = default, DiscordDetails discordDetails = default, string discordId = default, string displayName = default, bool emailVerified = default, string fallbackAvatar = default, List<string> friendGroupNames = default, string friendKey = default, List<string> friends = default, Object googleDetails = default, string googleId = default, bool hasBirthday = default, bool hasDiscordFriendsOptOut = default, bool hasEmail = default, bool hasLoggedInFromClient = default, bool hasPendingEmail = default, bool hasSharedConnectionsOptOut = default, bool hideContentFilterSettings = default, string homeLocation = default, string id = default, bool isAdult = default, bool isBoopingEnabled = true, bool isFriend = false, DateTime lastActivity = default, DateTime lastLogin = default, DateTime? lastMobile = default, string lastPlatform = default, string obfuscatedEmail = default, string obfuscatedPendingEmail = default, string oculusId = default, List<string> offlineFriends = default, List<string> onlineFriends = default, List<PastDisplayName> pastDisplayNames = default, string picoId = default, List<CurrentUserPlatformHistoryInner> platformHistory = default, CurrentUserPresence presence = default, string profilePicOverride = default, string profilePicOverrideThumbnail = default, string pronouns = default, List<string> pronounsHistory = default, string queuedInstance = default, bool receiveMobileInvitations = default, UserState state = default, UserStatus status = default, string statusDescription = default, bool statusFirstTime = default, List<string> statusHistory = default, Object steamDetails = default, string steamId = default, List<string> tags = default, bool twoFactorAuthEnabled = default, DateTime? twoFactorAuthEnabledDate = default, bool unsubscribe = default, DateTime updatedAt = default, string userIcon = default, string userLanguage = default, string userLanguageCode = default, string username = default, bool usesGeneratedPassword = default, string viveId = default)
149+
public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion = default, DateOnly? accountDeletionDate = default, List<AccountDeletionLog> accountDeletionLog = default, List<string> activeFriends = default, AgeVerificationStatus ageVerificationStatus = default, bool ageVerified = default, bool allowAvatarCopying = default, Object appleDetails = default, string appleId = default, string authToken = default, List<Badge> badges = default, string bio = default, List<string> bioLinks = default, List<string> contentFilters = default, string currentAvatar = default, string currentAvatarImageUrl = default, List<string> currentAvatarTags = default, string currentAvatarThumbnailImageUrl = default, DateOnly dateJoined = default, DeveloperType developerType = default, DiscordDetails discordDetails = default, string discordId = default, string displayName = default, bool emailVerified = default, string fallbackAvatar = default, List<string> friendGroupNames = default, string friendKey = default, List<string> friends = default, Object googleDetails = default, string googleId = default, bool hasBirthday = default, bool hasDiscordFriendsOptOut = default, bool hasEmail = default, bool hasLoggedInFromClient = default, bool hasPendingEmail = default, bool hasSharedConnectionsOptOut = default, bool hideContentFilterSettings = default, string homeLocation = default, string id = default, bool isAdult = default, bool isBoopingEnabled = true, bool isFriend = false, DateTime lastActivity = default, DateTime lastLogin = default, DateTime? lastMobile = default, string lastPlatform = default, string obfuscatedEmail = default, string obfuscatedPendingEmail = default, string oculusId = default, List<string> offlineFriends = default, List<string> onlineFriends = default, List<PastDisplayName> pastDisplayNames = default, string picoId = default, List<CurrentUserPlatformHistoryInner> platformHistory = default, CurrentUserPresence presence = default, string profilePicOverride = default, string profilePicOverrideThumbnail = default, string pronouns = default, List<string> pronounsHistory = default, string queuedInstance = default, bool receiveMobileInvitations = default, UserState state = default, UserStatus status = default, string statusDescription = default, bool statusFirstTime = default, List<string> statusHistory = default, Object steamDetails = default, string steamId = default, List<string> tags = default, Object twitchDetails = default, string twitchId = default, bool twoFactorAuthEnabled = default, DateTime? twoFactorAuthEnabledDate = default, bool unsubscribe = default, DateTime updatedAt = default, string userIcon = default, string userLanguage = default, string userLanguageCode = default, string username = default, bool usesGeneratedPassword = default, string viveId = default)
146150
{
147151
this.AcceptedTOSVersion = acceptedTOSVersion;
148152
this.AgeVerificationStatus = ageVerificationStatus;
@@ -224,6 +228,8 @@ public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion
224228
this.AccountDeletionDate = accountDeletionDate;
225229
this.AccountDeletionLog = accountDeletionLog;
226230
this.ActiveFriends = activeFriends;
231+
this.AppleDetails = appleDetails;
232+
this.AppleId = appleId;
227233
this.AuthToken = authToken;
228234
this.Badges = badges;
229235
this.ContentFilters = contentFilters;
@@ -244,6 +250,8 @@ public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion
244250
this.Presence = presence;
245251
this.QueuedInstance = queuedInstance;
246252
this.ReceiveMobileInvitations = receiveMobileInvitations;
253+
this.TwitchDetails = twitchDetails;
254+
this.TwitchId = twitchId;
247255
this.TwoFactorAuthEnabledDate = twoFactorAuthEnabledDate;
248256
this.UpdatedAt = updatedAt;
249257
this.UserLanguage = userLanguage;
@@ -303,6 +311,18 @@ public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion
303311
[DataMember(Name = "allowAvatarCopying", IsRequired = false, EmitDefaultValue = true)]
304312
public bool AllowAvatarCopying { get; set; }
305313

314+
/// <summary>
315+
/// Gets or Sets AppleDetails
316+
/// </summary>
317+
[DataMember(Name = "appleDetails", EmitDefaultValue = false)]
318+
public Object AppleDetails { get; set; }
319+
320+
/// <summary>
321+
/// Gets or Sets AppleId
322+
/// </summary>
323+
[DataMember(Name = "appleId", EmitDefaultValue = false)]
324+
public string AppleId { get; set; }
325+
306326
/// <summary>
307327
/// The auth token for NEWLY REGISTERED ACCOUNTS ONLY (/auth/register)
308328
/// </summary>
@@ -682,6 +702,18 @@ public CurrentUser(int acceptedPrivacyVersion = default, int acceptedTOSVersion
682702
[DataMember(Name = "tags", IsRequired = false, EmitDefaultValue = true)]
683703
public List<string> Tags { get; set; }
684704

705+
/// <summary>
706+
/// Gets or Sets TwitchDetails
707+
/// </summary>
708+
[DataMember(Name = "twitchDetails", EmitDefaultValue = false)]
709+
public Object TwitchDetails { get; set; }
710+
711+
/// <summary>
712+
/// Gets or Sets TwitchId
713+
/// </summary>
714+
[DataMember(Name = "twitchId", EmitDefaultValue = false)]
715+
public string TwitchId { get; set; }
716+
685717
/// <summary>
686718
/// Gets or Sets TwoFactorAuthEnabled
687719
/// </summary>
@@ -766,6 +798,8 @@ public override string ToString()
766798
sb.Append(" AgeVerificationStatus: ").Append(AgeVerificationStatus).Append("\n");
767799
sb.Append(" AgeVerified: ").Append(AgeVerified).Append("\n");
768800
sb.Append(" AllowAvatarCopying: ").Append(AllowAvatarCopying).Append("\n");
801+
sb.Append(" AppleDetails: ").Append(AppleDetails).Append("\n");
802+
sb.Append(" AppleId: ").Append(AppleId).Append("\n");
769803
sb.Append(" AuthToken: ").Append(AuthToken).Append("\n");
770804
sb.Append(" Badges: ").Append(Badges).Append("\n");
771805
sb.Append(" Bio: ").Append(Bio).Append("\n");
@@ -826,6 +860,8 @@ public override string ToString()
826860
sb.Append(" SteamDetails: ").Append(SteamDetails).Append("\n");
827861
sb.Append(" SteamId: ").Append(SteamId).Append("\n");
828862
sb.Append(" Tags: ").Append(Tags).Append("\n");
863+
sb.Append(" TwitchDetails: ").Append(TwitchDetails).Append("\n");
864+
sb.Append(" TwitchId: ").Append(TwitchId).Append("\n");
829865
sb.Append(" TwoFactorAuthEnabled: ").Append(TwoFactorAuthEnabled).Append("\n");
830866
sb.Append(" TwoFactorAuthEnabledDate: ").Append(TwoFactorAuthEnabledDate).Append("\n");
831867
sb.Append(" Unsubscribe: ").Append(Unsubscribe).Append("\n");
@@ -908,6 +944,16 @@ public bool Equals(CurrentUser input)
908944
this.AllowAvatarCopying == input.AllowAvatarCopying ||
909945
this.AllowAvatarCopying.Equals(input.AllowAvatarCopying)
910946
) &&
947+
(
948+
this.AppleDetails == input.AppleDetails ||
949+
(this.AppleDetails != null &&
950+
this.AppleDetails.Equals(input.AppleDetails))
951+
) &&
952+
(
953+
this.AppleId == input.AppleId ||
954+
(this.AppleId != null &&
955+
this.AppleId.Equals(input.AppleId))
956+
) &&
911957
(
912958
this.AuthToken == input.AuthToken ||
913959
(this.AuthToken != null &&
@@ -1205,6 +1251,16 @@ public bool Equals(CurrentUser input)
12051251
input.Tags != null &&
12061252
this.Tags.SequenceEqual(input.Tags)
12071253
) &&
1254+
(
1255+
this.TwitchDetails == input.TwitchDetails ||
1256+
(this.TwitchDetails != null &&
1257+
this.TwitchDetails.Equals(input.TwitchDetails))
1258+
) &&
1259+
(
1260+
this.TwitchId == input.TwitchId ||
1261+
(this.TwitchId != null &&
1262+
this.TwitchId.Equals(input.TwitchId))
1263+
) &&
12081264
(
12091265
this.TwoFactorAuthEnabled == input.TwoFactorAuthEnabled ||
12101266
this.TwoFactorAuthEnabled.Equals(input.TwoFactorAuthEnabled)
@@ -1280,6 +1336,14 @@ public override int GetHashCode()
12801336
hashCode = (hashCode * 59) + this.AgeVerificationStatus.GetHashCode();
12811337
hashCode = (hashCode * 59) + this.AgeVerified.GetHashCode();
12821338
hashCode = (hashCode * 59) + this.AllowAvatarCopying.GetHashCode();
1339+
if (this.AppleDetails != null)
1340+
{
1341+
hashCode = (hashCode * 59) + this.AppleDetails.GetHashCode();
1342+
}
1343+
if (this.AppleId != null)
1344+
{
1345+
hashCode = (hashCode * 59) + this.AppleId.GetHashCode();
1346+
}
12831347
if (this.AuthToken != null)
12841348
{
12851349
hashCode = (hashCode * 59) + this.AuthToken.GetHashCode();
@@ -1472,6 +1536,14 @@ public override int GetHashCode()
14721536
{
14731537
hashCode = (hashCode * 59) + this.Tags.GetHashCode();
14741538
}
1539+
if (this.TwitchDetails != null)
1540+
{
1541+
hashCode = (hashCode * 59) + this.TwitchDetails.GetHashCode();
1542+
}
1543+
if (this.TwitchId != null)
1544+
{
1545+
hashCode = (hashCode * 59) + this.TwitchId.GetHashCode();
1546+
}
14751547
hashCode = (hashCode * 59) + this.TwoFactorAuthEnabled.GetHashCode();
14761548
if (this.TwoFactorAuthEnabledDate != null)
14771549
{

‎src/VRChat.API/VRChat.API.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API</RootNamespace>
15-
<Version>2.20.8-nightly.19</Version>
15+
<Version>2.20.8-nightly.20</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

‎wrapper/VRChat.API.Extensions.Hosting/VRChat.API.Extensions.Hosting.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>Extensions for hosting and dependency injection for the VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API.Extensions.Hosting</RootNamespace>
15-
<Version>2.20.8-nightly.19</Version>
15+
<Version>2.20.8-nightly.20</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.Extensions.Hosting.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

0 commit comments

Comments
 (0)