Home › Dev CE (experimental) › DealItem
Experimental: needs Dev CE (
fork of the Community Extension, release zip and source). A GameCore that adds these Lua methods by calling engine functions directly. Not part of the upstream Community Extension, single-player testing only. Descriptions on these pages were written by an AI assistant from decompiled code and are marked inferred unless a test result confirms them.
DealItem
1 methods (Dev CE test build). this is found with the game's own IDealItem instance resolver (plain).
| Method |
Signature |
Purpose (AI-written, inferred) |
Tested |
Engine function |
Current |
| GetParentType |
DealItem:GetParentType() → number |
Returns the type (via virtual call) of the parent item referenced by this item's parent ID within its deal; 0 if none. |
plumbing: not run (no live object) |
— |
0x586c90 |
Details
GetParentType
Input checks: Checks parent id non-zero and deal pointer non-null.
Multiplayer: read-only, reads city/district state only. Risk: low (pure getter). Confidence of the reading: medium.