rott/kf_sources/ServerPerks/Classes/SRStatListBox.uc
2026-07-14 20:27:09 +07:00

26 lines
527 B
Ucode

class SRStatListBox extends GUIListBoxBase;
var SRStatList List;
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
DefaultListClass = string(Class'SRStatList');
Super.InitComponent(MyController,MyOwner);
List = SRStatList(AddComponent(DefaultListClass));
if (List == None)
{
Warn(Class$".InitComponent - Could not create default list ["$DefaultListClass$"]");
return;
}
InitBaseList(List);
}
function int GetIndex()
{
return List.Index;
}
defaultproperties
{
}