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. [...] |
The index of this pin. [...] | ||
| owner | :: R LuaPlayer | The player that this pin belongs to. |
The player that this pin belongs to. | ||
| player | :: R LuaPlayer? | W PlayerIdentification? | The player that this pin targets, if any. |
The player that this pin targets, if any. | ||
| targets | :: RW array[LuaEntity] | The entities that this pin targets, if any. |
The entities that this pin targets, if any. | ||
| surface_index | :: RW uint32? | The surface index if this pin specifically targets a surface and position. [...] |
The surface index if this pin specifically targets a surface and position. [...] | ||
| position | :: RW MapPosition? | The position if this pin specifically targets a surface and position. [...] |
The position if this pin specifically targets a surface and position. [...] | ||
| chart_tag | :: RW LuaCustomChartTag? | The custom chart tag, if this pin specifically targets a chart tag. [...] |
The custom chart tag, if this pin specifically targets 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 this pin targets an alert. |
The type of alert this pin is for, if this pin targets an alert. | ||
| alert_positions | :: RW array[MapPosition] | The alert positions, if this pin targets an alert. |
The alert positions, if this pin targets an alert. | ||
| 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. [...] | ||


