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

KFGui.GUILibraryMenu

Extends
UT2K4MainPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.UT2K4MainPage
                  |   
                  +-- KFGui.GUILibraryMenu

Constants Summary
LIBLIST_CATS=3

Variables Summary
array<GUIShowable>AllBuyableItems
array<string>BuyListHeaders
array<string>BuyListItemNames
SoundBuySound
GUISectionBackgroundCategoryBG
GUIListBoxCategoryBox
floatGameDifficulty
GUISectionBackgroundInfoBG
GUISectionBackgroundItemBG
GUILibraryItemsBoxItemsBox
floatmaxweight
GUIListmyCategories
GUIShowLibListmyItems
intplayerscore
floatplayerweight
GUIPanelp_Info
floatSavedPitch
SoundSellSound
GUILabelTimerBox
Inherited Variables from GUI2K4.UT2K4MainPage
c_Tabs, HighScoreFile, i_Background, i_bkChar, i_bkScan, PanelCaption, PanelClass, PanelHint, TotalUnlockedCharacters, t_Footer, t_Header
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound

Functions Summary
function BuyCurrent ()))
function BuyFill ()))
functionbool CanAfford (GUIShowable b))
functionbool CanAutoAmmo ()))
function CategoryChange (GUIComponent Sender))
function CloseSale (bool savePurchases))
function DoAutoAmmo ()))
functionGUIShowable FindWeapon (class<Inventory> WeaponType))
event HandleParameters (string Param1, string Param2))
function InitAmmoForNewGun (class<Inventory> WeaponType))
function InitComponent (GUIController MyController, GUIComponent MyOwner ))
function KFBuyMenuClosed (optional Bool bCanceled))
function NewInfo (GUIShowable b))
event Opened (GUIComponent Sender))
Inherited Functions from GUI2K4.UT2K4MainPage
GetRestoreParams, HandleParameters, InitComponent, InternalOnChange, IsUnlocked, UnlockCharacter


Constants Detail

LIBLIST_CATS Source code

const LIBLIST_CATS = 3;


Variables Detail

AllBuyableItems Source code

var array<GUIShowable> AllBuyableItems;

BuyListHeaders Source code

var array<string> BuyListHeaders;

BuyListItemNames Source code

var array<string> BuyListItemNames;

BuySound Source code

var Sound BuySound;

CategoryBG Source code

var automated GUISectionBackground CategoryBG;

CategoryBox Source code

var automated GUIListBox CategoryBox;

GameDifficulty Source code

var float GameDifficulty;

InfoBG Source code

var automated GUISectionBackground InfoBG;

ItemBG Source code

var automated GUISectionBackground ItemBG;

ItemsBox Source code

var automated GUILibraryItemsBox ItemsBox;

maxweight Source code

var float maxweight;

myCategories Source code

var GUIList myCategories;

myItems Source code

var GUIShowLibList myItems;

playerscore Source code

var int playerscore;

playerweight Source code

var float playerweight;

p_Info Source code

var automated GUIPanel p_Info;

SavedPitch Source code

var editconst noexport float SavedPitch;

SellSound Source code

var Sound SellSound;

TimerBox Source code

var GUILabel TimerBox;


Functions Detail

BuyCurrent Source code

function BuyCurrent ( ) )

BuyFill Source code

function BuyFill ( ) )

CanAfford Source code

function bool CanAfford ( GUIShowable b) )

CanAutoAmmo Source code

function bool CanAutoAmmo ( ) )

CategoryChange Source code

function CategoryChange ( GUIComponent Sender) )

CloseSale Source code

function CloseSale ( bool savePurchases) )

DoAutoAmmo Source code

function DoAutoAmmo ( ) )

FindWeapon Source code

function GUIShowable FindWeapon ( class<Inventory> WeaponType) )

HandleParameters Source code

event HandleParameters ( string Param1, string Param2) )

InitAmmoForNewGun Source code

