|
Elin Decompiled Documentation EA 23.225 Nightly Patch 3
|
Public Member Functions | |
| override void | SetDragParent (IDragParent p) |
| void | OnDrag (PointerEventData data) |
| override void | OnPointerUp (PointerEventData eventData) |
Public Member Functions inherited from ButtonGrid | |
| override string | ToString () |
| T | Attach< T > (string id, bool rightAttach=true) |
| Transform | Attach (string id, bool rightAttach=true) |
| void | Dettach (string id) |
| void | Reset () |
| void | SetBodySlot (BodySlot b, InvOwner owner, bool showIndex=false) |
| void | Redraw () |
| void | SetCardGrid (Card c, InvOwner owner=null) |
| void | SetCard (Card c, Mode mode=Mode.Default, Action< UINote > onWriteNote=null) |
| void | SetArea (Area a) |
| void | SetItem (GridItem i) |
| void | SetObject (object o) |
| void | SetDummy () |
| virtual void | SetDragParent (IDragParent p) |
| void | SetIngredient (Recipe r, Recipe.Ingredient _ing) |
| void | SetIngredient (Recipe r, Thing t) |
| void | SetRecipeVariation (UIRecipeInfo.RecipeVariation a) |
| void | SetRecipe () |
| void | SetRecipe (Area a) |
| void | SetRecipe (Recipe r) |
| void | RefreshCraftable () |
| void | SetCraftRecipe (Recipe r, Mode mode, bool tooltip=false) |
| void | WriteReqMat (UINote n, Recipe r) |
| bool | ShowMouseHintLeft () |
| string | GetTextMouseHintLeft () |
| bool | ShowMouseHintRight () |
| string | GetTextMouseHintRight () |
| RenderRow | GetRenderRow () |
| void | OnRefreshPref () |
| override bool | CanMiddleClick () |
| override void | OnMiddleClick (bool forceClick) |
Public Member Functions inherited from UIButton | |
| 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 () |
| bool | ShowMouseHintLeft () |
| string | GetTextMouseHintLeft () |
| bool | ShowMouseHintRight () |
| string | GetTextMouseHintRight () |
| RenderRow | GetRenderRow () |
| void | OnRefreshPref () |
Public Attributes | |
| IDragParent | dragParent |
| bool | dragged |
Public Attributes inherited from ButtonGrid | |
| Area | area |
| Recipe | recipe |
| Recipe.Ingredient | ing |
| Card | card |
| int | index |
| InvOwner | invOwner |
| bool | keepBg |
| List< Transform > | listAttach = new List<Transform>() |
Public Attributes inherited from UIButton | |
| 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 | |
Public Types inherited from ButtonGrid | |
| enum | Mode { Default , Grid , Ingredient , Recipe , RecipeGrid , Search } |
Static Public Member Functions inherited from UIButton | |
| 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=false) |
Static Public Attributes inherited from UIButton | |
| 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 |
Protected Member Functions inherited from ButtonGrid | |
| override void | OnDestroy () |
Protected Member Functions inherited from UIButton | |
| override void | Awake () |
| override void | OnEnable () |
| override void | DoStateTransition (SelectionState state, bool instant) |
Properties inherited from ButtonGrid | |
| ColorProfile | Colors [get] |
| Card | Card [get] |
| virtual float | extFixY [get] |
Properties inherited from UIButton | |
| List< Graphic > | Graphics [get] |
| virtual bool | CanDragLeftButton [get] |
Definition at line 4 of file ButtonGridDrag.cs.
|
inline |
Definition at line 16 of file ButtonGridDrag.cs.
References UIButton.CanDragLeftButton, dragged, dragParent, IDragParent.OnDrag(), UIButton.OnPointerUpOnDrag(), and IDragParent.OnStartDrag().
|
inline |
Definition at line 34 of file ButtonGridDrag.cs.
References dragged, dragParent, IDragParent.OnEndDrag(), and UIInventory.RefreshAllList().
|
inlinevirtual |
Reimplemented from ButtonGrid.
Definition at line 11 of file ButtonGridDrag.cs.
References dragParent.
| bool ButtonGridDrag.dragged |
Definition at line 9 of file ButtonGridDrag.cs.
Referenced by OnDrag(), and OnPointerUp().
| IDragParent ButtonGridDrag.dragParent |
Definition at line 6 of file ButtonGridDrag.cs.
Referenced by OnDrag(), OnPointerUp(), ButtonHotItem.RefreshItem(), and SetDragParent().