Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# uint16 - Runtime Docs

## uint16 :: builtin

16-bit unsigned integer. Possible values are `0` to `65 535`.

Since Lua 5.2 only uses doubles, any API that asks for `uint16` will floor the given double.

Concept used in

- LuaEntity::set_inventory_size_override()
- LuaEntity::get_inventory_size_override()
- LuaFlowStatistics::get_flow_count()
- LuaGameScript::create_inventory()
- LuaHelpers::send_udp()
- LuaInventory::resize()
- LuaPlayer::add_pin()
- LuaRenderObject::blink_interval
- LuaRendering::draw_line()
- LuaRendering::draw_text()
- LuaRendering::draw_circle()
- LuaRendering::draw_rectangle()
- LuaRendering::draw_arc()
- LuaRendering::draw_polygon()
- LuaRendering::draw_sprite()
- LuaRendering::draw_light()
- LuaRendering::draw_animation()
- ItemProduct
- ItemStackIndex
- LogisticFilterIndex
- ResearchIngredient
- SmokeSource
- TriggerEffectItem
- UpgradeMapperDestination
- on_udp_packet_received