Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Misc Feature Updates #149

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7a0bc79
wip
dendr01d Jun 14, 2023
4ee1c8a
Merge branch 'main' into FakeRootTransforms
dendr01d Jun 14, 2023
7a1fe6f
Add categories for main-hand and off-hand weapons, distinct from equi…
dendr01d Jun 17, 2023
d103feb
Adjust aliased root bone to operate via getter/setter of skeleton tra…
dendr01d Jun 17, 2023
75b73ba
Revert section previously commented out for bugtesting.
dendr01d Jun 17, 2023
b577d82
Explore options for including extraneous skeletons in bone edit list.
dendr01d Jun 17, 2023
1035ed9
Add new simple conversion functions, rework euler angle conversion to…
dendr01d Jun 17, 2023
75a1275
Add copy constructor that operates off of raw hkQsTransform
dendr01d Jun 17, 2023
b67d594
Adjust transformation functions
dendr01d Jun 17, 2023
edfbd58
Explore options for containing additional skeletons. Adjust rebuildin…
dendr01d Jun 17, 2023
26f3bcb
Merge remote-tracking branch 'original_origin/structureRework'
dendr01d Jun 18, 2023
8856a0e
Merge?
dendr01d Jun 19, 2023
02c4928
Merge branch 'Temp' into FakeRootTransforms
dendr01d Jun 19, 2023
f753cb4
Fix references to renamed function, adjust output of bone monitor win…
dendr01d Jun 19, 2023
e0da3ad
Remove "Enabled" checkbox from bone edit window. Perform some abstrac…
dendr01d Jun 19, 2023
28b8e34
Fix some git weirdness. This commit should have already not been incl…
dendr01d Jun 19, 2023
4bfa17a
Merge main updates
dendr01d Jun 19, 2023
23725b8
Perform renames related to posing space enum
dendr01d Jun 21, 2023
ad06210
Replace all instances of System.Numerics vectors with FFXIVClientStru…
dendr01d Jun 23, 2023
88d43f6
Remove unecessary lineage functions.
dendr01d Jun 23, 2023
97ba002
Merge
dendr01d Jun 23, 2023
c9700d5
Abstract a bunch of data in preparation for future operational featur…
dendr01d Jun 23, 2023
054dac0
Switch root bone back to using object properties.
dendr01d Jun 23, 2023
754323f
Amend some function names that were bugging me.
dendr01d Jun 23, 2023
b9e3856
Effect the important parts of PR #139
dendr01d Jun 23, 2023
0e9cbc1
Centralize profile serialization into a single function, create a con…
dendr01d Jun 23, 2023
292db0b
More tweaks to the armature system for root bones
dendr01d Jun 24, 2023
b71d679
Shuffle around and adjust some parts of the editing lifecycle to avoi…
dendr01d Jun 24, 2023
bbd6a34
Add a null guard and fix a misnamed table.
dendr01d Jun 24, 2023
437a7db
Remove most of the game movement hook since it's unneeded now.
dendr01d Jun 24, 2023
11d0239
Fix a bug where the editor window wasn't properly reverting changes.
dendr01d Jun 24, 2023
d3f436b
Add bone transform paramters for parented edits.
dendr01d Jun 27, 2023
c99bcd3
Update standard model bone methods to support new degrees of freedom.
dendr01d Jun 27, 2023
3657cf7
More updates for the new degrees of freedom
dendr01d Jun 27, 2023
bf93297
Simplify some of the function calls.
dendr01d Jun 27, 2023
b13e54c
Fix mirrored bone edits
dendr01d Jun 27, 2023
fac63f2
Force distinct bone names so there's only one editable jaw.
dendr01d Jun 27, 2023
54ae351
Adjust UI for extra DOF
dendr01d Jun 27, 2023
56566d3
Streamline bone monitor window
dendr01d Jun 27, 2023
dca6df1
Add some extra debug output. Rework partial root bones slightly to bi…
dendr01d Jun 28, 2023
a982789
Abstract armatures out into multiple classes so that they can be comp…
dendr01d Jun 29, 2023
51578ad
Wrap up some changes for weapon edits. Adjust debug output in a few p…
dendr01d Jun 30, 2023
d9d7875
Merge branch 'structureRework' into main
dendr01d Jun 30, 2023
8e57008
Fix Post merge
StoiaCode Jun 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CustomizePlus/Api/CustomizePlusIpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void OnLocalPlayerProfileUpdate()
CharacterProfile? profile = Plugin.ProfileManager.GetProfileByCharacterName(name, true);

PluginLog.Debug($"Sending local player update message: {profile?.ProfileName ?? "no profile"} - {profile?.CharacterName ?? "no profile"}");
ProviderOnLocalPlayerProfileUpdate?.SendMessage(profile != null ? JsonConvert.SerializeObject(profile) : null);
ProviderOnLocalPlayerProfileUpdate?.SendMessage(profile != null ? profile.SerializeToJSON() : null);
}
}

Expand Down
30 changes: 30 additions & 0 deletions CustomizePlus/Api/VectorContractResolver.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;

namespace CustomizePlus.Api
{
public class VectorContractResolver : DefaultContractResolver
{
public static VectorContractResolver Instance { get; } = new VectorContractResolver();

protected override JsonProperty CreateProperty(System.Reflection.MemberInfo member, MemberSerialization memberSerialization)
{
JsonProperty property = base.CreateProperty(member, memberSerialization);
if (typeof(FFXIVClientStructs.FFXIV.Common.Math.Vector3).IsAssignableFrom(member.DeclaringType)
&& member.Name != nameof(FFXIVClientStructs.FFXIV.Common.Math.Vector3.X)
&& member.Name != nameof(FFXIVClientStructs.FFXIV.Common.Math.Vector3.Y)
&& member.Name != nameof(FFXIVClientStructs.FFXIV.Common.Math.Vector3.Z))
{
property.Ignored = true;
}
return property;
}
}
}
Loading