Elin Modding Docs Doc
Loading...
Searching...
No Matches
ConBlind.cs
1using System;
2
3// Token: 0x020002BD RID: 701
4public class ConBlind : BadCondition
5{
6 // Token: 0x1700065B RID: 1627
7 // (get) Token: 0x060016C3 RID: 5827 RVA: 0x00097169 File Offset: 0x00095369
8 public override Emo2 EmoIcon
9 {
10 get
11 {
12 return Emo2.blind;
13 }
14 }
15
16 // Token: 0x060016C4 RID: 5828 RVA: 0x0009716C File Offset: 0x0009536C
17 public override int GetPhase()
18 {
19 return 0;
20 }
21
22 // Token: 0x060016C5 RID: 5829 RVA: 0x0009716F File Offset: 0x0009536F
23 public override void SetOwner(Chara _owner, bool onDeserialize = false)
24 {
25 base.SetOwner(_owner, false);
26 this.owner.isBlind = true;
27 }
28
29 // Token: 0x060016C6 RID: 5830 RVA: 0x00097185 File Offset: 0x00095385
30 public override void OnStart()
31 {
32 if (this.owner.IsPC)
33 {
34 this.owner.RecalculateFOV();
35 ScreenGrading.blind = true;
36 EClass.scene.camSupport.grading.SetGrading();
37 }
38 }
39
40 // Token: 0x060016C7 RID: 5831 RVA: 0x000971B9 File Offset: 0x000953B9
41 public override void OnRemoved()
42 {
43 this.owner.isBlind = false;
44 if (this.owner.IsPC)
45 {
46 this.owner.RecalculateFOV();
47 ScreenGrading.blind = false;
48 EClass.scene.camSupport.grading.SetGrading();
49 }
50 }
51}
Definition Chara.cs:12