Skip to content

Commit

Permalink
9199426
Browse files Browse the repository at this point in the history
9199426
  • Loading branch information
shalzuth committed Jul 27, 2022
1 parent 5721de0 commit 42b372e
Show file tree
Hide file tree
Showing 30 changed files with 243 additions and 243 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 = 0x944D,
PKTCounterAttackNotify = 0xA431,
PKTDeathNotify = 0x45F4,
PKTInitEnv = 0x8E87,
PKTInitPC = 0x7B79,
PKTNewNpc = 0xA8C2,
PKTNewNpcSummon = 0x9209,
PKTNewPC = 0xA5E3,
PKTNewProjectile = 0xC922,
PKTPartyStatusEffectAddNotify = 0x2458,
PKTPartyStatusEffectRemoveNotify = 0x528C,
PKTRaidBossKillNotify = 0x4AAF,
PKTRaidResult = 0x4AA3,
PKTRemoveObject = 0x3203,
PKTSkillDamageAbnormalMoveNotify = 0xCE05,
PKTSkillDamageNotify = 0x5D14,
PKTSkillStageNotify = 0x2C23,
PKTSkillStartNotify = 0x5EAE,
PKTStatChangeOriginNotify = 0xE186,
PKTStatusEffectAddNotify = 0xC7DB,
PKTStatusEffectRemoveNotify = 0xE873,
PKTTriggerBossBattleStatus = 0xC3C2,
PKTTriggerStartNotify = 0x8655,
PKTAuthTokenResult = 0x2D5F,
PKTCounterAttackNotify = 0xADD6,
PKTDeathNotify = 0x84C3,
PKTInitEnv = 0xD5FB,
PKTInitPC = 0x3631,
PKTNewNpc = 0xDC24,
PKTNewNpcSummon = 0x26C7,
PKTNewPC = 0x348E,
PKTNewProjectile = 0xC089,
PKTPartyStatusEffectAddNotify = 0x9B50,
PKTPartyStatusEffectRemoveNotify = 0x5FAD,
PKTRaidBossKillNotify = 0xDC79,
PKTRaidResult = 0x2A4,
PKTRemoveObject = 0x5439,
PKTSkillDamageAbnormalMoveNotify = 0xFC8,
PKTSkillDamageNotify = 0x5391,
PKTSkillStageNotify = 0x12A7,
PKTSkillStartNotify = 0xCF9,
PKTStatChangeOriginNotify = 0x2DBA,
PKTStatusEffectAddNotify = 0x1E87,
PKTStatusEffectRemoveNotify = 0xE5C5,
PKTTriggerBossBattleStatus = 0x5647,
PKTTriggerStartNotify = 0x8311,
}
}
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Steam/ItemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ public partial class ItemInfo
{
public void SteamDecode(BitReader reader)
{
s64_0 = reader.ReadSimpleInt();
Level = reader.ReadUInt16();
u16_0 = reader.ReadUInt16();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
s64_0 = reader.ReadSimpleInt();
u32_0 = reader.ReadUInt32();
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
u32_0 = reader.ReadUInt32();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
}
}
}
88 changes: 44 additions & 44 deletions LostArkLogger/Packets/Steam/NpcStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,74 +7,74 @@ public partial class NpcStruct
public void SteamDecode(BitReader reader)
{
b_0 = reader.ReadByte();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
b_13 = reader.ReadByte();
if (b_13 == 1)
u32_3 = reader.ReadUInt32();
b_21 = reader.ReadByte();
if (b_21 == 1)
u64_1 = reader.ReadUInt64();
b_25 = reader.ReadByte();
if (b_25 == 1)
b_26 = reader.ReadByte();
b_27 = reader.ReadByte();
if (b_27 == 1)
u32_5 = reader.ReadUInt32();
NpcType = reader.ReadUInt32();
b_10 = reader.ReadByte();
if (b_10 == 1)
b_11 = reader.ReadByte();
u64_1 = reader.ReadUInt64();
b_24 = reader.ReadByte();
if (b_24 == 1)
b_25 = reader.ReadByte();
b_26 = reader.ReadByte();
if (b_26 == 1)
b_27 = reader.ReadByte();
b_28 = reader.ReadByte();
if (b_28 == 1)
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
b_29 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
b_30 = reader.ReadByte();
if (b_30 == 1)
u16_3 = reader.ReadUInt16();
u32_5 = reader.ReadUInt32();
u16_0 = reader.ReadUInt16();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
u32_0 = reader.ReadUInt32();
b_4 = reader.ReadByte();
if (b_4 == 1)
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
NpcType = reader.ReadUInt32();
b_4 = reader.ReadByte();
b_5 = reader.ReadByte();
if (b_5 == 1)
b_6 = reader.ReadByte();
b_7 = reader.ReadByte();
u32_0 = reader.ReadUInt32();
b_6 = reader.ReadByte();
if (b_6 == 1)
b_7 = reader.ReadByte();
b_8 = reader.ReadByte();
if (b_8 == 1)
u16_0 = reader.ReadUInt16();
u32_1 = reader.ReadUInt32();
b_9 = reader.ReadByte();
b_10 = reader.ReadByte();
if (b_10 == 1)
b_11 = reader.ReadByte();
b_12 = reader.ReadByte();
if (b_9 == 1)
u32_2 = reader.ReadUInt32();
statusEffectDatas = reader.ReadList<StatusEffectData>();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
NpcId = reader.ReadUInt64();
b_12 = reader.ReadByte();
if (b_12 == 1)
b_13 = reader.ReadByte();
b_14 = reader.ReadByte();
if (b_14 == 1)
b_15 = reader.ReadByte();
u32_3 = reader.ReadUInt32();
statPair = reader.Read<StatPair>();
b_15 = reader.ReadByte();
if (b_15 == 1)
u64_0 = reader.ReadUInt64();
b_16 = reader.ReadByte();
if (b_16 == 1)
b_17 = reader.ReadByte();
u16_1 = reader.ReadUInt16();
u16_2 = reader.ReadUInt16();
b_17 = reader.ReadByte();
b_18 = reader.ReadByte();
if (b_18 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
NpcId = reader.ReadUInt64();
u32_4 = reader.ReadUInt32();
b_19 = reader.ReadByte();
if (b_19 == 1)
b_20 = reader.ReadByte();
u64_0 = reader.ReadUInt64();
statPair = reader.Read<StatPair>();
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
b_20 = reader.ReadByte();
if (b_20 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
b_21 = reader.ReadByte();
b_22 = reader.ReadByte();
if (b_22 == 1)
u32_4 = reader.ReadUInt32();
u64list_0 = reader.ReadList<UInt64>();
b_23 = reader.ReadByte();
if (b_23 == 1)
u64list_0 = reader.ReadList<UInt64>();
b_24 = reader.ReadByte();
u16_1 = reader.ReadUInt16();
u16_2 = reader.ReadUInt16();
}
}
}
62 changes: 31 additions & 31 deletions LostArkLogger/Packets/Steam/PCStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@ public partial class PCStruct
{
public void SteamDecode(BitReader reader)
{
u32list_0 = reader.ReadList<UInt32>();
b_0 = reader.ReadByte();
b_3 = reader.ReadByte();
b_7 = reader.ReadByte();
Name = reader.ReadString();
PlayerId = reader.ReadUInt64();
bytearray_2 = reader.ReadBytes(5);
u32_8 = reader.ReadUInt32();
bytearray_0 = reader.ReadBytes(25);
u64_0 = reader.ReadUInt64();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
b_7 = reader.ReadByte();
u32_6 = reader.ReadUInt32();
b_12 = reader.ReadByte();
str_0 = reader.ReadString();
Level = reader.ReadUInt16();
skillRunes = reader.Read<SkillRunes>();
u32list_0 = reader.ReadList<UInt32>();
GearLevel = reader.ReadUInt32();
u32_8 = reader.ReadUInt32();
statusEffectDatas = reader.ReadList<StatusEffectData>();
statPair = reader.Read<StatPair>();
u32_0 = reader.ReadUInt32();
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
Level = reader.ReadUInt16();
u16_0 = reader.ReadUInt16();
b_0 = reader.ReadByte();
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
u32_1 = reader.ReadUInt32();
EquippedItems = reader.ReadList<ItemInfo>();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u32_3 = reader.ReadUInt32();
ClassId = reader.ReadUInt16();
PartyId = reader.ReadUInt64();
u16_0 = reader.ReadUInt16();
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
b_4 = reader.ReadByte();
bytearray_2 = reader.ReadBytes(5);
u32_2 = reader.ReadUInt32();
b_5 = reader.ReadByte();
bytearray_0 = reader.ReadBytes(25);
if (b_5 == 1)
bytearray_1 = reader.ReadBytes(12);
u32_3 = reader.ReadUInt32();
str_0 = reader.ReadString();
skillRunes = reader.Read<SkillRunes>();
PartyId = reader.ReadUInt64();
b_6 = reader.ReadByte();
u32_4 = reader.ReadUInt32();
u32_5 = reader.ReadUInt32();
b_8 = reader.ReadByte();
Name = reader.ReadString();
itemInfos = reader.ReadList<ItemInfo>();
b_9 = reader.ReadByte();
if (b_9 == 1)
bytearray_1 = reader.ReadBytes(12);
u16_1 = reader.ReadUInt16();
statPair = reader.Read<StatPair>();
statusEffectDatas = reader.ReadList<StatusEffectData>();
GearLevel = reader.ReadUInt32();
u32_6 = reader.ReadUInt32();
b_8 = reader.ReadByte();
b_9 = reader.ReadByte();
ClassId = reader.ReadUInt16();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
PlayerId = reader.ReadUInt64();
u32_5 = reader.ReadUInt32();
b_10 = reader.ReadByte();
b_11 = reader.ReadByte();
u16_2 = reader.ReadUInt16();
u16_3 = reader.ReadUInt16();
u32_7 = reader.ReadUInt32();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
b_11 = 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_2 = reader.ReadBytes(0);
SourceId = reader.ReadUInt64();
bytearray_1 = reader.ReadBytes(1);
SourceId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(4);
TargetId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(6);
bytearray_2 = reader.ReadBytes(1);
}
}
}
14 changes: 7 additions & 7 deletions LostArkLogger/Packets/Steam/PKTDeathNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ public partial class PKTDeathNotify
{
public void SteamDecode(BitReader reader)
{
u32_0 = reader.ReadUInt32();
u16_0 = reader.ReadUInt16();
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
if (b_2 == 1)
b_3 = reader.ReadByte();
u64_0 = reader.ReadUInt64();
SourceId = reader.ReadUInt64();
b_4 = reader.ReadByte();
u32_0 = reader.ReadUInt32();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
TargetId = reader.ReadUInt64();
b_3 = reader.ReadByte();
if (b_3 == 1)
b_4 = reader.ReadByte();
b_5 = reader.ReadByte();
if (b_5 == 1)
b_6 = reader.ReadByte();
Expand Down
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Steam/PKTInitEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ public partial class PKTInitEnv
public void SteamDecode(BitReader reader)
{
s64_1 = reader.ReadUInt64();
subPKTInitEnv5 = reader.Read<subPKTInitEnv5>();
b_0 = reader.ReadByte();
PlayerId = reader.ReadUInt64();
blist_0 = reader.ReadList<Byte>();
u32_0 = reader.ReadUInt32();
b_0 = reader.ReadByte();
subPKTInitEnv5 = reader.Read<subPKTInitEnv5>();
s64_0 = reader.ReadSimpleInt();
u32_0 = reader.ReadUInt32();
u32_1 = reader.ReadUInt32();
}
}
Expand Down
Loading

0 comments on commit 42b372e

Please sign in to comment.