Elin Decompiled Documentation EA 23.102 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 661 of file EInput.cs.
References action, axis, buttons, ButtonState.Consume(), durationAxis, functionkey, hotkey, lastAxis, requireAxisReset, skipFrame, and wheel.
|
inlinestatic |
Definition at line 656 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 683 of file EInput.cs.
References wheel.
Referenced by LayerQuickMenu.OnUpdateInput().
|
inlinestatic |
Definition at line 454 of file EInput.cs.
References ToggleIME().
Referenced by UIContextMenu.Hide(), and ELayer.Kill().
|
inlinestaticprivate |
Definition at line 1017 of file EInput.cs.
References EInput.KeyMapManager.ability, EInput.KeyboardPress.Action, EInput.KeyMapManager.autoCombat, EInput.KeyMapManager.chara, 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 937 of file EInput.cs.
Referenced by Update(), and WidgetCodex.Update().
|
inlinestatic |
Definition at line 975 of file EInput.cs.
Referenced by ButtonAbility.TryUse().
|
inlinestatic |
Definition at line 895 of file EInput.cs.
Referenced by Update().
|
inlinestatic |
Definition at line 408 of file EInput.cs.
References AddButton(), buttonCtrl, buttons, keys, leftMouse, middleMouse, mouse3, mouse4, rightMouse, and SetKeyMap().
Referenced by Awake().
|
inlinestatic |
Definition at line 619 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 694 of file EInput.cs.
References axisXChanged.
Referenced by UpdateAxis().
|
inlinestatic |
Definition at line 700 of file EInput.cs.
References axisYChanged.
Referenced by UpdateAxis().
|
inlinestatic |
|
inlinestatic |
Definition at line 1118 of file EInput.cs.
References eventSystem.
|
inlinestatic |
Definition at line 688 of file EInput.cs.
Referenced by UpdateAxis().
|
inlinestatic |
Definition at line 433 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 459 of file EInput.cs.
Referenced by DisableIME().
|
inlinestatic |
Definition at line 475 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 706 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 464 of file EInput.cs.
References axis, Consume(), hasAxisMoved, hasMouseMoved, isAltDown, isCtrlDown, isShiftDown, and UpdateAxis().
Referenced by Scene.OnUpdate().
|
inlinestatic |
|
inlinestatic |
Definition at line 650 of file EInput.cs.
References waitReleaseAnyKey, and waitReleaseKeyTimer.
Referenced by AM_Adv._OnUpdateInput(), Dialog.OnAfterInit(), LayerList.OnInit(), Dialog.OnKill(), LayerList.OnKill(), LayerDragGrid.OnUpdateInput(), and LayerInventory.OnUpdateInput().
|
static |
Definition at line 259 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Consume(), Dialog.Keymap(), AM_BaseGameMode.OnUpdateInput(), LayerDragGrid.OnUpdateInput(), LayerInventory.OnUpdateInput(), DramaEventTalk.Play(), Update(), UIInventory.Update(), ActionMode.UpdateInput(), and CoreDebug.UpdateInput().
|
static |
Definition at line 331 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 335 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 313 of file EInput.cs.
Referenced by ModAxisX(), and UpdateAxis().
|
static |
Definition at line 315 of file EInput.cs.
Referenced by ModAxisY(), and UpdateAxis().
|
static |
Definition at line 361 of file EInput.cs.
Referenced by Init(), and ActionMode.UpdateInput().
|
static |
Definition at line 319 of file EInput.cs.
Referenced by AddButton(), Consume(), Init(), IsAnyKeyDown(), and Update().
|
static |
Definition at line 359 of file EInput.cs.
Referenced by ActionMode.InputMovement(), and BaseGameScreen.ModTargetZoomIndex().
|
static |
Definition at line 321 of file EInput.cs.
Referenced by Update(), EInput.KeyboardPress.Update(), and UpdateAxis().
|
static |
Definition at line 365 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 327 of file EInput.cs.
Referenced by Window.OnPointerDown(), and Update().
|
static |
Definition at line 341 of file EInput.cs.
Referenced by ButtonState.Update().
|
static |
Definition at line 343 of file EInput.cs.
Referenced by ButtonState.Update().
|
staticprivate |
Definition at line 295 of file EInput.cs.
Referenced by Consume(), and UpdateAxis().
|
staticprivate |
Definition at line 301 of file EInput.cs.
Referenced by UpdateAxis().
|
staticprivate |
Definition at line 299 of file EInput.cs.
Referenced by UpdateAxis().
|
staticprivate |
Definition at line 297 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
|
staticprivate |
Definition at line 307 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 279 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
Definition at line 285 of file EInput.cs.
Referenced by Consume(), Update(), and ActionMode.UpdateInput().
|
static |
Definition at line 275 of file EInput.cs.
Referenced by InvOwnerDraglet.OnProcess(), and Update().
|
static |
Definition at line 271 of file EInput.cs.
Referenced by ActionMode.InputMovement(), Update(), and UpdateOnlyAxis().
|
static |
Definition at line 311 of file EInput.cs.
Referenced by ActionMode.InputMovement(), Update(), and UpdateOnlyAxis().
|
static |
Definition at line 273 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput().
|
static |
Definition at line 283 of file EInput.cs.
Referenced by Consume(), AM_MoveInstalled.HitTest(), Update(), and ActionMode.UpdateInput().
|
static |
|
static |
Definition at line 265 of file EInput.cs.
Referenced by InvOwner.CanAltClick(), BaseTileMap.Draw(), AM_Build.InputWheel(), AM_MoveInstalled.InputWheel(), InvOwner.OnClick(), Update(), ActionMode.UpdateInput(), and UpdateOnlyAxis().
|
static |
Definition at line 263 of file EInput.cs.
Referenced by InvOwner.CanCtrlClick(), AM_Build.InputWheel(), AM_MoveInstalled.InputWheel(), InvOwner.OnClick(), Update(), ActionMode.UpdateInput(), CoreDebug.UpdateInput(), and UpdateOnlyAxis().
|
static |
Definition at line 277 of file EInput.cs.
Referenced by ButtonState.Update(), Update(), and CoreDebug.UpdateInput().
|
static |
Definition at line 261 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 249 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), ActionMode.DoFunc(), and GetAction().
|
static |
Definition at line 367 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 251 of file EInput.cs.
Referenced by GetAction(), Scene.Init(), and SetKeyMap().
|
staticprivate |
Definition at line 305 of file EInput.cs.
Referenced by Consume(), and UpdateAxis().
|
static |
|
static |
Definition at line 349 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 353 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 355 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Init(), ActionMode.IsFuncPressed(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
static |
Definition at line 357 of file EInput.cs.
Referenced by AM_Adv._OnUpdateInput(), Init(), ActionMode.IsFuncPressed(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
static |
Definition at line 337 of file EInput.cs.
Referenced by LayerQuickMenu.OnUpdateInput(), ButtonState.Update(), and Update().
|
static |
Definition at line 339 of file EInput.cs.
Referenced by BaseTileMap.Draw(), BaseGameScreen.ModTargetZoomIndex(), Update(), Scene.UpdateCursor(), and WidgetDebug.UpdateText().
|
staticprivate |
Definition at line 309 of file EInput.cs.
Referenced by UpdateAxis().
|
static |
|
static |
|
static |
Definition at line 351 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(), 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 363 of file EInput.cs.
Referenced by BaseTileSelector.OnUpdate().
|
static |
Definition at line 287 of file EInput.cs.
Referenced by Consume(), IsAnyKeyDown(), UIButton.OnPointerClick(), UIButton.OnPointerDown(), Scene.OnUpdate(), BuildMenu.Select(), BaseTileSelector.TryProcessTiles(), and Update().
|
static |
Definition at line 369 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 293 of file EInput.cs.
Referenced by Update(), and WaitInput().
|
static |
Definition at line 317 of file EInput.cs.
Referenced by Dialog.OnUpdateInput(), Update(), UpdateAxis(), ActionMode.UpdateInput(), and WaitReleaseKey().
|
staticprivate |
Definition at line 303 of file EInput.cs.
Referenced by Update(), and WaitReleaseKey().
|
static |
Definition at line 289 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 377 of file EInput.cs.
Referenced by IsAnyKeyDown(), Scene.OnUpdate(), and ActionMode.UpdateInput().
|
staticget |
Definition at line 375 of file EInput.cs.
Referenced by IsAnyKeyDown().
|
staticget |
Definition at line 393 of file EInput.cs.
Referenced by UIButton.OnPointerDown().