Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

TribesGUI.TribesInventoryLoadoutButton


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
class TribesInventoryLoadoutButton extends TribesInventoryButton;

var InventoryStationAccess.InventoryStationLoadout	loadoutData;
var CustomPlayerLoadout	customLoadoutData;

var int					slotIndex;
var bool				bEmptySlot;
var localized String	emptyText;

function Refresh()
{
	Caption = customLoadoutData.loadoutName;
}

function SetEmpty(bool empty)
{
	bEmptySlot = empty;
	if(bEmptySlot)
		Caption = emptyText;
}

defaultproperties
{
	bAllowMultiLine = true
	bEmptySlot	 = true
	emptyText	= "Empty"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: st 16.4.2014 10:20:44.000 - Creation time: st 23.5.2018 00:10:48.397 - Created with UnCodeX