Server LuaCsForBarotrauma
Documentation introduction
Server class documentation
Client class documentation
Main Page
Packages
Packages
Package Functions
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Functions
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
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
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
u
v
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
z
Events
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Properties
Events
TutorialCompleteAction.cs
1
namespace
Barotrauma
2
{
6
class
TutorialCompleteAction
:
EventAction
7
{
8
private
bool
isFinished;
9
10
public
TutorialCompleteAction
(
ScriptedEvent
parentEvent,
ContentXElement
element) : base(parentEvent, element) { }
11
12
public
override
void
Update
(
float
deltaTime)
13
{
14
if
(isFinished) {
return
; }
15
16
#if CLIENT
17
if
(
GameMain
.
GameSession
?.
GameMode
is TutorialMode tutorialMode)
18
{
19
tutorialMode.Tutorial?.Complete();
20
}
21
#endif
22
isFinished =
true
;
23
}
24
25
public
override
bool
IsFinished
(ref
string
goToLabel)
26
{
27
return
isFinished;
28
}
29
30
public
override
void
Reset
()
31
{
32
isFinished =
false
;
33
}
34
}
35
}
Barotrauma.ContentXElement
Definition:
ContentXElement.cs:13
Barotrauma.EventAction
Definition:
EventAction.cs:9
Barotrauma.GameMain
Definition:
GameMain.cs:20
Barotrauma.GameMain.GameSession
static GameSession GameSession
Definition:
GameMain.cs:45
Barotrauma.GameSession.GameMode
GameMode? GameMode
Definition:
GameSession.cs:71
Barotrauma.ScriptedEvent
Definition:
ScriptedEvent.cs:9
Barotrauma.TutorialCompleteAction
Completes the tutorial. Only valid in tutorial events.
Definition:
TutorialCompleteAction.cs:7
Barotrauma.TutorialCompleteAction.TutorialCompleteAction
TutorialCompleteAction(ScriptedEvent parentEvent, ContentXElement element)
Definition:
TutorialCompleteAction.cs:10
Barotrauma.TutorialCompleteAction.IsFinished
override bool IsFinished(ref string goToLabel)
Has the action finished.
Definition:
TutorialCompleteAction.cs:25
Barotrauma.TutorialCompleteAction.Reset
override void Reset()
Definition:
TutorialCompleteAction.cs:30
Barotrauma.TutorialCompleteAction.Update
override void Update(float deltaTime)
Definition:
TutorialCompleteAction.cs:12
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaShared
SharedSource
Events
EventActions
TutorialCompleteAction.cs
Generated by
1.9.1