Elin Modding Docs Doc
Loading...
Searching...
No Matches
DramaChoice.cs
1using System;
2
3// Token: 0x0200010C RID: 268
4public class DramaChoice
5{
6 // Token: 0x06000709 RID: 1801 RVA: 0x0002AB11 File Offset: 0x00028D11
7 public DramaChoice(string text, string idJump, string idAction = "", string CHECK = "", string IF = "")
8 {
9 this.text = text;
10 this.idJump = idJump;
11 this.idAction = idAction;
12 this.CHECK = CHECK;
13 this.IF = IF;
14 }
15
16 // Token: 0x0600070A RID: 1802 RVA: 0x0002AB45 File Offset: 0x00028D45
17 public DramaChoice DisableSound()
18 {
19 this.sound = false;
20 return this;
21 }
22
23 // Token: 0x0600070B RID: 1803 RVA: 0x0002AB4F File Offset: 0x00028D4F
24 public DramaChoice SetOnTooltip(Action<UITooltip> action)
25 {
26 this.onTooltip = action;
27 return this;
28 }
29
30 // Token: 0x0600070C RID: 1804 RVA: 0x0002AB59 File Offset: 0x00028D59
31 public DramaChoice SetOnClick(Action action)
32 {
33 this.onClick = action;
34 return this;
35 }
36
37 // Token: 0x0600070D RID: 1805 RVA: 0x0002AB63 File Offset: 0x00028D63
38 public DramaChoice SetCondition(Func<bool> condition)
39 {
40 this.activeCondition = condition;
41 return this;
42 }
43
44 // Token: 0x0400074C RID: 1868
45 public static DramaChoice lastChoice;
46
47 // Token: 0x0400074D RID: 1869
48 public int index;
49
50 // Token: 0x0400074E RID: 1870
51 public string text;
52
53 // Token: 0x0400074F RID: 1871
54 public string idJump;
55
56 // Token: 0x04000750 RID: 1872
57 public string idAction;
58
59 // Token: 0x04000751 RID: 1873
60 public string CHECK;
61
62 // Token: 0x04000752 RID: 1874
63 public string IF;
64
65 // Token: 0x04000753 RID: 1875
66 public bool sound = true;
67
68 // Token: 0x04000754 RID: 1876
69 public bool forceHighlight;
70
71 // Token: 0x04000755 RID: 1877
72 public Action onClick;
73
74 // Token: 0x04000756 RID: 1878
75 public Action onJump;
76
77 // Token: 0x04000757 RID: 1879
78 public Action<UITooltip> onTooltip;
79
80 // Token: 0x04000758 RID: 1880
81 public Func<bool> activeCondition;
82
83 // Token: 0x04000759 RID: 1881
84 public Check check;
85
86 // Token: 0x0400075A RID: 1882
87 public UIButton button;
88}
Definition Check.cs:6