Skip to content

Commit

Permalink
Update some generic events
Browse files Browse the repository at this point in the history
  • Loading branch information
Xsear committed Jun 15, 2024
1 parent 32ffd9e commit 21bf9cb
Show file tree
Hide file tree
Showing 28 changed files with 81 additions and 73 deletions.
2 changes: 1 addition & 1 deletion AeroMessages/GSS/V66/Generic/Event/AchievementUnlocked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 81)]
public partial class AchievementUnlocked
{
public ulong Unk;
public ulong Unk; // MissionId
}
}
6 changes: 3 additions & 3 deletions AeroMessages/GSS/V66/Generic/Event/BountyAbortAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 70)]
public partial class BountyAbortAck
{
public uint BountyId; // Unsure how this id works
public byte Unk1;
public byte Unk2;
public uint BountyDefId;
public byte Success;
public byte Reason; // [0-4]
}
}
6 changes: 3 additions & 3 deletions AeroMessages/GSS/V66/Generic/Event/BountyActivationAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 71)]
public partial class BountyActivationAck
{
public uint BountyId; // Unsure how this id works
public byte Unk1;
public byte Unk2;
public uint BountyDefId;
public byte Success;
public byte Reason; // [0-17]
public byte Unk3; // Row / type?
public uint Unk4;

Expand Down
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/BountyClearAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 75)]
public partial class BountyClearAck
{
public byte Unk1;
public byte Unk2;
public byte Success;
public byte Unk2; // Count or category?
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/BountyClearPreviousAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 76)]
public partial class BountyClearPreviousAck
{
public byte Unk1;
public byte Unk2;
public byte Success;
public byte Unk2; // Count or category?
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/BountyListActiveAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 72)]
public partial class BountyListActiveAck
{
public byte Unk1;
public byte Unk2;
public byte Success;
public byte Unk2; // Count or category?
[AeroString(typeof(ushort))] public string JSON;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 73)]
public partial class BountyListActiveDetailsAck
{
public byte Unk1;
public byte Success;
[AeroString(typeof(ushort))] public string JSON;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 74)]
public partial class BountyListAvailableAck
{
public byte Unk1;
public byte Success;
[AeroString(typeof(ushort))] public string JSON;
}
}
3 changes: 1 addition & 2 deletions AeroMessages/GSS/V66/Generic/Event/BountyListPreviousAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 77)]
public partial class BountyListPreviousAck
{

public byte Unk1;
public byte Success;
[AeroString(typeof(ushort))] public string JSON;
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/BountyRerollResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 78)]
public partial class BountyRerollResponse
{
public uint Unk1;
public byte Unk2;
public uint BountyDefId;
public byte Success;
[AeroString] public string Response;
}
}
2 changes: 1 addition & 1 deletion AeroMessages/GSS/V66/Generic/Event/BountyStatusChanged.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 69)]
public partial class BountyStatusChanged
{
public uint BountyId; // Unsure how this id works
public uint BountyDefId;
public byte Status;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ namespace AeroMessages.GSS.V66.Generic
public partial class ConductorGlobalAnnouncement
{
public GlobalAnnouncementData Data;
public byte Unk2;
public byte Activated; // [0,1]
}

[AeroBlock]
public struct GlobalAnnouncementData
{
public uint Unk1;
public uint Unk2;
public uint Unk3;
public uint Unk3; // ActionId?
[AeroString] public string Unk4;
[AeroString] public string Unk5;
public byte HaveUnk6;
Expand Down
6 changes: 3 additions & 3 deletions AeroMessages/GSS/V66/Generic/Event/ContentUnlocked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 84)]
public partial class ContentUnlocked
{
[AeroString] public string Unk1;
public uint Unk2;
public ulong Unk3;
[AeroString] public string ContentType;
public uint ContentId;
public ulong Duration;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 119)]
public partial class CurrentLoadoutResponse
{
public EntityId Unk1;
public EntityId PlayerId;
public int Unk2;
public int Unk3;
[AeroString] public string Unk4;
Expand Down
7 changes: 4 additions & 3 deletions AeroMessages/GSS/V66/Generic/Event/DisplayMoneyBombBanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 104)]
public partial class DisplayMoneyBombBanner
{
public uint Unk1;
[AeroString] public string Unk2;
public uint Unk3;
[AeroSdb("dbcharacter::MoneyBombBanner", "id")]
public uint SdbId;
[AeroString] public string SponsoredByName;
public uint Duration;
}
}
10 changes: 5 additions & 5 deletions AeroMessages/GSS/V66/Generic/Event/DisplayUiNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public enum BannerType : byte

public uint Duration; // seconds

[AeroArray(typeof(byte))] public UiNotificationData[] Unk2;
[AeroArray(typeof(byte))] public UiNotificationData[] Unk2; // Formatted args for localized text?

