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

# Factorio Runtime Docs Version 2.0.77

# uint64 - Runtime Docs

## uint64 :: builtin

64-bit unsigned integer. Possible values are `0` to `18 446 744 073 709 551 615`.

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

Concept used in

- LuaBootstrap::register_on_object_destroyed()
- LuaEntity::time_to_live
- LuaEntity::unit_number
- LuaEntity::ghost_unit_number
- LuaFlowStatistics::get_input_count()
- LuaFlowStatistics::set_input_count()
- LuaFlowStatistics::get_output_count()
- LuaFlowStatistics::set_output_count()
- LuaFlowStatistics::get_storage_count()
- LuaFlowStatistics::set_storage_count()
- LuaFlowStatistics::input_counts
- LuaFlowStatistics::output_counts
- LuaFlowStatistics::storage_counts
- LuaItemCommon::item_number
- LuaRenderObject::id
- LuaRendering::get_object_by_id()
- LuaSegmentedUnit::unit_number
- MapTick
- on_object_destroyed