mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Accept higher penumbra API versions.
This commit is contained in:
parent
0ff5eade69
commit
e1cf3db0ab
5 changed files with 19 additions and 19 deletions
BIN
Glamourer.zip
BIN
Glamourer.zip
Binary file not shown.
|
|
@ -6,7 +6,7 @@ using Glamourer.Gui;
|
|||
using ImGuiNET;
|
||||
using Penumbra.GameData.Enums;
|
||||
|
||||
namespace Glamourer;
|
||||
namespace Glamourer.Api;
|
||||
|
||||
public class PenumbraAttach : IDisposable
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ public class PenumbraAttach : IDisposable
|
|||
|
||||
var versionSubscriber = Dalamud.PluginInterface.GetIpcSubscriber<int>("Penumbra.ApiVersion");
|
||||
var version = versionSubscriber.InvokeFunc();
|
||||
if (version != RequiredPenumbraShareVersion)
|
||||
if (version < RequiredPenumbraShareVersion)
|
||||
throw new Exception($"Invalid Version {version}, required Version {RequiredPenumbraShareVersion}.");
|
||||
|
||||
_redrawSubscriberName = Dalamud.PluginInterface.GetIpcSubscriber<string, int, object>("Penumbra.RedrawObjectByName");
|
||||
|
|
@ -5,8 +5,8 @@
|
|||
<PlatformTarget>x64</PlatformTarget>
|
||||
<RootNamespace>Glamourer</RootNamespace>
|
||||
<AssemblyName>Glamourer</AssemblyName>
|
||||
<FileVersion>0.1.0.0</FileVersion>
|
||||
<AssemblyVersion>0.1.0.0</AssemblyVersion>
|
||||
<FileVersion>0.1.0.1</FileVersion>
|
||||
<AssemblyVersion>0.1.0.1</AssemblyVersion>
|
||||
<Company>SoftOtter</Company>
|
||||
<Product>Glamourer</Product>
|
||||
<Copyright>Copyright © 2020</Copyright>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"Description": "Adds functionality to change and store appearance of players, customization and equip. Requires Penumbra to be installed and activated to work. Can also add preview options to the Changed Items tab for Penumbra.",
|
||||
"Tags": [ "Appearance", "Glamour", "Race", "Outfit", "Armor", "Clothes", "Skins", "Customization", "Design", "Character" ],
|
||||
"InternalName": "Glamourer",
|
||||
"AssemblyVersion": "0.1.0.0",
|
||||
"AssemblyVersion": "0.1.0.1",
|
||||
"RepoUrl": "https://github.com/Ottermandias/Glamourer",
|
||||
"ApplicableVersion": "any",
|
||||
"DalamudApiLevel": 6,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
"Description": "Adds functionality to change and store appearance of players, customization and equip. Requires Penumbra to be installed and activated to work. Can also add preview options to the Changed Items tab for Penumbra.",
|
||||
"Tags": [ "Appearance", "Glamour", "Race", "Outfit", "Armor", "Clothes", "Skins", "Customization", "Design", "Character" ],
|
||||
"InternalName": "Glamourer",
|
||||
"AssemblyVersion": "0.1.0.0",
|
||||
"TestingAssemblyVersion": "0.1.0.0",
|
||||
"AssemblyVersion": "0.1.0.1",
|
||||
"TestingAssemblyVersion": "0.1.0.1",
|
||||
"RepoUrl": "https://github.com/Ottermandias/Glamourer",
|
||||
"ApplicableVersion": "any",
|
||||
"DalamudApiLevel": 6,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue