2using System.Collections.Generic;
25 public string Name =>
source.GetName() + ((source.maxLv == 1) ?
"" : (
" " +
rank));
72 bool flag = n ==
null;
73 string reward =
source.reward;
78 string[] array = reward.Split(Environment.NewLine.ToCharArray());
79 string text = array[0];
80 string[] array2 = array;
81 foreach (
string text2
in array2)
83 if (text2.Split(
',')[0].ToInt() <=
rank)
88 List<string> list = text.Split(
',').ToList();
90 foreach (
string item in list)
92 string[] array3 =
item.Split(
'/');
121 text3 =
"rewardDepartment".lang(
source.GetName());
static SourceManager sources
static Element Create(int id, int v=0)
void AddFeat(int ele, int v)
void AddPolicy(string id)
void Add(string id, bool showEffect=true)
static ResearchPlan Create(string id)
void SetOwner(FactionBranch _branch)
void ParseReward(UINote n=null)
SourceResearch.Row source
int GetSortVal(UIList.SortMode m)
Dictionary< string, CardRow > map
SourceResearch researches
UIItem AddHeader(string text, Sprite sprite=null)
UIItem AddText(string text, FontColor color=FontColor.DontChange)