mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 07:28:45 -07:00
feat: Enhance RoomZipImportController to support Unity asset bundles
- Added support for .assetbundle files in RoomZipImportController. - Introduced new properties in RoomSceneEntity for handling Studio asset metadata. - Updated ZipImport method to handle asset bundles during bulk imports. - Enhanced CdnController to serve Unity asset bundles via a new route. - Modified GoToController to include Unity asset ID in matchmaking responses. - Updated database schema to accommodate new fields related to Studio asset bundles. - Improved URL coverage documentation to reflect new routes for asset bundles.
This commit is contained in:
@@ -52,6 +52,18 @@ public class RoomSceneEntity
|
||||
[MaxLength(128)]
|
||||
public string DataBlobName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>Original RecNet Studio save id for this sub-room, when
|
||||
/// the scene was imported from a Studio dump. Used by
|
||||
/// rooms/{roomId}/subrooms/{subRoomId}/saves/{saveId} to return the
|
||||
/// baked Unity asset bundle filenames the 2023 client downloads.</summary>
|
||||
public long? StudioSubRoomDataSaveId { get; set; }
|
||||
|
||||
[MaxLength(64)]
|
||||
public string StudioUnityAssetId { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(4096)]
|
||||
public string StudioAssetBundleNamesCsv { get; set; } = string.Empty;
|
||||
|
||||
public int MaxPlayers { get; set; } = 8;
|
||||
public bool IsSandbox { get; set; } = false;
|
||||
public bool CanMatchmakeInto { get; set; } = true;
|
||||
|
||||
Reference in New Issue
Block a user