GetItemTypes
getItemTypes
AVAILABLE FROM UPDATE 0.1.9
Planned for 0.1.9; not yet publicly released. Not included in public 0.1.8. See the scope and validation notes below.
Lists known canonical item-type keys, not inventory contents.
Syntax
items = getItemTypes()
Parameters
This function does not accept parameters.
Returns
A 1-based array of strings. Listing a type does not imply that every property is writable.
Examples
for _, item in ipairs(getItemTypes()) do
outputDebugString(item)
end
Notes
- Planned for G1R:MP 0.1.9; not yet publicly released and not included in public 0.1.8. This documents the implemented development API, not a release announcement. See Item type stats for scope and remaining in-game validation.
- Server-side only. Profiles affect every copy of the same type on this server, across dimensions; not individual item instances.
- Use matching supported client and server builds. Server acceptance and a client application report do not prove the native gameplay effect.