Elin Decompiled Documentation
EA 23.173 Stable Patch 1
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
Files
File List
File Members
All
$
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
Functions
Variables
Enumerations
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
z
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Pages
Loading...
Searching...
No Matches
TraitHat.cs
Go to the documentation of this file.
1
public
class
TraitHat
:
TraitItem
2
{
3
public
override
bool
OnUse
(
Chara
c)
4
{
5
SE.Play(
"mutation"
);
6
EClass._zone.idHat = ((EClass._zone.idHat ==
owner
.
id
) ?
null
:
owner
.
id
);
7
EClass._zone.dateHat = ((EClass._zone.idHat !=
null
) ?
EClass
.
world
.
date
.
GetRaw
(720) : 0);
8
EClass
.
_zone
.
RefreshHat
();
9
return
false
;
10
}
11
}
Card.id
string id
Definition:
Card.cs:31
Chara
Definition:
Chara.cs:10
Date.GetRaw
int GetRaw(int offsetHours=0)
Definition:
Date.cs:322
EClass
Definition:
EClass.cs:5
EClass._zone
static Zone _zone
Definition:
EClass.cs:20
EClass.world
static World world
Definition:
EClass.cs:40
TraitHat
Definition:
TraitHat.cs:2
TraitHat.OnUse
override bool OnUse(Chara c)
Definition:
TraitHat.cs:3
TraitItem
Definition:
TraitItem.cs:2
Trait.owner
Card owner
Definition:
Trait.cs:27
World.date
GameDate date
Definition:
World.cs:6
Zone.RefreshHat
void RefreshHat()
Definition:
Zone.cs:1032
Elin
TraitHat.cs
Generated by
1.9.6