32 lines
751 B
Ucode
32 lines
751 B
Ucode
class ScrnTraderRequirementsListBox extends GUIListBoxBase;
|
|
|
|
var ScrnTraderRequirementsList List;
|
|
|
|
function InitComponent(GUIController MyController, GUIComponent MyOwner)
|
|
{
|
|
Super.InitComponent(MyController,MyOwner);
|
|
|
|
if ( DefaultListClass != "" )
|
|
{
|
|
List = ScrnTraderRequirementsList(AddComponent(DefaultListClass));
|
|
if ( List == none )
|
|
{
|
|
log(Class$".InitComponent - Could not create default list ["$DefaultListClass$"]");
|
|
return;
|
|
}
|
|
}
|
|
|
|
if ( List == none )
|
|
{
|
|
Warn("Could not initialize list!");
|
|
return;
|
|
}
|
|
|
|
InitBaseList(List);
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
DefaultListClass="ScrnBalanceSrv.ScrnTraderRequirementsList"
|
|
}
|