You've already forked CC-Framework.BriskGameServer
Release v0.2.0 archive and space API update
This commit is contained in:
@@ -24,6 +24,32 @@ Sync package content from the Unity source project with:
|
||||
- Player space
|
||||
- Default blocking error UI
|
||||
|
||||
## Archive checksum
|
||||
|
||||
Archive upload checksum is handled by the SDK by default.
|
||||
|
||||
- For quick use, the archive module now provides:
|
||||
- `UploadAsync(slotNo, bytes)` for binary
|
||||
- `UploadTextAsync(slotNo, text)` for UTF-8 text
|
||||
- `UploadJsonAsync(slotNo, payload)` for JSON objects
|
||||
- `DownloadAsync(slotNo)` for raw bytes + metadata
|
||||
- `DownloadTextAsync(slotNo)` for UTF-8 text
|
||||
- `DownloadJsonAsync(slotNo)` for JSON payloads
|
||||
- The SDK computes SHA256 automatically when uploading archive bytes
|
||||
- The current Brisk archive API expects a plain lowercase SHA256 hex string
|
||||
- Do not send values with a `sha256:` prefix
|
||||
- If a manual checksum includes that prefix, the SDK will normalize it before sending
|
||||
|
||||
## Space content
|
||||
|
||||
Player space now follows a metadata + binary content model.
|
||||
|
||||
- `GetByPlayerIdAsync(...)` and `GetByLoginIdentityAsync(...)` return metadata only
|
||||
- `DownloadContentByPlayerIdAsync(...)` and `DownloadContentByLoginIdentityAsync(...)` return raw bytes
|
||||
- `UpdateMyAsync(string)` uploads text content directly
|
||||
- `UpdateMyAsync(byte[])` uploads binary content directly
|
||||
- `UpdateMyAsync(object)` serializes the object as JSON automatically
|
||||
|
||||
## Package layout
|
||||
|
||||
- `Runtime`
|
||||
|
||||
Reference in New Issue
Block a user