Elin Modding Docs Doc
|
Classes | |
class | Extra |
Public Member Functions | |
override object | CreateExtra () |
override bool | CanShowContextMenu () |
override void | OnActivate () |
override void | OnChangeActionMode () |
void | Rebuild () |
void | RebuildPage (int page=-1) |
void | SwitchPage () |
HotItem | GetItem (int index) |
void | TryUse (int index) |
void | OnClickEmptyItem (ButtonHotItem b) |
override void | OnSetContextMenu (UIContextMenu m) |
void | SetShortcutMenu (ButtonHotItem b, UIContextMenu m) |
void | SetItem (ButtonHotItem b, HotItem item) |
bool | RefreshHighlight () |
void | _OnDirtyInventory () |
void | SetVisible () |
void | ToggleVisible () |
void | CheckAutoHide () |
void | OnStartDrag (UIButton b) |
void | OnDrag (UIButton b) |
ButtonHotItem | GetSwapButton (UIButton b) |
void | OnEndDrag (UIButton b, bool cancel=false) |
![]() | |
void | Test () |
bool | IsInRightMode () |
void | Activate () |
void | Deactivate () |
virtual void | OnDeactivate () |
void | Close () |
void | Reactivate () |
virtual void | OnManagerActivate () |
virtual void | OnManagerDeactivate () |
void | SetAnchor (RectPosition p) |
void | SetPivot (RectPosition p) |
virtual void | OnChangePivot () |
void | UpdateConfig () |
virtual void | OnUpdateConfig () |
void | ClampToScreen () |
virtual void | OnChangeResolution () |
void | OnChangePosition () |
virtual void | OnFlip () |
bool | IsAlignTop () |
Layer | AddLayer (Layer l, Transform trans) |
void | RefreshTipPivotPosition () |
SkinSet | GetSkin () |
SkinConfig | GetSkinConfig () |
void | SetSkin (int id, int v=0) |
void | TestSkin () |
virtual void | ApplySkin () |
virtual void | OnApplySkin () |
void | InstantiateDeco (SkinDeco deco) |
void | AddDeco (SkinDeco deco) |
void | RemoveDeco (SkinDeco deco) |
void | ShowContextMenu () |
void | SetBaseContextMenu (UIContextMenu m) |
void | SetGridContextMenu (UIContextMenu m) |
void | SoundActivate () |
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 | |
WidgetHotbar.Extra | extra [get] |
Hotbar | hotbar [get] |
bool | Visible [get, set] |
override bool | ShowInBuildMode [get] |
bool | IsHotbarSpeed [get] |
bool | CanRegisterItem [get] |
![]() | |
string | ID [get] |
Widget.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] |
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 10 of file WidgetHotbar.cs.
void WidgetHotbar._OnDirtyInventory | ( | ) |
Definition at line 532 of file WidgetHotbar.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 84 of file WidgetHotbar.cs.
void WidgetHotbar.CheckAutoHide | ( | ) |
Definition at line 612 of file WidgetHotbar.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 13 of file WidgetHotbar.cs.
HotItem WidgetHotbar.GetItem | ( | int | index | ) |
Definition at line 208 of file WidgetHotbar.cs.
ButtonHotItem WidgetHotbar.GetSwapButton | ( | UIButton | b | ) |
Definition at line 665 of file WidgetHotbar.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 98 of file WidgetHotbar.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 122 of file WidgetHotbar.cs.
void WidgetHotbar.OnClickEmptyItem | ( | ButtonHotItem | b | ) |
Definition at line 226 of file WidgetHotbar.cs.
void WidgetHotbar.OnDrag | ( | UIButton | b | ) |
Definition at line 650 of file WidgetHotbar.cs.
void WidgetHotbar.OnEndDrag | ( | UIButton | b, |
bool | cancel = false ) |
Definition at line 685 of file WidgetHotbar.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 234 of file WidgetHotbar.cs.
void WidgetHotbar.OnStartDrag | ( | UIButton | b | ) |
Definition at line 644 of file WidgetHotbar.cs.
void WidgetHotbar.Rebuild | ( | ) |
Definition at line 134 of file WidgetHotbar.cs.
void WidgetHotbar.RebuildPage | ( | int | page = -1 | ) |
Definition at line 175 of file WidgetHotbar.cs.
|
static |
Definition at line 188 of file WidgetHotbar.cs.
|
static |
Definition at line 478 of file WidgetHotbar.cs.
bool WidgetHotbar.RefreshHighlight | ( | ) |
Definition at line 494 of file WidgetHotbar.cs.
|
static |
Definition at line 465 of file WidgetHotbar.cs.
void WidgetHotbar.SetItem | ( | ButtonHotItem | b, |
HotItem | item ) |
Definition at line 456 of file WidgetHotbar.cs.
void WidgetHotbar.SetShortcutMenu | ( | ButtonHotItem | b, |
UIContextMenu | m ) |
Definition at line 337 of file WidgetHotbar.cs.
void WidgetHotbar.SetVisible | ( | ) |
Definition at line 544 of file WidgetHotbar.cs.
void WidgetHotbar.SwitchPage | ( | ) |
Definition at line 201 of file WidgetHotbar.cs.
void WidgetHotbar.ToggleVisible | ( | ) |
Definition at line 585 of file WidgetHotbar.cs.
void WidgetHotbar.TryUse | ( | int | index | ) |
Definition at line 214 of file WidgetHotbar.cs.
List<ButtonHotItem> WidgetHotbar.buttons = new List<ButtonHotItem>() |
Definition at line 763 of file WidgetHotbar.cs.
|
static |
Definition at line 726 of file WidgetHotbar.cs.
|
static |
Definition at line 732 of file WidgetHotbar.cs.
|
static |
Definition at line 738 of file WidgetHotbar.cs.
|
static |
Definition at line 735 of file WidgetHotbar.cs.
int WidgetHotbar.idHotbar |
Definition at line 741 of file WidgetHotbar.cs.
RawImage WidgetHotbar.imageGrid |
Definition at line 750 of file WidgetHotbar.cs.
Image WidgetHotbar.imageSelect |
Definition at line 753 of file WidgetHotbar.cs.
GridLayoutGroup WidgetHotbar.layout |
Definition at line 744 of file WidgetHotbar.cs.
ButtonHotItem WidgetHotbar.mold |
Definition at line 747 of file WidgetHotbar.cs.
|
static |
Definition at line 723 of file WidgetHotbar.cs.
|
static |
Definition at line 729 of file WidgetHotbar.cs.
Hotbar.Type WidgetHotbar.type |
Definition at line 756 of file WidgetHotbar.cs.
bool WidgetHotbar.useMask |
Definition at line 759 of file WidgetHotbar.cs.
|
get |
Definition at line 75 of file WidgetHotbar.cs.
|
get |
Definition at line 20 of file WidgetHotbar.cs.
|
get |
Definition at line 30 of file WidgetHotbar.cs.
|
get |
Definition at line 65 of file WidgetHotbar.cs.
|
get |
Definition at line 55 of file WidgetHotbar.cs.
|
getset |
Definition at line 41 of file WidgetHotbar.cs.