[AeroSdb("dbcharacter::BannerType", "id")]
public BannerType Banner;
Expand All @@ -26,9 +26,9 @@ public enum BannerType : byte
[AeroBlock]
public struct UiNotificationData
{
public byte Unk1;
[AeroString] public string Unk2;
public int Unk3;
public int Unk4;
public byte Unk1; // 0 (?), 1 (%u), 2 (%.2f)
[AeroString] public string Unk2; // txt?
public int Unk3; // uint?
public int Unk4; // float?
}
}
2 changes: 1 addition & 1 deletion AeroMessages/GSS/V66/Generic/Event/DisplayUiTrackBounty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 79)]
public partial class DisplayUiTrackBounty
{
public uint Unk; // BountyId?
public uint BountyDefId;
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/MissionActivationAck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public partial class MissionActivationAck
//[AeroSdb("clientmissions::MissionObjective","mission_id")]
public uint MissionId;

public byte Unk1;
public byte Unk2;
public byte Success;
public byte Reason;
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/MissionObjectiveUpdated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ public partial class MissionObjectiveUpdated
//[AeroSdb("clientmissions::MissionObjective","mission_id")]
public ulong MissionId;

public uint Unk1;
public uint ObjectiveIdx;

[AeroString]
public string TextObjectiveTitle;

[AeroString]
public string TextObjectiveProgress;

public byte Unk2; // Some special type
public byte Status; // Some special type (2 => completed)

public float Unk3; // Progress as Percentage
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 66)]
public partial class MissionReturnToChanged
{
public uint Unk1; // Mission id?
public uint MissionId; // Assumption
public byte Unk2;
}
}
6 changes: 3 additions & 3 deletions AeroMessages/GSS/V66/Generic/Event/MissionsAvailable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 67)]
public partial class MissionsAvailable
{
[AeroArray(typeof(byte))] public MissionsAvailableData[] Unk1;
[AeroArray(typeof(byte))] public MissionsAvailableData[] Missions;
public ulong Unk2;
}

[AeroBlock]
public struct MissionsAvailableData
{
public uint Unk1;
public byte Unk2;
public uint MissionId;
public byte MissionAvailability; // 0,1,2,3
}
}
12 changes: 2 additions & 10 deletions AeroMessages/GSS/V66/Generic/Event/NpcVoxelInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,8 @@ namespace AeroMessages.GSS.V66.Generic
public partial class NpcVoxelInfo
{
public EntityId Unk1;
public NpcVoxelInfoData Unk2;
[AeroArray(typeof(byte))] public Vector3[] Unk2;
[AeroArray(typeof(byte))] public uint[] Unk3;
public byte Unk4;
}

[AeroBlock]
public struct NpcVoxelInfoData
{
public uint Unk1;
public uint Unk2;
public uint Unk3;
public byte Unk4; // 0 seems to clear?
}
}
16 changes: 16 additions & 0 deletions AeroMessages/GSS/V66/Generic/Event/ScoreBoardUpdatePlayerStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,21 @@ public partial class ScoreBoardUpdatePlayerStats
[AeroIf(nameof(HaveData), 1)]
[AeroArray(typeof(ushort))]
public byte[] Data;
/*
byte a (enum) (!= 0)
byte b (enum) (!= 0) [0x01 - 0x3d] determines format, lots of structs
(b == 1)
uint32
byte (enum)
byte (enum)
uint32
(b == 2)
uint32
uint16
(b == [3,4,5,6,9,10,0xe,0x13,0x14,0x15,0x16,0x17,0x1d,0x25,0x26,0x30])
uint32
...
*/
}
}
4 changes: 2 additions & 2 deletions AeroMessages/GSS/V66/Generic/Event/SetClientDailyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 115)]
public partial class SetClientDailyInfo
{
public uint Unk1;
[AeroArray(typeof(byte))] public int[] Unk2; // 00b0af40
public uint Unk1; // time?
[AeroArray(typeof(byte))] public int[] Unk2; // 00b0af40 missions?
}
}
2 changes: 1 addition & 1 deletion AeroMessages/GSS/V66/Generic/Event/Trail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AeroMessages.GSS.V66.Generic
public partial class Trail
{
public uint Unk1;
public byte Unk2;
public byte Unk2; // 0, 1 or 2

[AeroArray(typeof(byte))]
public Vector3[] Points;
Expand Down
10 changes: 5 additions & 5 deletions AeroMessages/GSS/V66/Generic/Event/VendorPurchaseResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 121)]
public partial class VendorPurchaseResponse
{
public byte Unk1;
public ulong Unk2;
public ulong Unk3;
public uint Unk4;
[AeroString] public string Unk5;
public byte Success;
public ulong ProductId;
public ulong PriceId;
public uint VendorId;
[AeroString] public string Code; // Tries to default to "PURCHASE_SUCCESSFUL" if Success is not 0
}
}
12 changes: 6 additions & 6 deletions AeroMessages/GSS/V66/Generic/Event/VotekickInitiated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 33)]
public partial class VotekickInitiated
{
public ulong Unk1;
[AeroString] public string Unk2;
[AeroString] public string Unk3;
public uint Unk4;
public ulong Unk5;
public sbyte Unk6;
public ulong DefendantId;
[AeroString] public string Defendant;
[AeroString] public string Initiator;
public uint NumVoters;
public ulong Timeout; // Double
public sbyte IsParticipant;
}
}
12 changes: 6 additions & 6 deletions AeroMessages/GSS/V66/Generic/Event/VotekickResponded.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 34)]
public partial class VotekickResponded
{
public ulong Unk1;
[AeroString] public string Unk2;
[AeroString] public string Unk3;
public sbyte Unk4;
public ushort Unk5;
public ushort Unk6;
public ulong DefendantId;
[AeroString] public string Defendant;
[AeroString] public string Respondant;
public sbyte ShouldKick;
public ushort VotesFor;
public ushort VotesAgainst;
}
}

0 comments on commit 21bf9cb

Please sign in to comment.