File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
src/main/kotlin/com/lambda/module/hud Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 Lambda
3+ *
4+ * This program is free software: you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation, either version 3 of the License, or
7+ * (at your option) any later version.
8+ *
9+ * This program is distributed in the hope that it will be useful,
10+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+ * GNU General Public License for more details.
13+ *
14+ * You should have received a copy of the GNU General Public License
15+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
16+ */
17+
18+ package com.lambda.module.hud
19+
20+ import com.lambda.gui.dsl.ImGuiBuilder
21+ import com.lambda.module.HudModule
22+ import com.lambda.module.tag.ModuleTag
23+ import com.lambda.threading.runSafe
24+
25+ object AccountName : HudModule(
26+ name = " AccountName" ,
27+ description = " Displays the current accounts name" ,
28+ tag = ModuleTag .HUD
29+ ) {
30+ override fun ImGuiBuilder.buildLayout () {
31+ runSafe { text(player.name.string) }
32+ }
33+ }
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import com.lambda.util.NamedEnum
2525
2626@Suppress(" Unused" )
2727object ManagerDebugLoggers : HudModule(
28- " Manager Debug Loggers " ,
28+ " ManagerDebugLoggers " ,
2929 " debug loggers for all action managers in lambda" ,
3030 ModuleTag .HUD ,
3131 customWindow = true
You can’t perform that action at this time.
0 commit comments