26 lines
598 B
Ucode
26 lines
598 B
Ucode
|
/**
|
||
|
* Cache entry for UIGameInfoSummary
|
||
|
*
|
||
|
* Copyright (C) 2011,2014 Tripwire Interactive LLC
|
||
|
*
|
||
|
* @author Michiel 'elmuerte' Hendriks
|
||
|
*/
|
||
|
class DCEGameInfo extends DataStoreCacheEntry;
|
||
|
|
||
|
var string ClassName;
|
||
|
|
||
|
var UIGameInfoSummary data;
|
||
|
|
||
|
function init(UIGameInfoSummary source)
|
||
|
{
|
||
|
data = source;
|
||
|
if (data == none)
|
||
|
{
|
||
|
`warn("No UIGameInfoSummary",,'WebAdmin');
|
||
|
return;
|
||
|
}
|
||
|
FriendlyName = ensureFriendlyName(data.GameName, data.ClassName, string(data.name));
|
||
|
Description = class'WebAdminUtils'.static.getLocalized(data.Description);
|
||
|
ClassName = data.ClassName;
|
||
|
}
|