18            return this.chara.bio;
 
   23    public void SetChara(
Chara c)
 
   26        this.portrait.interactable = this.chara.IsPC;
 
   27        this.OnSwitchContent(this.window);
 
   28        if (this.window.setting.tabs.Count > 6)
 
   30            this.window.setting.tabs[6].button.SetActive(this.chara.IsPC);
 
   32        if (this.window.idTab == 6 && !
this.chara.IsPC)
 
   34            this.window.SwitchContent(0);
 
   36        WindowChara.Instance = 
this;
 
   42        this.rectEquip.anchoredPosition = 
new Vector2(this.scrollSkill.content.anchoredPosition.x + 
this.equipPos.x, 
this.equipPos.y);
 
   46    public override void OnSwitchContent(Window window)
 
   48        if (this.chara == 
null)
 
   53        int idTab = window.idTab;
 
   57            this.RefreshProfile();
 
   61            this.RefreshSkill(idTab);
 
   63        bool flag = idTab == 3 || idTab == 4;
 
   64        this.scrollSkill.horizontal = flag;
 
   65        this.scrollSkill.content.anchoredPosition = 
new Vector2(0f, 0f);
 
   66        this.imageView.sprite = (flag ? this.maskResist : this.mask);
 
   69            this.RefreshEquipment(this.listEquipment2);
 
   71        this.listEquipment2.transform.parent.SetActive(flag);
 
   72        this.buttonFeatMode.SetActive(idTab == 2 && this.chara.IsPC);
 
   76    public void SetPortraitBG(
int a)
 
   78        string text = this.chara.GetStr(23, 
null) ?? 
"BG_1";
 
   79        text = 
Portrait.modPortraitBGs.GetNextID(text, a, 
true);
 
   84        this.chara.SetStr(23, text);
 
   89    public void SetPortraitFrame(
int a)
 
   91        string text = this.chara.GetStr(24, 
null) ?? 
"BGF_1";
 
   92        text = 
Portrait.modPortraitBGFs.GetNextID(text, a, 
true);
 
   97        this.chara.SetStr(24, text);
 
  102    public void ToggleFeatMode()
 
  104        this.featMode = !this.featMode;
 
  105        this.RefreshSkill(this.window.idTab);
 
  109    public void RefreshFeatMode()
 
  111        this.buttonFeatMode.mainText.text = 
"featMode".lang(
EClass.pc.feat.ToString() ?? 
"", 
null, 
null, 
null, 
null);
 
  112        ColorBlock colors = this.buttonFeatMode.colors;
 
  113        colors.normalColor = colors.normalColor.SetAlpha((
float)(this.featMode ? 1 : 0));
 
  114        this.buttonFeatMode.colors = colors;
 
  118    public void Refresh()
 
  120        this.OnSwitchContent(this.window);
 
  124    public void RefreshStatic()
 
  126        this.textHealth.text = this.chara.hp.ToString() + 
"/" + this.chara.MaxHP.ToString();
 
  127        this.textMood.text = this.chara.mana.value.ToString() + 
"/" + this.chara.mana.max.ToString();
 
  128        this.portrait.SetChara(this.chara, 
null);
 
  129        Sprite @
object = 
Portrait.modPortraitBGs.GetItem(this.chara.GetStr(23, 
null) ?? 
"BG_1", 
false).GetObject(
null);
 
  130        @object.texture.filterMode = FilterMode.Bilinear;
 
  131        this.portrait.image.sprite = @object;
 
  132        @
