Avorion Script API Documentation

Tooltip

function Tooltip()

This is the default constructor of Tooltip. No further arguments are required.

Returns

A new instance of Tooltip

property Color backgroundFadeColor
property Color borderColor
property string icon
property double price
property Rarity rarity[write-only]

function var addLine(TooltipLine line)

Returns

nothing

function var addLineFront(TooltipLine line)

Returns

nothing

function var clear()

Returns

nothing

function string... getIcons()

function TooltipLine getLine(int i)

function TooltipLine... getLines()

function var removeLine(int i)

Returns

nothing

function var setIcons()

Returns

nothing

function var setLine(int i, TooltipLine line)

Returns

nothing

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7