Skip to content

Commit b3bcc1b

Browse files
committed
[Cirilla.Core] Expose OutlineType and PupilType palico appearance properties
1 parent cc14692 commit b3bcc1b

File tree

5 files changed

+19
-4
lines changed

5 files changed

+19
-4
lines changed

misc/appearance.bt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,6 @@ struct PALICO_APPEARANCE {
100100

101101
ubyte voiceType;
102102
ubyte voicePitch;
103-
ushort unk1; // Outline/face and pupils? Can only be used when bought iceborne dlc.
103+
ubyte outlineType; // 0 - 3
104+
ubyte pupilType; // 0 - 3
104105
};

src/Cirilla.Core/Cirilla.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Version>0.13.0</Version>
5+
<Version>0.13.1</Version>
66
<Authors>Fusion86</Authors>
77
<LangVersion>8.0</LangVersion>
88
</PropertyGroup>

src/Cirilla.Core/Interfaces/IPalicoAppearanceProperties.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public interface IPalicoAppearanceProperties
1919
byte EyeType { get; set; }
2020
byte EarType { get; set; }
2121
byte TailType { get; set; }
22+
byte OutlineType { get; set; }
23+
byte PupilType { get; set; }
2224
PalicoVoiceType VoiceType { get; set; }
2325
PalicoVoicePitch VoicePitch { get; set; }
2426
}

src/Cirilla.Core/Models/SaveData.cs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,18 @@ byte IPalicoAppearanceProperties.TailType
748748
set => Native.PalicoAppearance.TailType = value;
749749
}
750750

751+
byte IPalicoAppearanceProperties.OutlineType
752+
{
753+
get => Native.PalicoAppearance.OutlineType;
754+
set => Native.PalicoAppearance.OutlineType = value;
755+
}
756+
757+
byte IPalicoAppearanceProperties.PupilType
758+
{
759+
get => Native.PalicoAppearance.PupilType;
760+
set => Native.PalicoAppearance.PupilType = value;
761+
}
762+
751763
PalicoVoiceType IPalicoAppearanceProperties.VoiceType
752764
{
753765
get => Native.PalicoAppearance.VoiceType;
@@ -759,7 +771,6 @@ PalicoVoicePitch IPalicoAppearanceProperties.VoicePitch
759771
get => Native.PalicoAppearance.VoicePitch;
760772
set => Native.PalicoAppearance.VoicePitch = value;
761773
}
762-
763774
#endregion
764775
}
765776
}

src/Cirilla.Core/Structs/Native/PalicoAppearance.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public struct PalicoAppearance
3535
public byte TailType;
3636
public PalicoVoiceType VoiceType;
3737
public PalicoVoicePitch VoicePitch;
38-
public ushort Unk; // Zero?
38+
public byte OutlineType;
39+
public byte PupilType;
3940
}
4041
}

0 commit comments

Comments
 (0)