Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Extra |
Static Public Member Functions | |
static void | RebuildPages () |
static void | RefreshHighlights () |
static void | RefreshButtons () |
![]() | |
static int | rnd (int a) |
Public Attributes | |
int | idHotbar |
GridLayoutGroup | layout |
ButtonHotItem | mold |
RawImage | imageGrid |
Image | imageSelect |
Hotbar.Type | type |
bool | useMask |
List< ButtonHotItem > | buttons = new List<ButtonHotItem>() |
![]() | |
Image | imageBG |
SoundData | soundActivate |
UIDragPanel | dragPanel |
RectTransform | tipPivotLeft |
RectTransform | tipPivotRight |
Static Public Attributes | |
static bool | registering |
static bool | dirtyCurrentItem |
static HotItem | registeringItem |
static WidgetHotbar | HotbarBuild |
static WidgetHotbar | HotBarMainMenu |
static WidgetHotbar | HotbarExtra |
![]() | |
static Core | core |
Properties | |
Extra | extra [get] |
Hotbar | hotbar [get] |
bool | Visible [get, set] |
override bool | ShowInBuildMode [get] |
bool | IsHotbarSpeed [get] |
bool | CanRegisterItem [get] |
![]() | |
string | ID [get] |
Config | config [get] |
SkinRoot | skinRoot [get] |
bool | IsSealed [get] |
virtual bool | ShowStyleMenu [get] |
virtual bool | AlwaysTop [get] |
virtual bool | IsStaticPosition [get] |
virtual bool | AlwaysBottom [get] |
virtual Type | SetSiblingAfter [get] |
virtual bool | ShowInBuildMode [get] |
virtual bool | RightClickToClose [get] |
virtual bool | AllowRightClickToClose [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SoundManager | Sound [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static CoreDebug | debug [get] |
Private Attributes | |
bool | showThisWidget |
float | timeSinceBecomeVisible |
Additional Inherited Members | |
![]() | |
enum | WidgetType { Default , ZoomMenu } |
enum | State { Active , Inactive } |
![]() | |
void | ClampToScreenEnsured (Component c, Vector2 anchoredPos) |
void | ClampToScreen (RectTransform rect, float margin=10f) |
![]() | |
bool | flip |
Definition at line 7 of file WidgetHotbar.cs.
|
inline |
Definition at line 512 of file WidgetHotbar.cs.
References buttons, UIButton.item, and ButtonHotItem.Refresh().
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 90 of file WidgetHotbar.cs.
References hotbar, and Hotbar.IsUserHotbar.
|
inline |
Definition at line 592 of file WidgetHotbar.cs.
References buttons, InputModuleEX.IsPointerOver(), UIButton.item, UIButton.Item.KeepVisibleWhenHighlighted, registering, UIButton.Item.ShouldHighlight(), timeSinceBecomeVisible, ToggleVisible(), EMono.ui, and Visible.
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 85 of file WidgetHotbar.cs.
|
inline |
Definition at line 205 of file WidgetHotbar.cs.
References Hotbar.CurrentPage, hotbar, and Hotbar.Page.items.
Referenced by TryUse(), and WidgetCodex.Update().
|
inline |
Definition at line 642 of file WidgetHotbar.cs.
References UIButton.buttons, InputModuleEX.IsPointerOver(), item, and EMono.ui.
Referenced by OnDrag(), and OnEndDrag().
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 103 of file WidgetHotbar.cs.
References extra, hotbar, HotbarBuild, HotbarExtra, HotBarMainMenu, idHotbar, Hotbar.itemsPerPage, layout, mold, Rebuild(), and WidgetHotbar.Extra.rows.
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 126 of file WidgetHotbar.cs.
References Hotbar.dirty, hotbar, Rebuild(), and RefreshHighlight().
|
inline |
Definition at line 223 of file WidgetHotbar.cs.
References SetShortcutMenu(), UIContextMenu.Show(), and EMono.ui.
|
inline |
Implements IDragParent.
Definition at line 628 of file WidgetHotbar.cs.
References GetSwapButton(), and EMono.ui.
|
inline |
Implements IDragParent.
Definition at line 662 of file WidgetHotbar.cs.
References Hotbar.actor, GetSwapButton(), hotbar, UIButton.item, UIInventory.RefreshAllList(), SetItem(), EMono.ui, and ButtonHotItem.widget.
|
inlinevirtual |
Reimplemented from Widget.
Definition at line 230 of file WidgetHotbar.cs.
References BaseCore.actionsNextFrame, UIContextMenu.AddButton(), UIContextMenu.AddChild(), UIContextMenu.AddSlider(), UIContextMenu.AddToggle(), UIButton.Item.always, WidgetHotbar.Extra.alwaysShow, Widget.ClampToScreen(), EMono.core, extra, hotbar, Player.hotbars, WidgetHotbar.Extra.iconSize, Hotbar.id, ButtonHotItem.index, Hotbar.IsLocked, UIButton.item, UIButton.Item.OnShowContextMenu(), EMono.player, Rebuild(), RebuildPage(), HotbarManager.ResetHotbar(), WidgetHotbar.Extra.reverse, WidgetHotbar.Extra.rows, Widget.SetBaseContextMenu(), Widget.SetGridContextMenu(), Hotbar.SetItem(), Hotbar.SetSlotNum(), Widget.ShowContextMenu(), showThisWidget, WidgetHotbar.Extra.vertical, ButtonHotItem.widget, WidgetHotbar.Extra.width, and Dialog.YesNo().
|
inline |
Implements IDragParent.
Definition at line 623 of file WidgetHotbar.cs.
References UIButton.icon, and EMono.ui.
|
inline |
Definition at line 137 of file WidgetHotbar.cs.
References WidgetHotbar.Extra.autoSize, buttons, Hotbar.CurrentPage, extra, hotbar, WidgetHotbar.Extra.iconSize, GameSetting.UISetting.iconSizes, Hotbar.Page.items, layout, mold, RebuildPage(), WidgetHotbar.Extra.rows, EMono.setting, GameSetting.ui, useMask, Util, WidgetHotbar.Extra.vertical, and WidgetHotbar.Extra.width.
Referenced by OnActivate(), OnChangeActionMode(), OnSetContextMenu(), and HotbarManager.ResetHotbar().
|
inline |
Definition at line 175 of file WidgetHotbar.cs.
References buttons, Hotbar.currentPage, Hotbar.GetItem(), hotbar, ButtonHotItem.index, item, RefreshHighlight(), ButtonGrid.SetItem(), Hotbar.SetPage(), and SetVisible().
Referenced by CoreDebug.EnableDebugResource(), OnSetContextMenu(), Rebuild(), RebuildPages(), Hotbar.SetItem(), and SwitchPage().
|
inlinestatic |
Definition at line 187 of file WidgetHotbar.cs.
References item, RebuildPage(), and EMono.ui.
Referenced by ContentConfigTest.OnInstantiate().
|
inlinestatic |
Definition at line 458 of file WidgetHotbar.cs.
References UIButton.buttons, item, ButtonHotItem.RefreshItem(), and EMono.ui.
Referenced by Recipe.ToggleTrack().
|
inline |
Definition at line 474 of file WidgetHotbar.cs.
References buttons, EMono.core, UIButton.Item.GetSprite(), UIButton.item, UIButton.Item.KeepVisibleWhenHighlighted, Core.refs, UIButton.Item.ShouldHighlight(), UIButton.Item.SpriteHighlight, CoreRef.spritesHighlight, ToggleVisible(), UIButton.Item.UseIconForHighlight, and Visible.
Referenced by OnChangeActionMode(), HotItemToggle.OnClick(), HotItemToggleVisible.OnClick(), RebuildPage(), RefreshHighlights(), and SetItem().
|
inlinestatic |
Definition at line 446 of file WidgetHotbar.cs.
References item, RefreshHighlight(), and EMono.ui.
Referenced by BaseGameScreen.Activate(), ActionMode.ChangeGameSpeed(), ActionMode.DoFunc(), and Scene.OnToggle().
|
inline |
Definition at line 438 of file WidgetHotbar.cs.
References hotbar, ButtonHotItem.index, item, RefreshHighlight(), ButtonGrid.SetItem(), Hotbar.SetItem(), and SetVisible().
Referenced by OnEndDrag(), ButtonHotItem.RegisterHotbar(), and SetShortcutMenu().
|
inline |
Definition at line 316 of file WidgetHotbar.cs.
References Game.activeZone, UIContextMenu.AddButton(), UIContextMenu.AddChild(), Core.config, EMono.core, EMono.game, IsHotbarSpeed, UIButton.Item.Name, EMono.pc, Card.pos, SetItem(), CoreConfig.test, type, CoreConfig.Test.unsealWidgets, and Point.x.
Referenced by OnClickEmptyItem().
|
inline |
Definition at line 523 of file WidgetHotbar.cs.
References UIButton.Item.always, buttons, UIButton.DoNormalTransition(), Widget.dragPanel, extra, UIButton.icon, Widget.imageBG, UIButton.item, SetVisible(), timeSinceBecomeVisible, WidgetHotbar.Extra.visible, and Visible.
Referenced by RebuildPage(), SetItem(), SetVisible(), and ToggleVisible().
|
inline |
Definition at line 199 of file WidgetHotbar.cs.
References Hotbar.currentPage, hotbar, and RebuildPage().
Referenced by HotItemTogglePage.OnClick().
|
inline |
Definition at line 565 of file WidgetHotbar.cs.
References UIButton.Item.always, SkinConfig.bgColor, buttons, extra, SkinConfig.gridColor, Widget.imageBG, imageGrid, UIButton.item, SetVisible(), WidgetHotbar.Extra.visible, and Visible.
Referenced by CheckAutoHide(), HotItemToggleVisible.OnClick(), RefreshHighlight(), ButtonHotItem.RefreshItem(), and LayerRegisterHotbar.Show().
|
inline |
Definition at line 210 of file WidgetHotbar.cs.
References GetItem(), hotbar, and item.
Referenced by ActionMode.UpdateInput().
List<ButtonHotItem> WidgetHotbar.buttons = new List<ButtonHotItem>() |
Definition at line 57 of file WidgetHotbar.cs.
Referenced by _OnDirtyInventory(), CheckAutoHide(), LayerRegisterHotbar.GetButton(), Rebuild(), RebuildPage(), RefreshHighlight(), SetVisible(), and ToggleVisible().
|
static |
Definition at line 32 of file WidgetHotbar.cs.
Referenced by Scene.OnUpdate().
|
static |
Definition at line 36 of file WidgetHotbar.cs.
Referenced by CoreDebug.EnableDebugResource(), and OnActivate().
|
static |
Definition at line 40 of file WidgetHotbar.cs.
Referenced by OnActivate(), WidgetCodex.Update(), and ActionMode.UpdateInput().
|
static |
Definition at line 38 of file WidgetHotbar.cs.
Referenced by OnActivate().
int WidgetHotbar.idHotbar |
Definition at line 42 of file WidgetHotbar.cs.
Referenced by OnActivate().
RawImage WidgetHotbar.imageGrid |
Definition at line 48 of file WidgetHotbar.cs.
Referenced by ToggleVisible().
Image WidgetHotbar.imageSelect |
Definition at line 50 of file WidgetHotbar.cs.
GridLayoutGroup WidgetHotbar.layout |
Definition at line 44 of file WidgetHotbar.cs.
Referenced by OnActivate(), and Rebuild().
ButtonHotItem WidgetHotbar.mold |
Definition at line 46 of file WidgetHotbar.cs.
Referenced by OnActivate(), and Rebuild().
|
static |
Definition at line 30 of file WidgetHotbar.cs.
Referenced by CheckAutoHide(), ButtonHotItem.OnHover(), and ButtonHotItem.RefreshItem().
|
static |
Definition at line 34 of file WidgetHotbar.cs.
Referenced by ButtonHotItem.RegisterHotbar().
|
private |
Definition at line 59 of file WidgetHotbar.cs.
Referenced by OnSetContextMenu().
|
private |
Definition at line 61 of file WidgetHotbar.cs.
Referenced by CheckAutoHide(), and SetVisible().
Hotbar.Type WidgetHotbar.type |
Definition at line 52 of file WidgetHotbar.cs.
Referenced by SetShortcutMenu().
bool WidgetHotbar.useMask |
Definition at line 54 of file WidgetHotbar.cs.
Referenced by Rebuild().
|
get |
Definition at line 83 of file WidgetHotbar.cs.
Referenced by ButtonHotItem.RefreshItem(), and LayerRegisterHotbar.Show().
|
get |
Definition at line 63 of file WidgetHotbar.cs.
Referenced by OnActivate(), OnSetContextMenu(), Rebuild(), ButtonHotItem.RefreshItem(), SetVisible(), and ToggleVisible().
|
get |
Definition at line 65 of file WidgetHotbar.cs.
Referenced by CanShowContextMenu(), GetItem(), OnActivate(), OnChangeActionMode(), OnEndDrag(), HotItemToggleVisible.OnHover(), OnSetContextMenu(), Rebuild(), RebuildPage(), ButtonHotItem.RefreshItem(), SetItem(), LayerRegisterHotbar.Show(), SwitchPage(), and TryUse().
|
get |
Definition at line 81 of file WidgetHotbar.cs.
Referenced by SetShortcutMenu().
|
get |
Definition at line 79 of file WidgetHotbar.cs.
|
getset |
Definition at line 67 of file WidgetHotbar.cs.
Referenced by CheckAutoHide(), HotItemToggleVisible.OnClick(), HotItemToggleVisible.OnHover(), RefreshHighlight(), ButtonHotItem.RefreshItem(), SetVisible(), LayerRegisterHotbar.Show(), and ToggleVisible().