WIP items

This commit is contained in:
KimLS
2024-11-22 19:06:18 -08:00
parent 8947058465
commit d713ff69bf
5 changed files with 1118 additions and 9 deletions
File diff suppressed because it is too large Load Diff
+17 -1
View File
@@ -70,7 +70,23 @@ namespace Larion
typeMail,
typeGuildTrophyTribute,
typeKrono,
typeOther
typeOther,
typeMercenaryItems,
typeViewModMercenaryItems,
typeMountKeyRingItems,
typeViewModMountKeyRingItems,
typeIllusionKeyRingItems,
typeViewModIllusionKeyRingItems,
typeFamiliarKeyRingItems,
typeViewModFamiliarKeyRingItems,
typeHeroForgeKeyRingItems,
typeViewModHeroForgeKeyRingItems,
typeTeleportationKeyRingItems,
typeViewModTeleportationKeyRingItems,
typeOverflow,
typeDragonHoard,
typeTradeskillDepot,
typeGuildTradeskillDepot
};
} // namespace enum_
+2
View File
@@ -24,6 +24,7 @@ E(OP_WearChange)
E(OP_ChannelMessage)
E(OP_SpecialMesg)
E(OP_DeleteSpawn)
E(OP_FormattedMessage)
//list of packets we need to decode on the way in:
D(OP_EnterWorld)
D(OP_ZoneEntry)
@@ -31,6 +32,7 @@ D(OP_ZoneChange)
D(OP_ClientUpdate)
D(OP_WearChange)
D(OP_ChannelMessage)
D(OP_SetServerFilter)
#undef E
#undef D
+30
View File
@@ -408,6 +408,36 @@ namespace Larion {
/*05*/
};
//OP_SetServerFilter
struct SetServerFilter_Struct {
uint32 filters[68];
};
// Was new to RoF2, doesn't look changed
// The padding is because these structs are padded to the default 4 bytes
struct InventorySlot_Struct
{
/*000*/ int16 Type;
/*002*/ int16 Padding1;
/*004*/ int16 Slot;
/*006*/ int16 SubIndex;
/*008*/ int16 AugIndex;
/*010*/ int16 Padding2;
/*012*/
};
// Was new for RoF2 - Used for Merchant_Purchase_Struct, doesn't look changed
// Can't sellfrom other than main inventory so Slot Type is not needed.
// The padding is because these structs are padded to the default 4 bytes
struct TypelessInventorySlot_Struct
{
/*000*/ int16 Slot;
/*002*/ int16 SubIndex;
/*004*/ int16 AugIndex;
/*006*/ int16 Padding;
/*008*/
};
#pragma pack()
}; //end namespace structs