function InitAmmoForNewGun ( class<Inventory> WeaponType) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner ) )

KFBuyMenuClosed Source code

function KFBuyMenuClosed ( optional Bool bCanceled) )

NewInfo Source code

function NewInfo ( GUIShowable b) )

Opened Source code

event Opened ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIListBox Name=BoxForCategories
         bVisibleWhenEmpty=True
         OnCreateComponent=BoxForCategories.InternalOnCreateComponent
         Hint="Choose among these categories of equipment."
         WinTop=0.110215
         WinLeft=0.020000
         WinWidth=0.400000
         WinHeight=0.500000
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
         OnChange=GUILibraryMenu.CategoryChange
     End Object
     CategoryBox=GUIListBox'KFGui.GUILibraryMenu.BoxForCategories'


     Begin Object Class=GUILibraryItemsBox Name=itmbox
         bVisibleWhenEmpty=True
         bSorted=True
         OnCreateComponent=itmbox.InternalOnCreateComponent
         Hint="Equipment in this category"
         WinHeight=1.000000
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
     End Object
     ItemsBox=GUILibraryItemsBox'KFGui.GUILibraryMenu.itmbox'


     Begin Object Class=AltSectionBackground Name=catbg
         Caption="Categories"
         WinTop=0.060215
         WinLeft=0.010000
         WinWidth=0.440000
         WinHeight=0.383940
         OnPreDraw=catbg.InternalPreDraw
     End Object
     CategoryBG=AltSectionBackground'KFGui.GUILibraryMenu.catbg'


     Begin Object Class=AltSectionBackground Name=itmbg
         Caption="Items"
         WinTop=0.060215
         WinLeft=0.480000
         WinWidth=0.500000
         WinHeight=0.880000
         OnPreDraw=itmbg.InternalPreDraw
     End Object
     ItemBG=AltSectionBackground'KFGui.GUILibraryMenu.itmbg'


     Begin Object Class=AltSectionBackground Name=infbg
         Caption="Info"
         WinTop=0.454030
         WinLeft=0.010000
         WinWidth=0.440000
         WinHeight=0.486185
         OnPreDraw=infbg.InternalPreDraw
     End Object
     InfoBG=AltSectionBackground'KFGui.GUILibraryMenu.infbg'


     Begin Object Class=GUILabel Name=TimerTextBox
         Caption="SHOP CLOSES IN: "
         WinTop=0.250000
         WinLeft=0.100000
         WinWidth=0.200000
         WinHeight=0.200000
         bNeverFocus=True
     End Object
     TimerBox=GUILabel'KFGui.GUILibraryMenu.TimerTextBox'


     SellSound=SoundGroup'KF_InventorySnd.Cash_Pickup'
     BuySound=Sound'PatchSounds.slide1-5'
     Begin Object Class=GUITabControl Name=PageTabs
         bDockPanels=True
         TabHeight=0.040000
         WinLeft=0.010000
         WinWidth=0.980000
         WinHeight=0.040000
         RenderWeight=0.490000
         TabOrder=3
         bAcceptsInput=True
         OnActivate=PageTabs.InternalOnActivate
     End Object
     c_Tabs=GUITabControl'KFGui.GUILibraryMenu.PageTabs'


     Begin Object Class=GUILibraryMenuFooter Name=LibFooter
         WinTop=0.957943
         RenderWeight=0.300000
         TabOrder=8
         OnPreDraw=BuyFooter.InternalOnPreDraw
     End Object
     t_Footer=GUILibraryMenuFooter'KFGui.GUILibraryMenu.LibFooter'


     Begin Object Class=BackgroundImage Name=KFBackground
         Image=Texture'2K4Menus.Controls.LockerBG'
         ImageStyle=ISTY_Tiled
         RenderWeight=0.010000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     i_Background=BackgroundImage'KFGui.GUILibraryMenu.KFBackground'


     bAllowedAsLast=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:45.153 - Created with UnCodeX