Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DisplayRewards and ParticleEffect #11

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/AreaVisualData/SharedAreaVisualData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ public struct ParticleEffect
public Vector3 Position;
public byte HaveUnk4;
[AeroIf(nameof(HaveUnk4), 1)] public Vector3 Unk4;
public QuantisedQuaternion Rotation; // Guesswork
public QuantisedQuaternion Rotation;
public byte Unk9; // loop?
public uint Unk10; // group? time?
public HalfFloat Unk11; // scale?
public HalfFloat Scale;
public byte HaveUnk12;
[AeroIf(nameof(HaveUnk12), 1)] public ParticleEffectUnkData Unk12;
}
Expand Down
13 changes: 10 additions & 3 deletions AeroMessages/GSS/V66/Character/Event/DisplayRewards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,18 @@ public partial class DisplayRewards
[AeroBlock]
public struct StatInfo
{
public enum StatType : byte
{
Amount = 0,
Percent = 1,
Time = 2,
}

[AeroSdb("dblocalization::LocalizedText", "id")]
public uint LocalizationId;
public uint NameId;

public byte Unk1;
public uint Unk2;
public StatType Type;
public float Value;
[AeroString] public string Unk3;
}

Expand Down
Loading