Skip to content

Commit

Permalink
kr 1822798
Browse files Browse the repository at this point in the history
kr 1822798
  • Loading branch information
shalzuth committed Aug 10, 2022
1 parent 6156f8d commit 9903995
Show file tree
Hide file tree
Showing 31 changed files with 238 additions and 235 deletions.
4 changes: 2 additions & 2 deletions LostArkLogger/Packets/Korea/ItemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ public partial class ItemInfo
{
public void KoreaDecode(BitReader reader)
{
bytearraylist_0 = reader.ReadList<Byte[]>(14);
u32_0 = reader.ReadUInt32();
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
Level = reader.ReadUInt16();
bytearraylist_0 = reader.ReadList<Byte[]>(14);
s64_0 = reader.ReadSimpleInt();
u16_0 = reader.ReadUInt16();
u32_0 = reader.ReadUInt32();
}
}
}
94 changes: 47 additions & 47 deletions LostArkLogger/Packets/Korea/NpcStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,72 +9,72 @@ public void KoreaDecode(BitReader reader)
b_0 = reader.ReadByte();
if (b_0 == 1)
u32_0 = reader.ReadUInt32();
b_1 = reader.ReadByte();
if (b_1 == 1)
b_2 = reader.ReadByte();
b_12 = reader.ReadByte();
if (b_12 == 1)
u16_0 = reader.ReadUInt16();
u16_2 = reader.ReadUInt16();
b_23 = reader.ReadByte();
if (b_23 == 1)
u16_3 = reader.ReadUInt16();
statusEffectDatas = reader.ReadList<StatusEffectData>();
NpcType = reader.ReadUInt32();
b_20 = reader.ReadByte();
if (b_20 == 1)
u32_2 = reader.ReadUInt32();
b_24 = reader.ReadByte();
if (b_24 == 1)
u32_5 = reader.ReadUInt32();
b_25 = reader.ReadByte();
if (b_25 == 1)
u64_1 = reader.ReadUInt64();
b_26 = reader.ReadByte();
b_27 = reader.ReadByte();
if (b_27 == 1)
b_28 = reader.ReadByte();
b_29 = reader.ReadByte();
if (b_29 == 1)
b_30 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
b_4 = reader.ReadByte();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
if (b_26 == 1)
b_27 = reader.ReadByte();
statPair = reader.Read<StatPair>();
b_28 = reader.ReadByte();
if (b_28 == 1)
b_29 = reader.ReadByte();
b_30 = reader.ReadByte();
if (b_30 == 1)
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
b_1 = reader.ReadByte();
if (b_1 == 1)
u16_0 = reader.ReadUInt16();
b_2 = reader.ReadByte();
if (b_2 == 1)
b_3 = reader.ReadByte();
b_4 = reader.ReadByte();
if (b_4 == 1)
u64_0 = reader.ReadUInt64();
b_5 = reader.ReadByte();
if (b_5 == 1)
u32_1 = reader.ReadUInt32();
b_6 = reader.ReadByte();
if (b_6 == 1)
b_7 = reader.ReadByte();
b_6 = reader.ReadByte();
b_7 = reader.ReadByte();
if (b_7 == 1)
blist_0 = reader.ReadList<Byte>();
b_8 = reader.ReadByte();
if (b_8 == 1)
subPKTNewNpc66 = reader.Read<subPKTNewNpc66>();
NpcId = reader.ReadUInt64();
u64_0 = reader.ReadUInt64();
statPair = reader.Read<StatPair>();
u16_1 = reader.ReadUInt16();
b_9 = reader.ReadByte();
if (b_9 == 1)
b_10 = reader.ReadByte();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u32_1 = reader.ReadUInt32();
NpcId = reader.ReadUInt64();
u16_2 = reader.ReadUInt16();
b_11 = reader.ReadByte();
if (b_11 == 1)
u16_3 = reader.ReadUInt16();
b_12 = reader.ReadByte();
if (b_12 == 1)
bytearraylist_0 = reader.ReadList<Byte[]>(12);
b_13 = reader.ReadByte();
b_14 = reader.ReadByte();
if (b_14 == 1)
u32_2 = reader.ReadUInt32();
u32_3 = reader.ReadUInt32();
if (b_13 == 1)
b_14 = reader.ReadByte();
b_15 = reader.ReadByte();
NpcType = reader.ReadUInt32();
u16_1 = reader.ReadUInt16();
b_16 = reader.ReadByte();
if (b_16 == 1)
u64list_0 = reader.ReadList<UInt64>();
statusEffectDatas = reader.ReadList<StatusEffectData>();
if (b_15 == 1)
b_16 = reader.ReadByte();
b_17 = reader.ReadByte();
b_18 = reader.ReadByte();
if (b_18 == 1)
u32_4 = reader.ReadUInt32();
u64_1 = reader.ReadUInt64();
b_19 = reader.ReadByte();
if (b_19 == 1)
b_20 = reader.ReadByte();
b_21 = reader.ReadByte();
if (b_21 == 1)
u32_3 = reader.ReadUInt32();
b_22 = reader.ReadByte();
if (b_22 == 1)
u32_5 = reader.ReadUInt32();
b_23 = reader.ReadByte();
if (b_23 == 1)
u32_4 = reader.ReadUInt32();
}
}
}
68 changes: 34 additions & 34 deletions LostArkLogger/Packets/Korea/PCStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,52 @@ public partial class PCStruct
{
public void KoreaDecode(BitReader reader)
{
u16_0 = reader.ReadUInt16();
b_0 = reader.ReadByte();
b_1 = reader.ReadByte();
b_6 = reader.ReadByte();
u32_4 = reader.ReadUInt32();
u32_6 = reader.ReadUInt32();
b_12 = reader.ReadByte();
b_3 = reader.ReadByte();
b_4 = reader.ReadByte();
u32_7 = reader.ReadUInt32();
bytearray_2 = reader.ReadBytes(5);
u32_8 = reader.ReadUInt32();
u16_3 = reader.ReadUInt16();
statusEffectDatas = reader.ReadList<StatusEffectData>();
u32_0 = reader.ReadUInt32();
b_11 = reader.ReadByte();
u32_8 = reader.ReadUInt32();
b_12 = reader.ReadByte();
Level = reader.ReadUInt16();
Name = reader.ReadString();
statPair = reader.Read<StatPair>();
u16_1 = reader.ReadUInt16();
skillRunes = reader.Read<SkillRunes>();
bytearray_2 = reader.ReadBytes(5);
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
bytearray_1 = reader.ReadBytes(12);
PlayerId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
u16_2 = reader.ReadUInt16();
u32_1 = reader.ReadUInt32();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
u32_2 = reader.ReadUInt32();
u32_3 = reader.ReadUInt32();
ClassId = reader.ReadUInt16();
GearLevel = reader.ReadUInt32();
b_4 = reader.ReadByte();
skillRunes = reader.Read<SkillRunes>();
u16_0 = reader.ReadUInt16();
u16list_0 = reader.ReadList<UInt16>();
itemInfos = reader.ReadList<ItemInfo>();
u64_0 = reader.ReadUInt64();
PartyId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(25);
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u32_4 = reader.ReadUInt32();
u32_5 = reader.ReadUInt32();
b_5 = reader.ReadByte();
b_6 = reader.ReadByte();
b_7 = reader.ReadByte();
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
if (b_7 == 1)
bytearray_1 = reader.ReadBytes(12);
u32list_0 = reader.ReadList<UInt32>();
b_8 = reader.ReadByte();
u32_3 = reader.ReadUInt32();
statPair = reader.Read<StatPair>();
u32_6 = reader.ReadUInt32();
EquippedItems = reader.ReadList<ItemInfo>();
u32list_0 = reader.ReadList<UInt32>();
Name = reader.ReadString();
u16_1 = reader.ReadUInt16();
GearLevel = reader.ReadUInt32();
b_9 = reader.ReadByte();
u32_5 = reader.ReadUInt32();
Level = reader.ReadUInt16();
subPKTNewNpc5 = reader.Read<subPKTNewNpc5>();
b_10 = reader.ReadByte();
PartyId = reader.ReadUInt64();
u64_0 = reader.ReadUInt64();
u16_2 = reader.ReadUInt16();
u16list_0 = reader.ReadList<UInt16>();
u16_3 = reader.ReadUInt16();
b_11 = reader.ReadByte();
PlayerId = reader.ReadUInt64();
itemInfos = reader.ReadList<ItemInfo>();
}
}
}
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Korea/PKTCounterAttackNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ public partial class PKTCounterAttackNotify
{
public void KoreaDecode(BitReader reader)
{
bytearray_2 = reader.ReadBytes(0);
bytearray_1 = reader.ReadBytes(0);
TargetId = reader.ReadUInt64();
bytearray_0 = reader.ReadBytes(5);
bytearray_2 = reader.ReadBytes(4093);
SourceId = reader.ReadUInt64();
bytearray_1 = reader.ReadBytes(2);
bytearray_0 = reader.ReadBytes(10);
}
}
}
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Korea/PKTDeathNotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ public void KoreaDecode(BitReader reader)
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
TargetId = reader.ReadUInt64();
u16_0 = reader.ReadUInt16();
u64_0 = reader.ReadUInt64();
SourceId = reader.ReadUInt64();
TargetId = reader.ReadUInt64();
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
b_4 = reader.ReadByte();
SourceId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
b_5 = reader.ReadByte();
if (b_5 == 1)
Expand Down
8 changes: 4 additions & 4 deletions LostArkLogger/Packets/Korea/PKTInitEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ public partial class PKTInitEnv
{
public void KoreaDecode(BitReader reader)
{
PlayerId = reader.ReadUInt64();
u32_0 = reader.ReadUInt32();
s64_0 = reader.ReadSimpleInt();
s64_1 = reader.ReadUInt64();
u16list_0 = reader.ReadList<UInt16>();
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
b_0 = reader.ReadByte();
PlayerId = reader.ReadUInt64();
u16list_0 = reader.ReadList<UInt16>();
u32_1 = reader.ReadUInt32();
subPKTInitEnv8 = reader.Read<subPKTInitEnv8>();
s64_0 = reader.ReadSimpleInt();
}
}
}
79 changes: 41 additions & 38 deletions LostArkLogger/Packets/Korea/PKTInitPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,64 +6,67 @@ public partial class PKTInitPC
{
public void KoreaDecode(BitReader reader)
{
Name = reader.ReadString();
b_0 = reader.ReadByte();
b_6 = reader.ReadByte();
u16_2 = reader.ReadUInt16();
ClassId = reader.ReadUInt16();
u64_2 = reader.ReadUInt64();
blist_0 = reader.ReadList<Byte>();
statPair = reader.Read<StatPair>();
u32_2 = reader.ReadUInt32();
b_7 = reader.ReadByte();
u32_9 = reader.ReadUInt32();
b_16 = reader.ReadByte();
b_19 = reader.ReadByte();
b_20 = reader.ReadByte();
u16_4 = reader.ReadUInt16();
statusEffectDatas = reader.ReadList<StatusEffectData>();
u64_3 = reader.ReadUInt64();
u16list_0 = reader.ReadList<UInt16>();
PlayerId = reader.ReadUInt64();
bytearray_2 = reader.ReadBytes(35);
bytearraylist_0 = reader.ReadList<Byte[]>(30);
u16_0 = reader.ReadUInt16();
bytearray_3 = reader.ReadBytes(25);
u32_0 = reader.ReadUInt32();
u32_1 = reader.ReadUInt32();
b_0 = reader.ReadByte();
b_1 = reader.ReadByte();
b_2 = reader.ReadByte();
u16_1 = reader.ReadUInt16();
bytearraylist_1 = reader.ReadList<Byte[]>(17);
u64_0 = reader.ReadUInt64();
b_3 = reader.ReadByte();
u32_1 = reader.ReadUInt32();
u32_2 = reader.ReadUInt32();
b_4 = reader.ReadByte();
if (b_4 == 1)
u32_3 = reader.ReadUInt32();
u64_1 = reader.ReadUInt64();
ClassId = reader.ReadUInt16();
u64_2 = reader.ReadUInt64();
b_5 = reader.ReadByte();
u16_0 = reader.ReadUInt16();
u16_1 = reader.ReadUInt16();
b_7 = reader.ReadByte();
bytearray_1 = reader.ReadBytes(8);
Level = reader.ReadUInt16();
bytearray_0 = reader.ReadBytes(102);
blist_0 = reader.ReadList<Byte>();
u32_3 = reader.ReadUInt32();
b_6 = reader.ReadByte();
u64_3 = reader.ReadUInt64();
b_8 = reader.ReadByte();
b_9 = reader.ReadByte();
GearLevel = reader.ReadUInt32();
bytearray_2 = reader.ReadBytes(35);
b_10 = reader.ReadByte();
u32_4 = reader.ReadUInt32();
statPair = reader.Read<StatPair>();
u32_5 = reader.ReadUInt32();
b_9 = reader.ReadByte();
u32_6 = reader.ReadUInt32();
bytearray_1 = reader.ReadBytes(36);
Level = reader.ReadUInt16();
bytearray_0 = reader.ReadBytes(74);
GearLevel = reader.ReadUInt32();
b_10 = reader.ReadByte();
if (b_10 == 1)
u32_7 = reader.ReadUInt32();
u32_8 = reader.ReadUInt32();
u16list_0 = reader.ReadList<UInt16>();
b_11 = reader.ReadByte();
b_12 = reader.ReadByte();
u64_0 = reader.ReadUInt64();
subPKTInitPC29s = reader.ReadList<subPKTInitPC29>();
u64_4 = reader.ReadUInt64();
b_12 = reader.ReadByte();
b_13 = reader.ReadByte();
u16_3 = reader.ReadUInt16();
u32_7 = reader.ReadUInt32();
u16_2 = reader.ReadUInt16();
b_14 = reader.ReadByte();
u32_8 = reader.ReadUInt32();
b_15 = reader.ReadByte();
u32_9 = reader.ReadUInt32();
bytearraylist_0 = reader.ReadList<Byte[]>(30);
u32_10 = reader.ReadUInt32();
b_16 = reader.ReadByte();
u64_1 = reader.ReadUInt64();
u32_11 = reader.ReadUInt32();
bytearray_3 = reader.ReadBytes(25);
b_17 = reader.ReadByte();
statusEffectDatas = reader.ReadList<StatusEffectData>();
Name = reader.ReadString();
u32_11 = reader.ReadUInt32();
b_18 = reader.ReadByte();
u16_3 = reader.ReadUInt16();
u32_12 = reader.ReadUInt32();
b_19 = reader.ReadByte();
PlayerId = reader.ReadUInt64();
}
}
}
6 changes: 3 additions & 3 deletions LostArkLogger/Packets/Korea/PKTNewNpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ public void KoreaDecode(BitReader reader)
b_0 = reader.ReadByte();
if (b_0 == 1)
b_1 = reader.ReadByte();
npcStruct = reader.Read<NpcStruct>();
b_2 = reader.ReadByte();
b_3 = reader.ReadByte();
if (b_3 == 1)
if (b_2 == 1)
u64_0 = reader.ReadUInt64();
b_3 = reader.ReadByte();
npcStruct = reader.Read<NpcStruct>();
}
}
}
Loading

0 comments on commit 9903995

Please sign in to comment.