Skip to content

Commit 0e157a6

Browse files
authored
Merge pull request #35 from apple1417/master
pull in sdk updates
2 parents 782e423 + bd38161 commit 0e157a6

File tree

16 files changed

+44
-29
lines changed

16 files changed

+44
-29
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.24)
1+
cmake_minimum_required(VERSION 3.25)
22

33
project(oak_mod_manager)
44

changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## v1.4
4+
5+
Also see the unrealsdk v1.3.0 changelog [here](https://github.com/bl-sdk/unrealsdk/blob/master/changelog.md#v130)
6+
and the pyunrealsdk v1.3.0 changelog [here](https://github.com/bl-sdk/pyunrealsdk/blob/master/changelog.md#v130).
7+
8+
## General
9+
- Fixed that in some cases a mod couldn't be disabled, or wouldn't enable actively, due to hooks not
10+
getting added/removed properly.
11+
12+
[unrealsdk@227a93d2](https://github.com/bl-sdk/unrealsdk/commit/227a93d2)
13+
314
## v1.3
415

516
Also see the unrealsdk v1.2.0 changelog [here](https://github.com/bl-sdk/unrealsdk/blob/master/changelog.md#v120)

manager_pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This file is primary for the mod db, the entry for the mod manager points at it
22
# It is also used by the release script to get the version number
3-
# It *is* ok to edit the version in here before release,, the mod db checks the version on the
3+
# It *is* ok to edit the version in here before release, the mod db checks the version on the
44
# actual releases instead
55

66
[project]
77
name = "oak_mod_manager"
8-
version = "1.3"
8+
version = "1.4"
99
authors = [{ name = "bl-sdk" }]
1010

1111
[tool.sdkmod]

src/bl3_mod_menu/dialog_box.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
from dataclasses import InitVar, dataclass, field
44
from typing import TYPE_CHECKING, Any, ClassVar, Self
55

6-
from mods_base import ENGINE, hook
76
from unrealsdk import logging, make_struct
87
from unrealsdk.hooks import Block, Type
98

9+
from mods_base import ENGINE, hook
10+
1011
from .native.dialog_box import show_dialog_box
1112

1213
if TYPE_CHECKING:

src/bl3_mod_menu/keybinds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
from enum import StrEnum
22

33
import unrealsdk
4+
from unrealsdk.unreal import UObject
5+
46
from keybinds import raw_keybinds
57
from mods_base import BoolOption, DropdownOption, EInputEvent, KeybindOption, get_pc
6-
from unrealsdk.unreal import UObject
78

89
from .dialog_box import DialogBox
910
from .native.options_setup import add_binding

src/bl3_mod_menu/options_callbacks.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from typing import Any
22

3+
from unrealsdk.hooks import Block, Type
4+
from unrealsdk.unreal import BoundFunction, UObject, WrappedStruct
5+
36
from mods_base import (
47
BaseOption,
58
BoolOption,
@@ -11,8 +14,6 @@
1114
SpinnerOption,
1215
hook,
1316
)
14-
from unrealsdk.hooks import Block, Type
15-
from unrealsdk.unreal import BoundFunction, UObject, WrappedStruct
1617

1718
from .keybinds import handle_keybind_press
1819
from .native.options_getters import (

src/bl3_mod_menu/options_setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
from typing import Any
55

66
import unrealsdk
7+
from unrealsdk import logging
8+
from unrealsdk.hooks import Type
9+
from unrealsdk.unreal import BoundFunction, UObject, WrappedStruct
10+
711
from mods_base import (
812
BaseOption,
913
BoolOption,
@@ -19,9 +23,6 @@
1923
get_pc,
2024
hook,
2125
)
22-
from unrealsdk import logging
23-
from unrealsdk.hooks import Type
24-
from unrealsdk.unreal import BoundFunction, UObject, WrappedStruct
2526

2627
from .keybinds import add_keybind_option
2728
from .native.options_setup import (

src/bl3_mod_menu/outer_menu.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
from typing import Any
33

44
import unrealsdk
5-
from mods_base import BoolOption, Mod, get_ordered_mod_list, hook
65
from unrealsdk.hooks import Block, Type
76
from unrealsdk.unreal import BoundFunction, UObject, WrappedStruct
87

8+
from mods_base import BoolOption, Mod, get_ordered_mod_list, hook
9+
910
from .native.outer_menu import (
1011
add_menu_item,
1112
begin_configure_menu_items,

src/console_mod_menu/screens/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
from abc import ABC, abstractmethod
22
from dataclasses import dataclass
33

4-
from mods_base import capture_next_console_line
5-
64
from console_mod_menu.draw import draw
5+
from mods_base import capture_next_console_line
76

87

98
@dataclass

0 commit comments

Comments
 (0)