WKLib
0.2.3
A modding library for White Knuckle
Loading...
Searching...
No Matches
ChangeLogWindow.cs
Go to the documentation of this file.
1
using
Imui.Controls;
2
using
Imui.Core;
3
using
WKLib.Core.Config
;
4
5
namespace
WKLib.Core.UI.Windows
;
6
7
internal
class
ChangeLogWindow
8
{
9
public
static
bool
isOpen =
false
;
10
11
public
static
void
Draw(ImGui gui,
bool
isRootPanelOpen)
12
{
13
if
(!isRootPanelOpen)
14
return
;
15
16
if
(!gui.BeginWindow(
"WKLib changelog"
, ref isOpen,
new
ImSize(500, 400), ImWindowFlag.None))
17
return
;
18
19
gui.Separator(
"Versions"
);
20
21
if
(gui.BeginTreeNode(
"Version 0.3.1"
))
22
{
23
gui.Text(
"+ Update to Unity 6"
);
24
gui.Text(
"+ Fix Text replacing"
);
25
gui.EndTreeNode();
26
}
27
28
if
(gui.BeginTreeNode(
"Version 0.3.0"
))
29
{
30
gui.Text(
"+ Rework Input system to work with more keys"
);
31
gui.Text(
"- Remove old config system and adapted BepInEx config system"
);
32
gui.Text(
"- Remove config window, now found in Mod List"
);
33
gui.EndTreeNode();
34
}
35
36
if
(gui.BeginTreeNode(
"Version 0.2.3"
))
37
{
38
gui.Text(
"+ Change config system default saving folder location, dont use WKLib as the default"
);
39
gui.Text(
"+ Fix configs not saving as jsons"
);
40
gui.EndTreeNode();
41
}
42
43
if
(gui.BeginTreeNode(
"Version 0.2.2"
))
44
{
45
gui.Text(
"+ Fix plugin object being deleted"
);
46
gui.Text(
"+ Fix error on scene loaded"
);
47
gui.EndTreeNode();
48
}
49
50
if
(gui.BeginTreeNode(
"Version 0.2.1"
))
51
{
52
gui.Text(
"+ Change config system saving and loading"
);
53
gui.EndTreeNode();
54
}
55
56
if
(gui.BeginTreeNode(
"Version 0.2.0"
))
57
{
58
gui.Text(
"+ Added ChangeLog window"
);
59
gui.Text(
"+ Updated AssetService"
);
60
gui.Text(
"+ Added Overlay button on main menu and pause menu"
);
61
gui.EndTreeNode();
62
}
63
64
if
(gui.BeginTreeNode(
"Version 0.1.0"
))
65
{
66
gui.Text(
"+ Reworked UI and Config API"
);
67
gui.EndTreeNode();
68
}
69
70
gui.EndWindow();
71
}
72
}
WKLib.Core.Config
Definition
ConfigManager.cs:5
WKLib.Core.UI.Windows
Definition
ChangeLogWindow.cs:5
Core
UI
Windows
ChangeLogWindow.cs
Generated by
1.12.0