Use external library for API interface and IPC.

This commit is contained in:
Ottermandias 2022-10-08 02:02:33 +02:00
parent b3f048bfe6
commit 918d5db6a6
69 changed files with 4026 additions and 1873 deletions

View file

@ -0,0 +1,9 @@
namespace Penumbra.Api.Enums;
public enum ChangedItemType
{
None,
Item,
Action,
Customization,
}

7
tmp/Enums/GroupType.cs Normal file
View file

@ -0,0 +1,7 @@
namespace Penumbra.Api.Enums;
public enum GroupType
{
Single,
Multi,
}

View file

@ -0,0 +1,12 @@
namespace Penumbra.Api.Enums;
// Different types a mod setting can change:
public enum ModSettingChange
{
Inheritance, // it was set to inherit from other collections or not inherit anymore
EnableState, // it was enabled or disabled
Priority, // its priority was changed
Setting, // a specific setting was changed
MultiInheritance, // multiple mods were set to inherit from other collections or not inherit anymore.
MultiEnableState, // multiple mods were enabled or disabled at once.
}

9
tmp/Enums/MouseButton.cs Normal file
View file

@ -0,0 +1,9 @@
namespace Penumbra.Api.Enums;
public enum MouseButton
{
None,
Left,
Right,
Middle,
}

View file

@ -0,0 +1,20 @@
namespace Penumbra.Api.Enums;
public enum PenumbraApiEc
{
Success = 0,
NothingChanged = 1,
CollectionMissing = 2,
ModMissing = 3,
OptionGroupMissing = 4,
OptionMissing = 5,
CharacterCollectionExists = 6,
LowerPriority = 7,
InvalidGamePath = 8,
FileMissing = 9,
InvalidManipulation = 10,
InvalidArgument = 11,
PathRenameFailed = 12,
UnknownError = 255,
}

7
tmp/Enums/RedrawType.cs Normal file
View file

@ -0,0 +1,7 @@
namespace Penumbra.Api.Enums;
public enum RedrawType
{
Redraw,
AfterGPose,
}