ClassLuaPinnew
Members
| destroy() | Destroys this pin. | |
Destroys this pin. | ||
| get_pin_center() | → MapPosition? | The center of this pin if it can be computed. |
The center of this pin if it can be computed. | ||
| index | :: R uint32 | The index of this pin (unique to this player). [...] |
The index of this pin (unique to this player). [...] | ||
| owner | :: R LuaPlayer | The player that this pin belongs to. |
The player that this pin belongs to. | ||
| player | :: RW LuaPlayer? | The player that this pin is bound to. |
The player that this pin is bound to. | ||
| targets | :: RW array[LuaEntity] | The targets of this pin - if any. |
The targets of this pin - if any. | ||
| surface_index | :: RW uint32? | The surface index if this pin specifically binds to a surface and position. [...] |
The surface index if this pin specifically binds to a surface and position. [...] | ||
| position | :: RW MapPosition? | The position if this pin specifically binds to a surface and position. [...] |
The position if this pin specifically binds to a surface and position. [...] | ||
| chart_tag | :: RW LuaCustomChartTag? | The custom chart tag - if this pin specificaly binds to a chart tag. [...] |
The custom chart tag - if this pin specificaly binds to a chart tag. [...] | ||
| label | :: RW string | The label for this pin - if any. [...] |
The label for this pin - if any. [...] | ||
| always_visible | :: RW boolean | |
| preview_distance | :: RW uint16 | The radius (in tiles) that is shown in the tooltip for this pin. |
The radius (in tiles) that is shown in the tooltip for this pin. | ||
| alert_type | :: RW defines.alert_type? | The type of alert this pin is for (if configured to be about alerts). |
The type of alert this pin is for (if configured to be about alerts). | ||
| alert_positions | :: RW array[MapPosition] | The alert positions if this pin is configured to show alert data. |
The alert positions if this pin is configured to show alert data. | ||
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||


