|
Elin Decompiled Documentation EA 23.285 Nightly
|
Classes | |
| class | KeyboardPress |
| class | KeyMap |
| class | KeyMapManager |
Static Public Member Functions | |
| static void | WaitInput (float time) |
| static void | Init () |
| static void | SetKeyMap (KeyMapManager _keys) |
| static ButtonState | AddButton (int mouse) |
| static void | DisableIME () |
| static void | ToggleIME (bool on) |
| static void | UpdateOnlyAxis () |
| static void | Update () |
| static bool | IsAnyKeyDown (bool includeAxis=true, bool _skipframe=true) |
| static void | WaitReleaseKey () |
| static void | Consume (int _skipFrame) |
| static void | Consume (bool consumeAxis=false, int _skipFrame=1) |
| static void | ConsumeWheel () |
| static void | SetAxis (int x, int y) |
| static void | ModAxisX (int x) |
| static void | ModAxisY (int y) |
| static int | GetHotkeyDown () |
| static int | GetFunctionkeyDown () |
| static int | GetHotkey () |
| static void | RestoreDefaultKeys () |
| static void | Select (GameObject go) |
Public Attributes | |
| float | repeatThresh = 0.3f |
| float | repeatSpeed = 0.05f |
Static Public Attributes | |
| static KeyboardPress | keyFire = new KeyboardPress() |
| static KeyboardPress | keyWait = new KeyboardPress() |
| static Func< string, string > | LangGetter |
| static EInput | Instance |
| static EventSystem | eventSystem |
| static EAction | action |
| static bool | isShiftDown |
| static bool | isCtrlDown |
| static bool | isAltDown |
| static bool | requireConfirmReset |
| static bool | requireAxisReset |
| static bool | hasAxisMoved |
| static bool | hasShiftChanged |
| static bool | haltInput |
| static bool | isInputFieldActive |
| static bool | firstAxisPressed |
| static bool | axisReleased |
| static int | hotkey |
| static int | functionkey |
| static int | skipFrame |
| static int | wheel |
| static int | missClickButton |
| static bool | hasMouseMoved |
| static bool | axisXChanged |
| static bool | axisYChanged |
| static bool | waitReleaseAnyKey |
| static List< ButtonState > | buttons = new List<ButtonState>() |
| static float | delta |
| static float | antiMissClick |
| static float | missClickDuration |
| static float | dragHack |
| static float | ignoreWheelDuration |
| static Vector2 | axis |
| static Vector2 | forbidAxis |
| static Vector2 | axisDiagonal |
| static Vector3 | mpos |
| static Vector3 | mposWorld |
| static Vector3 | dragStartPos |
| static Vector3 | dragStartPos2 |
| static Vector3 | lastMousePos |
| static Vector3 | dragAmount |
| static ButtonState | leftMouse |
| static ButtonState | rightMouse |
| static ButtonState | middleMouse |
| static ButtonState | mouse3 |
| static ButtonState | mouse4 |
| static ButtonState | buttonScroll |
| static ButtonState | buttonCtrl |
| static bool | rightScroll |
| static bool | disableKeyAxis |
| static KeyMapManager | keys = new KeyMapManager() |
| static Vector3 | uiMousePosition |
Properties | |
| static bool | isConfirm [get] |
| static bool | isCancel [get] |
| static bool | isPrev [get] |
| static bool | isNext [get] |
| static bool | IsConsumed [get] |
| static GameObject | selectedGO [get] |
Private Member Functions | |
| void | Awake () |
Static Private Member Functions | |
| static void | UpdateAxis () |
| static EAction | GetAction () |
Static Private Attributes | |
| static float | waitInput |
| static float | durationAxis |
| static float | durationFirstAxis |
| static float | durationAxisRelease |
| static float | durationAxisDiagonal |
| static float | waitReleaseKeyTimer |
| static Vector2 | lastAxis |
| static Vector2 | firstAxis |
| static Vector2 | prevAxis |
|
inlinestatic |
|
inlineprivate |
|
inlinestatic |
Definition at line 672 of file EInput.cs.
References action, axis, buttons, ButtonState.Consume(), durationAxis, functionkey, hotkey, lastAxis, requireAxisReset, skipFrame, and wheel.
|
inlinestatic |
Definition at line 667 of file EInput.cs.
References Consume().
Referenced by ELayer._Close(), Chara._Move(), AM_Adv._OnUpdateInput(), ActionMode.Activate(), ActMelee.Attack(), LayerAbility.ClearHotElement(), Consume(), Core.ConsumeInput(), UIScreenshot.Deactivate(), ActionMode.DoFunc(), UI.EndDrag(), Player.EndTurn(), ELayer.Init(), TraitNewZone.MoveZone(), Chara.MoveZone(), LayerMiniGame.OnAfterInit(), LayerColorPicker.OnKill(), LayerImage.OnKill(), ButtonAbility.OnMiddleClick(), ButtonGrid.OnMiddleClick(), ConSuffocation.OnStart(), Scene.OnUpdate(), LayerSkinDeco.OnUpdateInput(), ActRanged.Perform(), BaseSticky.RefreshButton(), ButtonHotItem.RefreshItem(), UIButton.RefreshItem(), AI_PlayMusic.Run(), BuildMenu.Select(), ButtonGrid.SetCardGrid(), Chara.Tick(), Player.TooHeavyToMove(), AM_Adv.TryCancelInteraction(), Update(), UIBook.Update(), UIScreenshot.Update(), WidgetCodex.Update(), ActionMode.UpdateInput(), CoreDebug.UpdateInput(), UpdateOnlyAxis(), and Chara.UseAbility().
|
inlinestatic |
Definition at line 694 of file EInput.cs.
References wheel.
Referenced by LayerQuickMenu.OnUpdateInput().
|
inlinestatic |
Definition at line 465 of file EInput.cs.
References ToggleIME().
Referenced by UIContextMenu.Hide(), and ELayer.Kill().
|
inlinestaticprivate |
Definition at line 1028 of file EInput.cs.
References EInput.KeyMapManager.ability, EInput.KeyboardPress.Action, EInput.KeyMapManager.autoCombat, EInput.KeyMapManager.chara, EInput.KeyMapManager.chat, EInput.KeyMapManager.console, EInput.KeyMapManager.dump, EInput.KeyMapManager.emptyHand, EInput.KeyMapManager.examine, EInput.KeyMapManager.getAll, EInput.KeyMapManager.inventory, isShiftDown, EInput.KeyMapManager.journal, EInput.KeyMap.key, keyFire, keys, keyWait, EInput.KeyMapManager.log, EInput.KeyMapManager.meditate, EInput.KeyMapManager.mute, EInput.KeyMapManager.quickLoad, EInput.KeyMapManager.quickSave, EInput.KeyMapManager.report, EInput.KeyMapManager.search, EInput.KeyboardPress.Update(), and EInput.KeyMapManager.wait.
Referenced by Update().
|
inlinestatic |
Definition at line 948 of file EInput.cs.
Referenced by Update(), and WidgetCodex.Update().
|
inlinestatic |
Definition at line 986 of file EInput.cs.
Referenced by ButtonAbility.TryUse().
|
inlinestatic |
Definition at line 906 of file EInput.cs.
Referenced by Update().
|
inlinestatic |
Definition at line 419 of file EInput.cs.
References AddButton(), buttonCtrl, buttons, keys, leftMouse, middleMouse, mouse3, mouse4, rightMouse, and SetKeyMap().
Referenced by Awake().
|
inlinestatic |
Definition at line 630 of file EInput.cs.
References axis, buttons, ButtonState.clicked, isCancel, isConfirm, and skipFrame.
Referenced by AM_Adv._OnUpdateInput(), DramaEventEndRoll.Play(), Update(), and ActionMode.UpdateInput().
|
inlinestatic |
Definition at line 705 of file EInput.cs.
References axisXChanged.
Referenced by UpdateAxis().
|
inlinestatic |
Definition at line 711 of file EInput.cs.
References axisYChanged.
Referenced by UpdateAxis().
|
inlinestatic |
|
inlinestatic |
Definition at line 1137 of file EInput.cs.
References eventSystem.
|
inlinestatic |
Definition at line 699 of file EInput.cs.
Referenced by UpdateAxis().
|
inlinestatic |
Definition at line 444 of file EInput.cs.
References EInput.KeyMapManager.fire, EInput.KeyboardPress.func, keys, keyWait, EInput.KeyMapManager.mouseLeft, EInput.KeyMapManager.mouseMiddle, EInput.KeyMapManager.mouseRight, EInput.KeyMapManager.switchHotbar, and EInput.KeyMapManager.wait.
Referenced by CoreConfig.Apply(), and Init().
|
inlinestatic |
Definition at line 470 of file EInput.cs.
Referenced by DisableIME().
|
inlinestatic |
Definition at line 486 of file EInput.cs.
References action, antiMissClick, axis, buttons, Consume(), delta, dragAmount, dragHack, forbidAxis, functionkey, GetAction(), GetFunctionkeyDown(), GetHotkeyDown(), haltInput, hasAxisMoved, hasMouseMoved, hotkey, ignoreWheelDuration, isAltDown, IsAnyKeyDown(), isCtrlDown, isInputFieldActive, isShiftDown, EInput.KeyMap.key, keys, lastMousePos, missClickButton, missClickDuration, mpos, mposWorld, requireAxisReset, requireConfirmReset, skipFrame, ButtonState.Update(), UpdateAxis(), EInput.KeyMapManager.wait, waitInput, waitReleaseAnyKey, waitReleaseKeyTimer, and wheel.
Referenced by Scene.OnUpdate().
|
inlinestaticprivate |
Definition at line 717 of file EInput.cs.
References axis, axisDiagonal, EInput.KeyMapManager.axisDown, EInput.KeyMapManager.axisDownLeft, EInput.KeyMapManager.axisDownRight, EInput.KeyMapManager.axisLeft, EInput.KeyMapManager.axisRight, EInput.KeyMapManager.axisUp, EInput.KeyMapManager.axisUpLeft, EInput.KeyMapManager.axisUpRight, axisXChanged, axisYChanged, delta, disableKeyAxis, durationAxis, durationAxisDiagonal, durationAxisRelease, durationFirstAxis, firstAxis, firstAxisPressed, EInput.KeyMap.key, keys, lastAxis, ModAxisX(), ModAxisY(), prevAxis, SetAxis(), and waitReleaseAnyKey.
Referenced by Update(), and UpdateOnlyAxis().
|
inlinestatic |
Definition at line 475 of file EInput.cs.
References axis, Consume(), hasAxisMoved, hasMouseMoved, isAltDown, isCtrlDown, isShiftDown, and UpdateAxis().
Referenced by Scene.OnUpdate().
|
inlinestatic |
|
inlinestatic |
Definition at line 661 of file EInput.cs.
References waitReleaseAnyKey, and waitReleaseKeyTimer.
Referenced by AM_Adv._OnUpdateInput(), AM_Adv.IsEntangled(), Dialog.OnAfterInit(), LayerList.OnInit(), Dialog.OnKill(), LayerList.OnKill(), LayerDragGrid.OnUpdateInput(), and LayerInventory.OnUpdateInput().
|
static |
Definition at line 270 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Consume(), Dialog.Keymap(), AM_BaseGameMode.OnUpdateInput(), LayerConsole.OnUpdateInput(), LayerDragGrid.OnUpdateInput(), LayerInventory.OnUpdateInput(), DramaEventTalk.Play(), Update(), UIInventory.Update(), ActionMode.UpdateInput(), and CoreDebug.UpdateInput().
|
static |
Definition at line 342 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), AM_Adv.AxisMove(), Consume(), Scene.Init(), ActionMode.InputMovement(), IsAnyKeyDown(), LayerTextureViewer.Update(), Update(), UpdateAxis(), and UpdateOnlyAxis().
|
static |
Definition at line 346 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 324 of file EInput.cs.
Referenced by ModAxisX(), and UpdateAxis().
|
static |
Definition at line 326 of file EInput.cs.
Referenced by ModAxisY(), and UpdateAxis().
|
static |
Definition at line 372 of file EInput.cs.
Referenced by Init(), and ActionMode.UpdateInput().
|
static |
Definition at line 330 of file EInput.cs.
Referenced by AddButton(), Consume(), Init(), IsAnyKeyDown(), and Update().
|
static |
Definition at line 370 of file EInput.cs.
Referenced by ActionMode.InputMovement(), and BaseGameScreen.ModTargetZoomIndex().
|
static |
Definition at line 332 of file EInput.cs.
Referenced by Update(), EInput.KeyboardPress.Update(), and UpdateAxis().
|
static |
Definition at line 376 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 338 of file EInput.cs.
Referenced by Window.OnPointerDown(), and Update().
|
static |
Definition at line 352 of file EInput.cs.
Referenced by ButtonState.Update().
|
static |
Definition at line 354 of file EInput.cs.
Referenced by ButtonState.Update().
|
staticprivate |
Definition at line 306 of file EInput.cs.
Referenced by Consume(), and UpdateAxis().
|
staticprivate |
Definition at line 312 of file EInput.cs.
Referenced by UpdateAxis().
|
staticprivate |
Definition at line 310 of file EInput.cs.
Referenced by UpdateAxis().
|
staticprivate |
Definition at line 308 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
|
staticprivate |
Definition at line 318 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 290 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 296 of file EInput.cs.
Referenced by Consume(), Update(), and ActionMode.UpdateInput().
|
static |
Definition at line 286 of file EInput.cs.
Referenced by InvOwnerDraglet.OnProcess(), and Update().
|
static |
Definition at line 282 of file EInput.cs.
Referenced by ActionMode.InputMovement(), Update(), and UpdateOnlyAxis().
|
static |
Definition at line 322 of file EInput.cs.
Referenced by ActionMode.InputMovement(), Update(), and UpdateOnlyAxis().
|
static |
Definition at line 284 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput().
|
static |
Definition at line 294 of file EInput.cs.
Referenced by Consume(), AM_MoveInstalled.HitTest(), Update(), and ActionMode.UpdateInput().
|
static |
|
static |
Definition at line 276 of file EInput.cs.
Referenced by InvOwner.CanAltClick(), BaseTileMap.Draw(), InvOwner.OnClick(), Update(), ActionMode.UpdateInput(), and UpdateOnlyAxis().
|
static |
Definition at line 274 of file EInput.cs.
Referenced by InvOwner.CanCtrlClick(), AM_MoveInstalled.InputWheel(), InvOwner.OnClick(), Update(), ActionMode.UpdateInput(), CoreDebug.UpdateInput(), and UpdateOnlyAxis().
|
static |
Definition at line 288 of file EInput.cs.
Referenced by ButtonState.Update(), Update(), and CoreDebug.UpdateInput().
|
static |
Definition at line 272 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), HotItemHeld.CanChangeHeightByWheel(), Act.CanPerform(), InvOwner.CanShiftClick(), ActThrow.CanThrow(), BaseTileMap.Draw(), GetAction(), InvOwner.ListInteractions(), InvOwner.OnClick(), AM_Terrain.OnProcessTiles(), InvOwner.OnShiftClick(), Scene.OnUpdate(), UI.OnUpdate(), TraitDaggerGrave.OnUse(), AM_Adv.PressedActionMove(), ActEffect.ProcAt(), UIInventory.RefreshDestNum(), Recipe.Rotate(), AM_Adv.SetManualMove(), UIButton.ShowTooltip(), UIButton.ShowTooltipForced(), Player.TargetRanged(), HotItemHeld.TrySetAct(), Update(), ActionMode.UpdateInput(), CoreDebug.UpdateInput(), and UpdateOnlyAxis().
|
static |
Definition at line 260 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), ActionMode.DoFunc(), and GetAction().
|
static |
Definition at line 378 of file EInput.cs.
Referenced by GetAction(), Init(), WidgetMainText.OnActivate(), LayerInfo.OnUpdateInput(), SetKeyMap(), HotItemContext.Show(), Update(), UpdateAxis(), and AM_Adv.UpdateLangWheel().
|
static |
Definition at line 262 of file EInput.cs.
Referenced by GetAction(), Scene.Init(), and SetKeyMap().
|
staticprivate |
Definition at line 316 of file EInput.cs.
Referenced by Consume(), and UpdateAxis().
|
static |
|
static |
Definition at line 360 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), AM_Sim._OnUpdateInput(), Init(), Scene.Init(), BaseTileSelector.OnUpdate(), Scene.OnUpdate(), AM_BaseGameMode.OnUpdateInput(), AM_BaseTerrain.OnUpdateInput(), AM_Cinema.OnUpdateInput(), AM_Paint.OnUpdateInput(), LayerMiniGame.OnUpdateInput(), LayerSkinDeco.OnUpdateInput(), LayerWidget.OnUpdateInput(), DramaEventEndRoll.Play(), DramaEventTalk.Play(), AM_Adv.PressedActionMove(), InvOwner.Transaction.Process(), AM_Adv.SetPressedAction(), LayerTextureViewer.Update(), UIInputText.Update(), ActionMode.UpdateInput(), and Layer.UpdateInput().
|
static |
Definition at line 364 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), CoreConfig.Apply(), Init(), ActionMode.IsFuncPressed(), ButtonAbility.OnMiddleClick(), ButtonGrid.OnMiddleClick(), Scene.OnUpdate(), LayerAbility.OnUpdateInput(), LayerImage.OnUpdateInput(), LayerCraftFloat.Update(), LayerTextureViewer.Update(), UIDragGridIngredients.Update(), and ActionMode.UpdateInput().
|
static |
|
static |
Definition at line 366 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Init(), ActionMode.IsFuncPressed(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
static |
Definition at line 368 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Init(), ActionMode.IsFuncPressed(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
static |
Definition at line 348 of file EInput.cs.
Referenced by LayerQuickMenu.OnUpdateInput(), ButtonState.Update(), and Update().
|
static |
Definition at line 350 of file EInput.cs.
Referenced by BaseTileMap.Draw(), BaseGameScreen.ModTargetZoomIndex(), Update(), Scene.UpdateCursor(), and WidgetDebug.UpdateText().
|
staticprivate |
Definition at line 320 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
|
static |
|
static |
Definition at line 362 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), AM_ADV_Target._OnUpdateInput(), AM_Sim._OnUpdateInput(), AM_ViewZone._OnUpdateInput(), TaskBuild.CanRotateBlock(), BaseTileMap.Draw(), Init(), ActionMode.InputMovement(), Dialog.OnBack(), UIHangIcon.OnClick(), UIButton.OnPointerDown(), InvOwner.OnRightPressed(), AM_ViewZone.OnScroll(), BaseTileSelector.OnUpdate(), Scene.OnUpdate(), AM_Bird.OnUpdateInput(), AM_Cinema.OnUpdateInput(), AM_Select.OnUpdateInput(), LayerSkinDeco.OnUpdateInput(), DramaEventEndRoll.Play(), DramaEventTalk.Play(), AM_Adv.PressedActionMove(), AM_Adv.RefreshArrow(), TaskPoint.Run(), ButtonAbility.TryUse(), UIScreenshot.Update(), ActionMode.UpdateInput(), and Layer.UpdateInput().
|
static |
Definition at line 374 of file EInput.cs.
Referenced by BaseTileSelector.OnUpdate().
|
static |
Definition at line 298 of file EInput.cs.
Referenced by Consume(), IsAnyKeyDown(), UIButton.OnPointerClick(), UIButton.OnPointerDown(), Scene.OnUpdate(), BuildMenu.Select(), BaseTileSelector.TryProcessTiles(), and Update().
|
static |
Definition at line 380 of file EInput.cs.
Referenced by AM_BaseGameMode.OnUpdateInput(), LayerCollectible.Refresh(), Window.SetRect(), UIContextMenu.Show(), TooltipManager.ShowTooltip(), and Empyrean.ColorPicker.Dropper.UpdateColorByMousePosition().
|
staticprivate |
Definition at line 304 of file EInput.cs.
Referenced by Update(), and WaitInput().
|
static |
Definition at line 328 of file EInput.cs.
Referenced by Dialog.OnUpdateInput(), Update(), UpdateAxis(), ActionMode.UpdateInput(), and WaitReleaseKey().
|
staticprivate |
Definition at line 314 of file EInput.cs.
Referenced by Update(), and WaitReleaseKey().
|
static |
Definition at line 300 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Consume(), ConsumeWheel(), ActionMode.InputMovement(), UIMagicChest.LateUpdate(), Scene.OnUpdate(), AM_Bird.OnUpdateInput(), LayerImage.OnUpdateInput(), LayerEditPCC.Update(), LayerFaith.Update(), Update(), and ActionMode.UpdateInput().
|
staticget |
Definition at line 388 of file EInput.cs.
Referenced by IsAnyKeyDown(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
staticget |
Definition at line 386 of file EInput.cs.
Referenced by IsAnyKeyDown().
|
staticget |
Definition at line 404 of file EInput.cs.
Referenced by UIButton.OnPointerDown().