ES2Reader.ReadList

public List<T> ReadList<T>(string tag)

Parameters

T The type of the data in the collection we want to load. Must be on the Supported Types list.

tag

The tag which we want to load.

Returns

List<T> Our loaded data

Description

Reads the collection of type T from the ES2Reader with the given tag.

C#

Reading tags from an ES2Reader

JS

Reading tags from an ES2Reader


public void ReadList(string path, List<T> components)

Parameters

tag The tag which we want to load.

components

The Components we want to assign our loaded data to. Must be in the Supported Types list.

Description

Self-Assigning Read. Reads the Components of type T from the specified ES2Reader and automatically assigns it to the Components in our components List.

C#

Reading tags from an ES2Reader

JS

Reading tags from an ES2Reader

public List<T> ReadList<T>()

Parameters

T The type of the data in the collection we want to load. Must be on the Supported Types list.

Returns

List<T> Our loaded data

Description

Reads the collection of type T from the ES2Reader. The data must have been saved sequentially using ES2Writer.

C#

Reading data sequentially from an ES2Reader

JS

Reading data sequentially from an ES2Reader


public void ReadList(List<T> components)

Parameters

tag The tag which we want to load.

component

The Components we want to assign our loaded data to. Must be in the Supported Types list.

Description

Self-Assigning Read. Reads the Components of type T from the specified ES2Reader and automatically assigns it to the Components in our components List.

C#

Reading data sequentially from an ES2Reader

JS

Reading data sequentially from an ES2Reader