コード例 #1
0
 private static void AddTranslation(string name, CultureLocalizationInfo localInfo, int item = ItemID.None, string color = "ffffff", bool configTranslation = false) => AddTranslation(JourneysBeginning.Instance, localInfo, name, item, color, configTranslation);
コード例 #2
0
 public static void AddTranslation(Mod mod, CultureLocalizationInfo localInfo, string name, int item = ItemID.None, string color = "ffffff", bool configTranslation = false)
 {
     localInfo.PopulateModTranslation(mod.CreateTranslation(name), item, mod, color, configTranslation);
     _localizationInfo.Add(localInfo);
 }