|
| static readonly IReadOnlyDictionary< string, int > | RowMapping |
| |
Definition at line 4 of file SourceCategory.cs.
◆ CreateRow()
| override Row SourceCategory.CreateRow |
( |
| ) |
|
|
inline |
Definition at line 167 of file SourceCategory.cs.
168 {
169 return new Row
170 {
193 };
194 }
static int GetElement(string id)
static string[] GetStringArray(int id)
static string GetString(int id)
static bool GetBool(int id)
static int GetInt(int id)
static string GetStr(int id, bool useDefault=false)
References SourceData< T, T2 >.GetBool(), Core.GetElement(), SourceData< T, T2 >.GetInt(), SourceData< T, T2 >.GetStr(), SourceData< T, T2 >.GetString(), SourceData< T, T2 >.GetStringArray(), and gift.
◆ CreateRowByMapping()
| override Row SourceCategory.CreateRowByMapping |
( |
IReadOnlyDictionary< string, int > |
mapping | ) |
|
|
inline |
Definition at line 196 of file SourceCategory.cs.
197 {
198 return new Row
199 {
222 };
223 }
References SourceData< T, T2 >.GetBool(), Core.GetElement(), SourceData< T, T2 >.GetInt(), SourceData< T, T2 >.GetStr(), SourceData< T, T2 >.GetString(), SourceData< T, T2 >.GetStringArray(), and gift.
◆ GetRowMapping()
| override IReadOnlyDictionary< string, int > SourceCategory.GetRowMapping |
( |
| ) |
|
|
inline |
◆ OnInit()
| override void SourceCategory.OnInit |
( |
| ) |
|
|
inline |
Definition at line 235 of file SourceCategory.cs.
236 {
237 foreach (Row row in rows)
238 {
239 row.children = new List<Row>();
240 }
241 foreach (Row row2 in rows)
242 {
243 if (!row2._parent.IsEmpty())
244 {
245 (row2.parent = map[row2._parent]).children.Add(row2);
246 }
247 }
248 }
References SourceCategory.Row._parent.
◆ SetRow()
| override void SourceCategory.SetRow |
( |
Row |
r | ) |
|
|
inline |
◆ RowMapping
| readonly IReadOnlyDictionary<string, int> SourceCategory.RowMapping |
|
static |
Initial value:= new Dictionary<string, int>
{
["id"] = 0,
["uid"] = 1,
["name_JP"] = 2,
["name"] = 3,
["_parent"] = 4,
["recipeCat"] = 5,
["slot"] = 6,
["skill"] = 7,
["maxStack"] = 8,
["tileDummy"] = 9,
["installOne"] = 10,
["ignoreBless"] = 11,
["tag"] = 12,
["idThing"] = 13,
["recycle"] = 14,
["costSP"] = 15,
["gift"] = 16,
["deliver"] = 17,
["offer"] = 18,
["ticket"] = 19,
["sortVal"] = 20,
["flag"] = 21
}
Definition at line 141 of file SourceCategory.cs.
Referenced by GetRowMapping().
The documentation for this class was generated from the following file: