Elin Modding Docs Doc
|
Classes | |
class | Extra |
Public Member Functions | |
override object | CreateExtra () |
override void | OnActivate () |
void | RebuildSlots () |
void | CheckDirty () |
void | SwitchPage () |
void | _RefreshCurrentHotItem () |
void | OnClickButtonHotItem () |
void | ModSelected (int a) |
int | GetNextSelectableIndex () |
int | GetPrevSelectableIndex () |
void | Reselect () |
void | Select (int index, bool fromHotkey=false) |
void | RefreshHighlight () |
override bool | CanShowContextMenu () |
override void | OnSetContextMenu (UIContextMenu m) |
![]() | |
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 | OnChangeActionMode () |
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 | RefreshCurrentHotItem () |
![]() | |
static int | rnd (int a) |
Public Attributes | |
ButtonHotItem | buttonHotItem |
UIButton | buttonSwitchPage |
Image | iconHeld |
Image | imageHighlight |
UIList | list |
int | maxSlots = 9 |
List< Thing > | grid = new List<Thing>(new Thing[20]) |
UIPlaceHelper | placer |
GridLayoutGroup | layout |
int | selected = -1 |
int | selectedPage |
![]() | |
Image | imageBG |
SoundData | soundActivate |
UIDragPanel | dragPanel |
RectTransform | tipPivotLeft |
RectTransform | tipPivotRight |
Static Public Attributes | |
const int | SlotsPerPage = 10 |
const int | MaxPage = 2 |
static WidgetCurrentTool | Instance |
static bool | dirty |
![]() | |
static Core | core |
Properties | |
WidgetCurrentTool.Extra | extra [get] |
int | page [get, set] |
ButtonGrid | selectedButton [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 8 of file WidgetCurrentTool.cs.
void WidgetCurrentTool._RefreshCurrentHotItem | ( | ) |
Definition at line 162 of file WidgetCurrentTool.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 299 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.CheckDirty | ( | ) |
Definition at line 131 of file WidgetCurrentTool.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 11 of file WidgetCurrentTool.cs.
int WidgetCurrentTool.GetNextSelectableIndex | ( | ) |
Definition at line 211 of file WidgetCurrentTool.cs.
int WidgetCurrentTool.GetPrevSelectableIndex | ( | ) |
Definition at line 222 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.ModSelected | ( | int | a | ) |
Definition at line 203 of file WidgetCurrentTool.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 42 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.OnClickButtonHotItem | ( | ) |
Definition at line 179 of file WidgetCurrentTool.cs.
|
virtual |
Reimplemented from Widget.
Definition at line 306 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.RebuildSlots | ( | ) |
Definition at line 58 of file WidgetCurrentTool.cs.
|
static |
Definition at line 142 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.RefreshHighlight | ( | ) |
Definition at line 284 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.Reselect | ( | ) |
Definition at line 233 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.Select | ( | int | index, |
bool | fromHotkey = false ) |
Definition at line 239 of file WidgetCurrentTool.cs.
void WidgetCurrentTool.SwitchPage | ( | ) |
Definition at line 151 of file WidgetCurrentTool.cs.
ButtonHotItem WidgetCurrentTool.buttonHotItem |
Definition at line 335 of file WidgetCurrentTool.cs.
UIButton WidgetCurrentTool.buttonSwitchPage |
Definition at line 338 of file WidgetCurrentTool.cs.
|
static |
Definition at line 350 of file WidgetCurrentTool.cs.
Definition at line 356 of file WidgetCurrentTool.cs.
Image WidgetCurrentTool.iconHeld |
Definition at line 341 of file WidgetCurrentTool.cs.
Image WidgetCurrentTool.imageHighlight |
Definition at line 344 of file WidgetCurrentTool.cs.
|
static |
Definition at line 332 of file WidgetCurrentTool.cs.
GridLayoutGroup WidgetCurrentTool.layout |
Definition at line 362 of file WidgetCurrentTool.cs.
UIList WidgetCurrentTool.list |
Definition at line 347 of file WidgetCurrentTool.cs.
|
static |
Definition at line 329 of file WidgetCurrentTool.cs.
int WidgetCurrentTool.maxSlots = 9 |
Definition at line 353 of file WidgetCurrentTool.cs.
UIPlaceHelper WidgetCurrentTool.placer |
Definition at line 359 of file WidgetCurrentTool.cs.
int WidgetCurrentTool.selected = -1 |
Definition at line 365 of file WidgetCurrentTool.cs.
int WidgetCurrentTool.selectedPage |
Definition at line 368 of file WidgetCurrentTool.cs.
|
static |
Definition at line 326 of file WidgetCurrentTool.cs.
|
get |
Definition at line 18 of file WidgetCurrentTool.cs.
|
getset |
Definition at line 29 of file WidgetCurrentTool.cs.
|
get |
Definition at line 194 of file WidgetCurrentTool.cs.