Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SetProp (string id) |
void | SetCat (string id) |
void | Refresh () |
![]() | |
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 | |
PropSet | prop |
PropSetCategory | cat |
![]() | |
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 | |
UIResourceTrack | track [get] |
![]() | |
List< Graphic > | Graphics [get] |
virtual bool | CanDragLeftButton [get] |
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 3 of file ButtonResourceTrack.cs.
|
inline |
Definition at line 42 of file ButtonResourceTrack.cs.
References cat, PropSet.num, prop, UIText.SetText(), UIButton.subText, and PropSetCategory.sum.
|
inline |
Definition at line 28 of file ButtonResourceTrack.cs.
References EClass._map, UIResourceTrack._Refresh(), cat, Props.categoryMap, UIButton.onRightClick, EClass.player, Refresh(), PropSetCategory.source, Map.Stocked, track, and Player.trackedCategories.
Referenced by UIResourceTrack._Refresh().
|
inline |
Definition at line 11 of file ButtonResourceTrack.cs.
References EClass._map, UIResourceTrack._Refresh(), Props.cardMap, SourceManager.cards, Debug, CardRow.GetName(), UIButton.icon, SourceCard.map, UIButton.onRightClick, EClass.player, prop, Refresh(), RenderRow.SetImage(), EClass.sources, Map.Stocked, track, and Player.trackedCards.
Referenced by UIResourceTrack._Refresh().
PropSetCategory ButtonResourceTrack.cat |
Definition at line 7 of file ButtonResourceTrack.cs.
PropSet ButtonResourceTrack.prop |
Definition at line 5 of file ButtonResourceTrack.cs.
|
get |
Definition at line 9 of file ButtonResourceTrack.cs.