Compare commits

...

2 Commits

Author SHA1 Message Date
e9b7eb47c0 Slapped that cringe ass lightless logo in there yo 2025-12-20 02:14:13 +01:00
cake
ac8270e4ad Added chat command in handler 2025-12-19 22:34:04 +01:00
2 changed files with 58 additions and 1 deletions

View File

@@ -69,6 +69,58 @@ namespace LightlessSync;
#pragma warning restore S125 // Sections of code should not be commented out #pragma warning restore S125 // Sections of code should not be commented out
// thank you dark 🙏 // thank you dark 🙏
/*
---------
-------------------------
-------------- ##++++ -------------
----------+##+++++++++++++++++++###--------
+------ ####++++++++++++++++++++++++##### -----
------- #####++++++++++++++++++++++++++++++###### +++++
------+#####++++++++++++++++++++++++++++++++++########+++++
------######++++++++++++++++++++++++++++++++++++++#########++++
------######+++++++++++++++++++++++++++++++++++++##############+++
-----#######+++++++++++++++++++++++++++++++#######################+++
---- #######++++++++++++++++++++++++++++############################ ++
-----########+++++++++++++++++++++++++++##################################
----+########+++++++++++++++++++++++++#######################################
---- ########+++++++++++++++++++++++-+#########################################
-----#########++++++++++++++++++++--+###########################################
----#########+++++++++++++++++++---+#######+++++++++#############################
----##########+++++++++++++++++----###+--------.......---+####################### #
---###########+++++++++++++++-----#+------..................-#######################
----###########++++++++++++++----------..----..................-+####################
---+###########+++++++++++++--------.-+########+-................-###################
----############++++++++++++--------+##############+................+#################
----############++++---+---------.-#################+................-################
---+####+++++-------------------..###################+...............--###############
----+#############++-------------.+####################-...............--###############
----+##############++++++++------.+####################+...............---##############
----+##############+++++++++-----.+####################+...............---+#############
---++##############++++++++-------####################.................---#############
----+################++++++++-----+##################-......-..........---+############
----++################+++++++-------################-......+...........---+############
----++##################++++++--------+##########+-......-#-..........----+###########
--- ++##################+++++--------..--+++---........+#-.........------+###########
+++++++####################++----------.............-+#+-......-.--------+##########
+++ +++######################+---------..........+###+-......-----------+##########
++++-+++##########################+++------+++######-......--------.----##########
++++----+########################################+-.......------------+#########
++++ ----+####################################--.....----------------#########
+++ -----++###############################+------------------------########
+++ ------++###########++##+++++#+++----------------------------+#######
+++ ----------++########-----------...------------------------+#######
+++ -------------------------------------------------------#######
++# ---------------------------------------------------+######
## ------------------------------------------------######
### -------------------------------------------+#####
### --------------------------------------+#####
# -------------------------------####
----------------------++###
------------#
*/
// Just a shitty fork, still with love.
public class LightlessPlugin : MediatorSubscriberBase, IHostedService public class LightlessPlugin : MediatorSubscriberBase, IHostedService
{ {
private readonly DalamudUtilService _dalamudUtil; private readonly DalamudUtilService _dalamudUtil;

View File

@@ -48,7 +48,8 @@ public sealed class CommandManagerService : IDisposable
"\t /light gpose - Opens the Lightless Character Data Hub window" + Environment.NewLine + "\t /light gpose - Opens the Lightless Character Data Hub window" + Environment.NewLine +
"\t /light analyze - Opens the Lightless Character Data Analysis window" + Environment.NewLine + "\t /light analyze - Opens the Lightless Character Data Analysis window" + Environment.NewLine +
"\t /light settings - Opens the Lightless Settings window" + Environment.NewLine + "\t /light settings - Opens the Lightless Settings window" + Environment.NewLine +
"\t /light finder - Opens the Lightfinder window" "\t /light finder - Opens the Lightfinder window" + Environment.NewLine +
"\t /light finder - Opens the Lightless Chat window"
}); });
} }
@@ -133,5 +134,9 @@ public sealed class CommandManagerService : IDisposable
{ {
_mediator.Publish(new UiToggleMessage(typeof(LightFinderUI))); _mediator.Publish(new UiToggleMessage(typeof(LightFinderUI)));
} }
else if (string.Equals(splitArgs[0], "chat", StringComparison.OrdinalIgnoreCase))
{
_mediator.Publish(new UiToggleMessage(typeof(ZoneChatUi)));
}
} }
} }