[Memhack] ResearchControl - Redacted-Rice/ITB-RedactedRiceExts GitHub Wiki
Memhack ResearchControl
The Memhack ResearchControl struct represents the game's research/storage control system. This provides access to pilots and skills in storage.
It has the standard memhack base struct functions/fields.
Table of Contents
Data
| Field | Type | Offset | Description |
|---|---|---|---|
| storage | [Storage ](/Redacted-Rice/ITB-RedactedRiceExts/wiki/[Memhack]-storage) | 0x68 | The storage system containing pilots and skills |
Data Functions
These are functions that draw from the data in the struct or set the data in the struct
getStorage
StorageResearchControl:getStorage()
Returns the Storage struct containing all pilots and skills available for selection.
Example:
local game = Game:GetMemhackObj()
local researchControl = game:getResearchControl()
local storage = researchControl:getStorage()
Note: The Storage struct always has at least 3 entries due to the game's internal structure. The Storage wrapper automatically handles this offset when accessing items.