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

KFStoryUI.KFTab_BuyMenu_Story


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
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
/*
	--------------------------------------------------------------
	KFTab_BuyMenu_Story
	--------------------------------------------------------------

	Main Trader Menu class
	extended to add support for story elements.

	Author :  Alex Quick

	--------------------------------------------------------------
*/


class KFTab_BuyMenu_Story extends KFTab_BuyMenu;


function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	Super.InitComponent(MyController, MyOwner);
	FillInfoTextFromVolume();
}


function FillInfoTextFromVolume()
{
	local KFShopVolume_Story		CurrentPlayerShop;

	if(KFPlayerController_Story(PlayerOwner()) != none)
	{
		CurrentplayerShop = KFPlayerController_Story(PlayerOwner()).CurrentShopVolume  ;
		if(CurrentPlayerShop != none &&
		CurrentPlayerShop.WelcomeText != "")
		{
			InfoText[0] = CurrentPlayerShop.WelcomeText;
		}
	}
}

defaultproperties
{
     Begin Object Class=KFBuyMenuInvListBox_Story Name=InventoryBox
         OnCreateComponent=InventoryBox.InternalOnCreateComponent
         WinTop=0.070841
         WinLeft=0.000108
         WinWidth=0.328204
         WinHeight=0.521856
     End Object
     InvSelect=KFBuyMenuInvListBox_Story'KFStoryUI.KFTab_BuyMenu_Story.InventoryBox'

     Begin Object Class=KFBuyMenuSaleListBox_Story Name=SaleBox
         OnCreateComponent=SaleBox.InternalOnCreateComponent
         WinTop=0.064312
         WinLeft=0.672632
         WinWidth=0.325857
         WinHeight=0.674039
     End Object
     SaleSelect=KFBuyMenuSaleListBox_Story'KFStoryUI.KFTab_BuyMenu_Story.SaleBox'

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:28.000 - Creation time: Fri 13-10-2023 03:19:04.262 - Created with UnCodeX