Disabled IPC, updated changelog

This commit is contained in:
RisaDev
2024-07-11 02:38:23 +03:00
parent 72d0b5f353
commit 51b870abdc
3 changed files with 18 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ public partial class CustomizePlusIpc
[EzIPC("General.IsValid")]
private bool IsValid()
{
return false;
return !IPCFailed &&
!_hookingService.RenderHookFailed &&
!_hookingService.MovementHookFailed;

View File

@@ -127,6 +127,9 @@ public partial class CustomizePlusIpc
[EzIPC("Profile.GetActiveProfileIdOnCharacter")]
private (int, Guid?) GetActiveProfileIdOnCharacter(ICharacter character)
{
//todo: temporary
return ((int)ErrorCode.UnknownError, null);
if (character == null)
return ((int)ErrorCode.InvalidCharacter, null);
@@ -145,6 +148,9 @@ public partial class CustomizePlusIpc
[EzIPC("Profile.SetTemporaryProfileOnCharacter")]
private (int, Guid?) SetTemporaryProfileOnCharacter(ICharacter character, string profileJson)
{
//todo: temporary
return ((int)ErrorCode.UnknownError, null);
//todo: do not allow to set temporary profile on reserved actors (examine, etc)
if (character == null)
return ((int)ErrorCode.InvalidCharacter, null);
@@ -192,6 +198,9 @@ public partial class CustomizePlusIpc
[EzIPC("Profile.DeleteTemporaryProfileOnCharacter")]
private int DeleteTemporaryProfileOnCharacter(ICharacter character)
{
//todo: temporary
return (int)ErrorCode.UnknownError;
if (character == null)
return (int)ErrorCode.InvalidCharacter;
@@ -261,6 +270,9 @@ public partial class CustomizePlusIpc
//warn: intended limitation - ignores default profiles because why you would use default profile on your own character
private void OnArmatureChanged(ArmatureChanged.Type type, Armature armature, object? arg3)
{
//todo: temporary
return;
string currentPlayerName = _gameObjectService.GetCurrentPlayerName();
if (armature.ActorIdentifier.ToNameWithoutOwnerName() != currentPlayerName)

View File

@@ -21,7 +21,7 @@ public class CPlusChangeLog
Add2_0_4_0(Changelog);
Add2_0_4_1(Changelog);
Add2_0_4_4(Changelog);
//Add2_0_5_0(Changelog);
Add2_0_5_0(Changelog);
}
private (int, ChangeLogDisplayType) ConfigData()
@@ -37,6 +37,9 @@ public class CPlusChangeLog
private static void Add2_0_5_0(Changelog log)
=> log.NextVersion("Version 2.0.5.0")
.RegisterHighlight("Customize+ has been updated to support Dawntrail.")
.RegisterImportant("Known issues:", 1)
.RegisterImportant("Profiles are not applied on Character Select Screen.", 2)
.RegisterImportant("IPC needs additional work and has been disabled for now. Expect issues if you decide to call it anyway.", 2)
.RegisterEntry("Added \"Copy Support Info to Clipboard\" button to Settings tab.")
.RegisterEntry("Renamed \"Default profile\" to \"Apply to all players and retainers\" to try and improve understanding of the function by the users. (2.0.4.5)")
.RegisterEntry("Improved UI behavior when \"Apply to all players and retainers\" is enabled. (2.0.4.5)");