@wayward/types 2.12.0-beta.dev.20220827.1 → 2.12.0-beta.dev.20220827.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/definitions/game/game/entity/action/usable/UsableAction.d.ts +13 -1
- package/definitions/game/language/dictionary/UiTranslation.d.ts +199 -197
- package/definitions/game/save/data/ISaveDataGlobal.d.ts +1 -0
- package/definitions/game/steamworks/Steamworks.d.ts +1 -0
- package/definitions/game/ui/input/IInput.d.ts +1 -1
- package/definitions/game/ui/screen/screens/menu/menus/options/TabPerformance.d.ts +1 -0
- package/definitions/hosts/electron/main/launchOptions.d.ts +1 -0
- package/package.json +1 -1
|
@@ -37,6 +37,9 @@ export interface IUsableActionRequirement<TYPE> {
|
|
|
37
37
|
find?(player: Player): TYPE | undefined;
|
|
38
38
|
getMissingName?(): Translation;
|
|
39
39
|
}
|
|
40
|
+
export interface IUsableActionItemRequirement extends IUsableActionRequirement<Item> {
|
|
41
|
+
allowOnlyItemType?(player: Player, type: ItemType): boolean;
|
|
42
|
+
}
|
|
40
43
|
export declare namespace IUsableActionRequirement {
|
|
41
44
|
interface Maybe<TYPE> {
|
|
42
45
|
allowNone: true;
|
|
@@ -45,7 +48,7 @@ export declare namespace IUsableActionRequirement {
|
|
|
45
48
|
type Always = true;
|
|
46
49
|
}
|
|
47
50
|
export interface IUsableActionRequirements {
|
|
48
|
-
item?: true |
|
|
51
|
+
item?: true | IUsableActionItemRequirement;
|
|
49
52
|
doodad?: true | IUsableActionRequirement<Doodad>;
|
|
50
53
|
creature?: true | IUsableActionRequirement<Creature>;
|
|
51
54
|
npc?: true | IUsableActionRequirement<NPC>;
|
|
@@ -65,6 +68,15 @@ export interface IUsableActionUsing<REQUIREMENTS extends IUsableActionRequiremen
|
|
|
65
68
|
} ? Item : never) | (REQUIREMENTS["item"] extends {
|
|
66
69
|
find(player: Player): Item;
|
|
67
70
|
} ? Item : never));
|
|
71
|
+
itemType: ((REQUIREMENTS["item"] extends true ? ItemType : never) | (undefined extends REQUIREMENTS["item"] ? undefined : never) | (REQUIREMENTS["item"] extends {
|
|
72
|
+
allowNone: true;
|
|
73
|
+
} ? undefined : never) | (REQUIREMENTS["item"] extends {
|
|
74
|
+
validate(player: Player, value: Item): boolean;
|
|
75
|
+
} ? ItemType : never) | (REQUIREMENTS["item"] extends {
|
|
76
|
+
find(player: Player): Item;
|
|
77
|
+
} ? ItemType : never) | (REQUIREMENTS["item"] extends {
|
|
78
|
+
allowOnlyItemType(player: Player): boolean;
|
|
79
|
+
} ? ItemType : never));
|
|
68
80
|
doodad: ((REQUIREMENTS["doodad"] extends true ? Doodad : never) | (undefined extends REQUIREMENTS["doodad"] ? undefined : never) | (REQUIREMENTS["doodad"] extends {
|
|
69
81
|
allowNone: true;
|
|
70
82
|
} ? undefined : never) | (REQUIREMENTS["doodad"] extends {
|
|
@@ -640,202 +640,204 @@ declare enum UiTranslation {
|
|
|
640
640
|
MenuOptionsButtonAlwaysShowMoreInformationTooltip = 625,
|
|
641
641
|
MenuOptionsButtonDisableAcrylicTransparency = 626,
|
|
642
642
|
MenuOptionsButtonDisableAcrylicTransparencyTooltip = 627,
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
643
|
+
MenuOptionsButtonDisableOverlaySupport = 628,
|
|
644
|
+
MenuOptionsButtonDisableOverlaySupportTooltip = 629,
|
|
645
|
+
MenuOptionsButtonDisableUIEffects = 630,
|
|
646
|
+
MenuOptionsButtonDisableUIEffectsTooltip = 631,
|
|
647
|
+
MenuOptionsButtonDisableUIOpacity = 632,
|
|
648
|
+
MenuOptionsButtonDisableUIOpacityTooltip = 633,
|
|
649
|
+
MenuOptionsButtonDisableMovementAnimations = 634,
|
|
650
|
+
MenuOptionsButtonDisableMovementAnimationsTooltip = 635,
|
|
651
|
+
MenuOptionsButtonAutoAttack = 636,
|
|
652
|
+
MenuOptionsButtonAutoAttackTooltip = 637,
|
|
653
|
+
MenuOptionsButtonAutoPickUp = 638,
|
|
654
|
+
MenuOptionsButtonAutoPickUpTooltip = 639,
|
|
655
|
+
MenuOptionsButtonAutoPickUpOnIdle = 640,
|
|
656
|
+
MenuOptionsButtonAutoPickUpOnIdleTooltip = 641,
|
|
657
|
+
MenuOptionsButtonDropOnDismantle = 642,
|
|
658
|
+
MenuOptionsButtonDropOnDismantleTooltip = 643,
|
|
659
|
+
MenuOptionsButtonDisableCraftingProtectedItems = 644,
|
|
660
|
+
MenuOptionsButtonDisableCraftingProtectedItemsTooltip = 645,
|
|
661
|
+
MenuOptionsButtonDropOnGatherHarvest = 646,
|
|
662
|
+
MenuOptionsButtonDropOnGatherHarvestTooltip = 647,
|
|
663
|
+
MenuOptionsButtonKeepSortActive = 648,
|
|
664
|
+
MenuOptionsButtonKeepSortActiveTooltip = 649,
|
|
665
|
+
MenuOptionsButtonUseAdjacentContainers = 650,
|
|
666
|
+
MenuOptionsButtonUseAdjacentContainersTooltip = 651,
|
|
667
|
+
MenuOptionsButtonHideEquippedHeadgear = 652,
|
|
668
|
+
MenuOptionsButtonHideEquippedHeadgearTooltip = 653,
|
|
669
|
+
MenuOptionsButtonAutoSave = 654,
|
|
670
|
+
MenuOptionsButtonAutoSaveTooltip = 655,
|
|
671
|
+
MenuOptionsRangeAutoSaveTimerLabel = 656,
|
|
672
|
+
MenuOptionsRangeAutoSaveTimerTurnsDisplay = 657,
|
|
673
|
+
MenuOptionsRangeAutoSaveTimerTimeDisplay = 658,
|
|
674
|
+
MenuOptionsButtonDropIntoContainers = 659,
|
|
675
|
+
MenuOptionsButtonDropIntoContainersTooltip = 660,
|
|
676
|
+
MenuOptionsButtonWarnOnDangerousActions = 661,
|
|
677
|
+
MenuOptionsButtonWarnOnDangerousActionsTooltip = 662,
|
|
678
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraft = 663,
|
|
679
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnCraftTooltip = 664,
|
|
680
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUse = 665,
|
|
681
|
+
MenuOptionsButtonWarnWhenBreakingItemsOnUseTooltip = 666,
|
|
682
|
+
MenuOptionsHeadingWarnWhenBreakingItems = 667,
|
|
683
|
+
MenuOptionsButtonSaveDataClearBindings = 668,
|
|
684
|
+
MenuOptionsTooltipDialogOpacity = 669,
|
|
685
|
+
MenuOptionsLabelDialogOpacity = 670,
|
|
686
|
+
MenuOptionsDeveloperLogSourceFilterHeading = 671,
|
|
687
|
+
MenuOptionsDeveloperUIExperiments = 672,
|
|
688
|
+
MenuOptionsDeveloperUIExperimentsDescription = 673,
|
|
689
|
+
MenuOptionsAudioVolumeDisplay = 674,
|
|
690
|
+
MenuOptionsAudioInputSoundOnTyping = 675,
|
|
691
|
+
MenuOptionsMusicPlaylist = 676,
|
|
692
|
+
MenuOptionsButtonConfigureBindings = 677,
|
|
693
|
+
MenuOptionsButtonSaveCompression = 678,
|
|
694
|
+
MenuOptionsButtonSaveCompressionTooltip = 679,
|
|
695
|
+
MenuPauseButtonContinueGame = 680,
|
|
696
|
+
MenuPauseButtonReturnToGame = 681,
|
|
697
|
+
MenuPauseButtonOptions = 682,
|
|
698
|
+
MenuPauseButtonGameSettings = 683,
|
|
699
|
+
MenuPauseButtonPaused = 684,
|
|
700
|
+
MenuPauseButtonMultiplayer = 685,
|
|
701
|
+
MenuPauseButtonTitleScreen = 686,
|
|
702
|
+
MenuPauseButtonStopServer = 687,
|
|
703
|
+
MenuPauseHeadingDedicatedServer = 688,
|
|
704
|
+
MenuPauseTooltipNotPaused = 689,
|
|
705
|
+
MenuPauseParagraphDedicatedServer = 690,
|
|
706
|
+
MenuPauseLabelPaused = 691,
|
|
707
|
+
MenuPauseLabelNotPaused = 692,
|
|
708
|
+
MenuModesTitle = 693,
|
|
709
|
+
MenuModesDescription = 694,
|
|
710
|
+
MenuMultiplayerOptionsTitle = 695,
|
|
711
|
+
MenuMultiplayerOptionsDescription = 696,
|
|
712
|
+
MenuMultiplayerOptionsOpenServer = 697,
|
|
713
|
+
MenuMultiplayerOptionsOpenServerDescription = 698,
|
|
714
|
+
MenuMultiplayerOptionsCopyGameCode = 699,
|
|
715
|
+
MenuMultiplayerOptionsCopyGameCodeTooltip = 700,
|
|
716
|
+
MenuMultiplayerOptionsInviteSteamFriends = 701,
|
|
717
|
+
MenuMultiplayerOptionsCheckConnectionHeading = 702,
|
|
718
|
+
MenuMultiplayerOptionsCheckConnectionParagraph = 703,
|
|
719
|
+
MenuMultiplayerOptionsCheckConnectionButton = 704,
|
|
720
|
+
MenuMultiplayerOptionsCheckConnectionResultUnknown = 705,
|
|
721
|
+
MenuMultiplayerOptionsCheckConnectionResultChecking = 706,
|
|
722
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetwork = 707,
|
|
723
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkFail = 708,
|
|
724
|
+
MenuMultiplayerOptionsCheckConnectionResultSteamRelayNetworkUnavailable = 709,
|
|
725
|
+
MenuMultiplayerOptionsCheckConnectionResultWebRTC = 710,
|
|
726
|
+
MenuMultiplayerOptionsCheckConnectionResultWebRTCFail = 711,
|
|
727
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocket = 712,
|
|
728
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketFail = 713,
|
|
729
|
+
MenuMultiplayerOptionsCheckConnectionResultWebSocketUnavailable = 714,
|
|
730
|
+
MenuMultiplayerOptionsCheckConnectionResultSuccess = 715,
|
|
731
|
+
MenuJoinServerTitle = 716,
|
|
732
|
+
MenuJoinServerDescription = 717,
|
|
733
|
+
MenuJoinServerInputPlaceholder = 718,
|
|
734
|
+
MenuJoinServerChooseModifiersTitle = 719,
|
|
735
|
+
MenuJoinServerChooseModifiersDescription = 720,
|
|
736
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriends = 721,
|
|
737
|
+
MenuSharedMultiplayerChoiceLobbyTypeFriendsDescription = 722,
|
|
738
|
+
MenuSharedMultiplayerChoiceLobbyTypePublic = 723,
|
|
739
|
+
MenuSharedMultiplayerChoiceLobbyTypePublicDescription = 724,
|
|
740
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivate = 725,
|
|
741
|
+
MenuSharedMultiplayerChoiceLobbyTypePrivateDescription = 726,
|
|
742
|
+
MenuSharedMultiplayerChoicePVP = 727,
|
|
743
|
+
MenuSharedMultiplayerChoicePVPDescription = 728,
|
|
744
|
+
MenuSharedMultiplayerChoiceAllowTraveling = 729,
|
|
745
|
+
MenuSharedMultiplayerChoiceAllowTravelingDescription = 730,
|
|
746
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawns = 731,
|
|
747
|
+
MenuSharedMultiplayerChoiceAllowHardcoreRespawnsDescription = 732,
|
|
748
|
+
MenuSharedMultiplayerDescription = 733,
|
|
749
|
+
MenuSharedMultiplayerMessageOfTheDay = 734,
|
|
750
|
+
MenuSharedMultiplayerMaxPlayers = 735,
|
|
751
|
+
MenuSharedRealTimeTickSpeedTooltip = 736,
|
|
752
|
+
MenuSharedRealTimeTickSpeedLabel = 737,
|
|
753
|
+
MenuSharedMaxTravelTimeLabel = 738,
|
|
754
|
+
MenuSharedMaxTravelTimeLabelTooltip = 739,
|
|
755
|
+
MenuSharedButtonDefault = 740,
|
|
756
|
+
MenuSharedValueMillseconds = 741,
|
|
757
|
+
MenuSharedValueTurns = 742,
|
|
758
|
+
MenuSharedValuePercentage = 743,
|
|
759
|
+
MenuSharedMilestonesNotUnlockable = 744,
|
|
760
|
+
MenuSharedMilestonesNotUnlockableDescription = 745,
|
|
761
|
+
MenuSharedMilestonesNotUnlockableButtonShowMods = 746,
|
|
762
|
+
MenuSharedButtonDisableAll = 747,
|
|
763
|
+
MenuSharedButtonEnableAll = 748,
|
|
764
|
+
MenuSharedMilestoneModifiersSelected = 749,
|
|
765
|
+
MiscSortBy = 750,
|
|
766
|
+
MiscSortDirection = 751,
|
|
767
|
+
MiscFilter = 752,
|
|
768
|
+
MiscPlayerNameDefault = 753,
|
|
769
|
+
MiscPlayerNameServer = 754,
|
|
770
|
+
MiscSaveNameDefault = 755,
|
|
771
|
+
MiscSaveNameDailyChallenge = 756,
|
|
772
|
+
MiscSaveNameChallenge = 757,
|
|
773
|
+
MiscSaveVersionUnknown = 758,
|
|
774
|
+
MiscVersion = 759,
|
|
775
|
+
MiscVersionUpdate = 760,
|
|
776
|
+
MiscTime = 761,
|
|
777
|
+
MiscTimeMeridiem = 762,
|
|
778
|
+
MiscError = 763,
|
|
779
|
+
MiscContextMenuCopyTooltip = 764,
|
|
780
|
+
MiscBindableOr = 765,
|
|
781
|
+
MiscBindableNoBindings = 766,
|
|
782
|
+
DifficultyOptionsPeaceful = 767,
|
|
783
|
+
DifficultyOptionsAberrantSpawnsDisabled = 768,
|
|
784
|
+
DifficultyOptionsAberrantSpawnsOnly = 769,
|
|
785
|
+
DifficultyOptionsCreatureSpawningDisabled = 770,
|
|
786
|
+
DifficultyOptionsCreatureAlwaysSpawns = 771,
|
|
787
|
+
DifficultyOptionsCreatureSpawnsDefault = 772,
|
|
788
|
+
DifficultyOptionsCreatureSpawnsAberrantOnly = 773,
|
|
789
|
+
DifficultyOptionsCreatureSpawnsNoAberrants = 774,
|
|
790
|
+
DifficultyOptionsSpawnLimit = 775,
|
|
791
|
+
DifficultyOptionsRespawn = 776,
|
|
792
|
+
DifficultyOptionsEternalNight = 777,
|
|
793
|
+
DifficultyOptionsEternalDay = 778,
|
|
794
|
+
DifficultyOptionsTimeInitial = 779,
|
|
795
|
+
DifficultyOptionsTimeFrozen = 780,
|
|
796
|
+
DifficultyOptionsTimeDayLength = 781,
|
|
797
|
+
DifficultyOptionsTimeDayPercent = 782,
|
|
798
|
+
DifficultyOptionsNoItems = 783,
|
|
799
|
+
DifficultyOptionsRecipes = 784,
|
|
800
|
+
DifficultyOptionsStartingIsland = 785,
|
|
801
|
+
DifficultyOptionsTravelingEffectsDisabled = 786,
|
|
802
|
+
DifficultyOptionsBenignityInitial = 787,
|
|
803
|
+
DifficultyOptionsBenignityMultiplier = 788,
|
|
804
|
+
DifficultyOptionsMalignityInitial = 789,
|
|
805
|
+
DifficultyOptionsMalignityMultiplier = 790,
|
|
806
|
+
DifficultyOptionsWeightBonus = 791,
|
|
807
|
+
DifficultyOptionsStatInitial = 792,
|
|
808
|
+
DifficultyOptionsStatMax = 793,
|
|
809
|
+
DifficultyOptionsStatMultiplier = 794,
|
|
810
|
+
DifficultyOptionsStatusEffectStartWith = 795,
|
|
811
|
+
DifficultyOptionsStatusEffectUntreatable = 796,
|
|
812
|
+
DifficultyOptionsStatusEffectPassChanceMultiplier = 797,
|
|
813
|
+
DifficultyOptionsNoRandomSkills = 798,
|
|
814
|
+
DifficultyOptionsSkillStartingCount = 799,
|
|
815
|
+
DifficultyOptionsSkillGainMultiplier = 800,
|
|
816
|
+
DifficultyOptionsSkillInitial = 801,
|
|
817
|
+
DifficultyOptionsStatusEffectPermanent = 802,
|
|
818
|
+
DifficultyOptionsStatusEffectRateMultiplier = 803,
|
|
819
|
+
DifficultyOptionsStatusEffectMultiplier = 804,
|
|
820
|
+
DifficultyOptionsItemDurabilityMultiplier = 805,
|
|
821
|
+
DifficultyOptionsItemDecayMultiplier = 806,
|
|
822
|
+
EquipmentBack = 807,
|
|
823
|
+
EquipmentBelt = 808,
|
|
824
|
+
EquipmentChest = 809,
|
|
825
|
+
EquipmentFeet = 810,
|
|
826
|
+
EquipmentHands = 811,
|
|
827
|
+
EquipmentHead = 812,
|
|
828
|
+
EquipmentLegs = 813,
|
|
829
|
+
EquipmentMainHand = 814,
|
|
830
|
+
EquipmentMainHandOption = 815,
|
|
831
|
+
EquipmentNeck = 816,
|
|
832
|
+
EquipmentOffHand = 817,
|
|
833
|
+
EquipmentOffHandOption = 818,
|
|
834
|
+
EquipmentUse = 819,
|
|
835
|
+
HudFilter = 820,
|
|
836
|
+
TabCrafting = 821,
|
|
837
|
+
TabDismantle = 822,
|
|
838
|
+
WindowTitleContainer = 823,
|
|
839
|
+
WindowTitleCrafting = 824,
|
|
840
|
+
WindowTitleEquipment = 825,
|
|
841
|
+
WindowTitleInventory = 826
|
|
840
842
|
}
|
|
841
843
|
export default UiTranslation;
|
|
@@ -34,6 +34,7 @@ export interface IOptions {
|
|
|
34
34
|
dialogOpacity: number;
|
|
35
35
|
directionTurnDelay: number;
|
|
36
36
|
disableAcrylicTransparency: boolean;
|
|
37
|
+
disableOverlaySupport: boolean;
|
|
37
38
|
disableCraftingProtectedItems: boolean;
|
|
38
39
|
disableHealthVignette: boolean;
|
|
39
40
|
disableMovementAnimations: boolean;
|
|
@@ -75,6 +75,7 @@ export default class Steamworks extends EventEmitter.Host<ISteamworksEvents> {
|
|
|
75
75
|
setFullscreen(fullscreen: boolean): Promise<void>;
|
|
76
76
|
setCustomTitleBar(enabled: boolean): Promise<void>;
|
|
77
77
|
setOverlayWorks(overlayWorks: boolean): void;
|
|
78
|
+
toggleOverlay(toggle: boolean): void;
|
|
78
79
|
setupMods(): Promise<void>;
|
|
79
80
|
getSteamId(): ISteamId | undefined;
|
|
80
81
|
getFriends(): ISteamFriend[] | undefined;
|
|
@@ -39,7 +39,7 @@ export declare module InputCatalyst {
|
|
|
39
39
|
function hash(catalyst: InputCatalyst, resolveModifiers?: boolean): string;
|
|
40
40
|
function equals(a: InputCatalyst, b: InputCatalyst): boolean;
|
|
41
41
|
function fromModifier(modifier: Modifier): InputCatalyst[];
|
|
42
|
-
function isModifier(catalyst: InputCatalyst): boolean;
|
|
42
|
+
function isModifier(catalyst: InputCatalyst, acceptedModifiers?: Set<Modifier>): boolean;
|
|
43
43
|
}
|
|
44
44
|
declare enum ModifierType {
|
|
45
45
|
Shift = 0,
|
|
@@ -19,6 +19,7 @@ export default class TabPerformance extends Tab implements IRefreshable {
|
|
|
19
19
|
private onDisableUIEffects;
|
|
20
20
|
private onDisableUIOpacity;
|
|
21
21
|
private onDisableAcrylicTransparency;
|
|
22
|
+
private onDisableOverlaySupport;
|
|
22
23
|
private onPowerPreferenceSelect;
|
|
23
24
|
private getPowerPreferenceDropdownData;
|
|
24
25
|
}
|
package/package.json
CHANGED