mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 23:18:44 -07:00
feat: Add account privacy settings endpoint
- Implemented new endpoints for retrieving account privacy settings. - Added fields for privacy preferences such as profile visibility, online status, and activity visibility. feat: Extend play menu tags functionality - Updated PlayMenuTagsRequest to include TrendingTags. - Modified SetPlayMenuTags to handle trending tags. - Enhanced logging to include trending tags. fix: Increase maximum archive size for room zip imports - Updated MaxArchiveBytes from 12GB to 25GB in RoomZipImportController. feat: Improve CDN image handling - Added local image path resolution for room images. - Implemented lazy loading of room image aliases from JSON file. feat: Enhance match player presence resolution - Updated ResolveDataBlobForPresenceAsync to consider sub-room IDs and private instance status. feat: Extend RoomEntity with new properties - Added AllowNewUsers, MinLevel, MaxPlayerCalculationMode, LoadScreensJson, PromoImagesJson, and PromoExternalContentJson fields. feat: Update database schema for new room properties - Added new columns to the Rooms table for AllowNewUsers, MinLevel, MaxPlayerCalculationMode, LoadScreensJson, PromoImagesJson, and PromoExternalContentJson. feat: Implement platform notifications controller - Created PlatformNotificationsController for managing user notification preferences. - Added endpoints for retrieving and setting notification preferences and categories.
This commit is contained in:
@@ -60,6 +60,9 @@ public class RoomEntity
|
||||
public bool SupportsWalkVR { get; set; } = true;
|
||||
public bool SupportsTeleportVR { get; set; } = true;
|
||||
public bool AllowsJuniors { get; set; } = true;
|
||||
public bool AllowNewUsers { get; set; } = true;
|
||||
public int MinLevel { get; set; } = 0;
|
||||
public int MaxPlayerCalculationMode { get; set; } = 0;
|
||||
|
||||
/// <summary>Max players the room advertises per instance — flows into the
|
||||
/// matchmaking RoomInstance.MaxCapacity and the v4/details synthesized
|
||||
@@ -89,6 +92,15 @@ public class RoomEntity
|
||||
[MaxLength(1024)]
|
||||
public string TagsCsv { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(4096)]
|
||||
public string LoadScreensJson { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(4096)]
|
||||
public string PromoImagesJson { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(4096)]
|
||||
public string PromoExternalContentJson { get; set; } = string.Empty;
|
||||
|
||||
public int CheerCount { get; set; } = 0;
|
||||
public int FavoriteCount { get; set; } = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user