Beamable SDK
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Beamable.Common.Content.ClientManifest Class Reference

This type defines the ClientManifest for the ContentService. More...

Public Member Functions

ClientManifest Filter (ContentQuery query)
 Use a ContentQuery to filter the entries and get a new ClientManifest. This method will not mutate the current ClientManifest. Instead, it allocates a new one. More...
 
ClientManifest Filter (string queryString)
 Use a string version of a ContentQuery to filter the entries and get a new ClientManifest. This method will not mutate the current ClientManifest. Instead, it allocates a new one. More...
 
SequencePromise< IContentObjectResolveAll (int batchSize=50)
 The entries only describe the content, but don't contain the entire content data. This method will return every ClientContentInfo in the entries set. This may result in many network requests if the entries haven't been downloaded before. More...
 

Static Public Member Functions

static ClientManifest ParseCSV (string data)
 The ClientManifest is represented as a CSV when delivered to the game client. This method is used internally to parse the CSV. More...
 

Public Attributes

List< ClientContentInfoentries
 A set of ClientContentInfo that exist in this ClientManifest. Each ClientContentInfo describes one piece of content.
 

Detailed Description

This type defines the ClientManifest for the ContentService.

Related Links

img beamable-logo

Member Function Documentation

◆ Filter() [1/2]

ClientManifest Beamable.Common.Content.ClientManifest.Filter ( ContentQuery  query)
inline

Use a ContentQuery to filter the entries and get a new ClientManifest. This method will not mutate the current ClientManifest. Instead, it allocates a new one.

Parameters
queryA ContentQuery to down filter the entries
Returns
A new ClientManifest

◆ Filter() [2/2]

ClientManifest Beamable.Common.Content.ClientManifest.Filter ( string  queryString)
inline

Use a string version of a ContentQuery to filter the entries and get a new ClientManifest. This method will not mutate the current ClientManifest. Instead, it allocates a new one.

Parameters
queryStringA string version of a ContentQuery to down filter the entries
Returns
A new ClientManifest

◆ ParseCSV()

static ClientManifest Beamable.Common.Content.ClientManifest.ParseCSV ( string  data)
inlinestatic

The ClientManifest is represented as a CSV when delivered to the game client. This method is used internally to parse the CSV.

Parameters
dataRaw CSV data
Returns
A ClientManifest

◆ ResolveAll()

SequencePromise< IContentObject > Beamable.Common.Content.ClientManifest.ResolveAll ( int  batchSize = 50)
inline

The entries only describe the content, but don't contain the entire content data. This method will return every ClientContentInfo in the entries set. This may result in many network requests if the entries haven't been downloaded before.

Parameters
batchSizeThe batchSize controls how many concurrent network requests will be allowed to run simultaneously.
Returns
A SequencePromise<T> representing the progress of the content resolution. At the end, it will have a list of IContentObject for each ClientContentInfo in the entries set

The documentation for this class was generated from the following file: