Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CharacterEditableEntityUIComponent.c
Go to the documentation of this file.
1
class
SCR_CharacterEditableEntityUIComponent
:
SCR_CustomEditableEntityUIComponent
2
{
3
[
Attribute
(uiwidget: UIWidgets.ResourcePickerThumbnail,
params
:
"edds"
)]
4
protected
ResourceName m_PlayerIcon;
5
6
//------------------------------------------------------------------------------------------------
7
override
void
OnInit(
SCR_EditableEntityComponent
entity,
SCR_UIInfo
info,
SCR_EditableEntityBaseSlotUIComponent
slot)
8
{
9
if
(entity && entity.HasEntityState(
EEditableEntityState
.PLAYER))
10
{
11
ImageWidget iconWidget = ImageWidget.Cast(
GetWidget
().FindAnyWidget(
m_sIconWidgetName
));
12
iconWidget.LoadImageTexture(0, m_PlayerIcon);
13
}
14
else
15
{
16
super.OnInit(entity, info, slot);
17
}
18
}
19
}
EEditableEntityState
EEditableEntityState
Definition:
EEditableEntityState.c:37
SCR_EditableEntityBaseSlotUIComponent
Definition:
SCR_EditableEntityBaseSlotUIComponent.c:6
SCR_CustomEditableEntityUIComponent
Definition:
SCR_CustomEditableEntityUIComponent.c:1
m_sIconWidgetName
protected string m_sIconWidgetName
Definition:
SCR_GroupEditableEntityUIComponent.c:6
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_UIInfo
Definition:
SCR_UIInfo.c:7
SCR_EditableEntityComponent
Definition:
SCR_EditableEntityComponent.c:13
SCR_CharacterEditableEntityUIComponent
Definition:
SCR_CharacterEditableEntityUIComponent.c:1
params
Configs ServerBrowser KickDialogs params
Definition:
SCR_NotificationSenderComponent.c:24
GetWidget
protected Widget GetWidget()
Definition:
SCR_VonDisplay.c:155
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
UI
Components
EditableEntities
SCR_CharacterEditableEntityUIComponent.c
Generated by
1.8.17