Exemplo n.º 1
0
    public override void Init()
    {
        base.Init();
        _resolution      = PlayerPrefHelper.GetResolution();
        _language        = PlayerPrefHelper.GetLanguage();
        _maximumTickrate = PlayerPrefHelper.GetMaximumTickrate();
        CustomTapDelay   = PlayerPrefHelper.GetCustomTapDelay();
        MouseSensitivity = PlayerPrefHelper.GetMouseSensitivity();
        _onOffShortcut   = PlayerPrefHelper.GetOnOffShortcut();
        _hoverHelpStatus = PlayerPrefHelper.GetHoverHelpStatus();

        _resolutionData       = Helper.GetFieldData("Resolution");
        _languageData         = Helper.GetFieldData("Language");
        _maximumTickrateData  = Helper.GetFieldData("MaximumTickrate");
        _customTapDelayData   = Helper.GetFieldData("CustomTapDelay");
        _mouseSensitivityData = Helper.GetFieldData("MouseSensitivity");
        _onOffShortcutData    = Helper.GetFieldData("OnOffShortcut");
        _hoverHelpStatusData  = Helper.GetFieldData("HoverHelpStatus");
    }