mReferenceList

Summary

Fixed data reference class. Get and use fixed data from CSV file and Google spreadsheet. Manage dungeon data, scenario data, characters and item data.

Relation

mUniSm.Core.Internal.UIDataList
System.Collections.Generic.IEnumerable
mReferenceItem

Method

RequestListFromAPI(System.String) Get from mUniSm Editor. Download data from official API of mUniSm based on specific key.
RequestItemFromAPI(System.String) Get from mUniSm Editor. Download data from official API of mUniSm based on specific key.
RequestLoadFromURL(System.String) Used when tasking from URL, uploading direct CSV file, etc.
RequestLoadFromGoogleSpreadSheet(System.String) Get from Google spreadsheet. It is OK if you write the URL of the corresponding sheet you want to download spreadsheet. Also, please select "Advanced settings" from "File" -> "Share" on the spreadsheet and change "Users who can access" to "Public on the web".
RequestLoadFromResources(System.String) Get fixed data in the Resources file
Dispose(System.Boolean) Destroy task
op_Addition(mReferenceList,mReferenceItem) Add item.
op_Subtraction(mReferenceList,mReferenceItem) Remove item.
Each(System.Action{mReferenceItem}) Foreach action like LINQ
SelectTask(System.Func{mReferenceItem,mTask}) Create a task list in a way like the Select() method of LINQ
Select(System.Func{mReferenceItem,mReferenceItem}) Manipulate the list in a way like the Select() method of LINQ
Where(System.Func{mReferenceItem,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All(System.Func{mReferenceItem,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any(System.Func{mReferenceItem,System.Boolean}) Returns true if there is even one that meets the condition like the Any() method of LINQ
Limit(System.Int32) Filter list by number All elements above limitCount are truncated
First(System.Func{mReferenceItem,System.Boolean}) Retrieve the first element that meets the condition
Last(System.Func{mReferenceItem,System.Boolean}) Retrieve the last element that meets the condition
Distinct(System.String) Distincts by the specified key.
From(System.Byte[]) Deserialization byte array -> UIDataList
From(System.String) Deserialization string -> UIDataList
OrderByAsc(System.String) Sort in ascending order based on the given key
OrderByDesc(System.String) Sort in descending order based on the given key
ThenByAsc(System.String) Sort when the same value was set for the first sort (ascending order)
ThenByDesc(System.String) Sort when the same value was set for the first sort (descending order)
OrderByAsc(System.String,System.String,mListOrderBy) Sort in ascending order based on the given key
OrderByDesc(System.String,System.String,mListOrderBy) Sort in descending order based on the given key
Sort(System.Comparison{mReferenceItem}) Sort according to user-defined processing
Shuffle(System.Int32,System.Int32) Shuffles the specified seed.
ChooseRandomly(System.String,System.Int32,System.Int32) Extract elements randomly from the list

Reference