|
override void | DisplayInit (IEntity owner) |
|
override bool | DisplayStartDrawInit (IEntity owner) |
|
override void | DisplayStartDraw (IEntity owner) |
|
override void | OnSettingsChanged () |
|
void | AllowShowingInfo (bool allow) |
|
void | ToggleXPInfo (bool visible) |
|
void | ~SCR_XPInfoDisplay () |
|
void | SetEnabled (bool isEnabled) |
|
override void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
|
SCR_InfoDisplayInvoker | GetOnStart () |
|
SCR_InfoDisplayInvoker | GetOnStop () |
|
IEntity | GetOwnerEntity () |
|
Widget | GetContentWidget () |
|
string | GetContentWidgetName () |
|
void | SetRootWidget (notnull Widget root) |
|
void | SetContentWidget (notnull Widget content) |
|
bool | IsShown () |
|
Widget | GetRootWidget () |
|
bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
void | RegisterToHudManager () |
|
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
|
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
|
|
void | RecolorXPBar () |
|
void | HideHUD () |
|
void | ShowXPInfo (int totalXP, SCR_EXPRewards rewardID, int XP, bool volunteer, bool profileUsed, int skillLevel) |
|
void | UpdateXPProgressBar (notnull SCR_FactionManager factionManager, SCR_ECharacterRank curRank, SCR_ECharacterRank prevRank, int XP, int totalXP, bool notify) |
|
void | DisplayStopDraw (IEntity owner) |
|
void | DisplayUpdate (IEntity owner, float timeSlice) |
|
void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
|
void | DisplayConsciousnessChanged (bool conscious, bool init=false) |
|
void | DisplayOnSuspended () |
| Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
|
|
void | DisplayOnResumed () |
|
void | InitializeInterfaceSettings () |
|
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
|
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
|
◆ ~SCR_XPInfoDisplay()
void SCR_XPInfoDisplay.~SCR_XPInfoDisplay |
( |
| ) |
|
◆ AllowShowingInfo()
void SCR_XPInfoDisplay.AllowShowingInfo |
( |
bool | allow | ) |
|
◆ DisplayInit()
override void SCR_XPInfoDisplay.DisplayInit |
( |
IEntity | owner | ) |
|
◆ DisplayStartDraw()
override void SCR_XPInfoDisplay.DisplayStartDraw |
( |
IEntity | owner | ) |
|
◆ DisplayStartDrawInit()
override bool SCR_XPInfoDisplay.DisplayStartDrawInit |
( |
IEntity | owner | ) |
|
◆ GetRankIconImageSet()
static ResourceName SCR_XPInfoDisplay.GetRankIconImageSet |
( |
| ) |
|
|
static |
- Returns
- Image set containing the rank icons
◆ HideHUD()
void SCR_XPInfoDisplay.HideHUD |
( |
| ) |
|
|
protected |
◆ OnSettingsChanged()
override void SCR_XPInfoDisplay.OnSettingsChanged |
( |
| ) |
|
◆ RecolorXPBar()
void SCR_XPInfoDisplay.RecolorXPBar |
( |
| ) |
|
|
protected |
◆ ShowXPInfo()
void SCR_XPInfoDisplay.ShowXPInfo |
( |
int | totalXP, |
|
|
SCR_EXPRewards | rewardID, |
|
|
int | XP, |
|
|
bool | volunteer, |
|
|
bool | profileUsed, |
|
|
int | skillLevel ) |
|
protected |
◆ ToggleXPInfo()
void SCR_XPInfoDisplay.ToggleXPInfo |
( |
bool | visible | ) |
|
◆ UpdateXPProgressBar()
void SCR_XPInfoDisplay.UpdateXPProgressBar |
( |
notnull SCR_FactionManager | factionManager, |
|
|
SCR_ECharacterRank | curRank, |
|
|
SCR_ECharacterRank | prevRank, |
|
|
int | XP, |
|
|
int | totalXP, |
|
|
bool | notify ) |
|
protected |
◆ m_bInitDone
bool SCR_XPInfoDisplay.m_bInitDone |
|
protected |
◆ m_bIsInfoAllowed
bool SCR_XPInfoDisplay.m_bIsInfoAllowed = true |
|
protected |
◆ m_bNegativeXP
bool SCR_XPInfoDisplay.m_bNegativeXP |
|
protected |
◆ m_PlayerXPComponent
◆ m_wProgress
ProgressBarWidget SCR_XPInfoDisplay.m_wProgress |
|
protected |
◆ m_wProgressDiff
ProgressBarWidget SCR_XPInfoDisplay.m_wProgressDiff |
|
protected |
◆ m_wRank
TextWidget SCR_XPInfoDisplay.m_wRank |
|
protected |
◆ m_wRankIcon
ImageWidget SCR_XPInfoDisplay.m_wRankIcon |
|
protected |
◆ m_wRankNoIcon
TextWidget SCR_XPInfoDisplay.m_wRankNoIcon |
|
protected |
◆ m_wSkill
TextWidget SCR_XPInfoDisplay.m_wSkill |
|
protected |
◆ m_wTitle
TextWidget SCR_XPInfoDisplay.m_wTitle |
|
protected |
◆ RANK_ICON_IMAGESET
const ResourceName SCR_XPInfoDisplay.RANK_ICON_IMAGESET = "{5D7F0C1AB551F610}UI/Textures/MilitaryIcons/MilitaryIcons.imageset" |
|
staticprotected |
◆ XP_INFO_DURATION
const int SCR_XPInfoDisplay.XP_INFO_DURATION = 10000 |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/UI/HUD/SCR_XPInfoDisplay.c