Elin Decompiled Documentation EA 23.317 Nightly
Loading...
Searching...
No Matches
SourceTactics Class Reference
Inheritance diagram for SourceTactics:
SourceDataString< SourceTactics.Row >

Classes

class  Row
 

Public Member Functions

override Row CreateRow ()
 
override Row CreateRowByMapping (IReadOnlyDictionary< string, int > mapping)
 
override void SetRow (Row r)
 
override IReadOnlyDictionary< string, int > GetRowMapping ()
 
override IReadOnlyDictionary< string, string > GetTypeMapping ()
 
- Public Member Functions inherited from SourceDataString< SourceTactics.Row >
override T GetRow (string id)
 

Static Public Attributes

static readonly IReadOnlyDictionary< string, int > RowMapping
 
static readonly IReadOnlyDictionary< string, string > TypeMapping
 

Detailed Description

Definition at line 4 of file SourceTactics.cs.

Member Function Documentation

◆ CreateRow()

override Row SourceTactics.CreateRow ( )
inline

Definition at line 100 of file SourceTactics.cs.

101 {
102 return new Row
103 {
104 id = SourceData.GetString(0),
105 name_JP = SourceData.GetString(1),
106 name = SourceData.GetString(2),
107 dist = SourceData.GetInt(4),
108 move = SourceData.GetInt(5),
109 movePC = SourceData.GetInt(6),
110 party = SourceData.GetInt(7),
111 taunt = SourceData.GetInt(8),
112 melee = SourceData.GetInt(9),
113 range = SourceData.GetInt(10),
114 spell = SourceData.GetInt(11),
115 heal = SourceData.GetInt(12),
116 summon = SourceData.GetInt(13),
117 buff = SourceData.GetInt(14),
118 debuff = SourceData.GetInt(15),
119 tag = SourceData.GetStringArray(16),
120 detail_JP = SourceData.GetString(17),
121 detail = SourceData.GetString(18)
122 };
123 }
static string[] GetStringArray(int id)
Definition: SourceData.cs:1011
static string GetString(int id)
Definition: SourceData.cs:1016
static int GetInt(int id)
Definition: SourceData.cs:981

References SourceData< T, T2 >.GetInt(), SourceData< T, T2 >.GetString(), and SourceData< T, T2 >.GetStringArray().

◆ CreateRowByMapping()

override Row SourceTactics.CreateRowByMapping ( IReadOnlyDictionary< string, int >  mapping)
inline

Definition at line 125 of file SourceTactics.cs.

126 {
127 return new Row
128 {
129 id = SourceData.GetString(mapping["id"]),
130 name_JP = SourceData.GetString(mapping["name_JP"]),
131 name = SourceData.GetString(mapping["name"]),
132 dist = SourceData.GetInt(mapping["dist"]),
133 move = SourceData.GetInt(mapping["move"]),
134 movePC = SourceData.GetInt(mapping["movePC"]),
135 party = SourceData.GetInt(mapping["party"]),
136 taunt = SourceData.GetInt(mapping["taunt"]),
137 melee = SourceData.GetInt(mapping["melee"]),
138 range = SourceData.GetInt(mapping["range"]),
139 spell = SourceData.GetInt(mapping["spell"]),
140 heal = SourceData.GetInt(mapping["heal"]),
141 summon = SourceData.GetInt(mapping["summon"]),
142 buff = SourceData.GetInt(mapping["buff"]),
143 debuff = SourceData.GetInt(mapping["debuff"]),
144 tag = SourceData.GetStringArray(mapping["tag"]),
145 detail_JP = SourceData.GetString(mapping["detail_JP"]),
146 detail = SourceData.GetString(mapping["detail"])
147 };
148 }

References SourceData< T, T2 >.GetInt(), SourceData< T, T2 >.GetString(), and SourceData< T, T2 >.GetStringArray().

◆ GetRowMapping()

override IReadOnlyDictionary< string, int > SourceTactics.GetRowMapping ( )
inline

Definition at line 155 of file SourceTactics.cs.

156 {
157 return RowMapping;
158 }
static readonly IReadOnlyDictionary< string, int > RowMapping

References RowMapping.

◆ GetTypeMapping()

override IReadOnlyDictionary< string, string > SourceTactics.GetTypeMapping ( )
inline

Definition at line 160 of file SourceTactics.cs.

161 {
162 return TypeMapping;
163 }
static readonly IReadOnlyDictionary< string, string > TypeMapping

References TypeMapping.

◆ SetRow()

override void SourceTactics.SetRow ( Row  r)
inline

Definition at line 150 of file SourceTactics.cs.

151 {
152 map[r.id] = r;
153 }

References SourceTactics.Row.id.

Member Data Documentation

◆ RowMapping

readonly IReadOnlyDictionary<string, int> SourceTactics.RowMapping
static
Initial value:
= new Dictionary<string, int>
{
["id"] = 0,
["name_JP"] = 1,
["name"] = 2,
["dist"] = 4,
["move"] = 5,
["movePC"] = 6,
["party"] = 7,
["taunt"] = 8,
["melee"] = 9,
["range"] = 10,
["spell"] = 11,
["heal"] = 12,
["summon"] = 13,
["buff"] = 14,
["debuff"] = 15,
["tag"] = 16,
["detail_JP"] = 17,
["detail"] = 18
}

Definition at line 56 of file SourceTactics.cs.

Referenced by GetRowMapping().

◆ TypeMapping

readonly IReadOnlyDictionary<string, string> SourceTactics.TypeMapping
static
Initial value:
= new Dictionary<string, string>
{
["id"] = "string",
["name_JP"] = "string",
["name"] = "string",
["dist"] = "int",
["move"] = "int",
["movePC"] = "int",
["party"] = "int",
["taunt"] = "int",
["melee"] = "int",
["range"] = "int",
["spell"] = "int",
["heal"] = "int",
["summon"] = "int",
["buff"] = "int",
["debuff"] = "int",
["tag"] = "string[]",
["detail_JP"] = "string",
["detail"] = "string"
}

Definition at line 78 of file SourceTactics.cs.

Referenced by GetTypeMapping().


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