Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | Mode { Skill , Attribute , Tech , Feat , Enchant , Policy , OnlyValue , FeatPurchase , LandFeat , FeatMini } |
Public Member Functions | |
void | SetElement (Element _e, ElementContainer _owner, Mode _mode=Mode.Skill) |
void | Refresh () |
void | SetGrid (Element e, Chara c) |
![]() | |
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 | |
Image | imagePotential |
GameObject | goExp |
Element | e |
ElementContainer | owner |
UIButton | buttonUpgrade |
UIItem | moldItemResist |
LayoutGroup | layout |
Mode | mode |
![]() | |
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 |
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) |
![]() | |
List< Graphic > | Graphics [get] |
virtual bool | CanDragLeftButton [get] |
Definition at line 5 of file ButtonElement.cs.
enum ButtonElement.Mode |
Enumerator | |
---|---|
Skill | |
Attribute | |
Tech | |
Feat | |
Enchant | |
Policy | |
OnlyValue | |
FeatPurchase | |
LandFeat | |
FeatMini |
Definition at line 7 of file ButtonElement.cs.
|
inline |
Definition at line 45 of file ButtonElement.cs.
References EClass.Branch, ElementContainer.Card, WindowChara.chara, Color, EClass.Colors, EClass.core, Element.CostLearn, Element.Create(), currency, Element.DisplayValue, e, Card.elements, FactionBranch.elements, Card.feat, Element.FullName, Card.GetCurrency(), Element.GetDetail(), FactionBranch.GetTechUpgradeCost(), FactionBranch.HasNetwork, Element.HasTag(), UIButton.icon, Element.id, imagePotential, WindowChara.Instance, Element.IsFactionElement(), Element.IsPurchaseFeatReqMet(), UIButton.mainText, mode, Element.Name, UITooltip.note, owner, Element.owner, EClass.pc, EClass.player, Element.Potential, Core.refs, Element.SetImage(), UIText.SetText(), Element.SetTextValue(), UIButton.SetTooltip(), ColorProfile.Skin, Element.source, CoreRef.spritesPotential, UIButton.subText, SkinColorProfile.textBad, SkinColorProfile.textGood, Player.trackedElements, Element.Value, ElementContainer.ValueWithoutLink(), Element.WriteNote(), and Element.WriteNoteWithRef().
Referenced by SetElement().
|
inline |
Definition at line 37 of file ButtonElement.cs.
References e, mode, owner, and Refresh().
Referenced by WindowCharaMini.Refresh(), LayerHome.RefreshFeat(), WindowChara.RefreshProfile(), WindowChara.RefreshSkill(), and WindowChara.RefreshStatic().
Definition at line 166 of file ButtonElement.cs.
References Chara.body, Card.c_idDeity, Element.CanLink(), Color, e, Card.elements, Chara.faith, Element.GetIcon(), Lang.GetList(), Element.GetResistLv(), CharaBody.GetSortVal(), UIButton.icon, Element.id, Religion.id, Element.IsFactionElement(), Element.IsGlobalElement, Card.IsIdentified, UIButton.item, layout, UIButton.mainText, moldItemResist, UITooltip.note, EClass.pc, UIText.SetText(), UIButton.SetTooltip(), Element.ShortName, CharaBody.slots, UIButton.subText, UIItem.text1, Util, Element.Value, and Element.WriteNote().
Referenced by WindowCharaMini.Refresh(), and WindowChara.RefreshSkill().
UIButton ButtonElement.buttonUpgrade |
Definition at line 29 of file ButtonElement.cs.
Element ButtonElement.e |
Definition at line 25 of file ButtonElement.cs.
Referenced by Refresh(), SetElement(), and SetGrid().
GameObject ButtonElement.goExp |
Definition at line 23 of file ButtonElement.cs.
Image ButtonElement.imagePotential |
Definition at line 21 of file ButtonElement.cs.
Referenced by Refresh().
LayoutGroup ButtonElement.layout |
Definition at line 33 of file ButtonElement.cs.
Referenced by SetGrid().
Mode ButtonElement.mode |
Definition at line 35 of file ButtonElement.cs.
Referenced by Refresh(), and SetElement().
UIItem ButtonElement.moldItemResist |
Definition at line 31 of file ButtonElement.cs.
Referenced by SetGrid().
ElementContainer ButtonElement.owner |
Definition at line 27 of file ButtonElement.cs.
Referenced by Refresh(), and SetElement().