Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetChara (Chara c) |
void | Refresh () |
override void | OnPointerEnter (PointerEventData eventData) |
override void | OnPointerExit (PointerEventData eventData) |
![]() | |
virtual bool | CanMiddleClick () |
virtual void | OnMiddleClick (bool forceClick) |
void | SetItem (Item i) |
virtual void | RefreshItem () |
virtual void | OnHover () |
void | Toggle () |
void | ToggleCheck () |
void | SetCheck (bool check) |
void | SetToggle (bool isOn, Action< bool > onToggle=null) |
void | SetToggleWithScore (bool isOn, Action< bool > onToggle, int? score) |
void | SetTooltip (Action< UITooltip > onShowTooltip=null, bool enable=true) |
void | SetTooltip (string id, Action< UITooltip > onShowTooltip=null, bool enable=true) |
void | SetTooltipLang (string lang=null) |
virtual void | ShowTooltip () |
void | ShowTooltipForced (bool ignoreWhenRightClick=true) |
override void | OnPointerDown (PointerEventData eventData) |
override void | OnPointerClick (PointerEventData eventData) |
override void | OnPointerUp (PointerEventData eventData) |
void | OnPointerUpOnDrag (PointerEventData eventData) |
void | _OnPress () |
void | OnPress () |
void | AddHighlight (Func< bool > killCondition) |
void | DoHighlightTransition (bool instant=false) |
void | DoNormalTransition (bool instant=true) |
override Selectable | FindSelectableOnDown () |
override Selectable | FindSelectableOnUp () |
override Selectable | FindSelectableOnLeft () |
override Selectable | FindSelectableOnRight () |
void | SetNavigation (UIButton up, UIButton down=null, UIButton left=null, UIButton right=null) |
override bool | IsActive () |
void | SetInteractableWithAlpha (bool enable) |
virtual void | ApplySkin () |
void | ApplySkin () |
Public Attributes | |
Chara | chara |
float | iconPivot |
Image | barMood |
UIText | textName |
RectTransform | rect |
Portrait | portrait |
![]() | |
UIText | mainText |
UIText | subText |
UIText | subText2 |
UIText | keyText |
Image | icon |
Image | imageCheck |
Graphic[] | targetGraphics |
float | scaleIcon = 1f |
float | slideX |
float | navigationFix |
bool | isChecked |
bool | instantClick = true |
UISelectableGroup | group |
TooltipData | tooltip |
SoundData | soundClick |
SoundData | soundHighlight |
Transform | animeTarget |
Anime | animeClick |
Anime | animeHold |
ButtonType | buttonType |
BaseSkinRoot | skinRoot |
Action | onDoubleClick |
Action | onRightClick |
Action< int > | onInputWheel |
object | refObj |
int | refInt |
string | refStr |
bool | animating |
bool | selected |
Vector3 | originalIconScale = Vector3.one |
UIButton | highlightTarget |
Item | item |
Properties | |
WidgetRoster | roster [get] |
![]() | |
List< Graphic > | Graphics [get] |
virtual bool | CanDragLeftButton [get] |
Static Private Attributes | |
static Gradient | gradient |
Additional Inherited Members | |
![]() | |
static void | UpdateButtons () |
static void | TryHihlight () |
static void | TryShowTip (Transform root=null, bool highlight=true, bool ignoreWhenRightClick=true) |
static void | TryShowTip< T > (Transform root=null, bool highlight=true, bool ignoreWhenRightClick=true) |
![]() | |
static bool | DoSlide |
static bool | locked |
static UIButton | lastButton |
static UIButton | lastHovered |
static UIButton | currentHighlight |
static UIButton | currentPressedButton |
static float | lastClicked |
static float | doubleClickTime = 0.4f |
static Vector2 | buttonPos |
static Action | onPressed |
static List< UIButton > | buttons = new List<UIButton>() |
static Action | actionTooltip |
![]() | |
override void | Awake () |
override void | OnEnable () |
override void | DoStateTransition (SelectionState state, bool instant) |
Definition at line 5 of file ButtonRoster.cs.
|
inline |
Definition at line 79 of file ButtonRoster.cs.
References chara, and WidgetMouseover.Instance.
|
inline |
Definition at line 87 of file ButtonRoster.cs.
References WidgetMouseover.Instance.
|
inline |
Definition at line 35 of file ButtonRoster.cs.
References barMood, chara, Color, EClass.Colors, LayerInventory.CreateContainer(), InvOwner.currency, ColorProfile.Dark, WidgetRoster.extra, gradient, SkinColorProfile.gradientHP, SkinColorProfile.gradients, Chara.HasNoGoal, Card.hp, LayerInventory.Inv, Chara.IsDisabled, Chara.IsPC, Card.IsPCFaction, UIButton.mainText, Chara.MaxHP, Card.NameSimple, WidgetRoster.Extra.onlyName, InvOwner.owner, EClass.pc, roster, UIText.SetText(), WidgetRoster.Extra.showHP, textName, and EClass.ui.
Referenced by WidgetRoster.Refresh(), and SetChara().
|
inline |
Definition at line 23 of file ButtonRoster.cs.
References chara, WidgetRoster.extra, Chara.GetIdPortrait(), UIButton.icon, WidgetRoster.Extra.onlyName, portrait, Refresh(), roster, Portrait.SetChara(), Card.SetImage(), and WidgetRoster.Extra.width.
Referenced by WidgetRoster.Add().
Image ButtonRoster.barMood |
Definition at line 11 of file ButtonRoster.cs.
Referenced by Refresh().
Chara ButtonRoster.chara |
Definition at line 7 of file ButtonRoster.cs.
Referenced by OnPointerEnter(), WidgetRoster.OnSetContextMenu(), Refresh(), and SetChara().
|
staticprivate |
Definition at line 19 of file ButtonRoster.cs.
Referenced by Refresh().
float ButtonRoster.iconPivot |
Definition at line 9 of file ButtonRoster.cs.
Portrait ButtonRoster.portrait |
Definition at line 17 of file ButtonRoster.cs.
Referenced by SetChara().
RectTransform ButtonRoster.rect |
Definition at line 15 of file ButtonRoster.cs.
UIText ButtonRoster.textName |
Definition at line 13 of file ButtonRoster.cs.
Referenced by Refresh().
|
get |
Definition at line 21 of file ButtonRoster.cs.
Referenced by Refresh(), and SetChara().