ES2Data.LoadHashSet
Parameters
T | The type of the data we want to load. Must be on the Supported Types list. |
tag |
The tag of the data we want to load. |
Returns
HashSet<T> | Our loaded data |
Description
Loads the tag of type HashSet<T> from the ES2Data object.
C#
1 2 3 4 5 |
// Use ES2Data to load all of the data from a file. ES2Data es2data = ES2.LoadAll("myFile.txt"); // Load an individual integer array from the loaded data. HashSet<int> myInts = es2data.LoadHashSet<int>("myInts"); |
JS
1 2 3 4 5 |
// Use ES2Data to load all of the data from a file. var es2data : ES2Data = ES2.LoadAll("myFile.txt"); // Load an individual integer array from the loaded data. var myInts : HashSet<int> = es2data.LoadHashSet.<int>("myInts"); |