Expose GameState.GetCutsceneParentIndex and GameState.SetCutsceneParentIndex via IPC

This commit is contained in:
RisaDev
2024-09-30 22:44:19 +03:00
parent 0a6b5e51ca
commit 80d0ed4f07
5 changed files with 93 additions and 0 deletions

View File

@@ -12,18 +12,26 @@ namespace CustomizePlus.Api.Enums;
public enum ErrorCode
{
Success = 0,
/// <summary>
/// Returned when invalid character address was provided
/// </summary>
InvalidCharacter = 1,
/// <summary>
/// Returned if IPCCharacterProfile could not be deserialized or deserialized into an empty object
/// </summary>
CorruptedProfile = 2,
/// <summary>
/// Provided character does not have active profiles, provided profile id is invalid or provided profile id is not valid for use in current function
/// </summary>
ProfileNotFound = 3,
/// <summary>
/// General error telling that one of the provided arguments were invalid.
/// </summary>
InvalidArgument = 4,
UnknownError = 255
}