Class PageableResult<T, TSelf>
The base class used for providing pageable results from the service e.g. GetBalancesResult.
Inherited Members
Namespace: Unity.Services.Economy.Model
Assembly: solution.dll
Syntax
[Preserve]
public abstract class PageableResult<T, TSelf> where TSelf : PageableResult<T, TSelf>
Type Parameters
| Name | Description |
|---|---|
| T | The type of resource that is being fetched. E.g. for GetBalancesResult, the type is PlayerBalance. |
| TSelf |
Constructors
| Name | Description |
|---|---|
| PageableResult(List<T>, bool) |
Fields
| Name | Description |
|---|---|
| HasNext | True if there are more pages of results to fetch. |
| m_Results | The list of fetched results of type T. |
Methods
| Name | Description |
|---|---|
| GetNextAsync(int) | Fetches the next page of results. |
| GetNextResultsAsync(int) |