1
0
KF2-Dev-Scripts/KFGame/Classes/KFGFxStoreContainer_Details.uc

35 lines
1.2 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFGFxStoreContainer_Details
//=============================================================================
// Class Description
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Zane Gholson 9/18/2015
//=============================================================================
class KFGFxStoreContainer_Details extends KFGFxObject_Container;
var localized string AddToCartString;
var localized string PreviewString;
var localized string LookUpOnMarketString;
function Initialize( KFGFxObject_Menu NewParentMenu )
{
super.Initialize( NewParentMenu );
LocalizeText();
}
function LocalizeText()
{
local GFxObject LocalizedObject;
LocalizedObject = CreateObject( "Object" );
LocalizedObject.SetString("cancel", Class'KFCommon_LocalizedStrings'.default.BackString);
LocalizedObject.SetString("preview", PreviewString);
LocalizedObject.SetString("addToCart", AddToCartString);
SetObject("localizedText", LocalizedObject);
}