Elin Modding Docs Doc
Loading...
Searching...
No Matches
QuestGuild.cs
1using System;
2
3// Token: 0x020000C8 RID: 200
5{
6 // Token: 0x17000150 RID: 336
7 // (get) Token: 0x060005CD RID: 1485 RVA: 0x00026F81 File Offset: 0x00025181
8 public virtual Guild guild
9 {
10 get
11 {
12 return null;
13 }
14 }
15
16 // Token: 0x17000151 RID: 337
17 // (get) Token: 0x060005CE RID: 1486 RVA: 0x00026F84 File Offset: 0x00025184
18 public override string TitlePrefix
19 {
20 get
21 {
22 return "☆";
23 }
24 }
25
26 // Token: 0x060005CF RID: 1487 RVA: 0x00026F8B File Offset: 0x0002518B
27 public override bool UpdateOnTalk()
28 {
29 return false;
30 }
31
32 // Token: 0x060005D0 RID: 1488 RVA: 0x00026F90 File Offset: 0x00025190
33 public override string GetTrackerText()
34 {
35 if (this.guild.relation.type == FactionRelation.RelationType.Member)
36 {
37 FactionRelation relation = this.guild.relation;
38 return "faction_contribution".lang(relation.exp.ToString() ?? "", relation.ExpToNext.ToString() ?? "", null, null, null);
39 }
40 return base.GetTrackerText();
41 }
42
43 // Token: 0x060005D1 RID: 1489 RVA: 0x00026FFC File Offset: 0x000251FC
44 public override string GetDetailText(bool onJournal = false)
45 {
46 string text = base.GetDetailText(onJournal);
47 if (this.guild.relation.type == FactionRelation.RelationType.Member)
48 {
49 FactionRelation relation = this.guild.relation;
50 int num = relation.rank / 2;
51 text += "\n\n";
52 text = text + this.guild.Name.TagColor(FontColor.Topic, null) + "\n";
53 text = text + "faction_rank".lang(relation.rank.ToString() ?? "", relation.TextTitle, null, null, null) + "\n";
54 text = text + "faction_contribution".lang(relation.exp.ToString() ?? "", relation.ExpToNext.ToString() ?? "", null, null, null) + "\n";
55 text = text + "faction_salary".lang(relation.GetSalary().ToString() ?? "", null, null, null, null) + "\n";
56 text += "\n";
57 text = text + "faction_task".lang().TagColor(FontColor.Topic, null) + "\n";
58 text = text + (this.guild.id + "_task1").lang() + "\n";
59 text += "\n";
60 text = text + "faction_benefit".lang().TagColor(FontColor.Topic, null) + "\n";
61 text = text + (this.guild.id + "_benefit1").lang() + "\n";
62 if (num >= 1)
63 {
64 text = text + "guild_benefit_trainer".lang() + "\n";
65 }
66 if (num >= 2)
67 {
68 text = text + (this.guild.id + "_benefit2").lang() + "\n";
69 }
70 if (num >= 4)
71 {
72 text = text + "guild_benefit_feat".lang() + "\n";
73 }
74 }
75 return text;
76 }
77
78 // Token: 0x0400070A RID: 1802
79 public const int Started = 0;
80
81 // Token: 0x0400070B RID: 1803
82 public const int CompletedTrial = 1;
83
84 // Token: 0x0400070C RID: 1804
85 public const int Joined = 10;
86}
Definition Guild.cs:5