2using System.Collections.Generic;
81 base.OnImportData(data);
82 if (
size ==
null ||
size.Length == 0)
102 return "_of2".lang(mat.GetName(),
GetName()) +
" (" + sum +
")";
107 return this.GetField<string>(
"id") +
"-" + this.GetField<string>(
"name_JP");
117 string text = base.GetName();
123 text = ((source ==
Element.
Void.
source) ? text.Replace(
"#ele4",
"").Replace(
"#ele3",
"").Replace(
"#ele2",
"")
125 .Replace(
"#ele", source.
GetName().ToLower()));
132 if (full && !text2.IsEmpty())
134 text = text2.ToTitleCase(wholeText:
true) + Lang.space + text.Bracket(type);
virtual string GetName(int i)
override string idRenderData
string GetName(Card c, bool full=false)
Dictionary< int, int > elementMap
override SourcePref GetPref()
override string GetEditorListName()
virtual string GetName(SourceMaterial.Row mat, int sum)
override string pathSprite
override void OnImportData(SourceData data)
override string GetName()
static Chara Create(string id, int lv=-1)
virtual string pathRenderData
string GetText(string id="name", bool returnNull=false)
override string GetName()
static Thing Create(string id, int idMat=-1, int lv=-1)