bot4dofus / Datafus

📚🥚 The Dofus database and socket events in JSON files. Includes the source code and more...
https://discord.gg/kNHsFcbUGp
MIT License
50 stars 13 forks source link

[A2] Check `uint` and `int` serialized type for vectors #28

Closed LucBerge closed 1 year ago

LucBerge commented 1 year ago

In HouseOnMapInformations.as there is an attribut called doorsOnMap which is a Vector.<uint>. In the serialize method, it is serialized as an Int.

In UpdatedStorageTabInformation.as there is an attribut called dropTypeLimitation which is a Vector.<uint>. In the serialize method, it is serialized as a VarInt.

Vector.<uint> and Vector.<int> must be check just like uint and int attributs.