Client LuaCsForBarotrauma
TutorialMode.cs
1
using
Barotrauma
.
Tutorials
;
2
3
namespace
Barotrauma
4
{
5
class
TutorialMode
:
GameMode
6
{
7
public
Tutorial
Tutorial
;
8
9
public
override
bool
Paused
=>
Tutorial
.
Paused
;
10
11
public
TutorialMode
(
GameModePreset
preset
) : base(
preset
) { }
12
13
public
override
void
Start
()
14
{
15
base.Start();
16
GameMain
.
GameSession
.
CrewManager
=
new
CrewManager
(
true
);
17
foreach
(
Item
item
in
Item
.
ItemList
)
18
{
19
//don't consider the items to belong in the outpost to prevent the stealing icon from showing
20
item.
SpawnedInCurrentOutpost
=
false
;
21
}
22
}
23
24
public
override
void
Update
(
float
deltaTime)
25
{
26
base.Update(deltaTime);
27
Tutorial
.
Update
();
28
}
29
}
30
}
Barotrauma.GameMain
Definition:
GameMain.cs:25
Barotrauma.GameMain.GameSession
static GameSession?? GameSession
Definition:
GameMain.cs:88
Barotrauma.GameMode
Definition:
BarotraumaShared/SharedSource/GameSession/GameModes/GameMode.cs:8
Barotrauma.GameMode.CrewManager
CrewManager? CrewManager
Definition:
BarotraumaShared/SharedSource/GameSession/GameModes/GameMode.cs:16
Barotrauma.GameMode.preset
GameModePreset preset
Definition:
BarotraumaShared/SharedSource/GameSession/GameModes/GameMode.cs:13
Barotrauma.GameModePreset
Definition:
GameModePreset.cs:8
Barotrauma.GameSession.CrewManager
CrewManager? CrewManager
Definition:
BarotraumaShared/SharedSource/GameSession/GameSession.cs:75
Barotrauma.Item
Definition:
BarotraumaShared/SharedSource/Items/Item.cs:26
Barotrauma.Item.SpawnedInCurrentOutpost
bool?? SpawnedInCurrentOutpost
Definition:
BarotraumaShared/SharedSource/Items/Item.cs:786
Barotrauma.Item.ItemList
static readonly List< Item > ItemList
Definition:
BarotraumaShared/SharedSource/Items/Item.cs:27
Barotrauma.TutorialMode
Definition:
TutorialMode.cs:6
Barotrauma.TutorialMode.Paused
override bool Paused
Definition:
TutorialMode.cs:9
Barotrauma.TutorialMode.Update
override void Update(float deltaTime)
Definition:
TutorialMode.cs:24
Barotrauma.TutorialMode.TutorialMode
TutorialMode(GameModePreset preset)
Definition:
TutorialMode.cs:11
Barotrauma.TutorialMode.Tutorial
Tutorial Tutorial
Definition:
TutorialMode.cs:7
Barotrauma.TutorialMode.Start
override void Start()
Definition:
TutorialMode.cs:13
Barotrauma.Tutorials.Tutorial
Definition:
Tutorial.cs:14
Barotrauma.Tutorials.Tutorial.Paused
bool Paused
Definition:
Tutorial.cs:66
Barotrauma.Tutorials.Tutorial.Update
void Update()
Definition:
Tutorial.cs:201
Barotrauma.Tutorials
Definition:
Tutorial.cs:8
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaClient
ClientSource
GameSession
GameModes
Tutorials
TutorialMode.cs
Generated by
1.9.1