36 m_Author = MultilineTextWidget.Cast(
m_Root.FindAnyWidget(
"Author"));
37 m_Author.SetLineBreakingOverride(LinebreakOverrideMode.LINEBREAK_WESTERN);
97 string picture =
m_Data.GetPicture();
98 string logo =
m_Data.GetLogoSmall();
100 string description =
m_Data.GetOverview();
101 string author =
m_Data.GetAuthor();
102 string version =
m_Data.GetVersion();
103 string action =
m_Data.GetAction();
124 else if (picture !=
"")
138 if (description !=
"")
161 #ifdef PLATFORM_WINDOWS
170 bool isOwned =
m_Data.GetIsOwned();
171 m_Root.FindAnyWidget(
"ModOwnership").Show(
true );
172 m_Root.FindAnyWidget(
"Owned").Show( isOwned );
173 m_Root.FindAnyWidget(
"Unowned").Show( !isOwned );
208 if (
m_Data.GetTooltip() !=
"")
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
proto native WorkspaceWidget GetWorkspace()
proto native void OpenURL(string url)
static const string DEFAULT_PICTURE
static const string DEFAULT_OVERVIEW
static const string DEFAULT_LOGO_SMALL
proto native CGame GetGame()
int ARGBF(float fa, float fr, float fg, float fb)
Converts <0.0, 1.0> ARGB into color.