Compare commits

..

2 commits

Author SHA1 Message Date
Actions User
3eabe591df [CI] Updating repo.json for testing_1.5.0.9 2025-08-24 13:59:02 +00:00
Ottermandias
487d3b9399 Update PCP Service. 2025-08-24 15:49:29 +02:00
4 changed files with 7 additions and 7 deletions

View file

@ -51,7 +51,7 @@ public class PenumbraService : IDisposable
private readonly EventSubscriber<nint, Guid, nint> _createdCharacterBase; private readonly EventSubscriber<nint, Guid, nint> _createdCharacterBase;
private readonly EventSubscriber<ModSettingChange, Guid, string, bool> _modSettingChanged; private readonly EventSubscriber<ModSettingChange, Guid, string, bool> _modSettingChanged;
private readonly EventSubscriber<JObject, string, Guid> _pcpParsed; private readonly EventSubscriber<JObject, string, Guid> _pcpParsed;
private readonly EventSubscriber<JObject, ushort> _pcpCreated; private readonly EventSubscriber<JObject, ushort, string> _pcpCreated;
private global::Penumbra.Api.IpcSubscribers.GetCollectionsByIdentifier? _collectionByIdentifier; private global::Penumbra.Api.IpcSubscribers.GetCollectionsByIdentifier? _collectionByIdentifier;
private global::Penumbra.Api.IpcSubscribers.GetCollections? _collections; private global::Penumbra.Api.IpcSubscribers.GetCollections? _collections;
@ -140,7 +140,7 @@ public class PenumbraService : IDisposable
remove => _modSettingChanged.Event -= value; remove => _modSettingChanged.Event -= value;
} }
public event Action<JObject, ushort> PcpCreated public event Action<JObject, ushort, string> PcpCreated
{ {
add => _pcpCreated.Event += value; add => _pcpCreated.Event += value;
remove => _pcpCreated.Event -= value; remove => _pcpCreated.Event -= value;

View file

@ -96,7 +96,7 @@ public class PcpService : IRequiredService
} }
} }
private void OnPcpCreation(JObject jObj, ushort index) private void OnPcpCreation(JObject jObj, ushort index, string path)
{ {
Glamourer.Log.Debug("[PCPService] Adding Glamourer data to PCP file."); Glamourer.Log.Debug("[PCPService] Adding Glamourer data to PCP file.");
var actorIdentifier = _objects.Actors.FromJson(jObj["Actor"] as JObject); var actorIdentifier = _objects.Actors.FromJson(jObj["Actor"] as JObject);
@ -110,7 +110,7 @@ public class PcpService : IRequiredService
} }
var design = _designConverter.Convert(state, ApplicationRules.All); var design = _designConverter.Convert(state, ApplicationRules.All);
jObj["Glamourer"] = new JObject() jObj["Glamourer"] = new JObject
{ {
["Version"] = 1, ["Version"] = 1,
["Design"] = design.JsonSerialize(), ["Design"] = design.JsonSerialize(),

@ -1 +1 @@
Subproject commit 0a970295b2398683b1e49c46fd613541e2486210 Subproject commit 297941bc22300f4a8368f4d0177f62943eb69727

View file

@ -18,7 +18,7 @@
], ],
"InternalName": "Glamourer", "InternalName": "Glamourer",
"AssemblyVersion": "1.5.0.7", "AssemblyVersion": "1.5.0.7",
"TestingAssemblyVersion": "1.5.0.8", "TestingAssemblyVersion": "1.5.0.9",
"RepoUrl": "https://github.com/Ottermandias/Glamourer", "RepoUrl": "https://github.com/Ottermandias/Glamourer",
"ApplicableVersion": "any", "ApplicableVersion": "any",
"DalamudApiLevel": 13, "DalamudApiLevel": 13,
@ -29,7 +29,7 @@
"LastUpdate": 1618608322, "LastUpdate": 1618608322,
"DownloadLinkInstall": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.0.7/Glamourer.zip", "DownloadLinkInstall": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.0.7/Glamourer.zip",
"DownloadLinkUpdate": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.0.7/Glamourer.zip", "DownloadLinkUpdate": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.0.7/Glamourer.zip",
"DownloadLinkTesting": "https://github.com/Ottermandias/Glamourer/releases/download/testing_1.5.0.8/Glamourer.zip", "DownloadLinkTesting": "https://github.com/Ottermandias/Glamourer/releases/download/testing_1.5.0.9/Glamourer.zip",
"IconUrl": "https://raw.githubusercontent.com/Ottermandias/Glamourer/main/images/icon.png" "IconUrl": "https://raw.githubusercontent.com/Ottermandias/Glamourer/main/images/icon.png"
} }
] ]