Skip to content

Commit

Permalink
Merge pull request #9 from SzymonKaminski/roles-permissions
Browse files Browse the repository at this point in the history
Update char permissions, attachment roles
  • Loading branch information
Xsear authored Aug 20, 2024
2 parents 21bf9cb + 58e94fb commit 275e3ec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions AeroMessages/GSS/V66/Character/CharacterShared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ public enum AttachmentRoleType : byte
{
None = 0,
Driver = 1,
ActivePassenger = 3,
PassivePassenger = 4,
Turret = 5,
ActivePassenger = 2,
PassivePassenger = 3,
Turret = 4,
}

public EntityId Id1;
Expand Down
10 changes: 5 additions & 5 deletions AeroMessages/GSS/V66/Character/Controller/CombatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,17 @@ public enum CharacterPermissionFlags : ulong
movement = 1U << 0,
sprint = 1U << 1,
jump = 1U << 2,
unk_3 = 1U << 3,
interact = 1U << 3,
weapon = 1U << 4,
unk_5 = 1U << 5,
melee = 1U << 5,
abilities = 1U << 6,
unk_7 = 1U << 7,
flashlight = 1U << 7,
unk_8 = 1U << 8,
cheat_jump_midair = 1U << 9,
glider = 1U << 10,
unk_11 = 1U << 11,
jetpack = 1U << 12,
unk_13 = 1U << 13,
map = 1U << 13,
unk_14 = 1U << 14,
unk_15 = 1U << 15,
new_character = 1U << 16,
Expand All @@ -187,7 +187,7 @@ public enum CharacterPermissionFlags : ulong
unk_21 = 1U << 21,
calldown_abilities = 1U << 22,
unk_23 = 1U << 23,
unk_24 = 1U << 24,
emotes = 1U << 24,
unk_25 = 1U << 25,
unk_26 = 1U << 26,
self_revive = 1U << 27,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ namespace AeroMessages.GSS.V66.Character.Event
public partial class FactionReputationUpdate
{
[AeroArray(typeof(byte))] public FactionReputationData[] Data;
public byte Unk2;
public byte HideUiNotification;
}

[AeroBlock]
public struct FactionReputationData
{
public byte Unk1;
public uint Unk2;
public byte FactionId;
public uint Points;
}
}
4 changes: 3 additions & 1 deletion AeroMessages/GSS/V66/Generic/Event/AchievementUnlocked.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ namespace AeroMessages.GSS.V66.Generic
[AeroMessageId(MsgType.GSS, MsgSrc.Message, 0, 81)]
public partial class AchievementUnlocked
{
public ulong Unk; // MissionId
[AeroSdb("clientmissions::Mission", "id")] // when is_achievement == 1
// [AeroSdb("clientmissions::AchievementSetLink", "achievement_id")]
public ulong AchievementId;
}
}

0 comments on commit 275e3ec

Please sign in to comment.