mirror of https://github.com/hykilpikonna/AquaDX
21 lines
527 B
C#
21 lines
527 B
C#
![]() |
using HarmonyLib;
|
|||
|
using Manager;
|
|||
|
|
|||
|
namespace AquaMai.UX;
|
|||
|
|
|||
|
public class CustomPlaceName
|
|||
|
{
|
|||
|
[HarmonyPostfix]
|
|||
|
[HarmonyPatch(typeof(OperationManager), "CheckAuth_Proc")]
|
|||
|
public static void CheckAuth_Proc(OperationManager __instance)
|
|||
|
{
|
|||
|
if (string.IsNullOrEmpty(AquaMai.AppConfig.UX.CustomPlaceName))
|
|||
|
{
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
__instance.ShopData.ShopName = AquaMai.AppConfig.UX.CustomPlaceName;
|
|||
|
__instance.ShopData.ShopNickName = AquaMai.AppConfig.UX.CustomPlaceName;
|
|||
|
}
|
|||
|
}
|