Class: TributeButton

DiplomacyDialogPlayerControl#TributeButtonManager#TributeButton()

This class manages one tribute button for one tributable resource for one receiving player. Players may tribute mass amounts of resources by clicking multiple times on the button while holding a hotkey.

Constructor

new TributeButton()

Source:

Members

DefaultAmount

Source:

MassAmount

Source:

ResourceIconPath

Source:

Tooltip

Source:

amount

Source:

amount

Source:

button

Source:

playerID

Source:

resCode

Source:

Methods

nextAmount()

Source:

onMassTributeRelease()

Source:

onPress()

Source:

performTribute()

Source:

setAmount()

Source:

update()

Source: