Compare commits
1 Commits
1.42.0.71-
...
detached
| Author | SHA1 | Date | |
|---|---|---|---|
| e9b7eb47c0 |
@@ -13,7 +13,7 @@ namespace LightlessSync.Interop.Ipc;
|
|||||||
|
|
||||||
public sealed class IpcCallerBrio : IpcServiceBase
|
public sealed class IpcCallerBrio : IpcServiceBase
|
||||||
{
|
{
|
||||||
private static readonly IpcServiceDescriptor BrioDescriptor = new("Brio", "Brio", new Version(0, 0, 0, 0));
|
private static readonly IpcServiceDescriptor BrioDescriptor = new("Brio", "Brio", new Version(3, 0, 0, 0));
|
||||||
|
|
||||||
private readonly ILogger<IpcCallerBrio> _logger;
|
private readonly ILogger<IpcCallerBrio> _logger;
|
||||||
private readonly DalamudUtilService _dalamudUtilService;
|
private readonly DalamudUtilService _dalamudUtilService;
|
||||||
@@ -144,7 +144,7 @@ public sealed class IpcCallerBrio : IpcServiceBase
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var version = _apiVersion.Invoke();
|
var version = _apiVersion.Invoke();
|
||||||
return version.Breaking == 3 && version.Feature >= 0
|
return version.Item1 == 3 && version.Item2 >= 0
|
||||||
? IpcConnectionState.Available
|
? IpcConnectionState.Available
|
||||||
: IpcConnectionState.VersionMismatch;
|
: IpcConnectionState.VersionMismatch;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>1.42.0.71</Version>
|
<Version>2.0.0</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Light-Public-Syncshells/LightlessClient</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Light-Public-Syncshells/LightlessClient</PackageProjectUrl>
|
||||||
|
|||||||
Reference in New Issue
Block a user