5 protected static const ResourceName LAYOUT =
"{ABF8E40093827358}UI/layouts/Menus/Common/DetailsPanel/Prefabs/AddonInfo.layout";
8 HorizontalLayoutWidget m_wDependenciesHorizontalLayout;
9 TextWidget m_wDependencies;
10 HorizontalLayoutWidget m_wDependentHorizontalLayout;
11 TextWidget m_wDependent;
12 HorizontalLayoutWidget m_wVersionUpdateHorizontalLayout;
13 TextWidget m_wUpdateVersion;
14 TextWidget m_wCurrentVersion;
15 ImageWidget m_wCurrentVersionIcon;
16 TextWidget m_wModRating;
17 HorizontalLayoutWidget m_wLastDownloadedHorizontalLayout;
18 TextWidget m_wLastDownloaded;
21 bool Init(Widget root)
23 m_wModSize = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutLeft.ModSizeHorizontalLayout.m_wModSize"));
24 m_wDependenciesHorizontalLayout = HorizontalLayoutWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutLeft.m_wDependenciesHorizontalLayout"));
25 m_wDependencies = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutLeft.m_wDependenciesHorizontalLayout.m_wDependencies"));
26 m_wDependentHorizontalLayout = HorizontalLayoutWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutLeft.m_wDependentHorizontalLayout"));
27 m_wDependent = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutLeft.m_wDependentHorizontalLayout.m_wDependent"));
28 m_wVersionUpdateHorizontalLayout = HorizontalLayoutWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.ModVersionHorizontalLayout.m_wVersionUpdateHorizontalLayout"));
29 m_wUpdateVersion = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.ModVersionHorizontalLayout.m_wVersionUpdateHorizontalLayout.m_wUpdateVersion"));
30 m_wCurrentVersion = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.ModVersionHorizontalLayout.m_wCurrentVersion"));
31 m_wCurrentVersionIcon = ImageWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.ModVersionHorizontalLayout.m_wCurrentVersionIcon"));
32 m_wModRating = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.ModRatingHorizontalLayout.m_wModRating"));
33 m_wLastDownloadedHorizontalLayout = HorizontalLayoutWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.LastDownloadedSize.m_wLastDownloadedHorizontalLayout"));
34 m_wLastDownloaded = TextWidget.Cast(root.FindWidget(
"AddonInfoHorizontalLayoutMain.AddonInfoVerticalLayoutRight.LastDownloadedSize.m_wLastDownloadedHorizontalLayout.m_wLastDownloaded"));
40 ResourceName GetLayout()