You've already forked CC-Framework.BriskGameServer
Adjust Unity visits default page size
This commit is contained in:
@@ -69,6 +69,7 @@ var likeResult = await Brisk.Space.LikeByPlayerIdAsync("target-player-id");
|
||||
Debug.Log($"total={likeResult.LikeCount}, today={likeResult.TodayLikeCount}, created={likeResult.Created}");
|
||||
|
||||
var todayLikes = await Brisk.Space.GetLikesByPlayerIdAsync(Brisk.PlayerId, 20, true);
|
||||
var visits = await Brisk.Space.GetMyVisitsAsync();
|
||||
```
|
||||
|
||||
Notes:
|
||||
@@ -81,6 +82,7 @@ Notes:
|
||||
- `BriskSpaceView` / `BriskSpaceStats` include both `LikeCount` and `TodayLikeCount`
|
||||
- `BriskSpaceView` also includes `LikedByMe` and `LikeResetAt`
|
||||
- `GetLikesByPlayerIdAsync(..., currentCycleOnly: true)` returns current-cycle likes only
|
||||
- `GetMyVisitsAsync()` now defaults to the latest `50` visits, with `100` as the server-side max
|
||||
|
||||
## Sample
|
||||
|
||||
|
||||
Reference in New Issue
Block a user