diff --git a/assets/config.toml b/assets/config.toml index ac39690..9317273 100644 --- a/assets/config.toml +++ b/assets/config.toml @@ -79,6 +79,8 @@ regex = [ "^class .*$", ".*(@| |<).*", """^(?:std|gsl|entt|rapidjson|type_info|leveldb|asio|websocketpp|fmt|magic_enum).*""", + "^cricket::SctpDataContentDescription", + "^cricket::UnsupportedContentDescription", "^unity_.*$", # preview "^Concurrency(?:::.*)*$", # microsft Concurrency, no usage. pplinterface.h "_WSABUF", # ws2def.h @@ -116,11 +118,12 @@ regex = [ { regex = "^NetherNet::.*", dst = "network/nethernet", override = true }, { regex = "^webrtc.*", dst = "deps/webrtc", override = true }, { regex = "^rtc::webrtc_logging_impl::ToStringVal$", dst = "deps/webrtc", override = true }, - { regex = "^(absl).*", dst = "deps/webrtc/absl", override = true }, - { regex = "^(rtc).*", dst = "deps/webrtc/rtc", override = true }, - { regex = "^(cricket).*", dst = "deps/webrtc/cricket", override = true }, - { regex = "^(dcsctp).*", dst = "deps/webrtc/dcsctp", override = true }, - { regex = "^(sigslot).*", dst = "deps/webrtc/sigslot", override = true }, + { regex = "^absl.*", dst = "deps/webrtc/absl", override = true }, + { regex = "^rtc.*", dst = "deps/webrtc/rtc", override = true }, + { regex = "^cricket::.*ContentDescription", dst = "deps/webrtc/cricket/description", override = true }, + { regex = "^cricket.*", dst = "deps/webrtc/cricket", override = true }, + { regex = "^dcsctp.*", dst = "deps/webrtc/dcsctp", override = true }, + { regex = "^sigslot.*", dst = "deps/webrtc/sigslot", override = true }, { regex = ".*RakNet.*", dst = "deps/raknet", override = false }, { regex = "OreUI::.*", dst = "client/gui/oreui", override = false }, { regex = ".*DataStructures.*", dst = "deps/raknet/data_structures", override = false }, @@ -139,6 +142,7 @@ regex = [ { regex = "^ScriptModuleMinecraftNet.*", dst = "scripting/modules/minecraft_net", override = false }, { regex = "^ScriptModuleMinecraft.*", dst = "scripting/modules/minecraft", override = false }, { regex = "^Script.*GameTest.*", dst = "external/scripting/gametest", override = false }, + { regex = "^Scripting::QuickJS.*", dst = "external/scripting/quickjs", override = false }, { regex = "^Script.*", dst = "external/scripting", override = false }, { regex = "^[Ii]mgui.*", dst = "external/imgui", override = false }, { regex = "^Core::.*", dst = "deps/core", override = false }, diff --git a/src/main/kotlin/com/liteldev/headeroutput/data/MemberTypeData.kt b/src/main/kotlin/com/liteldev/headeroutput/data/MemberTypeData.kt index 67d63ec..be50c5e 100644 --- a/src/main/kotlin/com/liteldev/headeroutput/data/MemberTypeData.kt +++ b/src/main/kotlin/com/liteldev/headeroutput/data/MemberTypeData.kt @@ -57,7 +57,12 @@ data class MemberTypeData( if (paramsName.isNotEmpty() && params.size + paramNameBeginIndex == paramsName.size) { // params name available for (i in params.indices) { - paramsString += "${params[i].name} ${paramsName[i + paramNameBeginIndex]}" + var paramStr = params[i].name; + if(paramStr.contains("*)(") && paramStr.endsWith(")")) { + paramsString += paramStr.replace("*)(", "*${paramsName[i + paramNameBeginIndex]})("); + } else { + paramsString += "${paramStr} ${paramsName[i + paramNameBeginIndex]}" + } if (i != params.size - 1) paramsString += ", " } } else {