2using System.Collections.Generic;
6[JsonObject(MemberSerialization.OptOut)]
43 var (fileInfo, eMod) = PackageIterator.GetFilesEx(
"Data/bio_" + biographyId +
".json").LastOrDefault();
63 if (customBiographyContent !=
null)
65 base.File = customBiographyContent.
File;
66 base.LastModified = DateTime.MinValue;
91 if (!langWord.ContainsKey(-100))
94 Dictionary<int,
LangWord.
Row> dictionary = langWord;
100 dictionary[-100] = obj;
101 row.name = (row.name_JP = (row.name_L =
""));
114 bio.idDad = SetTempWord(
dad, 2);
119 bio.idMom = SetTempWord(
mom, 3);
130 bio.idHobby = element;
134 int SetTempWord(
string text,
int tempIndex)
137 if (num == 0 || !langWord.ContainsKey(num))
149 row3.name = (row3.name_JP = (row3.name_L = text));
163 dad = customBiographyContent.
dad;
164 mom = customBiographyContent.
mom;
static int GetElement(string id)
void RefreshCharaBio(Chara chara)
const int FallbackWordKey
static CustomBiographyContent CreateFromId(string biographyId, ModPackage owner=null)
override void LoadContent()
override void OnSetLang(string lang)
static SourceManager sources
Dictionary< string, CardRow > map