Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | Config |
class | Meta |
Public Types | |
enum | WidgetType { Default , ZoomMenu } |
enum | State { Active , Inactive } |
Public Attributes | |
Image | imageBG |
SoundData | soundActivate |
UIDragPanel | dragPanel |
RectTransform | tipPivotLeft |
RectTransform | tipPivotRight |
Protected Member Functions | |
void | ClampToScreenEnsured (Component c, Vector2 anchoredPos) |
void | ClampToScreen (RectTransform rect, float margin=10f) |
Protected Attributes | |
bool | flip |
Properties | |
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 | |
string | _ID |
Config | _config |
RectTransform | _rect |
SkinRoot | _skinRoot |
GameObject | goCover |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
![]() | |
static Core | core |
enum Widget.State |
enum Widget.WidgetType |
|
inline |
Definition at line 225 of file Widget.cs.
References _rect, Widget.Config.anchor, ClampToScreen(), config, CreateExtra(), SkinConfig.decos, dragPanel, Widget.Config.extra, flip, InstantiateDeco(), IsStaticPosition, OnActivate(), OnChangePosition(), OnFlip(), Widget.Config.pivot, RefreshOrder(), SetPivot(), Widget.Config.skin, Widget.Config.userAnchor, Widget.Config.x, and Widget.Config.y.
Referenced by WidgetManager.ActivateWidget().
|
inline |
Definition at line 584 of file Widget.cs.
References config, SkinConfig.decos, InstantiateDeco(), and Widget.Config.skin.
Referenced by LayerSkinDeco.OnUpdateInput().
Definition at line 492 of file Widget.cs.
References Window.bgCollider, Layer.Init(), Layer.OnAfterAddLayer(), Layer.OnBeforeAddLayer(), Window.SetAnchor(), and Layer.windows.
Referenced by WidgetEquip.OnActivate().
|
inlinevirtual |
Definition at line 556 of file Widget.cs.
References IUISkin.ApplySkin(), OnApplySkin(), and SkinRoot.Reset().
Referenced by WidgetCurrentTool.OnActivate(), BaseWidgetNotice.OnSetContextMenu(), WidgetInspector.OnSetContextMenu(), WidgetMenuPanel.OnSetContextMenu(), WidgetRoster.OnSetContextMenu(), WidgetSideMenu.OnSetContextMenu(), WidgetSticky.OnSetContextMenu(), SetBaseContextMenu(), SetGridContextMenu(), SetSkin(), and TestSkin().
|
inlinevirtual |
Reimplemented in WidgetCurrentTool, WidgetEquip, and WidgetHotbar.
Definition at line 596 of file Widget.cs.
Referenced by ActionMode.TryShowWidgetMenu().
|
inline |
Definition at line 437 of file Widget.cs.
References ClampToScreen().
Referenced by WidgetInspector._Show(), Activate(), WidgetRoster.Build(), ClampToScreen(), ClampToScreenEnsured(), OnChangeResolution(), WidgetHotbar.OnSetContextMenu(), WidgetHP.OnSetContextMenu(), WidgetCurrentTool.RebuildSlots(), SetPivot(), and WidgetMascot.Update().
|
inlineprotected |
Definition at line 442 of file Widget.cs.
References config, IsStaticPosition, and Widget.Config.userAnchor.
|
inlineprotected |
Definition at line 424 of file Widget.cs.
References ClampToScreen().
Referenced by WidgetMascot.Say().
|
inline |
Definition at line 319 of file Widget.cs.
References EMono.ui.
Referenced by WidgetPopup.Discard(), WidgetInspector.Hide(), WidgetTracker.Toggle(), ActionMode.TryRightClickCloseWidget(), ActionMode.TryShowWidgetMenu(), and WidgetCodex.Update().
|
inlinevirtual |
Reimplemented in WidgetBottomBar, WidgetCurrentTool, WidgetDate, WidgetEquip, WidgetExp, WidgetExpHome, WidgetFeed, WidgetHotbar, WidgetHP, WidgetInspector, WidgetMainText, WidgetMenuPanel, WidgetMinimap, WidgetNotice, WidgetRoster, WidgetSearch, WidgetSideScreen, WidgetStatsBar, WidgetSticky, and WidgetTracker.
Definition at line 302 of file Widget.cs.
Referenced by Activate().
|
inline |
Definition at line 307 of file Widget.cs.
References OnDeactivate(), and UpdateConfig().
Referenced by WidgetManager.DeactivateWidget().
|
inline |
Implements ISkinRoot.
Definition at line 527 of file Widget.cs.
References config, SkinConfig.id, SkinManager.Instance, Widget.Config.skin, and SkinManager.skinSets.
|
inline |
|
inline |
Definition at line 575 of file Widget.cs.
References SkinDeco.id, SkinDecoActor.Refresh(), Util, SkinDeco.x, and SkinDeco.y.
Referenced by Activate(), and AddDeco().
|
inline |
|
inline |
Definition at line 216 of file Widget.cs.
References Scene.actionMode, config, Widget.Config.IsInRightMode(), EMono.scene, ActionMode.ShowBuildWidgets, and ShowInBuildMode.
Referenced by OnChangeActionMode().
|
inlinevirtual |
Reimplemented in BaseWidgetNotice, WidgetArtTool, WidgetBottomBar, WidgetCodex, WidgetCurrentTool, WidgetDate, WidgetDebug, WidgetEquip, WidgetExp, WidgetExpHome, WidgetFeed, WidgetHotbar, WidgetHP, WidgetInspector, WidgetMainText, WidgetMascot, WidgetMemo, WidgetMenuPanel, WidgetMinimap, WidgetMouseover, WidgetPopText, WidgetPopup, WidgetQuestTracker, WidgetRoster, WidgetSceneCustomizer, WidgetSearch, WidgetSideMenu, WidgetSideScreen, WidgetStatsBar, WidgetSticky, WidgetStockTracker, WidgetSystemIndicator, WidgetTracker, WidgetTutorial, and WidgetUnityChan.
Definition at line 298 of file Widget.cs.
Referenced by Activate().
|
inlinevirtual |
Reimplemented in BaseWidgetNotice, and WidgetStatsBar.
Definition at line 571 of file Widget.cs.
Referenced by ApplySkin().
|
inlinevirtual |
Reimplemented in WidgetHotbar.
Definition at line 473 of file Widget.cs.
References IsInRightMode().
|
inlinevirtual |
Reimplemented in WidgetDate.
Definition at line 408 of file Widget.cs.
Referenced by SetPivot().
|
inline |
Definition at line 462 of file Widget.cs.
References flip, if(), OnFlip(), and RefreshTipPivotPosition().
Referenced by Activate(), OnManagerActivate(), and WidgetMascot.Update().
|
inlinevirtual |
Implements IChangeResolution.
Reimplemented in WidgetBottomBar, WidgetMainText, WidgetMenuPanel, and WidgetSideScreen.
Definition at line 457 of file Widget.cs.
References ClampToScreen().
Referenced by WidgetRoster.Build().
|
inlinevirtual |
Reimplemented in WidgetFeed, WidgetInspector, WidgetMemo, and WidgetSearch.
Definition at line 315 of file Widget.cs.
Referenced by Deactivate().
|
inlinevirtual |
Reimplemented in BaseWidgetNotice, WidgetMascot, and WidgetSystemIndicator.
Definition at line 478 of file Widget.cs.
Referenced by Activate(), and OnChangePosition().
|
inlinevirtual |
Reimplemented in WidgetMouseover.
Definition at line 330 of file Widget.cs.
References UIDragPanel.bound, UIDragPanel.container, dragPanel, goCover, ID, OnChangePosition(), UIDragPanel.target, and Util.
Referenced by WidgetManager.ActivateWidget().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in BaseWidgetNotice, WidgetBottomBar, WidgetCurrentTool, WidgetDate, WidgetEquip, WidgetFeed, WidgetHotbar, WidgetHP, WidgetInspector, WidgetMainText, WidgetMascot, WidgetMenuPanel, WidgetMinimap, WidgetNotice, WidgetRoster, WidgetSideMenu, WidgetSideScreen, WidgetStatsBar, WidgetSticky, WidgetTracker, and WidgetUnityChan.
Definition at line 704 of file Widget.cs.
References SetBaseContextMenu().
Referenced by ShowContextMenu().
|
inlinevirtual |
Reimplemented in WidgetMemo.
Definition at line 420 of file Widget.cs.
Referenced by UpdateConfig().
|
inline |
|
inline |
Definition at line 272 of file Widget.cs.
References AlwaysBottom, item, SetSiblingAfter, and EMono.ui.
Referenced by Activate(), and LayerSkinDeco.OnKill().
|
inline |
Definition at line 514 of file Widget.cs.
References tipPivotLeft, and tipPivotRight.
Referenced by OnChangePosition().
|
inline |
Definition at line 590 of file Widget.cs.
References SkinDeco.actor, config, SkinConfig.decos, and Widget.Config.skin.
Referenced by LayerSkinDeco.OnUpdateInput().
|
inline |
Definition at line 361 of file Widget.cs.
References _rect.
|
inline |
Definition at line 608 of file Widget.cs.
References UIContextMenu.AddButton(), UIContextMenu.AddChild(), UIContextMenu.AddOrGetChild(), UIContextMenu.AddSlider(), UIContextMenu.AddToggle(), AllowRightClickToClose, ApplySkin(), SkinConfig.bg, SkinConfig.bgColor, SkinConfig.bgSize, Color, config, UIContextMenu.Hide(), SkinConfig.id, IsSealed, Widget.Config.pivot, Widget.Config.RC, Refresh(), SetSkin(), ShowStyleMenu, Widget.Config.skin, EMono.ui, Widget.Config.userAnchor, and Util.
Referenced by BaseWidgetNotice.OnSetContextMenu(), OnSetContextMenu(), WidgetCurrentTool.OnSetContextMenu(), WidgetDate.OnSetContextMenu(), WidgetEquip.OnSetContextMenu(), WidgetFeed.OnSetContextMenu(), WidgetHotbar.OnSetContextMenu(), WidgetHP.OnSetContextMenu(), WidgetInspector.OnSetContextMenu(), WidgetMainText.OnSetContextMenu(), WidgetMascot.OnSetContextMenu(), WidgetMenuPanel.OnSetContextMenu(), WidgetMinimap.OnSetContextMenu(), WidgetRoster.OnSetContextMenu(), WidgetSideMenu.OnSetContextMenu(), WidgetSideScreen.OnSetContextMenu(), WidgetSticky.OnSetContextMenu(), WidgetTracker.OnSetContextMenu(), and WidgetUnityChan.OnSetContextMenu().
|
inline |
Definition at line 709 of file Widget.cs.
References UIContextMenu.AddButton(), UIContextMenu.AddSlider(), ApplySkin(), Color, SpriteAsset.color, config, SkinConfig.grid, SkinConfig.Grid, SkinConfig.gridColor, Widget.Config.skin, and EMono.ui.
Referenced by WidgetCurrentTool.OnSetContextMenu(), WidgetHotbar.OnSetContextMenu(), and WidgetMenuPanel.OnSetContextMenu().
|
inline |
Definition at line 368 of file Widget.cs.
References ClampToScreen(), and OnChangePivot().
Referenced by Activate().
|
inline |
Definition at line 537 of file Widget.cs.
References ApplySkin(), SkinConfig.BG, SkinAsset_Sprite.color, config, SkinConfig.id, SkinConfig.SetID(), and Widget.Config.skin.
Referenced by SetBaseContextMenu().
|
inline |
Definition at line 601 of file Widget.cs.
References OnSetContextMenu(), UIContextMenu.Show(), and EMono.ui.
Referenced by HotItem.OnRightClick(), WidgetHotbar.OnSetContextMenu(), LayerWidget.OnUpdateInput(), and ActionMode.TryShowWidgetMenu().
|
inline |
Definition at line 728 of file Widget.cs.
References EMono.Sound, and soundActivate.
Referenced by LayerWidget.OnInit().
|
inline |
Definition at line 550 of file Widget.cs.
References ApplySkin(), config, SkinConfig.SetID(), and Widget.Config.skin.
|
inline |
Definition at line 412 of file Widget.cs.
References _rect, and OnUpdateConfig().
Referenced by Deactivate().
|
private |
Definition at line 156 of file Widget.cs.
Referenced by Activate(), SetAnchor(), and UpdateConfig().
UIDragPanel Widget.dragPanel |
Definition at line 154 of file Widget.cs.
Referenced by Activate(), WidgetMainText.OnActivate(), OnManagerActivate(), WidgetManager.RefreshWidget(), and WidgetHotbar.SetVisible().
|
protected |
Definition at line 164 of file Widget.cs.
Referenced by Activate(), OnChangePosition(), BaseWidgetNotice.OnFlip(), WidgetMascot.OnFlip(), and WidgetSystemIndicator.OnFlip().
|
private |
Definition at line 166 of file Widget.cs.
Referenced by OnManagerActivate(), and OnManagerDeactivate().
Image Widget.imageBG |
Definition at line 150 of file Widget.cs.
Referenced by WidgetMainText.OnActivate(), WidgetHotbar.SetVisible(), and WidgetHotbar.ToggleVisible().
SoundData Widget.soundActivate |
Definition at line 152 of file Widget.cs.
Referenced by SoundActivate().
RectTransform Widget.tipPivotLeft |
Definition at line 158 of file Widget.cs.
Referenced by RefreshTipPivotPosition().
RectTransform Widget.tipPivotRight |
Definition at line 160 of file Widget.cs.
Referenced by RefreshTipPivotPosition().
|
get |
Definition at line 210 of file Widget.cs.
Referenced by SetBaseContextMenu().
|
get |
Definition at line 202 of file Widget.cs.
Referenced by RefreshOrder().
|
get |
Definition at line 180 of file Widget.cs.
Referenced by Activate(), AddDeco(), ClampToScreen(), GetSkin(), GetSkinConfig(), IsInRightMode(), Reactivate(), WidgetManager.RefreshWidget(), RemoveDeco(), SetBaseContextMenu(), SetGridContextMenu(), SetSkin(), and TestSkin().
|
get |
Definition at line 168 of file Widget.cs.
Referenced by OnManagerActivate().
|
get |
Definition at line 184 of file Widget.cs.
Referenced by ButtonHotItem.RefreshItem(), and SetBaseContextMenu().
|
get |
Definition at line 200 of file Widget.cs.
Referenced by Activate(), and ClampToScreen().
|
get |
Definition at line 208 of file Widget.cs.
Referenced by ActionMode.TryRightClickCloseWidget(), and ActionMode.TryShowWidgetMenu().
|
get |
Definition at line 204 of file Widget.cs.
Referenced by RefreshOrder().
|
get |
Definition at line 206 of file Widget.cs.
Referenced by IsInRightMode().
|
get |
Definition at line 196 of file Widget.cs.
Referenced by SetBaseContextMenu().