#pragma once #include #include "rem/fl_types.h" #include "rem/st6.h" namespace rem::features { struct PlayerData { BYTE x00[0x264]; UINT currentShipId; BYTE x268[0xBC]; UINT shipIdOnLand; }; struct BaseGood { BYTE x00[0x8]; UINT goodId; float price; int minQuantity; int maxQuantity; DWORD unknown18; bool IsShipCandidate() const { return unknown18 == 0 || unknown18 == 2; } }; struct BaseGoodCollection { UINT baseName; UINT launchpadName; DWORD unknown08; float unknown0C; st6::list goods; bool HasShipPackageWithGood(UINT goodId); }; struct MarketGood { BYTE x00[0x10]; DWORD type; }; struct BaseMarket { UINT baseName; BaseGoodCollection* baseGoods; }; void InitShipBuyKickFix(); }