object = 
Portrait.modPortraitBGFs.GetItem(this.chara.GetStr(24, 
null) ?? 
"BGF_1", 
false).GetObject(
null);
 
  133        @object.texture.filterMode = FilterMode.Bilinear;
 
  134        this.portrait.imageFrame.sprite = @object;
 
  135        string text = Lang.GetList(
"difficulties_title")[
EClass.game.idDifficulty];
 
  136        this.window.SetCaption(((text.IsEmpty() || !
this.chara.IsPC) ? 
"" : (text + 
" - ")) + 
this.chara.NameBraced);
 
  137        this.listAttaribute.Clear();
 
  143                this.RefreshStatic();
 
  147                b.SetElement(a, this.chara.elements, 
ButtonElement.Mode.Attribute);
 
  150        List<Element> list = this.chara.elements.ListElements((
Element a) => a.HasTag(
"primary"), 
null);
 
  151        list.Sort((
Element a, 
Element b) => a.source.sort - b.source.sort);
 
  154            this.listAttaribute.Add(o);
 
  156        this.listAttaribute.Refresh(
false);
 
  160    public void RefreshStatus()
 
  162        this.layoutStatus.DestroyChildren(
false, 
true);
 
  163        foreach (
Stats st 
in new List<Stats>
 
  168            this.chara.depression,
 
  175        foreach (
Condition st2 
in this.chara.conditions)
 
  179        if (this.layoutStatus.transform.childCount == 1)
 
  181            this.AddStatus(
null);
 
  183        this.layoutStatus.RebuildLayout(
false);
 
  187    public void AddNeeds(
Stats st)
 
  189        UIItem uiitem = Util.Instantiate<UIItem>(this.moldNeeds, this.layoutNeeds);
 
  190        uiitem.text1.SetText(st.source.GetName());
 
  191        if (st.GetText().IsEmpty())
 
  193            uiitem.text2.SetActive(
false);
 
  197            st.SetText(uiitem.text2, 
null);
 
  199        UIBar componentInChildren = uiitem.GetComponentInChildren<UIBar>();
 
  200        componentInChildren.Refresh((
float)st.value, (
float)st.max);
 
  201        componentInChildren.image.color = st.GetColor().Multiply(this.barColor1, this.barColor2);
 
  208        string text = ((st2 != 
null) ? st2.GetText() : 
null) ?? 
"noItem".lang();
 
  213        UIItem uiitem = Util.Instantiate<UIItem>(this.moldStats, this.layoutStatus);
 
  216            uiitem.text1.SetText(text, FontColor.Passive);
 
  217            uiitem.button1.interactable = 
false;
 
  219        else if (text.IsEmpty())
 
  221            uiitem.text1.SetText(st.source.GetName());
 
  225            st.SetText(uiitem.text1, 
null);
 
  226            uiitem.image1.sprite = st.GetSprite();
 
  227            uiitem.image1.SetNativeSize();
 
  231            uiitem.button1.SetTooltip(delegate(UITooltip t)
 
  233                st.WriteNote(t.note, 
null);
 
  239    public void RefreshProfile()
 
  241        this.RefreshStatus();
 
  242        this.textName.text = this.chara.NameSimple;
 
  243        this.textAlias.text = this.chara.Aka;
 
  244        this.textTitle.text = (this.chara.IsPC ? EClass.player.title : 
"-");
 
  245        this.textCurrentZone.text = ((this.chara.currentZone == 
null) ? 
"???" : this.chara.currentZone.Name);
 
  246        this.textHomeZone.text = ((this.chara.homeZone == 
null) ? 
"???" : this.chara.homeZone.Name);
 
  247        this.textBio.text = this.chara.job.GetText(
"name", 
false).ToTitleCase(
false);
 
  248        this.textBio2.text = this.bio.TextBio(this.chara);
 
  249        this.textBio3.text = this.bio.TextBio2(this.chara);
 
  250        this.textDV.text = 
"_DV".lang(this.chara.DV.ToString() ?? 
"", 
this.chara.PV.ToString() ?? 
"", 
null, 
null, 
null);
 
  251        this.textStyle.text = 
"_style".lang(Lang._weight(
this.chara.body.GetWeight(
true), 
true, 0) ?? 
"", 
this.chara.elements.GetOrCreateElement(
this.chara.GetArmorSkill()).Name, (
"style" + 
this.chara.body.GetAttackStyle().ToString()).lang(), 
null, 
null);
 
  252        this.textKarma.text = (this.chara.IsPC ? (
EClass.player.karma.ToString() ?? 
"") : 
"???");
 
  253        this.textSAN.text = (this.chara.SAN.value.ToString() ?? 
"");
 
  254        this.textFame.text = (this.chara.IsPC ? (
EClass.player.fame.ToString() ?? 
"") : 
"???");
 
  255        this.textMoney.text = Lang._currency(this.chara.GetCurrency(
"money"), 
true, 14);
 
  256        this.textDeposit.text = (this.chara.IsPC ? Lang._currency(
EClass.game.cards.container_deposit.GetCurrency(
"money"), 
true, 14) : 
"???");
 
  257        string text = 
"deepestLv2".lang((this.chara.IsPCFaction ? 
EClass.player.stats.deepest : 
this.chara.LV).ToString() ?? 
"", 
null, 
null, 
null, 
null);
 
  258        if (this.chara.IsPCFaction && 
EClass.player.CountKeyItem(
"license_void") > 0)
 
  260            text = text + 
" " + 
"deepestLv3".lang(Mathf.Abs(
EClass.game.spatials.Find(
"void").GetDeepestLv()).ToString() ?? 
"", 
null, 
null, 
null, 
null);
 
  262        this.textDeepest.text = text;
 
  263        this.textAssets.text = (this.chara.IsPC ? 
"tGameTime".lang(
EClass.player.stats.days.ToFormat(), 
EClass.player.stats.turns.ToFormat(), 
null, 
null, 
null) : 
"???");
 
  264        this.textTerritory.text = (this.chara.IsPC ? (
EClass.pc.faction.CountTerritories().ToString() ?? 
"") : 
"???");
 
  265        this.buttonLife.SetElement(this.chara.elements.GetOrCreateElement(60), 
this.chara.elements, 
ButtonElement.Mode.OnlyValue);
 
  266        this.buttonMana.SetElement(this.chara.elements.GetOrCreateElement(61), 
this.chara.elements, 
ButtonElement.Mode.OnlyValue);
 
  267        this.buttonVigor.SetElement(this.chara.elements.GetOrCreateElement(62), 
this.chara.elements, 
ButtonElement.Mode.OnlyValue);
 
  268        this.buttonSpeed.SetElement(this.chara.elements.GetOrCreateElement(79), 
this.chara.elements, 
ButtonElement.Mode.OnlyValue);
 
  269        this.RefreshEquipment(this.listEquipment);
 
  273    public void RefreshEquipment(UIList list)
 
  275        Element favWeaponSkill = this.chara.GetFavWeaponSkill();
 
  276        string text = ((favWeaponSkill != 
null) ? favWeaponSkill.Name : 
null) ?? 
Element.Get(100).GetText(
"name", 
false);
 
  279        Element favArmorSkill = this.chara.GetFavArmorSkill();
 
  280        text = str + str2 + (((favArmorSkill != 
null) ? favArmorSkill.Name : 
null) ?? 
Element.Get(120).GetText(
"name", 
false));
 
  281        this.textFavArmor.SetText(text);
 
  283        UIList.Callback<
BodySlot, UIItem> callback = 
new UIList.Callback<
BodySlot, UIItem>();
 
  284        callback.onClick = delegate(
BodySlot a, UIItem b)
 
  287        callback.onInstantiate = delegate(
BodySlot a, UIItem b)
 
  289            if (a.elementId == 0)
 
  291                b.button1.interactable = 
false;
 
  294            Thing thing = a.thing;
 
  298                b.button1.icon.material = this.matItem;
 
  299                thing.SetImage(b.button1.icon);
 
  303                b.button1.icon.material = 
null;
 
  304                b.button1.icon.sprite = SpriteSheet.Get(
"Media/Graphics/Icon/Element/", 
"eq_" + a.element.alias);
 
  305                b.button1.icon.color = this.colorUnequipped;
 
  306                b.button1.icon.SetNativeSize();
 
  308            b.button1.SetTooltip(delegate(UITooltip tt)
 
  312                    a.thing.WriteNote(tt.note, 
null, 
IInspect.NoteMode.Default, 
null);
 
  317                    tt.note.AddHeader(a.name, 
null);
 
  318                    tt.note.AddText(
"noEQ".lang(), FontColor.DontChange);
 
  319                    if (a.elementId == 35)
 
  321                        Thing.AddAttackEvaluation(tt.note, 
this.chara, 
null);
 
  327        list.callbacks = callback;
 
  328        foreach (
BodySlot bodySlot 
in this.chara.body.slots)
 
  330            if (bodySlot.elementId != 44)
 
  335        if (list.items.Count < 12)
 
  337            int num = 12 - list.items.Count;
 
  338            for (
int i = 0; i < num; i++)
 
  343        if (list.items.Count > 18)
 
  345            this.gridEquip.cellSize = 
new Vector2(52f, 44f);
 
  346            this.gridEquip.spacing = 
new Vector2(-6f, -12f);
 
  352    public void RefreshInfo()
 
  354        this.textBirthday.text = this.bio.TextBirthDate(this.chara, 
false);
 
  355        this.textMom.text = this.chara.bio.nameMom.ToTitleCase(
false);
 
  356        this.textDad.text = this.chara.bio.nameDad.ToTitleCase(
false);
 
  357        this.textBirthplace.text = this.chara.bio.nameBirthplace.ToTitleCase(
false);
 
  358        this.textLike.text = 
EClass.sources.cards.map[this.bio.idLike].GetName();
 
  359        this.textHobby.text = 
EClass.sources.elements.map[this.bio.idHobby].GetText(
"name", 
false);
 
  360        this.textFaction.text = ((this.chara.faction == 
null) ? 
"???" : this.chara.faction.name.ToTitleCase(
false));
 
  361        this.textFaith.text = this.chara.faith.Name.ToTitleCase(
false);
 
  365    public void OnClickPortrait()
 
  369            EClass.ui.AddLayer<
LayerEditPCC>().Activate(this.chara, UIPCC.Mode.Body, 
null, delegate
 
  371                this.portrait.SetChara(this.chara, null);
 
  379    public void RefreshSkill(
int idTab)
 
  382        CS$<>8__locals1.<>4__this = 
this;
 
  383        CS$<>8__locals1.idTab = idTab;
 
  384        this.contentList.DestroyChildren(
false, 
true);
 
  386        this.note.RebuildLayout(
false);
 
  387        if (CS$<>8__locals1.idTab == 1)
 
  389            CS$<>8__locals1.<RefreshSkill>g__List|5(
"skillsGeneral", 
"general");
 
  390            CS$<>8__locals1.<RefreshSkill>g__List|5(
"skillsCraft", 
"craft");
 
  391            CS$<>8__locals1.<RefreshSkill>g__List|5(
"skillsCombat", 
"combat");
 
  392            CS$<>8__locals1.<RefreshSkill>g__List|5(
"skillsWeapon", 
"weapon");
 
  395        if (CS$<>8__locals1.idTab == 2)
 
  397            this.RefreshFeatMode();
 
  400                CS$<>8__locals1.<RefreshSkill>g__List|6(
"availableFeats", 
"general");
 
  401                CS$<>8__locals1.<RefreshSkill>g__List|6(
"availableFeats_special", 
"special");
 
  402                CS$<>8__locals1.<RefreshSkill>g__List|6(
"availableFeats_skill", 
"skill");
 
  403                CS$<>8__locals1.<RefreshSkill>g__List|6(
"availableFeats_attribute", 
"attribute");
 
  406            CS$<>8__locals1.<RefreshSkill>g__Header|0(
"mutation", 
null);
 
  407            CS$<>8__locals1.<RefreshSkill>g__ListFeat|3();
 
  413                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  417                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  419                onList = delegate(UIList.SortMode m)
 
  421                    foreach (
Element o 
in CS$<>8__locals1.<>4__this.chara.elements.ListElements((
Element a) => a.source.category == 
"mutation" && a.Value != 0, 
null))
 
  423                        CS$<>8__locals1.list.Add(o);
 
  427            CS$<>8__locals1.list.List(
false);
 
  428            if (CS$<>8__locals1.list.items.Count == 0)
 
  430                this._header.SetActive(
false);
 
  431                CS$<>8__locals1.list.SetActive(
false);
 
  433            CS$<>8__locals1.<RefreshSkill>g__Header|0(
"etherDisease", 
null);
 
  434            CS$<>8__locals1.<RefreshSkill>g__ListFeat|3();
 
  440                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  444                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  446                onList = delegate(UIList.SortMode m)
 
  448                    foreach (
Element o 
in CS$<>8__locals1.<>4__this.chara.elements.ListElements((
Element a) => a.source.category == 
"ether" && a.Value != 0, 
null))
 
  450                        CS$<>8__locals1.list.Add(o);
 
  454            CS$<>8__locals1.list.List(
false);
 
  455            if (CS$<>8__locals1.list.items.Count == 0)
 
  457                this._header.SetActive(
false);
 
  458                CS$<>8__locals1.list.SetActive(
false);
 
  460            CS$<>8__locals1.<RefreshSkill>g__Header|0(
"innateFeats", 
null);
 
  461            CS$<>8__locals1.<RefreshSkill>g__ListFeat|3();
 
  467                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  471                    b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  473                onList = delegate(UIList.SortMode m)
 
  475                    foreach (
Element o 
in CS$<>8__locals1.<>4__this.chara.elements.ListElements((
Element a) => a.source.category == 
"feat" && a.HasTag(
"innate") && a.Value != 0, 
null))
 
  477                        CS$<>8__locals1.list.Add(o);
 
  481            CS$<>8__locals1.list.List(
false);
 
  482            CS$<>8__locals1.<RefreshSkill>g__Header|0(
"feats", 
null);
 
  483            CS$<>8__locals1.<RefreshSkill>g__ListFeat|3();
 
  484            BaseList list = CS$<>8__locals1.list;
 
  489                b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  493                b.SetElement(a, CS$<>8__locals1.<>4__this.chara.elements, 
ButtonElement.Mode.Feat);
 
  495            callback.onList = delegate(UIList.SortMode m)
 
  497                foreach (
Element o 
in CS$<>8__locals1.<>4__this.chara.elements.ListElements((
Element a) => a.source.category == 
"feat" && !a.HasTag(
"innate") && a.Value != 0, 
null))
 
  499                    CS$<>8__locals1.list.Add(o);
 
  502            callback.onSort = ((
Feat a, UIList.SortMode m) => a.GetSortVal(m));
 
  503            list.callbacks = callback;
 
  504            CS$<>8__locals1.list.ChangeSort(UIList.SortMode.ByID);
 
  505            CS$<>8__locals1.list.List(
false);
 
  510            if (CS$<>8__locals1.idTab == 3)
 
  512                CS$<>8__locals1.<RefreshSkill>g__Header|0(
"resistance", 
null);
 
  513                this.headerEquip.SetText(
"resistance".lang());
 
  514                CS$<>8__locals1.<RefreshSkill>g__ListResist|2();
 
  519                        b.SetGrid(a, CS$<>8__locals1.<>4__this.chara);
 
  521                    onList = delegate(UIList.SortMode m)
 
  525                        if ((predicate = CS$<>8__locals1.<>9__35) == 
null)
 
  527                            predicate = (CS$<>8__locals1.<>9__35 = ((
SourceElement.Row a) => a.category == 
"resist" && ((!a.tag.Contains(
"hidden") && !a.tag.Contains(
"high")) || CS$<>8__locals1.<>4__this.chara.Evalue(a.id) != 0)));
 
  531                            CS$<>8__locals1.list.Add(CS$<>8__locals1.<>4__this.chara.elements.GetOrCreateElement(row.id));
 
  535                CS$<>8__locals1.list.List(
false);
 
  538            if (CS$<>8__locals1.idTab == 4)
 
  540                this.chara.elements.GetOrCreateElement(78);
 
  541                List<Element> eles = this.chara.elements.ListElements(delegate(
Element a)
 
  543                    if (a.source.tag.Contains(
"godAbility") || a.source.categorySub == 
"god")
 
  554                    else if ((a.owner == CS$<>8__locals1.<>4__this.chara.elements && a.vLink == 0 && !a.IsFactionElement(CS$<>8__locals1.<>4__this.chara)) || a.source.category == 
"resist")
 
  560                eles.Sort((
Element a, 
Element b) => a.SortVal(
true) - b.SortVal(
true));
 
  561                string[] skillCats = 
new string[]
 
  571                CS$<>8__locals1.<RefreshSkill>g__Header|0(
"enchant", 
null);
 
  572                this.headerEquip.SetText(
"enchant".lang());
 
  573                CS$<>8__locals1.<RefreshSkill>g__ListResist|2();
 
  578                        b.SetGrid(a, CS$<>8__locals1.<>4__this.chara);
 
  580                    onList = delegate(UIList.SortMode m)
 
  582                        foreach (
Element element 
in eles)
 
  584                            if (!skillCats.Contains(element.source.categorySub))
 
  586                                CS$<>8__locals1.list.Add(element);
 
  591                CS$<>8__locals1.list.List(
false);
 
  592                CS$<>8__locals1.<RefreshSkill>g__Header|0(
"skill", 
null);
 
  593                CS$<>8__locals1.<RefreshSkill>g__ListResist|2();
 
  598                        b.SetGrid(a, CS$<>8__locals1.<>4__this.chara);
 
  600                    onList = delegate(UIList.SortMode m)
 
  602                        foreach (
Element element 
in eles)
 
  604                            if (skillCats.Contains(element.source.categorySub))
 
  606                                CS$<>8__locals1.list.Add(element);
 
  611                CS$<>8__locals1.list.List(
false);
 
  614            if (CS$<>8__locals1.idTab == 5)
 
  616                CS$<>8__locals1.<RefreshSkill>g__Header|0(
"note", 
null);
 
  617                this.note.transform.SetAsLastSibling();
 
  618                WindowChara.RefreshNote(this.chara, this.note, 
false);
 
  625    private void OnApplicationFocus(
bool focus)
 
  627        if (this.window.idTab == 5)
 
  629            WindowChara.RefreshNote(this.chara, this.note, 
false);
 
  634    public static void RefreshNote(
Chara chara, UINote n, 
bool shortMode = 
false)
 
  637        CS$<>8__locals1.n = n;
 
  638        CS$<>8__locals1.n.Clear();
 
  642            CS$<>8__locals1.n.AddText(bio.TextBio(chara) + 
" " + bio.TextBio2(chara), FontColor.DontChange);
 
  643            CS$<>8__locals1.n.Space(0, 1);
 
  647            UIItem uiitem = CS$<>8__locals1.n.AddItem(
"ItemBackground");
 
  650                uiitem.text1.SetText(
EClass.player.GetBackgroundText());
 
  651                uiitem.button1.SetOnClick(delegate
 
  653                    EClass.player.EditBackgroundText();
 
  658                uiitem.text1.SetText(
"???");
 
  659                uiitem.button1.SetActive(
false);
 
  661            CS$<>8__locals1.n.Space(16, 1);
 
  662            CS$<>8__locals1.n.AddTopic(
"TopicDomain", 
"profile".lang(), bio.TextBio(chara) + 
" " + bio.TextBio2(chara));
 
  666        foreach (
Element element 
in elementContainer.dict.Values)
 
  668            text = text + ((element == elementContainer.dict.Values.First<
Element>()) ? 
"" : 
", ") + element.Name;
 
  670        CS$<>8__locals1.n.AddTopic(
"TopicDomain", 
"domain".lang(), text).button1.SetActive(
false);
 
  671        string name = chara.GetFavCat().GetName();
 
  672        string name2 = chara.GetFavFood().GetName();
 
  673        WindowChara.<RefreshNote>g__Add|95_0(
"favgift".lang(name.ToLower().ToTitleCase(
false), name2, 
null, 
null, 
null), ref CS$<>8__locals1);
 
  674        WindowChara.<RefreshNote>g__Add|95_0(chara.GetTextHobby(
false), ref CS$<>8__locals1);
 
  675        WindowChara.<RefreshNote>g__Add|95_0(chara.GetTextWork(
false), ref CS$<>8__locals1);
 
  678            CS$<>8__locals1.n.AddTopic(
"TopicDomain", 
"totalFeat".lang(), 
EClass.player.totalFeat.ToString() ?? 
"");
 
  680        if (chara.IsPC && 
EClass.pc.c_daysWithGod > 0)
 
  682            WindowChara.<RefreshNote>g__AddText|95_1(
"info_daysWithGod".lang(
EClass.pc.c_daysWithGod.ToString() ?? 
"", 
EClass.pc.faith.Name, 
null, 
null, 
null), ref CS$<>8__locals1);
 
  684        if (chara.ride != 
null)
 
  686            WindowChara.<RefreshNote>g__AddText|95_1(
"info_ride".lang(chara.ride.NameBraced, 
null, 
null, 
null, 
null), ref CS$<>8__locals1);
 
  688        if (chara.parasite != 
null)
 
  690            WindowChara.<RefreshNote>g__AddText|95_1(
"info_parasite".lang(chara.parasite.NameBraced, 
null, 
null, 
null, 
null), ref CS$<>8__locals1);
 
  692        if (
EClass.player.IsCriminal)
 
  694            WindowChara.<RefreshNote>g__AddText|95_1(
"info_criminal".lang(), ref CS$<>8__locals1);
 
  696        Element favWeaponSkill = chara.GetFavWeaponSkill();
 
  697        text = (((favWeaponSkill != 
null) ? favWeaponSkill.Name : 
null) ?? 
Element.Get(100).GetText(
"name", 
false));
 
  698        text = text + 
" / " + (
"style" + chara.GetFavAttackStyle().ToString()).lang();
 
  699        CS$<>8__locals1.n.AddTopic(
"TopicDomain", 
"attackStyle".lang(), text);
 
  700        UINote n2 = CS$<>8__locals1.n;
 
  701        string id = 
"TopicDomain";
 
  702        string text2 = 
"armorStyle".lang();
 
  703        Element favArmorSkill = chara.GetFavArmorSkill();
 
  704        n2.AddTopic(
id, text2, ((favArmorSkill != 
null) ? favArmorSkill.Name : 
null) ?? 
Element.Get(120).GetText(
"name", 
false));
 
  705        if (
EClass.debug.showExtra)
 
  707            CS$<>8__locals1.n.AddText(
string.Concat(
new string[]
 
  712                chara.exp.ToString(),
 
  714                chara.ExpToNext.ToString()
 
  715            }), FontColor.DontChange);
 
  716            CS$<>8__locals1.n.AddText(
"Luck:" + chara.Evalue(78).ToString(), FontColor.DontChange);
 
  718        CS$<>8__locals1.n.Build();
 
  723    internal static void <RefreshNote>g__Add|95_0(
string s, ref 
WindowChara.<>c__DisplayClass95_0 A_1)
 
  725        string[] array = s.Split(
':', StringSplitOptions.None);
 
  726        A_1.n.AddTopic(
"TopicDomain", array[0], (array.Length >= 2) ? array[1].TrimStart(
' ') : 
"").button1.SetActive(
false);
 
  731    internal static void <RefreshNote>g__AddText|95_1(
string s, ref 
WindowChara.<>c__DisplayClass95_0 A_1)
 
  733        A_1.n.AddText(
" ・ " + s, FontColor.DontChange);
 
  746    public UIText textMood;
 
  749    public UIText textHealth;
 
  752    public UIText textName;
 
  755    public UIText textAlias;
 
  758    public UIText textTitle;
 
  761    public UIText textBio;
 
  764    public UIText textBio2;
 
  767    public UIText textBio3;
 
  770    public UIText textBirthday;
 
  773    public UIText textFaction;
 
  776    public UIText textFaith;
 
  779    public UIText textHome;
 
  782    public UIText textMom;
 
  785    public UIText textDad;
 
  788    public UIText textBirthplace;
 
  791    public UIText textLike;
 
  794    public UIText textHobby;
 
  797    public UIText textKarma;
 
  800    public UIText textSAN;
 
  803    public UIText textFame;
 
  806    public UIText textMoney;
 
  809    public UIText textTax;
 
  812    public UIText textTerritory;
 
  815    public UIText textIncome;
 
  818    public UIText textAssets;
 
  821    public UIText textDeposit;
 
  824    public UIText textDeepest;
 
  827    public UIText textCurrentZone;
 
  830    public UIText textHomeZone;
 
  833    public UIList listAttaribute;
 
  836    public UIList listEquipment;
 
  839    public UIList listEquipment2;
 
  845    public PUIExampleRPGStats graph;
 
  848    public UIText textStability;
 
  851    public UIText textLaw;
 
  854    public UIText textAffection;
 
  857    public UIText textDominance;
 
  860    public UIText textExtroversion;
 
  863    public UIText textFavArmor;
 
  866    public UIText textDV;
 
  869    public UIText textStyle;
 
  872    public LayoutGroup layoutNeeds;
 
  875    public LayoutGroup layoutStatus;
 
  878    public GridLayoutGroup gridEquip;
 
  881    public UIScrollView scrollSkill;
 
  896    public UIItem moldStats;
 
  899    public UIItem moldNeeds;
 
  902    public UIHeader moldHeader;
 
  905    public UIHeader moldHeader2;
 
  908    public UIHeader headerEquip;
 
  911    public UIList moldListSkill;
 
  914    public UIList moldListResist;
 
  917    public UIList moldListFeat;
 
  920    public UIList moldListFeatPurchase;
 
  923    public Transform contentList;
 
  926    public RectTransform rectEquip;
 
  929    public UIButton buttonFeatMode;
 
  932    public Image imageView;
 
  938    public Sprite maskResist;
 
  941    public Material matItem;
 
  944    public Color colorUnequipped;
 
  947    public Vector2 equipPos;
 
  950    public bool featMode;
 
  953    public float barColor1;
 
  956    public float barColor2;
 
  959    private UIHeader _header;