Skip to content

Commit

Permalink
9287048
Browse files Browse the repository at this point in the history
9287048
  • Loading branch information
shalzuth committed Aug 10, 2022
1 parent 64fa3c3 commit eb1a19e
Show file tree
Hide file tree
Showing 33 changed files with 232 additions and 232 deletions.
46 changes: 23 additions & 23 deletions LostArkLogger/Packets/OpCodes_steam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ namespace LostArkLogger
{
public enum OpCodes_Steam : UInt16
{
PKTAuthTokenResult = 0x6E5A,
PKTCounterAttackNotify = 0x2904,
PKTDeathNotify = 0xD1E1,
PKTInitEnv = 0x7761,
PKTInitPC = 0x9657,
PKTNewNpc = 0xE461,
PKTNewNpcSummon = 0x9E4B,
PKTNewPC = 0x5C50,
PKTNewProjectile = 0xAB18,
PKTPartyStatusEffectAddNotify = 0x8220,
PKTPartyStatusEffectRemoveNotify = 0x376F,
PKTRaidBossKillNotify = 0x9AD7,
PKTRaidResult = 0x963B,
PKTRemoveObject = 0x7007,
PKTSkillDamageAbnormalMoveNotify = 0x5D3F,
PKTSkillDamageNotify = 0x39FE,
PKTSkillStageNotify = 0x7558,
PKTSkillStartNotify = 0x3383,
PKTStatChangeOriginNotify = 0x1026,
PKTStatusEffectAddNotify = 0x87D8,
PKTStatusEffectRemoveNotify = 0x6890,
PKTTriggerBossBattleStatus = 0x40D3,
PKTTriggerStartNotify = 0x54F9,
PKTAuthTokenResult = 0x7500,
PKTCounterAttackNotify = 0x5436,
PKTDeathNotify = 0x482,
PKTInitEnv = 0xAB18,
PKTInitPC = 0x480F,
PKTNewNpc = 0xEA6,
PKTNewNpcSummon = 0xBAAE,
PKTNewPC = 0x716A,
PKTNewProjectile = 0x349,
PKTPartyStatusEffectAddNotify = 0x6FD8,
PKTPartyStatusEffectRemoveNotify = 0x5765,
PKTRaidBossKillNotify = 0x499E,
PKTRaidResult = 0x70E9,
PKTRemoveObject = 0x8A8,
PKTSkillDamageAbnormalMoveNotify = 0x2B51,
PKTSkillDamageNotify = 0x5DBA,
PKTSkillStageNotify = 0x946F,
PKTSkillStartNotify = 0x3829,
PKTStatChangeOriginNotify = 0x5004,
PKTStatusEffectAddNotify = 0x496E,
PKTStatusEffectRemoveNotify = 0xA483,
PKTTriggerBossBattleStatus = 0x1C34,
PKTTriggerStartNotify = 0x2706,
}
}
4 changes: 2 additions & 2 deletions LostArkLogger/Packets/Steam/ItemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ public void SteamDecode(BitReader reader)
if (b_0 == 1)
b_1 = reader.ReadByte();
Level = reader.ReadUInt16();
s64_0 = reader.ReadSimpleInt();
u16_0 = reader.ReadUInt16();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
s64_0 = reader.ReadSimpleInt();
u32_0 = reader.ReadUInt32();
u16_0 = reader.ReadUInt16();
}
}
}
84 changes: 42 additions & 42 deletions LostArkLogger/Packets/Steam/NpcStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,75 @@ public partial class NpcStruct
{
public void SteamDecode(BitReader reader)
{
u64_0 = reader.ReadUInt64();
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
if (b_2 == 1)
u32_0 = reader.ReadUInt32();
b_15 = reader.ReadByte();
if (b_15 == 1)
u32_2 = reader.ReadUInt32();
b_26 = reader.ReadByte();
u32_4 = reader.ReadUInt32();
NpcType = reader.ReadUInt32();
b_11 = reader.ReadByte();
if (b_11 == 1)
b_12 = reader.ReadByte();
b_21 = reader.ReadByte();
if (b_21 == 1)
b_22 = reader.ReadByte();
b_25 = reader.ReadByte();
if (b_25 == 1)
b_26 = reader.ReadByte();
b_27 = reader.ReadByte();
if (b_27 == 1)
u16_3 = reader.ReadUInt16();
b_28 = reader.ReadByte();
if (b_28 == 1)
u32_4 = reader.ReadUInt32();
b_29 = reader.ReadByte();
if (b_29 == 1)
u32_5 = reader.ReadUInt32();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
b_30 = reader.ReadByte();
if (b_30 == 1)
u64list_0 = reader.ReadList<UInt64>();
NpcType = reader.ReadUInt32();
bytearraylist_0 = reader.ReadList<Byte[]>(12);
u32_5 = reader.ReadUInt32();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
u16_0 = reader.ReadUInt16();
b_4 = reader.ReadByte();
if (b_4 == 1)
b_5 = reader.ReadByte();
b_6 = reader.ReadByte();
if (b_6 == 1)
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
u32_0 = reader.ReadUInt32();
NpcId = reader.ReadUInt64();
b_7 = reader.ReadByte();
if (b_7 == 1)
u16_0 = reader.ReadUInt16();
b_8 = reader.ReadByte();
if (b_8 == 1)
b_9 = reader.ReadByte();
b_9 = reader.ReadByte();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
b_10 = reader.ReadByte();
if (b_10 == 1)
u16_1 = reader.ReadUInt16();
statusEffectDatas = reader.ReadList<StatusEffectData>();
b_11 = reader.ReadByte();
if (b_11 == 1)
b_12 = reader.ReadByte();
u64_1 = reader.ReadUInt64();
b_13 = reader.ReadByte();
if (b_13 == 1)
u64_0 = reader.ReadUInt64();
u64list_0 = reader.ReadList<UInt64>();
u16_1 = reader.ReadUInt16();
b_14 = reader.ReadByte();
if (b_14 == 1)
u32_1 = reader.ReadUInt32();
b_15 = reader.ReadByte();
b_16 = reader.ReadByte();
if (b_16 == 1)
b_17 = reader.ReadByte();
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
b_17 = reader.ReadByte();
if (b_17 == 1)
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
b_18 = reader.ReadByte();
if (b_18 == 1)
b_19 = reader.ReadByte();
b_20 = reader.ReadByte();
u16_2 = reader.ReadUInt16();
NpcId = reader.ReadUInt64();
b_21 = reader.ReadByte();
if (b_21 == 1)
u32_3 = reader.ReadUInt32();
u16_3 = reader.ReadUInt16();
b_22 = reader.ReadByte();
statPair = reader.Read<StatPair>();
b_19 = reader.ReadByte();
if (b_19 == 1)
b_20 = reader.ReadByte();
b_23 = reader.ReadByte();
if (b_23 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
b_24 = reader.ReadByte();
if (b_24 == 1)
b_25 = reader.ReadByte();
u64_1 = reader.ReadUInt64();
b_27 = reader.ReadByte();
statPair = reader.Read<StatPair>();
u32_3 = reader.ReadUInt32();
statusEffectDatas = reader.ReadList<StatusEffectData>();
}
}
}
58 changes: 29 additions & 29 deletions LostArkLogger/Packets/Steam/PCStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,51 @@ public partial class PCStruct
public void SteamDecode(BitReader reader)
{
PlayerId = reader.ReadUInt64();
statusEffectDatas = reader.ReadList<StatusEffectData>();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
b_1 = reader.ReadByte();
u16_1 = reader.ReadUInt16();
Name = reader.ReadString();
b_7 = reader.ReadByte();
u32_7 = reader.ReadUInt32();
u32_6 = reader.ReadUInt32();
GearLevel = reader.ReadUInt32();
b_10 = reader.ReadByte();
b_11 = reader.ReadByte();
b_12 = reader.ReadByte();
u16_3 = reader.ReadUInt16();
u32_8 = reader.ReadUInt32();
b_0 = reader.ReadByte();
PartyId = reader.ReadUInt64();
ClassId = reader.ReadUInt16();
u32_0 = reader.ReadUInt32();
EquippedItems = reader.ReadList<ItemInfo>();
bytearray_2 = reader.ReadBytes(5);
statPair = reader.Read<StatPair>();
bytearray_0 = reader.ReadBytes(25);
b_0 = reader.ReadByte();
u16_0 = reader.ReadUInt16();
GearLevel = reader.ReadUInt32();
skillRunes = reader.Read<SkillRunes>();
Level = reader.ReadUInt16();
bytearray_2 = reader.ReadBytes(5);
b_1 = reader.ReadByte();
PartyId = reader.ReadUInt64();
u32_1 = reader.ReadUInt32();
b_2 = reader.ReadByte();
u16_2 = reader.ReadUInt16();
u32_2 = reader.ReadUInt32();
u32_3 = reader.ReadUInt32();
u64_0 = reader.ReadUInt64();
u32_4 = reader.ReadUInt32();
ClassId = reader.ReadUInt16();
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
statPair = reader.Read<StatPair>();
itemInfos = reader.ReadList<ItemInfo>();
b_4 = reader.ReadByte();
u32_5 = reader.ReadUInt32();
u32list_0 = reader.ReadList<UInt32>();
str_0 = reader.ReadString();
b_5 = reader.ReadByte();
bytearray_0 = reader.ReadBytes(25);
EquippedItems = reader.ReadList<ItemInfo>();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u32_4 = reader.ReadUInt32();
u32_5 = reader.ReadUInt32();
itemInfos = reader.ReadList<ItemInfo>();
Level = reader.ReadUInt16();
u16_2 = reader.ReadUInt16();
b_6 = reader.ReadByte();
u32_6 = reader.ReadUInt32();
b_8 = reader.ReadByte();
u16_3 = reader.ReadUInt16();
statusEffectDatas = reader.ReadList<StatusEffectData>();
u32list_0 = reader.ReadList<UInt32>();
b_7 = reader.ReadByte();
if (b_7 == 1)
bytearray_1 = reader.ReadBytes(12);
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
u64_0 = reader.ReadUInt64();
b_8 = reader.ReadByte();
Name = reader.ReadString();
str_0 = reader.ReadString();
u32_7 = reader.ReadUInt32();
b_9 = reader.ReadByte();
if (b_9 == 1)
bytearray_1 = reader.ReadBytes(12);
b_10 = reader.ReadByte();
}
}
}
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Steam/PKTCounterAttackNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ public partial class PKTCounterAttackNotify
{
public void SteamDecode(BitReader reader)
{
bytearray_0 = reader.ReadBytes(4);
bytearray_1 = reader.ReadBytes(0);
TargetId = reader.ReadUInt64();
bytearray_1 = reader.ReadBytes(1);
SourceId = reader.ReadUInt64();
bytearray_2 = reader.ReadBytes(0);
SourceId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(7);
}
}
}
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Steam/PKTDeathNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ public partial class PKTDeathNotify
{
public void SteamDecode(BitReader reader)
{
u32_0 = reader.ReadUInt32();
SourceId = reader.ReadUInt64();
b_0 = reader.ReadByte();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
u16_0 = reader.ReadUInt16();
u64_0 = reader.ReadUInt64();
b_3 = reader.ReadByte();
if (b_3 == 1)
b_4 = reader.ReadByte();
u64_0 = reader.ReadUInt64();
b_5 = reader.ReadByte();
if (b_5 == 1)
b_6 = reader.ReadByte();
SourceId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
TargetId = reader.ReadUInt64();
u16_0 = reader.ReadUInt16();
}
}
}
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Steam/PKTInitEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ public partial class PKTInitEnv
{
public void SteamDecode(BitReader reader)
{
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
u16list_0 = reader.ReadList<UInt16>();
u32_0 = reader.ReadUInt32();
u32_1 = reader.ReadUInt32();
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
s64_0 = reader.ReadSimpleInt();
s64_1 = reader.ReadUInt64();
u16list_0 = reader.ReadList<UInt16>();
b_0 = reader.ReadByte();
s64_1 = reader.ReadUInt64();
PlayerId = reader.ReadUInt64();
u32_1 = reader.ReadUInt32();
}
}
}
Loading

0 comments on commit eb1a19e

Please sign in to comment.