From 94d234400652746f0b367431d2dd98fe36911116 Mon Sep 17 00:00:00 2001
From: kalilistic <35899782+kalilistic@users.noreply.github.com>
Date: Sat, 21 Oct 2023 15:09:54 -0400
Subject: [PATCH] feat: add IsTestDC func to data mgr
---
Dalamud.DrunkenToad/Core/Services/Ex/DataManagerEx.cs | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Dalamud.DrunkenToad/Core/Services/Ex/DataManagerEx.cs b/Dalamud.DrunkenToad/Core/Services/Ex/DataManagerEx.cs
index 6cc2ff2..223ad58 100644
--- a/Dalamud.DrunkenToad/Core/Services/Ex/DataManagerEx.cs
+++ b/Dalamud.DrunkenToad/Core/Services/Ex/DataManagerEx.cs
@@ -159,6 +159,13 @@ public uint GetWorldIdByName(string worldName)
return 0;
}
+ ///
+ /// Get indicator whether world is a test data center.
+ ///
+ /// world id.
+ /// indicator whether world is a test data center.
+ public bool IsTestDC(uint worldId) => this.dataManager.IsTestDC(worldId);
+
private static float ColorDistance(Vector4 color1, Vector4 color2)
{
var rDiff = color1.X - color2.X;